Lab 5: Attack of the Arduinos
Sep 22, 2016
1 min read
In this lab we created circuits that lit up LEDs with analog sensor values and Arduinos. We programmed the Arduinos to read the values, display them on the serial monitor, and used the map() function to fit the analog reading into a singular byte.
We completed two different circuits, one that used a potentiometer, as seen below:
We then created a second circuit using two different variable resistors, one being a touch sensor and one being a light sensor. This can be seen below:
lab5-1code lab5-1code2 Screen Shot 2016-09-21 at 11.56.55 PM Screen Shot 2016-09-21 at 11.57.06 PM
Comments