-
Notifications
You must be signed in to change notification settings - Fork 0
Teensy Introduction
A 32-Bit Arduino-Compatible Microcontroller We are using the Teensy 4.1 controller to read information from the VCU and send relevant data to the dash board.
We will be using the TeensyDuino 2.0 IDE to program the Teensy 4.1. PJRC walks you through the installation process here. Make sure that you download the Teensy Loader.
The Teensy loader is available as a standalone application that can be downloaded from the Teensy website. It allows users to select the firmware file they want to upload, connect the Teensy board to their computer, and initiate the upload process. The loader communicates with the Teensy board using a bootloader program that is pre-installed on the board, and transfers the firmware code over a USB connection.
Open the TeensyDuino IDE and the Teensy Loader. In TeensyDuino, go into Tools and change the Board to the Teensy 4.1. Make sure the usb to the Teensy board is plugged in and make sure the port is correct (also under Tools).
For Macs: Under, Arduino 1.8.x Software Development, select the Macintosh Complete Software also here.
You can also refer to this video for this section.
We will do a quick test to make sure the Teensy and IDE is working. Run the Arduino file called HelloWorldTest.ino in the repo. Click verify (the check mark), then the Loader should indicate to press the button on the Teensy. This will make sure that the code is uploaded properly. Click upload (the right arrow) and go into the Serial monitor to make sure it print.
Notes: If you have problems verifying the code. Try to change the port of your IDE to the Teensy4.1.