Introduction: Coupled LED-Servo Controller Using Arduino

Picture of Coupled LED-Servo Controller Using Arduino

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

Sketch

Comments

Step 2: Required Parts

Picture of Required Parts

Arduino Uno microcontroller

Solderless Breadboard

Servo

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

Picture of 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............

P.S:

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

Comments

Bhanu Kishan (author)2015-02-27

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.

redkcir (author)2015-02-25

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?

Bhanu Kishan (author)redkcir2015-02-26

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

redkcir (author)Bhanu Kishan2015-02-26

OK thanks. So if I drop the resistors value to say 220ohm I should get a brighter LED?

ibenkos (author)2014-10-18

Smart idea! I really like this project. Thanks for shearig :)

asayed5 (author)2014-09-07

330 ohm and 1k ohm which voltage plz rply

Bhanu Kishan (author)asayed52014-09-07

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

asayed5 (author)2014-09-07

Good

Bhanu Kishan (author)asayed52014-09-07

Let me know if you need any help ....

MsSweetSatisfaction (author)2014-09-07

Awesome! Thanks for sharing!

Thank you

asayed5 (author)2014-09-07

But plz tell me the volt to buy a resistor

BLR_RAVI (author)2014-09-07

even though simple...its nice... u will learn like this and will soon see complex projects from you

Bhanu Kishan (author)BLR_RAVI2014-09-07

thank you

About This Instructable

4,134views

21favorites

Add instructable to: