Welcome to MattairTech!

Your Shopping cart is empty.

Skip to Main Content »

AT90USB646 AT90USB1286 Atmel USB AVR Arduino compatible development board

Availability: In stock

$22.99
     
Accepting MC, VISA, AMEX, Discover, PayPal

Quick Overview


Updated March 25, 2016: Arduino 1.6.7 support. Download below.

Updated January 28, 2015: Drivers are now signed!

Updated May 2, 2014: CDC Bootloaders now improved with better Arduino support (you can now ignore jumper) and bugfixes.

There are two bootloaders available. Please select below.
LUFA CDC:Recommended! Arduino and AVRDUDE compatible
Atmel DFU:FLIP compatible
With this option, the factory default fuse and lockbit settings will be used. The Atmel bootloader does not support the LED, will not allow reading of the FLASH (other than verification), and has certain lock bits set. If you need to protect your code from being read but lack an external programmer to set the lockbits, choose the Atmel bootloader.


Introduction

      
The MT-DB-U6 is a development board for the Atmel AT90USB646 / AT90USB1286 USB AVR microcontroller with Arduino support. Onboard is a 5V, 500mA, low quiescent current, LDO regulator that supports 3V* – 30V DC input voltage (reverse-polarity protected). The board can also be powered via USB (5V Vbus). The power source is automatically selected by the configurable power switch IC which also limits current to 500mA (better than polyfuse). Also mounted is a mini USB connector, green LED, 16MHz crystal, 32.768KHz RTC crystal, reset button, and an HWB boot jumper. The board has 48 main dual inline header pins with 100 mil pin spacing and 900 mil row spacing which allows for mounting on a perfboard (or barely on a breadboard). There are 8 more pins available on an inboard header (PORT A). The ISP/SPI header can be used with an external programmer, or be reconfigured to allow the MT-DB-U6 itself to be an AVRISP mkII programmer, or to be used as a SPI master or slave. A bootloader comes preinstalled which allows programming of the chip over USB without an external programmer. The PCB measures approximately 2.9” x 1.1” x 0.062” (73mm x 28mm x 1.6mm).

AT90USB646 AT90USB1286 Atmel USB AVR Arduino compatible development board

Double click on above image to view full picture

Zoom Out
Zoom In

More Views

* Required Fields

$22.99
     

Details




Features

*    AT90USB646 / AT90USB1286 USB microcontroller
            64KB/128KB FLASH, 4KB/8KB SRAM, 2KB/4KB EEPROM
            8 10-bit ADC channels
            Serial USART, SPI, and TWI (I2C) communications
            4 timers with 14 PWM channels (up to 7 simultaneous)
*    Onboard 5V, 500mA LDO regulator
            3V – 30V DC input (5V regulation with 5.35V – 30V input)
            low quiescent current (23uA @100uA, 75uA @10mA, 0.7mA @100mA)
            low dropout (350mV @ 500mA)
            Reverse polarity protection, reverse leakage protection
            over-current protection, thermal shutdown, over-voltage shutdown
            Access to shutdown input (via pin) and low voltage error output (via jumper to E6)
*    Automatic power source selection IC
            Seamless automatic switching between USB power and onboard regulator
            Configurable default source (the source used when both supplies are connected)
            Current limit set by resistors to 500mA (works better than polyfuse)
            Low operating current (55uA typical)
            Inrush current control, thermal protection, reverse and cross-conduction blocking
            Access to switch status output via jumper to E6 (indicates power source selection)
*    Arduino compatible
*    CDC (Arduino/AVRDUDE) or DFU (FLIP) bootloader preinstalled
*    Bitlash preinstalled (Arduino command shell)
*    ISP/SPI header (ISP by default)
            As an ISP header, it is used to program the AVR with an external programmer
            Header can be converted to a SPI (master or slave) header
            Can be used as an AVRISP mkII programmer to program other AVRs
            Can mount the MT-SD MicroSD card slot directly to this header
