loading
Picture of ArrDrownHo! - Easily convert AVR to Arduino
20130803_121503.png
20130803_115401_2.png
ArrDrownHo! board.png



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.

 
Remove these adsRemove these ads by Signing Up

Step 1: Materials Required

Picture of 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

Picture of Fabricate the board
1.png
ArrDrownHo! 1.png
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

Picture of Solder vias
0.3032599435566226720130722_215526.png
0.984241175025652420130722_215610.png
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

Picture of Solder Resistors
0.42381535271106163ArrDrownHo! 4a.png
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

Picture of Solder Male Header Pins
ArrDrownHo!.png
Copy of ArrDrownHo! alt.png
20130803_115717.png
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!

Picture of Using ArrDrownHo!
20130803_115500.png
20130803_115418.png
Arduino-To-Atmega8-Pins.png
Atmega168PinMap2.png
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

Picture of 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...

 
lmperkins1 year ago
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

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.

Antzy Carmasaic (author)  lmperkins1 year ago
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!

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. :)

AndyTallack6 months ago

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

rpotts21 year ago
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.
Antzy Carmasaic (author)  rpotts21 year ago
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.
shobo1 year ago
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
Antzy Carmasaic (author)  shobo1 year ago
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.
Orngrimm1 year ago
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! :)
Antzy Carmasaic (author)  Orngrimm1 year ago
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.
The GIF is superb! Thats exactly what makes it clear and understandable how all the stuff fits together. :)
Antzy Carmasaic (author)  Orngrimm1 year ago
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! :-)
padbravo1 year ago
I know that my question is not about the main thing, but...

What did you use to make the animation? wich CAD?
Antzy Carmasaic (author)  padbravo1 year ago
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.
Yeah!... great way... I'll grab them and look at...

Tks for your answer.