Author Topic: Dual-battery setup  (Read 523 times)

0 Members and 1 Guest are viewing this topic.

Offline CyntroxTopic starter

  • Jr. Member
  • **
  • Posts: 13
  • Helpful? 0
Dual-battery setup
« on: February 15, 2011, 02:40:33 PM »
Hello, everyone! I am new to this forum, but am a big fan of the site.

I'd like to start off with a question. I am building my first robot, and have decided to use two power sources:

  • A 9-volt battery, regulated down to 5 volts for the control electronics
  • 5 1.2v rechargeable batteries (for a total of 6v) for use with the engines

My trouble comes with the motor driver (L293D). While it has two voltage inputs (logic and supply), the ground is, as far as I can tell, common.

I have tried to connect the ground of the 6-volt pack to the regulated 5-volt power, this caused three of the batteries in the pack to discharge.

How can I use different voltages like this? Thanks in advance for any help.

Offline rbtying

  • Supreme Robot
  • *****
  • Posts: 452
  • Helpful? 31
Re: Dual-battery setup
« Reply #1 on: February 15, 2011, 03:24:27 PM »
Connect all grounds (- terminals) together.

Connect the +9v rail from the 9v battery to the 5v regulator

Connect the +5v output from the regulator to the logic power pin on the L293D

Connect the +6v rail from the 5 1.2v batteries in series to the supply power pin on the L293D

Common grounds should not discharge your battery, you may have hooked something up wrong.

Offline CyntroxTopic starter

  • Jr. Member
  • **
  • Posts: 13
  • Helpful? 0
Re: Dual-battery setup
« Reply #2 on: February 15, 2011, 03:48:47 PM »
It turns out that your last theory was (almost) right. My faulty soldering had short-circuited the 6v pack. Now everything works, and I have a regulated 5v and unregulated 6v rails!

Offline rbtying

  • Supreme Robot
  • *****
  • Posts: 452
  • Helpful? 31
Re: Dual-battery setup
« Reply #3 on: February 16, 2011, 01:21:49 AM »
It's great to hear that you've solved your problem.  Good luck on your robot!

 


Get Your Ad Here

data_list