Sunday, 8 May 2016

10: Distance and line sensing


Using the same code which reads from the joystick we can read distance. Reflecting light, or reflecting sound can be used to measure distance:


A reflectance sensor can be connected as follows:



No comments:

Post a Comment