|
1052
|
Using Arduino / Project Guidance / Re: Basic Joystick Question
|
on: January 25, 2013, 12:41:46 pm
|
I would guess that 5v goes to the common pin and then you apply that to each of 4 Arduino pins when each switch is closed. You would want to have each pin pulled low the rest of the time, so they don't float. Seems to me it's just 4 of these. But I may be wrong.....
|
|
|
|
|
1054
|
Using Arduino / General Electronics / Re: Power an arduino
|
on: January 25, 2013, 10:05:19 am
|
so i bought two 5 volt wall wart power supplies Have you measured the voltage? Some of them are really crap i.t.o delivering what they say, and the usb must be within 4.75 and 5.25VDC (from memory, don't quote me on the figures) so you might like to be sure..... (I have a wall wart with a switch for various outputs which gives something like 5 when it says 3.5, and 8 at 5 and blah blah...)
|
|
|
|
|
1056
|
Using Arduino / Programming Questions / Re: Need some help for a science project.
|
on: January 24, 2013, 12:33:35 am
|
That's a shame... suggest to her that every home should have one anyway, and it'll be a home item not a science item.  Btw, your Fritzing diagram the other day showed you had the power hooked up with + and - reversed... I hope that was a mere Fritzing error not a real error? I've never hooked a servo up with the polarity reversed, but I suspect it's bad for it.
|
|
|
|
|
1060
|
Using Arduino / Programming Questions / Re: Need some help for a science project.
|
on: January 24, 2013, 12:13:28 am
|
|
Yes but you have them in a holder thingy according to your photo-1 from the other day. That will connect them + to - inside the holder, known as "in series" and the voltages add up. So that thing will be putting our 6 x 1.5 = 9v nominal.
It may even be more, if those fresh batteries are more than 1.5 out of the packet. So yeah, you may well be putting too many V's into the motor.
|
|
|
|
|
1062
|
Topics / Robotics / Re: Robotics Idea?
|
on: January 23, 2013, 11:47:35 pm
|
You don't necessarily need a shield, but you will need something to do the motor reversal. So you could use a 298 chip on the breadboard. I've used a MotoMama shield which uses a 298 but the 298 has a huge voltage drop and you need to counter that with your power supply. Better would be a controller like Pololu's 2130. Either of those controllers uses PWM. So based on what IR signal you read, in an "if", you control the appropriate arduino output pins to send the appropriate signals to the controller pins, and they take care of what goes out to the motors in terms of polarity (direction) and voltage (speed).
|
|
|
|
|
1063
|
Using Arduino / Programming Questions / Re: Need some help for a science project.
|
on: January 23, 2013, 11:24:59 pm
|
|
You need to be more specific than that with a question: what voltage do the servos require?- usually 4.8 to 6V but check the maker's specification sheet. Then what voltage do those batteries provide... then you can answer your question yourself. I hope you have a meter, and can check the voltage of the batteries? If not, you really really need one for this kind of work
The word "power" has a specific meaning and is volts x current (amps), although I suspect you mean volts. As long as the current the battery can supply is more than the motors require, and the voltage is in the range required, you should be ok.
Battery provides too high a voltage and boom. Battery provides too low a voltage and probably motor wont work. Battery provides too low a current and I'm not sure... might damage the battery by trying to draw too much, dunno Battery provides too high a current, no problem because devices only draw what they need.
|
|
|
|
|