Society of Robots - Robot Forum

General Misc => Misc => Topic started by: brycey634 on July 08, 2010, 11:43:56 AM

Title: wiring
Post by: brycey634 on July 08, 2010, 11:43:56 AM
Hi guys and this is my first robot and I am having a hard time wiring 2 batteries to 1 mircocontroller and 2 motors. Can you help me? 

                                                          Thanks,
                                                Bryce Shurts
Title: Re: wiring
Post by: Selenaut-14 on July 08, 2010, 12:08:31 PM
It depends on what type of batteries they are. For example, two 9V batteries would need to be connected in series by taking two snap-ons, soldering the red wire of one to the black wire of the other, and just use the remaining two wires normally. If they are two AAs or AAAs, you can find a battery holder at Radioshack, as well as the snap-ons for the 9Vs. If you have two batteries of different types, however, you're asking for bad things. But in this case, you can use one battery for the motors and one for the controller. A 9v works good for the microcontroller with a capacitor and a voltage regulator. A battery pack of 4 AAs is good for the motors with another capacitor.
Title: Re: wiring
Post by: Conscripted on July 08, 2010, 02:29:34 PM
Can you give us a little more information about your project? When using more then one battery on a project you will need to make sure that the ground (negative terminal) of both of the batteries are connected. This of course assumes that you are not using the two batteries in a series arrangement.

I will make the assumption that your intent is to use one battery for the microcontroller and the other battery for the motors.

Will you probably need a voltage regulator between the first battery and the microcontroller. They don't like being operated outside of their voltage range. You probably won't need a voltage regulator on the second battery for the motors. If you supply more or less voltage to a motor it will increase/decrease it's speed and as long as the supplied voltage isn't much higher then it was designed for you should be fine. You will not be able to connect the motors to the microcontroller directly.

If you can give us some specifics we can provide you with some specific help.

Good luck
Conscripted
Title: Re: wiring
Post by: Admin on July 08, 2010, 02:49:45 PM
Like this? ;D

http://www.societyofrobots.com/step_by_step_robot.shtml (http://www.societyofrobots.com/step_by_step_robot.shtml)
Title: Re: wiring
Post by: brycey634 on July 23, 2010, 04:14:12 PM
here is the link for the battery's and motors AND mircocontrallers (hope it helps)


http://www.battery.com/Maglite-6V-NiMH-Rechargeable-Battery-Pack (http://www.battery.com/Maglite-6V-NiMH-Rechargeable-Battery-Pack)  (battery)


http://www.robotmarketplace.com/products/0-COPAL50-6.html (http://www.robotmarketplace.com/products/0-COPAL50-6.html) (motors)


http://www.robotmarketplace.com/products/0-PL225.html (http://www.robotmarketplace.com/products/0-PL225.html) (controller)
Title: Re: wiring
Post by: hoosier122 on July 27, 2010, 10:48:45 PM
It says your microcontroller accepts 5-10v, so assuming you are getting at least 5v out of your battery....

Straight from here: http://www.robotmarketplace.com/products/images/0-PL225_quick-start.pdf (http://www.robotmarketplace.com/products/images/0-PL225_quick-start.pdf)
-The power can be connected through the 2-pin male connector at the bottom right of the board.
-Hook the motors up to the motor ports. (as seen on the diagram)
-Upload your program using the dongle provided in the kit.

Your robot has no sensors, so it will only be able to do p reprogrammed actions
#go straight for 3 seconds
#turn right for .5 seconds
#stop for 2 seconds
#go straight for 10 seconds
etc...
Title: Re: wiring
Post by: hoosier122 on July 27, 2010, 10:50:41 PM
Can you give us a little more information about your project? When using more then one battery on a project you will need to make sure that the ground (negative terminal) of both of the batteries are connected. This of course assumes that you are not using the two batteries in a series arrangement.

I will make the assumption that your intent is to use one battery for the microcontroller and the other battery for the motors.

Will you probably need a voltage regulator between the first battery and the microcontroller. They don't like being operated outside of their voltage range. You probably won't need a voltage regulator on the second battery for the motors. If you supply more or less voltage to a motor it will increase/decrease it's speed and as long as the supplied voltage isn't much higher then it was designed for you should be fine. You will not be able to connect the motors to the microcontroller directly.

If you can give us some specifics we can provide you with some specific help.

Good luck
Conscripted

The link he posted after yours says the power goes through the board, so...

Batteries to Voltage regulator to Board to Motors