Power Your Arduino From Your Car

Summary of Power Your Arduino From Your Car


This article details a DIY project to build a compact, vehicle-based regulated power supply for Arduino or AVR microcontrollers. By utilizing a car's cigarette lighter socket, the device steps down 12V DC to a stable 5V output using a linear regulator and minimal external components. The guide covers the necessary parts list, PCB design constraints (approx. 29mm x 10mm), and fabrication options, including etching or ordering from a service like Seeedstudio.

Parts used in the Vehicle-Based Arduino Power Supply:

  • Auto power plug
  • 0.1uF 0805 capacitor
  • 0.33uF 0805 capacitor
  • 1uF 0805 capacitor
  • 5V regulator DPAK MC7805CD
  • Soldering iron and solder
  • Tweezers and wire cutters
The Arduino — and AVRs in general — have a wide range of power supply options ranging from around 1.8V to 5.5V. The choice of voltage is usually determined by the desired clock speed or power consumption requirements. The Arduino and its many variants have power jacks that allow connections from big, clunky “wall warts.” Alternatively, some boards can get their power from external power supply pins, either regulated externally or on board. But what about if you’re in a parking lot at a convention or coffee shop and want to show your geeky friends your new Arduino or AVR-based invention? Well, I’ve got an answer for that!
Power Your Arduino
This instructuable will show you how to build your own vehicle-based regulated power supply that will power an Arduino or any AVRup to 5V. It’s an inexpensive and easy to build project that you can have up and going in no time, and additionally, with very few external components. This device makes use of your car’s cigarette lighter socket for power and then performs a DC/DC step-down to 5Vs while regulating the power.Go to the next step to get started!

Step 1 Bill of Material

What You’ll Need

As I mentioned in the intro, this project has very few requirements or external components. Here’s what you’ll need:

  • Auto power plug (www.mouser.com #171-A1378-EX $2.33)
  • 0.1uF 0805 capacitor (www.avnet.com #08051C103JAT2A $0.09)
  • 0.33uF 0805 capacitor (www.avnet.com #0805YC33rKAT2A $0.04)
  • 1uF 0805 capacitor (www.avnet.net #08053C105KAT2A $0.10)
  • 5V regulator DPAK MC7805CD (www.avnet.com $0.22)

The PCB I designed can either be etched by you with your favorite PCB creation method, or alternatively, you may send the gerber files (which I include) off to a fab house, in my case, www.seeedstudio.com Fusion PCB service for professional fabrication on the cheap. I got 20 excellently produced boards for $10. Its really hard to beat, especially when you’re working with small SMD components, but it’s entirely possible to etch these boards yourself, if you’re so inclined.

Various Sundries

Besides the items mentioned above, you should have a soldering iron, solder, maybe some flux, tweezers, wire cutters, snippers, crimper, etc. But you probably already have this stuff laying around.
Turn the page to get started on the design.

Step 2 PCB Design

There is a small space within the auto power jack shown in step 2 that can fit a small PCB. And yes, I do mean small. The board should measure really no larger than 29mm x 10mm (although my board is exactly 29.21 x 10.16 mm). This size really screams for the use of SMD components. Luckily, we can use SMD packages that are small. But not too small for us to work with manually.

Overview

The design here is very simple and follows a standard linear power regulator setup. We take in the 12V or so from the car and pass it to a 5V linear regulator with a few capacitors attached to handle transients and unwanted frequencies, helping to reduce ripple voltage in the output. Finally, we output this regulated 5V through a set of wires that will connect to the Arduino or AVR board.

Schematics and Board

Check out the included pictures of the schematic and board to get an idea of how this is all setup. It’s very straight forward and shouldn’t offer too many surprises for those of you that have built your own power supplies for microcontrollers before. Also, find attached the actual schematic and board file (*.sch and *.brd) for use in Eagle, if you want to change or modify anything. Finally, if you do choose the option of having your board custom fabricated, I’ve also attached a zip file of the necessary files you will need to send to Seeedstudio to have them build the PCB. From time of order to the time I received my PCBs was about 2 weeks. Cheap and speedy.
For more Detail: Power Your Arduino From Your Car

Quick Solutions to Questions related to Vehicle-Based Arduino Power Supply:

  • How does this device power an Arduino?
    The device uses the car's cigarette lighter socket for power and performs a DC/DC step-down to 5V while regulating the power.
  • Can I build this without custom PCBs?
    Yes, you can etch the board yourself with your favorite PCB creation method or send gerber files to a fab house.
  • What is the maximum size of the PCB?
    The board should measure no larger than 29mm x 10mm, though the author's specific board is 29.21 x 10.16 mm.
  • Does this project require many external components?
    No, the project has very few requirements or external components and uses a standard linear power regulator setup.
  • What voltage does the car supply provide to the circuit?
    The design takes in 12V or so from the car to pass it to the 5V linear regulator.
  • How long did it take to receive the fabricated PCBs?
    From the time of order to receiving the PCBs was about two weeks.
  • What file formats are available for modifying the design?
    Actual schematic and board files in .sch and .brd formats are available for use in Eagle software.
  • Can this power supply be used for other devices besides Arduinos?
    Yes, it is designed to power any AVR up to 5V.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top