Difference between revisions of "Minnowboard:Trainer Lure"

From eLinux.org
Jump to: navigation, search
(Hardware)
(Hardware)
Line 14: Line 14:
 
= Hardware =
 
= Hardware =
  
[[File:trainer-lure-featuresjpg|800px| Trainer Lure Rev-B]]
+
[[File:trainer-lure-features.jpg|800px| Trainer Lure Rev-B]]
  
 
== I²C Interface ==
 
== I²C Interface ==

Revision as of 08:47, 27 March 2013

Trainer-lure.png

Features

  • 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


Hardware

Trainer Lure Rev-B

I²C Interface

The Trainer provides an interface to the BeagleBoard'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.

Serial EEPROM

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 BeagleBoard's GPIO signals (GPIO 162) 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
  • AVR code and Arduino sketches can be uploaded using avrdude on the BeagleBoard:
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 BeagleBoard:
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

PC Board Test Point Locations

Trainer Rev-A


Attaching to the BeagleBoard

Zippy2-expansion connector7.jpg

Attach the four board spacers with the screws provided.


Zippy2-expansion connector4.jpg

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.


Zippy2-expansion connector5.jpg

Continue pushing the two boards together until the connectors mate together.


Zippy2-expansion connector6.jpg

Attach the male standoffs as shown.


Zippy2-expansion connector8.jpg


Trainer Schematics

The Trainer Rev-B schematic is availible here:

Where to purchase the Trainer board

The Trainer board can be purchased from:

USA: www.tincantools.com