element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Open Source Hardware
  • Technologies
  • More
Open Source Hardware
Forum Battery for stepper motors and controller
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Open Source Hardware to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 21 replies
  • Answers 3 answers
  • Subscribers 314 subscribers
  • Views 3462 views
  • Users 0 members are here
  • controller
  • hardware
  • open_source
  • power_supply
  • regulated_power
  • stepper_motors
Related

Battery for stepper motors and controller

balearicdynamics
balearicdynamics over 9 years ago

Hi to all. The scenario is the following: by one side there is a couple of stepper motors (running on 4.5 Vcc.) and by the other there is the 5 Vcc needed to power the controller board (consuming very few current, i.e. 150 mA). So, there will be two different power lines. To get them from a single battery (e.g. 2A LiIon rechargeable battery), is it sufficient splitting the battery power supply, one to the motors and one to a 5V power regulator to power the controller?

 

Thank you in advance image Enrico

  • Sign in to reply
  • Cancel

Top Replies

  • balearicdynamics
    balearicdynamics over 9 years ago in reply to shabaz +3
    Shabaz, I attach three images of the kind of batteries that I mean. Not super powerful but I know them very well and are very realiable. Voltage is 7.2 V that is ideal for 5V (or 3V) based devices and…
  • shabaz
    shabaz over 9 years ago +1 suggested
    Hi Enrico! That does work, but sometimes people do have issues with it because of noise or volt drop. Motor power varies a lot too since they are so diverse. An electrolytic cap very close to the motors…
  • balearicdynamics
    balearicdynamics over 9 years ago in reply to shabaz +1
    Hi Shabaz Thank you for your answer and precious support. Your blog post is one that I followed during a period that from here was impossible to like and bookmark. In this project I will use camera batteries…
  • shabaz
    0 shabaz over 9 years ago

    Hi Enrico!

    That does work, but sometimes people do have issues with it because of noise or volt drop. Motor power varies a lot too since they are so diverse. An electrolytic cap very close to the motors will help during the motor stepping. Also a 100nF capacitor in parallel there.

    Plus, separate wires from as close to the battery as possible to the motor circuitry, and separate to the microcontroller circuitry.

    Finally, loop the supply wires close to the circuitries a few times with ferrite to present an impedance to high frequency noise.

    You can see similar techniques used in the Infineon DC motor control shield, which uses a large electrolytic across the H-bridge.

    The XMP-2 design here ran on 6xAAA batteries in a similar method as you describe.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 9 years ago in reply to shabaz

    Hi Shabaz image Thank you for your answer and precious support. Your blog post is one that I followed during a period that from here was impossible to like and bookmark. In this project I will use camera batteries for various reasons, including that are more compact, reliable and cheap with good rechargeable options. The power section is not included with the boards, first because the user can decide to manage these controllers as he want (you will see a specific post soon) and second because the power unit should be an independent component in the project. Do you think that a classic circuit based on LM7805 may fit well or something more sophisticated should be used ?

     

    Enrico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 9 years ago in reply to balearicdynamics

    Hi Enrico,

    What is the battery voltage? The '7805 needs around 7V from memory. Anything much higher will likely need a heatsink given typical SBC current requirements, but should work fine. For my scenario, I had 6xAAA i.e. 9V, so I just used a DC-DC converterDC-DC converter to get the 5V for the circuitry (the motors H-bridge was powered directly from 9V, the rest needed 5V), since for my scenario the linear regulator would have resulted in having to change the 6xAAA primary cells too often!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 9 years ago in reply to shabaz

    Shabaz, I attach three images of the kind of batteries that I mean. Not super powerful but I know them very well and are very realiable. Voltage is 7.2 V that is ideal for 5V (or 3V) based devices and has a form-factor that is easy to make 3D printer cases and connect two or more of them (but in this case it is not need to add so much batteries) in series. Just like Canon do to power the cameras. What do you think of this solution ?

     

    BTW did you released the circuit of the power secion of your robot ?

     

    Thank you. Enrico

    image

    image

    image

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 9 years ago in reply to balearicdynamics

    Hi balearicdynamics

     

    That's a very great idea for batteries!! : ) I've not thought about using camera batteries before. How do you connect to it, pogo pin type solution, or 3D-print some holder for it?

    The 7805 should work fine I think, provided cell voltage under load is around 7V or more for a reasonable length of time for your use-case (I'm guessing it will be).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • shabaz
    0 shabaz over 9 years ago in reply to balearicdynamics

    I didn't have a schematic for the XMP-2 supply section, but I've added some more detail at that page showing close-up photos of it - not a lot to it, just the DC-DC converter mentioned earlier and a few bits and pieces.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 9 years ago in reply to shabaz

    I think that using 2 1800 mA camera batteries (that is the pack that is sold on Amazon for just 15$) is a good choice for a reasonable period of time. Instead for the 7805 I already have used and provided circuits for power regulators, also with something more sophisticated with less thermal dissipation than the 7805. Anyway I though to this component as to the other side there are few LEDs and a low power PSoC 4 so the real power consumption is low. But I am not an expert (less less than expert) on battery power supplies.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 9 years ago

    I know I am of a minority opinion on this, around here, but I recommend establishing an isolation boundary between your logic circuit and your motor circuit, such as optoisolatorors.  This way you can worry less about spikes.  Who knows the future?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 9 years ago in reply to D_Hersey

    This sounds good. To be honest I also though to this option but the entire project will be supported with relatively low power motors, i.e. 5 V 1A max steppers Nema 17 1.8 Deg 200 steps per rotation with a torque of about 2 Kg. The main board will be PSoC4 that hss a reasonable number of well designed protections so I am not sure if adopting optocouplers maybe worthy or not.

     

    Where do you suggest to put the optoisolators ?

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 9 years ago

    What are you using to drive the motor coils?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube