In order to achieve the line following functionality we planned to use 4 white LED in combination with 4 light dependant resistors in order to detect the white line. The line would be detected by exploiting the fact that the white line would reflect light differently to the the black background allowing us to take readings from the LDR’s. Additionally depending on which LDR saw the white line we could work out where the line was in relation to the mouse and make the necessary steering corrections. I began by soldering the LDR’s and LED’s to cut out pieces of PCB which were the connected to the Arduino via a see saw port expander as the Arduino did not have enough analogue ports to accommodate all the new LDR,s.
Categories: Uncategorised
0 Comments