Atmel AT90USB162, 16KB flash, 512B RAM, 512B EEPROM
Programming via USB using on-chip bootloader
ISP header for use with external programmer (headers optional)
Button and LED (can be disconnected by solder jumper)
Two PWM filters (for analog output)
Flexible power configuration using solder jumpers
USB bus power or external power
5V or 3.3V (other options using external power)
Open source (MIT) code based on LUFA USB library
All GPIO pins routed to headers
16MHz crystal installed (desolder to clock externally)
DIL-40 sized board, standard 0.1" pin spacing
You may also be interested in the following product(s)
$13.99 As low as: $11.99
$22.99 As low as: $19.99
The JM-DB-AT90 is a development board for the AT90USB162 microcontroller in a convenient DIL-40 sized package. The AT90USB162 contains 16 KB of flash, 512 B of RAM, 512 B EEPROM, 22 programmable IO pins, and a USB device controller. With the preinstalled, open-source bootloader, the Atmega32U2 can be programmed over USB. Or, an ISP header can be used to program via an external programmer. An ATmega32U2 development board, with an identical PCB and components, is also available on the shop page (JM-DB-U2).
The board has many power supply configurations by utilizing solder jumpers. It can be powered by USB or by an external supply. Both 5V or 3.3V are supported. One button, one LED, and two PWM filters are provided. They can be disconnected by desoldering solder jumpers if desired. All IO pins are routed to headers. The supplied 16MHz crystal can also be desoldered, allowing use of an external clock source. The installed demo program and downloadable source code can be used to get started. It demonstrates the use of a CDC-class USB device, and is controlled using a terminal emulator.
All firmware installed is open-source under the MIT license (similar to BSD). Source code is available on the website. The code utilizes the LUFA USB library by Dean Camera. If you would like to develop a USB application that uses drivers other than the default CDC ACM class (like HID), then check out his website at http://www.fourwalledcubicle.com/. The source code includes only the USB driver directory of his LUFA project. The LUFA project includes examples using many different device classes (like storage, sound, MIDI, HID, etc). He has both high-level and low-level examples, making it relatively easy to progressively learn.
High Performance, Low Power AVR® 8-Bit Microcontroller
Advanced RISC Architecture
125 Powerful Instructions – Most Single Clock Cycle
32 x 8 General Purpose Working Registers
Fully Static Operation
Up to 16 MIPS Throughput at 16 MHz
Non-volatile Program and Data Memories
16K Bytes of In-System Self-Programmable Flash
512 Bytes EEPROM
512 Bytes Internal SRAM
Write/Erase Cycles: 10,000 Flash/ 100,000 EEPROM
Data retention: 20 years at 85°C/ 100 years at 25°C(1)
Optional Boot Code Section with Independent Lock Bits
In-System Programming by on-chip Boot Program
True Read-While-Write Operation
Programming Lock for Software Security
USB 2.0 Full-speed Device with Interrupt on Transfer Completion
Complies fully with Universal Serial Bus Specification REV 2.0
48 MHz PLL for Full-speed Bus Operation: 12 Mbit/s data rate
Fully independant 176 bytes USB DPRAM for endpoint memory
Endpoint 0 for Control Transfers: from 8 up to 64-bytes
4 Programmable Endpoints:
IN or Out Directions
Bulk, Interrupt and IsochronousTransfers
Programmable maximum packet size from 8 to 64 bytes
Programmable single or double buffer
Microcontroller reset on USB Bus Reset without detach
USB Bus Disconnection on Microcontroller Request
One 8-bit Timer/Counters with Separate Prescaler and Compare
(two 8-bit PWM channels)
One 16-bit Timer/Counter with Prescaler, Compare and Capture
(three 8-bit PWM channels)
USART with SPI master mode and hardware flow control (RTS/CTS)
Master/Slave SPI Serial Interface
Programmable Watchdog Timer with Separate On-chip Oscillator
On-chip Analog Comparator
Interrupt and Wake-up on Pin Change
On Chip Debug Interface (debugWIRE)
Special Microcontroller Features
Power-On Reset and Programmable Brown-out Detection
Internal Calibrated Oscillator
External and Internal Interrupt Sources
5 Sleep Modes: Idle, Powersave, Powerdown, Stby., and Ext. Stby.
I/O and Packages
22 Programmable I/O Lines
QFN32 (5x5mm) / TQFP32 packages
2.7 - 5.5V
Industrial (-40°C to +85°C)
8 MHz at 2.7V - Industrial range
16 MHz at 4.5V - Industrial range
User Guide (1MB)
1) Download and install Atmel's FLIP utility from http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3886.
2) If running Windows Vista or Windows 7 64-bit, be sure to boot using f8 to allow installation of signed drivers. Alternatively, you may obtain signed drivers from here: Download
3) Plug in the board while firmly holding down the button. The LED will flash smoothly. This indicates that the bootloader is running.
4) Windows will detect the bootloader. Point the installer to the USB subdirectory of the FLIP installation directory (or the directory containing the downloaded signed drivers).
5) Now that the driver is installed, run FLIP. Use it to program the flash with your hex file.
6) To run your hex file, unplug the device, then plug it back in without holding down the button.
JM_DB_AT90.hex Revision 100915
This file contains the demo program. It uses an ansi terminal emulator. Hyperterm on Windows XP, and minicom on Linux have been tested. Please consult the User Guide for instructions. This firmware can be loaded using Atmel's FLIP utility, downloadable from Atmel's website, or by DFU-Programmer (latest SVN).
This hex file contains code Copyright (c) 2009-2010, Justin Mattair.
This hex file contains much code from the LUFA project, Copyright (c) 2009-2010, Dean Camera.
The pre-installed DFU bootloader was also written by Dean Camera.
Please see his website at http://www.fourwalledcubicle.com/ for more information.
His code will also allow you to use different device classes (like mass storage, HID, audio, etc.).
Portions of this file Copyright (c) 2003-2010, Atmel Corporation.
JM-DB-AT90_source-100915.zip Revision 100915
This file contains all of the source code for the project.
Copyright (c) 2009-2010, Justin Mattair
Copyright (c) 2009-2010, Dean Camera (DFU bootloader, LUFA USB library)
Copyright (c) 2003-2010, Atmel Corporation
An .inf file is required for the demo program if running Windows. The demo makes use of the CDC-ACM device (virtual COM port). This file supports Windows 2000, XP, Vista (32 and 64 bit) and Windows 7 (32 and 64 bit). Linux does not require a download (drivers should already be installed).
The DFU programmer mode also requires a driver. This driver is included with FLIP (inside the USB folder of the program's directory). If using Windows Vista 64-bit or Windows 7 64-bit, be sure to boot using f8 to allow installation of unsigned drivers. Alternatively, signed drivers may be obtained from here: Download
License / Disclaimer
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notices appear in all copies and that both that the copyright notices and this permission notice and warranty disclaimer appear in supporting documentation, and that the name of the authors not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission.
The author disclaim all warranties with regard to this software, including all implied warranties of merchantability and fitness. In no event shall the author be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software.