Arduino Part 2!!

Part 2
Use the photocell to change the blink speed about the LED behavior based on the room brightness.

Use the switch to turn the LED on and off

why should the switch be in a way that the Arduino senses if the switch is open or closed?
– So that the when the circuit system becomes complicated with more feedbacks/outputs the switch can only control the LED light and not the other functions. Also, this way when something went wrong, it is easier to know which specific part, in this case the LED, is causing it.

 

 

Use sweep and know to control the servo with the potentiometer.

 

and then,

Change the knob so the servo only rotates between 60-120 degrees.

Print Friendly, PDF & Email
2 Comments

Leave a Reply