Worked with Jacob.
Added screws to bike stand, but countersink bits were defective.
Jacob wanted to add lights to bike that came on when it got dark,
Showed him photoresistor- in light, resistance about 1 Kohm; in dark, about 10 kohm.
Made voltage divider using Arduino 5V supply and breadboatd.
See https://learn.adafruit.com/photocells/using-a-photocell.
Ran Analog Read Sketch:
This gave nice light vs dark readings.
Added speaker for sound on pin 8 and LED for light on pin 13:
Jacob wanted to use LED strip( 4 wire)- will have to investigate specs.
No comments:
Post a Comment