-
Notifications
You must be signed in to change notification settings - Fork 0
Part 4: Preparing the Teensy
A pre-compiled HEX file is supplied for programming the Teensy. These instructions are for using the Teensy Loader application to load the HEX file into the Teensy.
Download and install the Teensy Loader application from PJRC. It is available here.
- Plug your Teensy into your computer using a Micro USB cable
- Run the Teensy Loader software and select File | Open HEX File
- Navigate to the machination.ino.hex file and click Open
- Press the button on your Teensy to start the programming, which should complete quickly
And now your Teensy is programmed, but it still needs headers in the right spot, which we'll do next.
(If you wish to edit the code yourself, you will need to install the Arduino development software available at arduino.cc, the Teensyduino libraries available at pjrc.com, and the ArduinoDuPPaLib libraries available here.)
Using the headers from the Schmartboard header/jumper wire kit, carefully snap off a contiguous piece of header 14 pins long. You're actually going to solder them on backwards which is why a Teensy without pre-soldered pins is needed. Solder these pins to the Teensy as shown below:
Notice that the pins are on the 'wrong' side? That's exactly what we want! We want the back of the Teensy to remain flat so we can mount it later with double-sided tape. You'll also retain access to the Teensy programming button should you want to update your Teensy in the future.