Difference between revisions of "Minnowboard:Trainer Lure"

From eLinux.org
Jump to: navigation, search
(Trainer Schematics)
m (Prpplague moved page Trainer Lure to Minnowboard:Trainer Lure without leaving a redirect)
 
(6 intermediate revisions by 2 users not shown)
Line 18: Line 18:
 
== I²C Interface ==
 
== 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.
+
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
 
How to access the I2C bus (from software): http://i2c.wiki.kernel.org/index.php/Linux_2.6_I2C_development_FAQ
Line 39: Line 39:
 
== ATmega328 (Arduino Hardware Compatible) ==
 
== 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).
+
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 [http://www.sparkfun.com/commerce/product_info.php?products_id=9231 Pocket AVR Programmer] or the [http://www.mouser.com/ProductDetail/Atmel/ATAVRISP2/?qs=sGAEpiMZZMv256HIxPBQcA8%252bsNH3cLLR ATAVRISP2].
 
'''Note:''' The ATmega328 must be programmed with an external hardware programmer (not included) like the [http://www.sparkfun.com/commerce/product_info.php?products_id=9231 Pocket AVR Programmer] or the [http://www.mouser.com/ProductDetail/Atmel/ATAVRISP2/?qs=sGAEpiMZZMv256HIxPBQcA8%252bsNH3cLLR ATAVRISP2].
Line 71: Line 71:
 
*Access to the ATmega328's I/O pins
 
*Access to the ATmega328's I/O pins
  
= PC Board Test Point Locations =
+
== Attaching to the MinnowBoard ==
  
[[File:trainer_rev-a_tp_800.jpg|800px| Trainer Rev-A]]
+
[[File:type-a-front.jpg|200px]]
 
+
 
+
== Attaching to the BeagleBoard ==
+
 
+
[[File:zippy2-expansion_connector7.jpg|400px]]
+
  
 
Attach the four board spacers with the screws provided.
 
Attach the four board spacers with the screws provided.
  
 
+
[[File:type-a-back.jpg|200px]]  
[[File:zippy2-expansion_connector4.jpg|400px]]
+
  
 
Connect the expansion board onto the TOP SIDE of the MinnowBoard by mating
 
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.
 
with the 100-pin header. Make sure all of the pins align correctly.
 
 
[[File:zippy2-expansion_connector5.jpg|400px]]
 
 
 
Continue pushing the two boards together until the connectors mate together.
 
Continue pushing the two boards together until the connectors mate together.
  
 
+
[[file:type-a-connector.jpg|200px]]
[[File:zippy2-expansion_connector6.jpg|400px]]
+
 
+
Attach the male standoffs as shown.
+
 
+
 
+
 
+
[[File:zippy2-expansion_connector8.jpg|400px]]
+
 
+
  
 
= Trainer Schematics =
 
= Trainer Schematics =
Line 110: Line 92:
 
= Where to purchase the Trainer board =
 
= Where to purchase the Trainer board =
  
The Trainer board can be purchased from:
+
The Trainer Lure board will be available for purchase from http://www.circuitco.com
 
+
USA: [http://www.tincantools.com/product.php?productid=16149&cat=0&page=1&featured www.tincantools.com]
+
 
+
  
 
[[Category: MinnowBoard]]
 
[[Category: MinnowBoard]]
 
[[Category: MinnowBoard Expansion Boards]]
 
[[Category: MinnowBoard Expansion Boards]]
[[Category: circuitco]]
+
[[Category: CircuitCo]]

Latest revision as of 18:42, 2 April 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 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.

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 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

Type-a-front.jpg

Attach the four board spacers with the screws provided.

Type-a-back.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. Continue pushing the two boards together until the connectors mate together.

Type-a-connector.jpg

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