you need a separate supple you join up the red and black to 5 volts and ground and the white line to the arduino. and then get the board to produce a PWM. Just google PWM for more information about this.
you need a separate supple you join up the red and black to 5 volts and ground and the white line to the arduino. and then get the board to produce a PWM. Just google PWM for more information about this.
Okay, cool. Seems like the risk of exploding arduino just decreased
I also checked the Spooky project class 3, very helpful.
Thank you.
I hope my ordered parts arrive soon. I will try to learn more about electronics till then.
So.. how should I wire this thing to the batteries? I doesn't work with just the 9v battery to the arduino. It "boots" but nothings happening.
I also tried to wire the servos red and black cables to four AA-s (both 6V and ground). Did not work. Also tried to wire the red cable to the four AA's plus and the black to arduinos ground. Did not work... Going crazy here. Feels like this basic thing will stop me from doing the fun stuff
I bought a new 9v with same results.
Greatful for help!
edit: Oh, maybe I must use a capacitor somewhere? : :-?
Do what digger said with the external resistor, and try to power your servos with less than 9V, they are supposed to be run at 5-6V. This is a bit of problem for the arduino board, which requires a power supply of >7V.
I tried powering my robot with a 11.1V LiPo pack, but my servos didn't like that at all! So I chose to use 6 AAs. This gave ok results when the batteries were fully charged at 1.4 V per battery, but I can only run the robot till the batteries were half empty, since arduino starts to cut out when the AA battery voltages get to around 1V. I added a 100uF cap to help reduce the low volt problem when the servos demand a burst of current, this made the run time a bit longer when the batteries were low.
Must be low qualiity batteries or something because it can't even run the servo alone.
This is what I have tried in my desperation:
(just servo, no other stuff)
9v battery to arduino, servo to 5v arduino pin, gnd pin, and pin7 for control (servo "buzzes" for a moment but nothing more).
9v battery to arduino, servo to 4 AAs, gnd to arduinos pin and pin 7 for control.
9v battery to arduino, servo to 4 AAs, servo GND to 4 AAs, pin 7 for control.
No luck at all..
The jumper is in the right place for ext power.
I will buy a 6 aa battery holder like you zitron and some nice batteries. Maybe that will work. Otherwise I'll just have to wait with this stuff till I've studied more..
Must get a multimeter...
Thanks guys, I really appreciate it
edit1:
The weirdest thing just happened. I plugged it into the computer but changed the jumper to external. Also plugged in the battery. And it works, with head and everything.
Then I unplugged the computer and it still ran! But when I unplugged the battery and then plugged in the battery again nothing happens. Tried the computer method again, works like a charm.
It's like I have to jump start it with the computer
Any ideas?
So I tried with the resistor but with no luck.
edit1:
The weirdest thing just happened. I plugged it into the computer but changed the jumper to external. Also plugged in the battery. And it works, with head and everything.
Then I unplugged the computer and it still ran! But when I unplugged the battery and then plugged in the battery again nothing happens. Tried the computer method again, works like a charm.
It's like I have to jump start it with the computer
Any ideas?
This is what the 10K resistor between RX and ground fixes. Without it the chip is never getting past the bootloader due to noise on the line. Are you sure you had the resistor in place correctly and it was making contact?
This is what the 10K resistor between RX and ground fixes. Without it the chip is never getting past the bootloader due to noise on the line. Are you sure you had the resistor in place correctly and it was making contact?
I could kiss you right now... Tried again and soldered real "pin connectors" (...) to the resistor. Worked absolutely 100%. Thank you so much