Minnowboard:Trainer Lure

From eLinux.org
Jump to: navigation, search



  • I2C interface(+3.3v)
  • SPI inteface with ChipSelect(+3.3v)
  • 8 GPIO's(+3.3v)
  • Large prototyping area (0.1" x 0.1" matrix with access to power bus)
  • Atmega328 processor (user programmable)
    • Arduino compatible
    • ATmega328 power is +3.3v or +5v selectable
    • Communicate to the ATmega328 via the MinnowBoard uart


Trainer Lure Rev-B

I²C Interface

The Trainer provides an interface to the MinnowBoard's I²C port. The I²C signals are at +3.3V levels. The I²C signals are located next the the prototyping area.

How to access the I2C bus (from software): http://i2c.wiki.kernel.org/index.php/Linux_2.6_I2C_development_FAQ

SPI Interface

The Trainer provides an interface the the MinnowBoard's SPI port and the signals are level translated to +3.3V. The SPI signals are located next to the prototyping area.

GPIO Interface

The Trainer provides an interface to 8 of the MinnowBoard's GPIO signals. The GPIO signals are at +3.3V levels and are located next to the prototyping area.


The Trainer board provides an AT24C01 serial EEPROM that contains a Vendor ID and a Device ID that the MinnowBoard uses to identify the type of board connected to the expansion header. This information enables the MinnowBoard to auto-configure the signals needed by the Trainer.

ATmega328 (Arduino Hardware Compatible)

An ATmega328 embedded processor is located on the Trainer board that is user programmable. The ATmega328 is hardware compatible with the Arduino and it's I/O signals are available next to the prototyping area. The ATmega328 can be user jumpered to run at either +3.3V or +5V. One of the MinnowBoard's GPIO signals (GPIO_SUS1) controls the ATmega328's power supply and can turn on or off the power to the ATmega328. The ATmega328 can run off it's internal RC oscillator or it also has an external crystal(footprint provided but not populated).

Note: The ATmega328 must be programmed with an external hardware programmer (not included) like the Pocket AVR Programmer or the ATAVRISP2.

avrdude -c usbtiny -p atmega328p -e -u -U lock:w:0x3f:m -U efuse:w:0x05:m -U hfuse:w:0xda:m -U lfuse:w:0xff:m
avrdude -c usbtiny -p atmega328p -U flash:w:ATmegaBOOT_168_atmega328_pro_8MHz.hex -U lock:w:0x0f:m
  • (NEEDS TO BE UPDATED)AVR code and Arduino sketches can be uploaded using avrdude on the MinnowBoard:
avrdude -V -F -c stk500v1 -p m328p -P /dev/ttyS1 -b 57600 -U flash:w:main.hex
  • AVR code and Arduino sketches can be uploaded using avrgal on the MinnowBoard:
avrgal main.hex

Prototyping / Breakout Area

  • provides a prototyping / breakout area with a standard 0.1" x 0.1" spacing matrix
  • Access to MinnowBoard's signals
  • Access to the ATmega328's I/O pins

Attaching to the MinnowBoard


Attach the four board spacers with the screws provided.


Connect the expansion board onto the TOP SIDE of the MinnowBoard by mating with the 100-pin header. Make sure all of the pins align correctly. Continue pushing the two boards together until the connectors mate together.


Trainer Schematics

The Trainer Rev-B schematic is availible here:

Where to purchase the Trainer board

The Trainer Lure board will be available for purchase from http://www.circuitco.com