*    16MHz crystal for main clock
*    32.768KHz crystal for real-time counter
*    Green Status LED (can be disconnected)
*    Reset button
*    Bootloader selection jumper
*    Mini USB connector
*    USB pins routed to header pins (for panel-mount USB connector)
*    Powered by USB or external 3V - 30V power source
*    Inductor on analog supply
*    All PORT pins routed to headers (E4 and E5 used by RTC crystal)
*    4 main headers are on 0.1” spacing relative to each other (breadboard/perfboard mounting)
*    Two 3mm mounting holes (~5mm pad)
*    High-quality PCB with gold-plated finish
*    Measures approx. 2.9” x 1.1” (73mm x 28mm) and 0.062” (1.6mm) thick.
*    Compatible with LUFA USB library (www.lufa-lib.org)



Documentation

   User Guide


Arduino Support Features

* Arduino core and libraries ported to MattairTech USB boards
* MT-DB-U6-128: 46 digital*, 8 analog, 7 PWM*, 6 INT*, 8 PCINT, TWI, SPI, USART1, 128KB FLASH, 8KB SRAM, 4KB EEPROM
* MT-DB-U6-64: 46 digital*, 8 analog, 7 PWM*, 6 INT*, 8 PCINT, TWI, SPI, USART1, 64KB FLASH, 4KB SRAM, 2KB EEPROM
* USB Serial interface replaces USART0
      - Hardware maximum speed of 8Mbps
      - Can use terminal emulator or serial monitor
      - LED blinks when data is transferred (can be disabled)
      - Uses the same methods as the original HardwareSerial.cpp (ie: Serial.println("Hello!"))
      - Based on LUFA USB library by Dean Camera (www.fourwalledcubicle.com)
      - USART1 also available; can be used at the same time
* Arduino/AVRDUDE compatible CDC bootloader preinstalled (optional)
* Bitlash Arduino command interpreter (bitlash.net) preinstalled
* All libraries included with Arduino download are now supported
* Arduino pin numbering printed on PCB (0-45)
* HID keyboard and mouse now supported
* Bootloader automatically jumps to sketch after it is uploaded, reset button returns to bootloader.
* Auto-reset to bootloader now supported as well.


* MT-DB-U6-64/128: 2 additional digital, 2 additional PWM, or 2 additional INT pins available with RTC crystal removed.
                   Note however, that the RTC crystal holes are smaller and closer together than the header pin holes.


You must download the support files under "Source Code" below.

 

Pinout



Bitlash / DAQ

Bitlash is an open source interpreted language shell and embedded programming environment. The preinstalled Bitlash firmware was compiled in the Arduino environment and supports Arduino functions (ie: dw() for digitalWrite()). A terminal emulator (ie: HyperTerm) or the Arduino serial monitor may be used.

* Up to 46 digital input/output (w/ optional pullups)
* Up to 8 10-bit analog inputs (0V-5V)
* Up to 7 8-bit PWM outputs (can be used for analog out)
* Up to 8 external pin interrupts
* Up to 4 simultaneous frequency outputs
* Pulse width measurement

The following example demonstrates data acquisition and control capabilities (see comments, which should not be typed in):

bitlash here! v2.0RC4 (c)2011 Bill Roy, bitlash.net -type HELP- 1706 bytes free
> pinmode(13,1) // set pin 13 to be a digital output
> d13=1 // set pin 13 to high
> pinmode(12,0) // set pin 12 to be a digital input
> d12=1 // enable internal pullup resistor for pin 12
> x=d12 // read pin 12 and store result in x
> print x // display value of x
1
> print ar(10) // read analog input 10, returns a value between 0 and 1023 (0V - 5V),
 print to display (or you can assign to variable)
