Introduction: ArrDrownHo! - Easily Convert AVR to Arduino



Cap'n ArrDrownHo! is the lovechild of Ardweeny and Boarduino and he's here to commandeer your AVR ships. ArrDrownHo! inherits pros of both and cons of neither. Pick up an AVR chip and start prototyping instantly on a breadboard! Want to replace that costly Arduino in your project with a cheap AVR, but don't know how? Use the simple plug-and-play ArrDrownHo! piggybacked onto the AVR to act as interface for programming and provide power.

I'll let the features of ArrDrownHo! do the convincing:

  • On-board power regulator: Accepts 7-18V to power your AVR safely
  • Serial communication pins: To connect USB-to-serial boards for communication with PC and uploading Arduino sketches
  • 6-pin ICSP: To upload code or burn bootloader using a programmer
  • On-board 16MHz crystal/resonator: For precise timing. Both crystal and resonator are comptible with board.
  • Selectable power source: Choose power from 5V regulator, FTDI board or AVR programmer
  • Breadboard and perfboard/veroboard compatible
  • Tiny 1.6cmX4cm (0.65"X1.6") package: Takes only 1 extra row on a breadboard.
  • Home fabrication friendly: No plated through holes!!!
  • Power indicator LED

I made this when I wanted a simpler way to work with AVRs. Boards like Boarduino and RBBB used plated through holes which I couldn't make at home. Ardweeny required soldering pins to AVR's legs and provided very few features. So I combined the two and took the best of both worlds.

Here's a pretty bad video of it in action:


Notes:
This can only be used directly with ATmega8, ATmega168 and ATmega328.
To burn bootloader or Arduino sketches, a programmer is required. You can check out my Instructable on how to make one.
For serial communication or uploading Arduino sketch to an AVR(with bootloader), a USB-to-serial converter like FTDI or ATmega8u2 breakout board is required.

Edit: Modified board so resonator can also be used for timing! If using crystal, middle pin for resonator can be ignored. If using resonator, no need to solder capacitors C1 and C2.

Step 1: Materials Required

Components needed:
  1. LM7805 power regulator x1
  2. 10uF 25v electrolytic capacitor x1
  3. 100uF 50V electrolytic capacitor x1
  4. 1N4001 diode x1
  5. 1K ohm resistor x1
  6. 10K ohm resistor x1
  7. LED 3mm x1
  8. 0.1uF ceramic capacitor(code: 104) x2
  9. 12-22pF ceramic capacitor(code: 12-22) x2
  10. 16MHz crystal x1
  11. Male header strip(can be replaced with longer ones) x1
  12. Female header x1
  13. Jumper x1
Tools and materials required:
  1. Very thin wire for vias
  2. Double sided copper clad board
  3. Stuff needed for fabricating board like etchant, drill, saw etc.
  4. Soldering Iron
Batteries and AVR not included ;P

Step 2: Fabricate the Board

Download the eagle files on the Intro page of this Instructable. The board is double sided and plated through holes are optional. So you can send it to fab house or make it yourself. Print, etch, cut, drill and you're done. Apply tPlace silkscreen using toner transfer.

Step 3: Solder Vias

This step is required only if you fabricated the board yourself. If the board has plated through holes, you can skip this step.

Insert a thin wire in all the vias marked in the image and solder it on both sides. Cut off excess.

Keep in mind to keep all solder joint's height on bottom side as less as possible, except for male and female headers, Why? Check out the last step "Step 8: Imperfections in design" for explanation.

Step 4: Solder Resistors

This is a slightly unconventional hack for reducing number of vias and save space. Again, this is not required for boards with plated through holes.

The 2 resistors have to be soldered in a vertical position. Make sure the base and the long lead are aligned as shown in the images. Solder on the bottom side as usual. But solder the long lead on the top side as well. This will act as a via.

Step 5: Solder the Rest

Start soldering all of the components except for male header pins. The images should provide enough information on polarity and soldering instructions for each component.

Cutt of 2x1 female headers for external power supply input.

Step 6: Solder Male Header Pins

Some male headers have to be soldered on the top side and some on bottom. Solder joint height does not matter for these. But try to slip the plastic as far back as possible so maximum length is available at the bottom side and only a bit(but enough to create a good solder joint) emerges out of the top side. Or you can use longer headers for a better contact.

Bottom side:
3 pin male header for power selection.
3x2 male header for ICSP connector.
6 pin male header for USB-to-serial board connector

Top side:
3 pin and 4 pin male headers on one side
6 pin male header on opposite side

Step 7: Using ArrDrownHo!

Using ArrDrownHo! is extremely easy. Just insert AVR into breadboard and push ArrDrownHo! on top of it, making sure pin-1 of AVR matches with RST pin of ArrDrownHo!

If uploading Arduino sketch, the Arduino nomenclature for pins are provided on the board edges. You can refer to ATmega8 and ATmega168/328 pin mapping diagrams as well. If your AVR does not have a bootloader, connect programmer(match the dot) and burn bootloader from within Arduino IDE. Now either upload your sketch using "Upload Using Programmer" option or connect a USB-to-serial board and simply select "Upload".

