There are a few key features of The Glitch hardware.
The Glitch hardware may change over time. This section documents components of the different revisions of The Glitch.
First hardware release.
The Atmel AT90USB1287 processor is the core of The Glitch.
For more information on this chip see the Atmel documentation.
The Micro USB socket is used for connecting The Glitch to a host device through a USB cable. USB can also be used to for power only.
As an alternative to the Micro USB connector, there are four solder pads which connect to the four USB lines (GND, D+, D-, +5v). The common convention for USB wire color is Black (GND), Green (D+), White (D-), and Red (+5).
For a reference on using the see Alternate USB Wiring
The Glitch is able to read and write to Micro SD cards. The Micro SD card reader is spring loaded. Push in the Micro SD card once to loader it. Push the Micro SD card in a a second time for the spring to release the card.
The Glitch converts from 5v to 3.3v for the SPI pins connected to the Micro SD card using a voltage regulator and line buffer.
The DIP switch has five switches all together. These are ON/OFF switches which allow for user input.
(The following assumes using negative logic.)
The Reset button is used to set the bootloader to a state where it is ready to accept new firmware.
Three programmable LEDs are mounted on the top. The LEDs are green, yellow, and red. Each is pulled high with a 10K oHm resistor.
The back of The Glitch has 14 PIN sockets.
|+5v||+5 volts output. It can also accept +5v input.|
|GND||Grounding to the board.|
|RST||When pulled to ground the RST pin will reset the bootloader.|
|SCL||0||Digital||Used for I2C.|
|SDA||1||Digital||Used for I2C.|
|RX||2||Digital||Used for UART.|
|TX||3||Digital||Used for UART.|
|SLCK||21||Digital||Used for SPI.|
|MOSI||22||Digital||Used for SPI.|
|MISO||23||Digital||Used for SPI.|
The MISO, MOSI, SCLK, and one other digital pin (RX, TX, SDA, or SCL) can be used for CS in order to communicate over SPI.
The RX and TX pins can be used to communicate over UART.
The SDA and SCL can be used to communicate over I2C.