784
> pinmode(6,1) // set pin 6 to be a digital output
> a6=127 // set pin 6 to output a 50% duty cycle PWM, value between 0 and 255
> if (d12==0) {a6=(ar(10)/4);} // set PWM output 6 to be proportional to analog input 10


The following example saves three functions to EEPROM. It is then run in the background, pulsing an LED on pin 6 using analog write (PWM).
Note that this could also be setup to run automatically at boot, thus allowing for some autonomous operation:

bitlash here! v2.0RC4 (c)2011 Bill Roy, bitlash.net -type HELP- 1706 bytes free
> print free, " bytes free"
1702 bytes free
> pinmode(6,1)
> d6=1
> x=255;d=0;
> function brighter {if (x==255) {d=0;} else { a6=++x; snooze(2);}}
saved
> function dimmer {if (x==0) {d=1;} else {a6=--x; snooze(2);}}
saved
> function pulseLED {if (d==0) {dimmer();} else {brighter();}
saved
> ls
function brighter {if (x==255) {d=0;} else { a6=++x; snooze(2);}};
function dimmer {if (x==0) {d=1;} else {a6=--x; snooze(2);}};
function pulseled {if (d==0) {dimmer();} else {brighter();};
> run pulseled
> ps
0: pulseled
> stop 0
>


Documentation for Bitlash is available at http://bitlash.net/wiki/docindex

 

Commandsarg else function help if ls peep print ps return rm run stop switch while
Functionsabs ar aw bc beep br bs bw constrain delay dr dw er ew free inb max millis min outb pinmode printf pulsein random shiftout sign snooze




Hex Files for AT90USB646


  Bootloader.hex  Revision 140502
May 2, 2014: CDC Bootloaders now improved with better Arduino support (you can now ignore jumper) and bugfixes.
The Bootloader.hex file is a CDC bootloader compatible with Arduino and AVRDUDE

  Bootloader_no_options.hex  Revision 140502
The Bootloader_no_options.hex file is a CDC bootloader compatible with Arduino and AVRDUDE
This version does not drive the LED or support the Arduino-specific features or the convenience features (see documentation).


  bitlashdemo_MT-DB-U6-64.hex  Revision 130410
The bitlashdemo_MT-DB-U6-64.hex file is an Arduino command shell that comes preinstalled

  AVRISP-MKII.hex  Revision 130508
The AVRISP-MKII.hex file is an AVRISPmkII programmer for AVR Studio by Dean Camera (http://www.lufa-lib.org/). Set J2 to alternate position to use ISP header as an output to your target board. MT-DB-U6 and target must have the same operating voltage. Press reset to toggle between Atmel Studio and AVRDUDE mode. A 4MHz rescue clock is on pin B5. Latest version updates support for Atmel Studio 6.1. 



Hex Files for AT90USB1286


  Bootloader.hex  Revision 140502
May 2, 2014: CDC Bootloaders now improved with better Arduino support (you can now ignore jumper) and bugfixes.
The Bootloader.hex file is a CDC bootloader compatible with Arduino and AVRDUDE

  Bootloader_no_options.hex  Revision 140502
The Bootloader_no_options.hex file is a CDC bootloader compatible with Arduino and AVRDUDE
This version does not drive the LED or support the Arduino-specific features or the convenience features (see documentation).


  bitlashdemo_MT-DB-U6-128.hex  Revision 130410
The bitlashdemo_MT-DB-U6-128.hex file is an Arduino command shell that comes preinstalled

  AVRISP-MKII.hex  Revision 130508
The AVRISP-MKII.hex file is an AVRISPmkII programmer for AVR Studio by Dean Camera (http://www.lufa-lib.org/). Set J2 to alternate position to use ISP header as an output to your target board. MT-DB-U6 and target must have the same operating voltage. Press reset to toggle between Atmel Studio and AVRDUDE mode. A 4MHz rescue clock is on pin B5. Latest version updates support for Atmel Studio 6.1.




Arduino 1.6.7 Support


  https://www.mattairtech.com/support/ 

Please visit the link above for more information and installation instructions.



Old Arduino (1.0.5.1) Support / Source Code


  MattairTech_Arduino_1.0.5.1.zip  Revision 1.0.5.1

Previously, Revision 1.0.5.2 was erroneously posted, but this was a development version and was incomplete (it will add MIDI support). Please use 1.0.5.1 instead.

MattairTech_Arduino_1.0.5.1.zip contains the Arduino 1.0.5 core files.
Version 1.0.5.1 fixes the sketch not running when not connected to a USB host (ie: USB charger). 1.0.5 updates the Arduino core files and libraries to 1.0.5. Version 1.0.4 added HID keyboard and mouse support, added auto-reset support, updated LUFA to 130303, updated the Arduino core files and libraries to 1.0.4, updated the bootloaders, and added support for the new MT-DB-U6.
Please read the files INSTALL.txt and README.txt in the root directory.


  MattairTech_CDC_Arduino_Bootloaders.zip  Revision 140502
May 2, 2014: CDC Bootloaders now improved with better Arduino support (you can now ignore jumper) and bugfixes.
MattairTech_CDC_Arduino_Bootloaders.zip contains the source code for the LUFA CDC bootloader.


  MattairTech_DFU_Bootloaders.zip  Revision 130416
MattairTech_DFU_Bootloaders.zip contains the source code for the LUFA DFU bootloader.



Drivers


   MattairTech_CDC_Driver_Signed.zip

Updated January 28, 2015: Drivers are now signed!
The MattairTech_CDC_Driver_Signed.zip file is required for the demo program and CDC bootloader if running Windows, when it will operate as a CDC-ACM device (virtual COM port). This driver supports XP (SP3), Vista (32 and 64 bit), Windows 7 (32 and 64 bit), and Windows 8. The old unsigned driver is available at https://www.mattairtech.com/software/MattairTech_CDC.inf. Linux does not require a download (drivers should already be installed).


The DFU Bootloader also requires a driver. This driver is included with FLIP (inside the USB folder of FLIP's directory).




Legal


This development board/kit is intended for use for FURTHER ENGINEERING, DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY. It is not a finished product, and may not (yet) comply with some or any technical or legal requirements that are applicable to finished products, including, without limitation, directives regarding electromagnetic compatibility, recycling (WEEE), FCC, CE, or UL (except as may be otherwise noted on the board/kit). MattairTech LLC supplied this board/kit AS IS, without any warranties, with all faults, at the buyer's and further users' sole risk. The user assumes all responsibility and liability for proper and safe handling of the goods. Further, the user indemnifies Atmel from all claims arising from the handling or use of the goods. Due to the open construction of the product, it is the user's responsibility to take any and all appropriate precautions with regard to electrostatic discharge and any other technical or legal concerns.

The authors disclaim all warranties with regard to this software, including all implied warranties of merchantability and fitness. In no event shall any 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.



Credits


Portions of this code are copyright (c) 2009-2013 Justin Mattair (www.mattairtech.com)

This code uses the LUFA USB library Copyright (C) 2013, Dean Camera (www.fourwalledcubicle.com)
     and distributed under a modified MIT license (see files).
     The CDC and DFU bootloaders are modified versions from LUFA.

The Arduino core files are copyright (c) 2005-2013 David A. Mellis (www.arduino.cc),
     copyright (c) 2004-2010 Hernando Barragan (wiring.org.co),
     copyright (c) 2006 Nicholas Zambetti,
     and copyright (c) 2009 Brett Hagman.
     They are modified from the originals by Justin Mattair and retain the original LGPL 2.1 licensing (see files).

The Bitlash files are Copyright (C) 2008-2012 Bill Roy (bitlash.net)
     They are modified from the originals by Justin Mattair and retain the original BSD style licensing (see files).
 


Accepting MC, VISA, AMEX, Discover, PayPal