hi everybody i bought an arduino yesterday.im good at coding but i dunno lot about electronic.i must admit that im a noob about electronics. ..... here is my question http://www.youtube.com/watch?v=FKj9jJgj8Pc in this video the guy is making a servo controlled with potentiometer.i could control servo without potentiometer.but afterwards i wanted to control it with potentiometer. but i have only one 5v output but i need another one for potentiometer too. how can i do it without protoshield please help me :-[ :-[
You really should have SOME form of prototyping area to play with, as it makes things a LOT easier to experiment and learn. The little white ones shown here are popular and available at most Arduino vendors. Adafruit sells the green one pictured as a soldering kit, and it comes with a white board that you can use in the meantime while you're learning how to solder.
However, you could try to make a frankenstein-like Y connector by stripping a wire in the middle and wrap another wire to the bare spot. Of course, the wrapped part is now fragile and the connection won't be very secure. Back to soldering-- you could solder the junction and wrap it with a little bit of shrink tubing to make it more secure. But surely by the time you're able to solder it, you should have a prototyping board of some kind...
i have a breadboard looking like the one that is white in the pic.
do you mean i can connect both of them to the same 5v.
when i connect them to same 5v and same ground,all leds are turning off.
All five of the holes in each little column is interconnected underneath the plastic. Columns are not connected to each other at all.
If you put one wire from the 5V socket on the Arduino into any hole on the board, then you could put four other connections in the other holes of the same column. They'd all be pulled up to the same 5V potential. If there are no short circuits directly to GND, electricity will flow through any and all routes that will help it get to the GND. Putting lights and resistors and buzzers on those routes will make those parts do their jobs.
It's very much like pouring water from the top of a hill to the bottom of a hill-- you can cut as many irrigation ditches as you want, and the best one will get the most current flow, but they can all get some. Wheels or bobbers will react to the flow as water goes by.
I suggest you check your local library for some basic electronics texts, or find some beginner kits to help you learn how circuits work. http://kits.sparklelabs.com/ has projects and useful parts for newcomers, and you can use any/all of those parts in combination with your Arduino. Then check http://arduino.cc/en/Tutorial/HomePage for tutorials that are built on the Arduino.
Having some specific tutorials will really help you gain confidence with the parts, and then you can start to design solutions to your own projects.
still not working all leds are turning off whenever i connect wires. here is the scheme:
when i just disconnect wires of servo from the breadboard arduino's leds are turning on again.power led and other leds
http://img18.imageshack.us/img18/2693/14042009221c.jpg here is another photo
when i just disconnect wires of servo from the breadboard arduino's leds are turning on again
So it looks like the servo is drawing too much current for the regulator on the Arduino. Do you know how much it takes? You can only get about 300mA from an Arduino regulator.