Hi Everybody, this will be my first DIY project using Arduino and an entry to the maker community. Ever since I watched the TED video by Massimo Banzi, I was waiting for this day to publish my Arduino project . This is a very simple project, so please go easy on me.
Current project is a simple interactive device involving Servos and LED's. Pushbuttons (Sensors) are used to simultaneously control the actuators(Servo and LED). In this project, two push buttons are used and each one controls the servo to move/rotate to a particular position (either 90 or 180). At the same time, each push button is assigned an LED too. When a button is pushed, corresponding Servo and LED simultaneously play their respective roles.

Step 1: Contents

Required Parts

Circuit Diagram



Step 2: Required Parts

Arduino Uno microcontroller

Solderless Breadboard


Jumper wires - 16no's

LED 's - 2 no's

330 ohm resistors - 2 no's

1K ohm resistors - 2no's

push buttons - 2 no's

Step 3: Circuit Diagram

Step 4: Sketch

Comments are written in the sketch.

Step 5: Comments

LED's are powered by the I/O pins of Arduino for which 20mA current is sufficient while the 5V power supply is connected to the servo. Power supply 5V is also connected to the two push buttons. I didn't observe any problems distributing the power supply to the push buttons and servo together. A separate 9V power supply with a linear regulator can also be used to power the servo, in case if anyone wants to.

Thanks for watching and reading............


Please do mention in comments if something is redundant or unnecessary in the circuit.

Yes, But for 220ohm you may not see much difference in the contrast/brightness. If you want to check how the value of resistance effects the brightness of the LED, use higher values of resistance and check how dim the LED is.
<p>Interesting project. I am having a problem with it, but I am sure it's me. My question is how did you generate the values for the ristors you use in your project?</p>
<p>330ohm resistor draws a current of 9mA along with a drop of 2.1V across an LED for a 5V supply. typically voltage drop across an LED will be around 2V. hence the resistance</p>
OK thanks. So if I drop the resistors value to say 220ohm I should get a brighter LED?
Smart idea! I really like this project. Thanks for shearig :)
330 ohm and 1k ohm which voltage plz rply
<p>Also, resistors are typically rated in watts, so I chose for 0.25 W. Any combination of current and Voltage (V*I) which doesn't exceed the rated wattage (in my case, 0.25W) is good enough for the resistor to stay away from burning due to heat. Hope this info helps</p>
<p>Let me know if you need any help ....</p>
<p>Awesome! Thanks for sharing!</p>
<p>Thank you</p>
But plz tell me the volt to buy a resistor
even though simple...its nice... u will learn like this and will soon see complex projects from you
thank you

About This Instructable



More by Bhanu Kishan:Monitor your room from anywhere in the world Arduino Timer Traffic Management System using Arduino 
Add instructable to: