Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: fawnonyx on October 13, 2012, 02:29:27 PM
-
So I'm looking to build a 4DOF robot arm and am considering an Axon as a microcontroller. It would require at least four servos.
So just to confirm, running four servos at once doesn't mean I need 24 extra volts, it means the current draw is more and the batteries run faster right?
I also read the power regulation tutorial about using switching regulators to run the servos, but for the Axon it's apparently different, you just plug the servos straight into the digital ports and the axon supplies the power. So do I still need a switching regulator or does the Axon handle all the power stuff? Does the Axon supply 6 volts to every port or something?
-
combine them in parallel and they all gonna get same v, but the current draw will be very significant. With regards to tutorials, looking for them myself, especially clever ways how to prevent/protect my circuit from back emf of my motors, etc.
-
Fawnonyx
Forgive me if you know this, but from your question it seemed you had kind of mixed apples and oranges. A servo has 3 inputs - Signal, Power, GND. The AXON will drive the signal to control the motion of the servo. I don't think a switching regulator would be used to connect to the signal but I could see where a switching regulator could be used to supply the Power connection of the servo. For a few servos, a linear regulator (LM7805 or similar) would be fine to power them. Typically switching regulators are used for higher current draws. Essentially you have to sum up the power usage for all your circuits and then design a supply suitable to power them.
Mike
Back EMF is handled in many cases with diodes to create a loop that lets the current bleed off from the coil in some manner. I'm not as familiar with motors but that is the reason you see a diode sitting across a relay coil in most example circuits.
-
Well in the axon wiring tutorial video it showed all three servo wires being plugged into the axon digital port, so that means that the Axon is providing all the power to the servo, right? But the axon is usually powered with a single 6V NiMH battery pack, so how can it power four servos, or even the twenty some it is capable of connecting to?
Are you supposed to attach a separate battery and switching regulator to the "power bus" or something on the axon, which separately powers the servos?
-
Hi,
For a few servos, a linear regulator (LM7805 or similar) would be fine to power them. [...]
The LM7805 is a 1A device, while each servo may draw up to 1.0..1.5A peak, so even a single servo may send the LM7805 into thermal shutdown (or worse).
Back EMF is handled in many cases with diodes to create a loop that lets the current bleed off from the coil in some manner. I'm not as familiar with motors but that is the reason you see a diode sitting across a relay coil in most example circuits.
For a bidirectional DC motor, you need 4 diodes (and nothing like 1N400x, they're way too slow).
-
Hi,
Are you supposed to attach a separate battery and switching regulator to the "power bus" or something on the axon, which separately powers the servos?
Not for two servos, but read all the documentation, it should be in there somewhere.
-
Ahhh after reading the datasheet again, I think I get it now. The board and analog inputs are all powered through the 5V linear regulator while the digital I/O is next to a power bus that connects directly to the battery (unregulated). Thus I can connect the battery to a switching regulator then take that output and put it in the Vin and that will take care of the current high current draw from multiple servos.
Since the axon seems a little expensive for me and perhaps more complicated to program, I've been looking at alternate microcontrollers such as arduino. However arduino boards don't have convenient power buses like the axon, so are there any solutions to this besides making your own?
-
how can i use 7805 to generate 10 V power supply for my robot.
Is the output of 7805 equals to 5V +voltage applied to 2nd pin of 7805
Regards
Angad
-
You don't need any form of regulator for the Axon.
Just plug in a 6V battery, and directly plug in the servos to the digital output pins, and you're done ;D
Programming the Axon isn't as hard as you think. Have you tried out Project Designer for WebbotLib yet? You just drag and drop what you want (ie servos, sensors, etc.), tell it to write the sample code for you (generate), and then you're done.
Details are in the tutorials, demonstration videos, and documentation.
Watch these:
http://www.youtube.com/results?search_query=axon+webbotlib&oq=axon+webbotlib&gs_l=youtube-reduced.3...551.2497.0.2655.14.14.0.0.0.0.127.987.11j3.14.0...0.0...1ac.1.TlYjlb736y8 (http://www.youtube.com/results?search_query=axon+webbotlib&oq=axon+webbotlib&gs_l=youtube-reduced.3...551.2497.0.2655.14.14.0.0.0.0.127.987.11j3.14.0...0.0...1ac.1.TlYjlb736y8)
-
However arduino boards don't have convenient power buses like the axon, so are there any solutions to this besides making your own?
The Arduino Sensor Shield does what you are describing. You can get them various places but here are a couple links for reference so you can see what I am talking about.
http://www.hobbyking.com/hobbyking/store/__26837__Arduino_Sensor_Shield_V5_0_Sensor_Expansion_Board.html (http://www.hobbyking.com/hobbyking/store/__26837__Arduino_Sensor_Shield_V5_0_Sensor_Expansion_Board.html)
http://compare.ebay.com/like/120958516984?var=lv<yp=AllFixedPriceItemTypes&var=sbar (http://compare.ebay.com/like/120958516984?var=lv<yp=AllFixedPriceItemTypes&var=sbar)