-
Notifications
You must be signed in to change notification settings - Fork 4
Build instructions
- Teensy 3.0 : http://www.pjrc.com/
- SPI LCD screen with SD card reader, we are using this one from ElecFreaks, but models from Adafruit should be working alike : http://www.elecfreaks.com/
- (Optional) A 32KHz crystal and battery to get the Teensy 3.0 RTC working. Please read the Teensy documentation about the correct model : http://www.pjrc.com/
The following table will show you the wiring needed. The Teensy PIN assignment follows the one provided by PJRC here : http://www.pjrc.com/teensy/pinout.html
Teensy PIN | LCD/SD PIN | Comments |
---|---|---|
GND | GND | Common ground |
3.3V | LCD VCC | We use the Teensy 3.3V output to power everything |
3.3V | LCD LED | |
6 | SD CS | SD card SPI CS |
8 | LCD RST | |
9 (CS1) | LCD A0 | |
10 (CS0) | LCD CS | LCD screen SPI CS |
11 (DOUT) | SD MOSI | Common SPI MOSI |
| LCD MOSI |
12 (DIN) | SD MISO | Common SPI MISO 13 (SCK) | LCD CK | Common SPI CLK | SH CK | 15 | | Used as the UP button input 16 | | Used as the DOWN button input 17 | | Used as the BACK button input 18 | | Used as the ENTER button input
##RTC Please follow the instructions given on the PJRC page in order to get the RTC working : http://www.pjrc.com/teensy/td_libs_Time.html#teensy3
Touch input is one really nice feature of the Teensy 3.0. To get it work, simply solder a wire to the corresponding input and touch the other end of the wire.
The touch inputs values returned may really depend on the wiring and the case layout. In case the Pa55ware act like a key is always pressed, you may change the THRESHOLDS[button] value in the code in order to have it work for you.