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
Arduino
  • Products
  • More
Arduino
Arduino Forum How to reduce 12v dc to 5v dc
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 16 replies
  • Answers 2 answers
  • Subscribers 395 subscribers
  • Views 2268 views
  • Users 0 members are here
  • quadcopter
Related

How to reduce 12v dc to 5v dc

Former Member
Former Member over 10 years ago

Hello everyone,

I wrote a simple Arduino sketch to control 12 led lights in a pattern.

The led's will be mounted on my quadcopter.

The plan is to burn the sketch to an Attiny2213 micro controller mounted on a board along with the relay, transistors ect.

The problem is that the quad uses a 4s lipo(14.8v) battery.

Attiny2213 has a max of 5.5v.

I currently have a working model on the bread board with the led's using the 14.8v, and a 9v battery powering the Arduino.

Any suggestions on how to get rid of the 9v battery(weight reduction is the goal), and use only the lipo battery to power everything?

 

Thanks for your help.

Stan

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 10 years ago

    John,

    Everything is still on the bread board.

    The lipo is powering the LED's and the 9v battery is powering the Arduino board.

    The arduino has inputs for 3.3v, 5v, or 9v.

    I haven't burned the arduino sketch to the Attiny yet.

    I should upload a picture of the tangle of wires I have......

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 10 years ago in reply to Former Member

    Hi Stanley, I thought that you were already using the Atiny.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to jw0752

    I have another question.

    After reading andrews post about voltage regulators, other than price, is there an advantage to using this,

     

    R-785.0-1.0 - RECOM POWER - DC/DC CONV, 5W, 5V, 1A, SIP | Newark element14 US

     

    or this

     

    LM2574N-5.0/NOPB - TEXAS INSTRUMENTS - IC, STEP-DOWN REGULATOR, 8-DIP | Newark element14 US

     

    as far as quality, life span, heat dissipation?

    Stan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • johnbeetem
    0 johnbeetem over 10 years ago in reply to Former Member

    stanley thomas wrote:

     

    I have another question.

    After reading andrews post about voltage regulators, other than price, is there an advantage to using this,

     

    R-785.0-1.0 - RECOM POWER - DC/DC CONV, 5W, 5V, 1A, SIP | Newark element14 US

     

    or this

     

    LM2574N-5.0/NOPB - TEXAS INSTRUMENTS - IC, STEP-DOWN REGULATOR, 8-DIP | Newark element14 US

     

    as far as quality, life span, heat dissipation?

    Stan

    The LM2574 is a single chip whereas R-785 is an entire module.  The module has a step-down regulator chip of some sort inside it, plus the additional discrete components the chip needs such as capacitors, resistors, diodes, transistors, and inductors.  In practice, designing the layout of a switching regulator module is tricky.  Many step-down regulator chips run at very high frequencies -- 1 MHz or more -- and if you don't know what you're doing with the layout it could oscillate and produce an unstable output.  For example, if you put critical components too far from the chip the extra inductance of the PC board traces affect circuit function.

     

    I'm a digital guy so I prefer to leave the analog magic to analog experts.  A module lets you do this.  Some chip manufacturers provide PC board layouts that you can copy.  If you do this faithfully it usually works too.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • johnbeetem
    0 johnbeetem over 10 years ago in reply to Former Member

    stanley thomas wrote:

     

    I have another question.

    After reading andrews post about voltage regulators, other than price, is there an advantage to using this,

     

    R-785.0-1.0 - RECOM POWER - DC/DC CONV, 5W, 5V, 1A, SIP | Newark element14 US

     

    or this

     

    LM2574N-5.0/NOPB - TEXAS INSTRUMENTS - IC, STEP-DOWN REGULATOR, 8-DIP | Newark element14 US

     

    as far as quality, life span, heat dissipation?

    Stan

    The LM2574 is a single chip whereas R-785 is an entire module.  The module has a step-down regulator chip of some sort inside it, plus the additional discrete components the chip needs such as capacitors, resistors, diodes, transistors, and inductors.  In practice, designing the layout of a switching regulator module is tricky.  Many step-down regulator chips run at very high frequencies -- 1 MHz or more -- and if you don't know what you're doing with the layout it could oscillate and produce an unstable output.  For example, if you put critical components too far from the chip the extra inductance of the PC board traces affect circuit function.

     

    I'm a digital guy so I prefer to leave the analog magic to analog experts.  A module lets you do this.  Some chip manufacturers provide PC board layouts that you can copy.  If you do this faithfully it usually works too.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 10 years ago in reply to johnbeetem

    Thanks John,

    That helps a bunch.

    Stan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    I used a micro potentiometer to reduce the voltage.

    While using a volt meter, and adjusting the pot between 5 and 6v, the Arduino would not power up.

    I'm wondering if the pot restricted the amps to much.

    Also wondering if the 5v input on the Adruino is working.

    4 AA batteries will give me 6v. Should I use that to test the 5v input, or is 6v too high?

    Stan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 10 years ago in reply to Former Member

    6V on the 5V line is way too much

     

    Using a POT to reduce the voltage will not work unless it is a very low value as your partly aware,. You don’t say what value your using but it will drop too many volts when the Arduino starts to run and takes more current, the resistor drop will only work at one very specific current, any other current (And it changes all the time due to code and IO) with change the voltage applied to the Arduino

     

     

     

    If you’re really determined to use 4 AA batteries and little else then put two diodes in series with the batteries, this will have you operating at 4.8V

     

     

     

    A better solution is more volts and  feed through the barrel connector as normal or use a buck boost convertor to give you the 5V no matter the input (Within reason), you could also use a LIPO with a boost convertor or a USB Charger pack, these give out nominally 5V ad internally have the batteries, charging circuit and everyththing already done, they can be found pretty cheaply at most hardware stores.

     

    More fun could be had building up a kit like this one from Adafruit https://learn.adafruit.com/minty-boost or this http://www.adafruit.com/product/1944

     

     

     

     

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Robert Peter Oakes

    Ok, got the dc-dc converter and it is working great for powering the Arduino at 5 volts, while using the same 11.1 lipo battery for the led's.

    Now having trouble burning the Arduino sketch to the ATtiny861a.

    Anyone here have experience with this?

    Thanks

    Stan

    • 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