Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Teensy Introduction

Tyler Chen edited this page Apr 14, 2023 · 25 revisions

Teensy 4.1

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.

Getting Started

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.

Quick Test

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.

Sources

Clone this wiki locally