0

February 9, 2016 AT 7:11 pm

NEW TUTORIAL: Atmega32u4 Breakout


Microcontrollers 296 01

NEW TUTORIAL: Atmega32u4 Breakout

About the Atmega32u4 Breakout board+

We like the AVR 8-bit family and were excited to see Atmel upgrade the series with a USB core. Having USB built in allows the chip to act like any USB device. For example, we can program the chip to ‘pretend’ it’s a USB joystick, or a keyboard, or a flash drive! Another nice bonus of having USB built in is that instead of having an FTDI chip or cable (like an Arduino), we can emulate the serial port directly in the chip. This costs some Flash space and RAM space but that’s the trade-off.

The only bad news about this chip is that it is surface mount only (SMT), which means that it is not easy to solder the way the larger DIP chips are. For that reason, we made a breakout board. The board comes with some extras like a fuse, a 16mhz crystal, USB connector and a button to start the bootloader.

Why not use a Teensy

We also carry a similar board from PJRC called the Teensy . The Teensy uses the same chip so you may be wondering, why did we design a different-but-still-basically-the-same board? We’ve used the Teensy in a few projects and like it a lot but there are a few details that we wanted to change. We wanted…

…a bootloader that would work with avrdude since that is our preferred software
…another LED, for power-good indication
…a 500mA fuse on the USB power-source pin
…mounting holes so we could attach it easily
…reprogramming ISP header so we could program the board directly without the bootloader
…a larger reset button
…all the pins broken out for use with a breadboard
…open source bootloader that works with AVRdude

That doesn’t in any way mean that it is better or replaces the Teensy. Here are some reasons we will still use the teensy for many projects

It’s really really small. A third the size of this breakout
The bootloader that is programmed in uses only 512 bytes (instead of 2K)
It works nicely with Teensyduino and auto-resets right before programming

Microcontrollers 296 00

See full tutorial here!


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — Lessons Learned Scaling Airbnb 100X

Wearables — ABS ABC

Electronics — When do I use X10?

Biohacking — VICE Reviews The Internet’s Top Five Nootropics

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.