Selecting power source:
Use a jumper to select the power source. If you are providing power through voltage regulator, use jumper to connect rightmost 2 pins. If you are using power from FTDI board, use jumper on 2 leftmost pins. Remove jumper if powering using programmer. Do not keep jumper connected if programmer is set up to provide power. If you need to provide power using another source while using programmer, remove the jumper inside the programmer(available on most of 'em) which cuts off power supply in it's VCC line.

Step 8: Imperfections in Design

Despite all the glorious features, the design comes with a few imperfections; Imperfections, not fault(mind it!).

The foremost is that to make it possible to fabricate at home, it has 12 vias. 2 more vias are created by soldering one lead of resistors on top and bottom sides, because I had run out of space to add more vias.

Another imperfection is that the soldering on bottom side has to have as little joint height as possible. Shorter joints means less distance between AVR and ArrDrownHo!'s bottom. This is so the male headers get more insertion length into the breadboard creating a better contact. With a bit of careful soldering, I managed to get all soldering joints done with height under 1mm. You can use longer male headers for better contact with breadboard.

There is no button for resetting the chip. The only way to do it manually is grounding the RST pin for a moment.

Both of these imperfections can be removed with SMD version of ArrDrownHo! which is under works currently. I have even more features in pipeline for it. Stay tuned...

 

Comments

author
lmperkins (author)2014-01-08

I'm not very good with making my own boards so I sent your Eagle file off to OSH Park to be made. I just finished the build and uploaded the blink sketch. Very nice little project.
   

photo.JPGphoto 2.JPG
author

Any chance of passing the gerber/eagle file to me. I just could not get the org. file passes the oshpark design rules.

Many thx.

author

Wow, what a beauty... The silkscreen looks great. My DIY one was very blurry and the pin number rubbed off during soldering.
I wasn't really sure if the closely placed components would clear a PCB fab house's guidelines, but guess you made it :)
Thank you for trying out my instructable!

author
Muhammad MohsinK1 (author)2015-11-21

please send me schematic diagram with pin numbers at muhammadmohsinkhan05@gmail.com

author

The schematics are available in the intro page of this intructable, in both Eagle CAD and PDF formats...

author
1101Snehil (author)2015-07-27

Hey Friend. I liked your design a lot. Its so compact and cool. I have made a bb arduino before and i have all the components. But right now im out of my pocket money. :'(

So i decided to etch my own pcb. Can u upload the pcb design of both sides in pdf format that can be printed on glossy paper for toner transfer?

Thanks a LOT! Awesome Instructable. Keep it up. :)

author

I've attached the PDFs in the first steps. But I'd suggest you to download and use Eagle to print the layers for toner transfer method. Whenever I've tried using PDFs, there is a slight difference of scale and long header strips(as in this project) do not fit their holes properly.

author
AndyTallack (author)2015-01-04

This is a very elegant solution for working with AVR - nice one!

author
rpotts2 (author)2013-10-19

this is pretty cool! how long would you say it takes to build? I have some micro skills from modelling and have successfully put together a couple of EMSL kits and some hackduinos.

author
Antzy Carmasaic (author)rpotts22013-10-19

If you have already soldered a few kits, it shouldn't be much of a problem. Fabricating the double sided PCB is the bigger challenge. I make it at home myself and starting from scratch takes me one whole day to make the PCB, drill holes and solder.
If you are thinking of sending it to a fabrication shop, let me know before sending it.

author
shobo (author)2013-09-11

i wonder how small it will be if made with smd's,for the regulator ic you can reclaim one from an old PC motherboard for example

author
Antzy Carmasaic (author)shobo2013-09-11

It won't be smaller in dimensions with SMDs since the length has to be atleast the same as that of AVR IC and width will be atleast the width of AVR+space taken by 2 rows of male header pins. Infact, I'm think of increasing the length substantially for the SMD version to fit in more features. :-)
SMD components are easily available from where I buy my through hole ones. Just haven't dived into the world of SMDs yet. Right now I have a basic design in Eagle. Have lots of ideas for it but am caught up with other projects.

author
Orngrimm (author)2013-08-07

I had some difficulties to understand how this thing is used... I finally got it at the image in "Step 8" :)
Maybe you could write in a sentence just at the beginning how this thing is to be used like
"It is piggybacked onto the DIP-package and acts as interface for programming and using your single Atmel-chip with this backpack. No Arduino-Board needed anymore."
Just my 0.02$

Cool 'ible thou! I like it! :)

author
Antzy Carmasaic (author)Orngrimm2013-08-07

I've included your suggestion in somewhat layman's terms and added a GIF showing the setup. It's very easy to overlook such things and to take the reader's knowledge for granted. Thank you for helping me make this more understandable. Will probably be adding a video in action soon.

author
Orngrimm (author)Antzy Carmasaic2013-08-12

The GIF is superb! Thats exactly what makes it clear and understandable how all the stuff fits together. :)

author
Antzy Carmasaic (author)Orngrimm2013-08-07

Yeah that is a good suggestion. You've put it pretty well in a single sentence. Will put it in the intro page. Also will try to put an image that will make it clearer. Thanks! :-)

author
padbravo (author)2013-08-07

I know that my question is not about the main thing, but...

What did you use to make the animation? wich CAD?

author
Antzy Carmasaic (author)padbravo2013-08-07

I used Eagle to design the board. Then used EagleUp to convert it into a 3D Google Sketch-Up model.
Placed the items in sketch up as needed and took screenshot. Repeated this for each frame. Combined all the screenshots into a GIF using GIMP.
The Sketch Up model file is available in the attached files if you want to take a look.

author
padbravo (author)Antzy Carmasaic2013-08-08

Yeah!... great way... I'll grab them and look at...

Tks for your answer.

About This Instructable

32,334views

274favorites

License:

Bio: I'm programmer and an electronics hobbyist. I try to find that point where software meets hardware meets art. "Necessity is the mother of all ... More »
More by Antzy Carmasaic:IoT Time Warp Dali ClockPure White Background Photography Using SmartphoneRainbow Roller
Add instructable to: