Week 5: Optical sensors
Using an optical sensor, the operation of the motor can be controlled by a "disc" with holes that rotates through the sensor. Blocking the infrared that the sensor produces will signal the motor to stop.
Circuit with working optical sensor:
Written program (multiple combined into one):
Update (29/11/2016): Changed to a touch sensor because the optical sensor was too sensitive.
No comments:
Post a Comment