teensy tft display factory

So, I have a purpose built pcb with the teensy 4.0 footprint (little did I know the financial implications this would have...I"ve been through >�60 worth of teensy 4.0).
To confirm, I had the T4 intermittently working on both the adafruit ili9341 library and the optimised ili9341_t3. I"ve been through 3 T4s and I have 5 different ILI934 displays. (all give the same results, pull ups, no pullups, removed sd circuitry, ran the T4 at 5v I"ve tried it all!)

I"m still waiting for the last few components to arrive before I can build the controller, however one thing I wanted to do first is test my chosen LCD with the Teensy microcontroller. I"ve never used a TFT LCD with Arduino or Teensy before, so I first wanted to make sure that I could get the desired functionality and performance out of the LCD.
The LCD I am using is a 2.4" 320x240 TFT LCD with a ILI9341 controller chip which appears to be based off of an Adafruit design, which can be used with a Teensy-optimised Adafruit_ILI9341 library for better performance.
I decided to use the Teensy-optimised Adafruit_ILI9341 library over the standard Adafruit_ILI9341 library due to the demonstrated increased frame rate and performance of the former. I downloaded the library from the Github page and followed the provided instructions to install it into the Arduino software.
To test the LCD and Arduino library I decided to attempt to create a simple Teensy sketch that draws eight sliders on the LCD that each change their value from a MIDI CC message received over USB-MIDI - something that the final controller software will need to do.
Below is the code I created to do this. See the comments in the code to see how it works. The exact MIDI CC numbers I am using in this test code match the default CCs that the KORG nanoKONTROL MIDI controller sends from it"s sliders (see the below example video). If you would like to upload this to a Teensy yourself, you"ll need to set the "USB Type" to "MIDI" in the tools menu.
Below is an example video of the above code running on a Teensy 3.6, using a KORG nanoKONTROL USB-MIDI controller as the MIDI input device, with MIDI messages being routed from the nanoKONTROL to the Teensy using my MacBook running the MIDI Patchbay software.

In order to follow the market tread, Orient Display engineers have developed several Arduino TFT LCD displays and Arduino OLED displays which are favored by hobbyists and professionals.
Although Orient Display provides many standard small size OLED, TN and IPS Arduino TFT displays, custom made solutions are provided with larger size displays or even with capacitive touch panel.

Orient Display sunlight readable TFT displays can be categorized into high brightness TFT displays, high contrast IPS displays, transflective TFT displays, Blanview TFT displays etc.
The brightness of our standard high brightness TFT displays can be from 700 to 1000 nits. With proper adding brightness enhancement film (BEF) and double brightness enhancement film (DBEF) and adjustment of the LED chips, Orient Display high brightness TFT products can achieve 1,500 to 2,000 nits or even higher luminance. Orient Display have special thermal management design to reduce the heat release and largely extend LED life time and reduce energy consumption.
Our high contrast and wide viewing angle IPS displays can achieve contrast ratio higher than 1000:1 which can make readability under strong sunlight with lower backlight luminance. High brightness IPS displays have been widely accepted by our customers with its superb display quality and it has become one of the best sellers in all our display category.Transflective display is an old monochrome display technology but it has been utilized in our color TFT line for sunlight readable application. Orient Display has 2.4” and 3.5” to choose from.
Blanview TFT displays are the new technology developed by Ortustech in Japan. It can provide around 40% of energy consumption for TFT panels which can use smaller rechargeable or disposable batteries and generate less heat. The price is also lower than traditional transflective TFT displays. Orient Display is partnering with the technology inventor to provide 4.3” and 5.0”.
Orient Display can also provide full customized or part customized solutions for our customers to enhance the viewing experience. Orient Display can provide all the different kinds of surface treatments, such as AR (Anti-reflection); AG (Anti-glare), AF (Anti-finger print or Anti-smudge); AS (Anti-smashing); AM (Anti-microbial) etc. Orient Display can also provide both dry bonding (OCA, Optical Clear Adhesive), or wet bonding (OCR, Optical Clear Resin and OCG, Optical Clear Glue) to get rid of light reflective in air bonding products to make the products much more readable under sunlight and be more robust.
Touch panels have been a much better human machine interface which become widely popular. Orient Display has been investing heavy for capacitive touch screen sensor manufacturing capacity. Now, Orient Display factory is No.1 in the world for automotive capacitive touch screen which took around 18% market share in the world automotive market.
Based on the above three types of touch panel technology, Orient Display can also add different kinds of features like different material glove touch, water environment touch, salt water environment touch, hover touch, 3D (force) touch, haptic touch etc. Orient Display can also provide from very low cost fixed area button touch, single (one) finger touch, double finger (one finger+ one gesture) touch, 5 finger touch, 10 points touch or even 16 points touch.
Considering the different shapes of the touch surface requirements, Orient Display can produce different shapes of 2D touch panel (rectangle, round, octagon etc.), or 2.5D touch screen (round edge and flat surface) or 3D (totally curved surface) touch panel.
Considering different strength requirements, Orient Display can provide low cost chemical tampered soda-lime glass, Asahi (AGC) Dragontrail glass and Corning high end Gorilla glass. With different thickness requirement, Orient Display can provide the thinnest 0.5mm OGS touch panel, to thickness more than 10mm tempered glass to prevent vandalizing, or different kinds of plastic touch panel to provide glass piece free (fear) or flexible substrates need.
Of course, Orient Display can also offer traditional RTP (Resistive Touch Panel) of 4-wire, 5-wire, 8-wire through our partners, which Orient Display can do integration to resistive touch screen displays.
Engineers are always looking for lower cost, faster, more convenient interfaces to transmit signals and to accept data and commands. The numbers of available interfaces available in the market can be dazzling. Orient Display follows market trends to produce various kind of interfaces for our customers to choose.
Genetic Interfaces: Those are the interfaces which display or touch controller manufacturers provide, including parallel, MCU, SPI(,Serial Peripheral Interface), I2C, RGB (Red Green Blue), MIPI (Mobile Industry Processor Interface), LVDS (Low-Voltage Differential Signaling), eDP ( Embedded DisplayPort) etc. Orient Display has technologies to make the above interface exchangeable.
High Level Interfaces: Orient Display has technologies to make more advanced interfaces which are more convenient to non-display engineers, such as RS232, RS485, USB, VGA, HDMI etc. more information can be found in our serious products. TFT modules, Arduino TFT display, Raspberry Pi TFT display, Control Board.

Spice up your Arduino project with a beautiful large touchscreen display shield with built in MicroSD card connection. This TFT display is big (5" diagonal) bright (12 white-LED backlight) and colorfu 800x480 pixels with individual pixel control. As a bonus, this display has a optional resistive or capacitive touch panel with controller, attached by default
This display shield has a controller built into it with RAM buffering, so that almost no work is done by the microcontroller. You can connect more sensors, buttons and LEDs.

I was playing with an LCD display with a capacitance touch sensitive overlay and combined that with some open source code from a couple of sources yielding this little scope project.
The program takes advantage of the two converter paths in the Teensy 3.1. This allows both channels to be sampled at 150 Ksps. The display subsystem needs a bit more work. Right now the refresh rate is about 4 redraws per second. It should be possible to raise that rate to about 13-15 redraws per second.
There is no input amplifier or attenuator so the full scale range is about +- 1.5 Volts. Displayed is the output of the test tone from a Behringer cable test box. It is a low quality square wave at about 1KHz and 330mV amplitude. As can be seen, the frequency is displayed as 1003 Hz. I will post the code mashup after I polish it up a little more. One issue is that the buttons to change settings (the little red and blue blocks in the right menu column) are too small for this relatively sensitive cap sensor.
The 2.8 inch diagonal screen retails for about $40, the Teensy costs $20 and I am figuring about another $20 bucks in parts with a panel or box should make a fairly easy and cheap monitoring scope. This version is running off of USB power from a computer. The converter is unipolar so there is no need for a negative power source for the front end amps.

Hi guys, welcome to today’s tutorial. Today, we will look on how to use the 1.8″ ST7735 colored TFT display with Arduino. The past few tutorials have been focused on how to use the Nokia 5110 LCD display extensively but there will be a time when we will need to use a colored display or something bigger with additional features, that’s where the 1.8″ ST7735 TFT display comes in.
The ST7735 TFT display is a 1.8″ display with a resolution of 128×160 pixels and can display a wide range of colors ( full 18-bit color, 262,144 shades!). The display uses the SPI protocol for communication and has its own pixel-addressable frame buffer which means it can be used with all kinds of microcontroller and you only need 4 i/o pins. To complement the display, it also comes with an SD card slot on which colored bitmaps can be loaded and easily displayed on the screen.
The schematics for this project is fairly easy as the only thing we will be connecting to the Arduino is the display. Connect the display to the Arduino as shown in the schematics below.
Due to variation in display pin out from different manufacturers and for clarity, the pin connection between the Arduino and the TFT display is mapped out below:
We will use two example sketches to demonstrate the use of the ST7735 TFT display. The first example is the lightweight TFT Display text example sketch from the Adafruit TFT examples. It can be accessed by going to examples -> TFT -> Arduino -> TFTDisplaytext. This example displays the analog value of pin A0 on the display. It is one of the easiest examples that can be used to demonstrate the ability of this display.
The second example is the graphics test example from the more capable and heavier Adafruit ST7735 Arduino library. I will explain this particular example as it features the use of the display for diverse purposes including the display of text and “animated” graphics. With the Adafruit ST7735 library installed, this example can be accessed by going to examples -> Adafruit ST7735 library -> graphics test.
Next, we move to the void setup function where we initialize the screen and call different test functions to display certain texts or images. These functions can be edited to display what you want based on your project needs.
Uploading the code to the Arduino board brings a flash of different shapes and text with different colors on the display. I captured one and its shown in the image below.
That’s it for this tutorial guys, what interesting thing are you going to build with this display? Let’s get the conversation started. Feel free to reach me via the comment section if you have any questions as regards this project.

In this article, you will learn how to use TFT LCDs by Arduino boards. From basic commands to professional designs and technics are all explained here.
In electronic’s projects, creating an interface between user and system is very important. This interface could be created by displaying useful data, a menu, and ease of access. A beautiful design is also very important.
There are several components to achieve this. LEDs, 7-segments, Character and Graphic displays, and full-color TFT LCDs. The right component for your projects depends on the amount of data to be displayed, type of user interaction, and processor capacity.
TFT LCD is a variant of a liquid-crystal display (LCD) that uses thin-film-transistor (TFT) technology to improve image qualities such as addressability and contrast. A TFT LCD is an active matrix LCD, in contrast to passive matrix LCDs or simple, direct-driven LCDs with a few segments.
In Arduino-based projects, the processor frequency is low. So it is not possible to display complex, high definition images and high-speed motions. Therefore, full-color TFT LCDs can only be used to display simple data and commands.
In this article, we have used libraries and advanced technics to display data, charts, menu, etc. with a professional design. This can move your project presentation to a higher level.
In electronic’s projects, creating an interface between user and system is very important. This interface could be created by displaying useful data, a menu, and ease of access. A beautiful design is also very important.
There are several components to achieve this. LEDs, 7-segments, Character and Graphic displays, and full-color TFT LCDs. The right component for your projects depends on the amount of data to be displayed, type of user interaction, and processor capacity.
TFT LCD is a variant of a liquid-crystal display (LCD) that uses thin-film-transistor (TFT) technology to improve image qualities such as addressability and contrast. A TFT LCD is an active matrix LCD, in contrast to passive matrix LCDs or simple, direct-driven LCDs with a few segments.
In Arduino-based projects, the processor frequency is low. So it is not possible to display complex, high definition images and high-speed motions. Therefore, full-color TFT LCDs can only be used to display simple data and commands.
In this article, we have used libraries and advanced technics to display data, charts, menu, etc. with a professional design. This can move your project presentation to a higher level.
Size of displays affects your project parameters. Bigger Display is not always better. if you want to display high-resolution images and signs, you should choose a big size display with higher resolution. But it decreases the speed of your processing, needs more space and also needs more current to run.
After choosing the right display, It’s time to choose the right controller. If you want to display characters, tests, numbers and static images and the speed of display is not important, the Atmega328 Arduino boards (such as Arduino UNO) are a proper choice. If the size of your code is big, The UNO board may not be enough. You can use Arduino Mega2560 instead. And if you want to show high resolution images and motions with high speed, you should use the ARM core Arduino boards such as Arduino DUE.
In electronics/computer hardware a display driver is usually a semiconductor integrated circuit (but may alternatively comprise a state machine made of discrete logic and other components) which provides an interface function between a microprocessor, microcontroller, ASIC or general-purpose peripheral interface and a particular type of display device, e.g. LCD, LED, OLED, ePaper, CRT, Vacuum fluorescent or Nixie.
The display driver will typically accept commands and data using an industry-standard general-purpose serial or parallel interface, such as TTL, CMOS, RS232, SPI, I2C, etc. and generate signals with suitable voltage, current, timing and demultiplexing to make the display show the desired text or image.
The LCDs manufacturers use different drivers in their products. Some of them are more popular and some of them are very unknown. To run your display easily, you should use Arduino LCDs libraries and add them to your code. Otherwise running the display may be very difficult. There are many free libraries you can find on the internet but the important point about the libraries is their compatibility with the LCD’s driver. The driver of your LCD must be known by your library. In this article, we use the Adafruit GFX library and MCUFRIEND KBV library and example codes. You can download them from the following links.
By these two functions, You can find out the resolution of the display. Just add them to the code and put the outputs in a uint16_t variable. Then read it from the Serial port by Serial.println(); . First add Serial.begin(9600); in setup().
Upload your image and download the converted file that the UTFT libraries can process. Now copy the hex code to Arduino IDE. x and y are locations of the image. sx and sy are size of the image.
In this template, We converted a .jpg image to .c file and added to the code, wrote a string and used the fade code to display. Then we used scroll code to move the screen left. Download the .h file and add it to the folder of the Arduino sketch.
In this template, We used sin(); and cos(); functions to draw Arcs with our desired thickness and displayed number by text printing function. Then we converted an image to hex code and added them to the code and displayed the image by bitmap function. Then we used draw lines function to change the style of the image. Download the .h file and add it to the folder of the Arduino sketch.
In this template, We created a function which accepts numbers as input and displays them as a pie chart. We just use draw arc and filled circle functions.
while (a < b) { Serial.println(a); j = 80 * (sin(PI * a / 2000)); i = 80 * (cos(PI * a / 2000)); j2 = 50 * (sin(PI * a / 2000)); i2 = 50 * (cos(PI * a / 2000)); tft.drawLine(i2 + 235, j2 + 169, i + 235, j + 169, tft.color565(0, 255, 255)); tft.fillRect(200, 153, 75, 33, 0x0000); tft.setTextSize(3); tft.setTextColor(0xffff); if ((a/20)>99)
while (b < a) { j = 80 * (sin(PI * a / 2000)); i = 80 * (cos(PI * a / 2000)); j2 = 50 * (sin(PI * a / 2000)); i2 = 50 * (cos(PI * a / 2000)); tft.drawLine(i2 + 235, j2 + 169, i + 235, j + 169, tft.color565(0, 0, 0)); tft.fillRect(200, 153, 75, 33, 0x0000); tft.setTextSize(3); tft.setTextColor(0xffff); if ((a/20)>99)
In this template, We display simple images one after each other very fast by bitmap function. So you can make your animation by this trick. Download the .h file and add it to folder of the Arduino sketch.
In this template, We just display some images by RGBbitmap and bitmap functions. Just make a code for touchscreen and use this template. Download the .h file and add it to folder of the Arduino sketch.

The Prototyping System for Teensy 4.1 provides a flexible setup for working with the Teensy 4.1 microcontroller, the most powerful Arduino compatible microcontroller available today.
This system can be used as part of an elaborate breadboarding setup with key parts of the system fully wired in like the display while also being able to work with temporary circuits built on solderless or soldered breadboards. It can also be used as a prototyping step for something that may later have a full custom layout or even used for permanent projects where minimizing footprint is not a high priority.
A Fully Stuffed version that comes with everything installed and includes all the accessories needed to basically just plug and go. The ultimate in instant gratification. Just add the Teensy 4.1 of your choice from the list down below to complete a fully functioning setup.
Add your choice of Teensy 4.1 from the memory configuration options below and the system will be fully assembled with the example software preloaded. Just apply power and the system will come up and run the example code. Plug in the earbuds to hear the audio.
The Teensy 4.1 Fully Loaded for Prototyping System have all the headers installed to properly mate up with the connectors on the baseboard. VUSB trace is cut and a Schottky diode installed to properly isolate power.
If you already have a Teensy 4.1 that you want to use with this baseboard, it is fairly easy to adapt to it with nominal thru-hole soldering skills. There are instructions toward the bottom of this page.
The area next to the Teensy 4.1 is designed to provide flexibility for working with various adapters for adding functionality to the system. We offer a number of options below and it is possible to design your own.
The area next to the Teensy 4.1 is footprinted to accept 2 of the standard size Teensy adapters such as the Audio Rev D adapter for easily working with them.
Because of the power of the Teensy 4.1, it is very popular for use with audio projects because it is fast enough to synthesize music on the fly and the PJRC team provides excellent tools like the PJRC Audio System Design Tool for working with their audio module. We have a version with pins preinstalled so it will plug into the baseboard. It also comes with a microphone installed. One comes installed in the Fully Stuffed version along with a 32GB SD card preloaded with sample WAV files.
The PT8211 is a low cost 16-bit stereo Digital-to-Analog (DAC) with line level output. It is supported by the PJRC Audio System Design Tool which makes it easy to use with the Teensy 4.1. We offer a version that is fully assembled with male header pins to make it plug-n-play with the baseboard. It is also available in kit form on the product page.
The PJRC team that created Teensy also put together a very nice workshop for learning about audio processing using Teensy since Teensy has the horsepower to synthesize audio on the fly. They also created a powerful Teensy Audio Library and Audio System Design Tool.
We have created this adapter to provide the user controls for going through the workshop and have modified the original workshop and programs as needed to work with this baseboard in our Audio Tutorial and Workshop. The board is shortened to less than full width to provide clearance to also mount the Teensy 4.x Audio Adapter at the same time. Standoffs provide mechanical support.
If you have an interest in learning how to use audio with Teensy or just want to explore more of what the Teensy can do, going through the audio workshop is very informative. This board can also be used to provide a couple general purpose potentiometer and pushbutton inputs.
The same adapter area is also footprinted to accept a larger 4″ x 2.5″ adapter with access to all of the Teensy 4.1 pins available along the two edges of the PCB.
This adapter mounts a 400 tie-point high quality solderless breadboard for building temporary breadboard circuits. The female headers on either end of the breadboard provide access to all of the Teensy 4.1 pins. This allows circuits to be built, the whole baseboard assembly with solderless breadboard to be moved around and then the breadboard subassembly can be removed intact and replaced without having to reconnect anything. Great for bouncing between several projects.
We have created an adapter that makes it very easy to work with a string of addressable LEDs. Just plug in the LED strip and a 5V power source. The adapter also includes the functionality of the popular Teensy Octo2811 Adapter for larger arrays in a physical format that works better with this baseboard. This allows up to 8 channels of addressable LEDs using CAT cable
The Teensy 4.1 socket brings all I/O out from the bottom of the Teensy 4.1. The socket also has a row of male headers for easily connecting logic analyzer or O’scope probes or for jumping pins over to a solderless breadboard or making temporary connections such as patching in the high-speed logic level converters.
We offer our Teensy 4.1 Fully Loaded for Prototyping System line of Teensy 4.1 products that are configured for use with this board and similar baseboard setups that bring the I/O down from the bottom of the Teensy 4.1. They include the following changes from the standard Teensy 4.1:
A female 2×3 2mm header is mounted at the Ethernet connector location on the bottom side of the Teensy 4.1 which mates with an extended reach male header on the baseboard and connects the Teensy 4.1 to the MagJack on the baseboard.
Male 5-pin headers are mounted to the bottom side of the Teensy 4.1 to bring down the USB Host lines to connect to the on-board Host USB connector. VBat connects to a CR2032 battery holder and On/Off and Program connect to buttons on the baseboard.
By separating the VUSB and VIN power inputs and placing a Schottky diode between them, this allows the Teensy 4.1 to be powered from both the USB cable and VIN input at the same time if the VIN power source also has a diode installed. It also allows the modified Teensy 4.1 to be powered on the bench from the USB cable without being placed into a baseboard which can be handy at times.
When used with a 3rd party baseboard, it removes the need to solder a diode onto the bottom of the Teensy 4.1. When used with our Prototyping System for Teensy 4.1 baseboard, the Schottky diode on the Teensy 4.1 is in parallel with another one on the baseboard, so is redundant.
This 5V VIN power provides power to the Teensy 5V VIN input, the ESP32-S 5V input and the LCD display which all have their own built-in 3.3V regulators.
The VIN power also feeds a 3.3V regulator that powers the 3V power rail on the board to take the load off the Teensy 4.1. This arrangement also ensures that 3.3V is available no matter how the board is powered to avoid the possible issue of driving logic signals into an unpowered IC.
The Teensy 4.1 onboard 3.3V regulator output is not used on the baseboard, but the power is available on the T3V pins of the Teensy 4.1. If these pins are used, be sure not to connect the T3V pins to the 3V or other powered rail or damage could result. The same is true for the 3V3 pin of the ESP32-S.
If USB power is also connected to the Teensy 4.1 along with DC input power, the board contains the necessary Schottky diodes to separate the USB power from the VIN power as long as the VUSB/VIN trace is cut on the bottom of the Teensy 4.1 as is done on the Teensy 4.1 with offer for use with this baseboard.
The entire Teensy 4.1 footprint is brought out to the proto adapter area. The outer 24-pin female headers support connecting to all of the Teensy 4.1 I/O pins and can fit a 4.0″ x 2.5″ adapter . The inner 14-pin headers support inserting up to two of the standard PJRC 14-pin adapter boards like the popular Teensy 4.x Rev D Audio Adapter.
The only electrical differences is that the SPI Clk pin 13 and MOSI pin 11 lines to the adapter area have 56Ω series resistors to minimize signal reflections. A second set of resistors feed these same signals to the LCD. The 3V pins in the adapter area power are supplied from the baseboard 3.3V regulator and not the Teensy 4.1. 0.1uF bypass caps are connected to each of the power pins in this area.
The board supports either a 2.8″ or 3.2″ 320×240 color touchscreen LCD with the ILI9341 display controller. This is the best supported display for the Teensy 4.1 and readily available from ProtoSupplies.com and PJRC. The 3.2″ version comes with the Fully Stuffed option.
The onboard SD card slot on these displays generally don’t work without modification and the Teensy has an SD card slot, so they are not usually worth messing with. The 4 SD pin locations on the right side of the display are there for mechanical support. This allows a 4-pin male header to be soldered to the display and plugged into the female header. The two sets of female header are provided because the 3.2″ display has a slightly wider footprint than the 2.8″ display.
If you order a display with the Prototyping System baseboard we will add the 4-pin male header so that it is ready to plug in with no soldering required.
The Teensy 4.1 Serial1 on pins D0 and D1 connects to the ESP32-S Serial 2 on pins 28 and 27 to provide communications between the two microcontrollers.
The ESP32-S can be used as a co-processor to the Teensy 4.1 to offload all WiFi or Bluetooth work. The ESP32-S is much better suited for that type of work than the Teensy 4.1. It can also be used to offload other processing work such as to act as a dedicated sensor monitor and motor controller for instance.
The other pins on the ESP32-S are unallocated, so can be repurposed as desired. A row of adjacent male header pins is provided to make jumping over to a breadboard or the Teensy 4.1 easy, such as if you want to work with SPI instead of serial communications between the two microcontrollers.
Two jumpers allow the Teensy 4.1 Serial 1 signals on pins 1 and 0 (1-RX, 0-TX) to be disconnected from the ESP32-S if it is desired to free up pins D0 and D1 on the Teensy or if an alternate communication scheme such as SPI is being used with the ESP32.
The board has a MagJack for making wired Ethernet connections. Teensy 4.1 has all the circuitry built-in for connecting to Ethernet and the two just need to be physically connected.
Note: Due to Ethernet PHY chip shortages and price increases, some Teensy 4.1 on the market are now being built without this chip and do not have Ethernet capability. All of the Teensy 4.1 we sell for this system have the PHY chip and full Ethernet capability, but if you plan to source or have already sourced a Teensy 4.1 from somewhere else for use with this board, keep that in mind if you plan to use Ethernet.
The baseboard has a extended length 2×3 2mm spacing male header to pickup the Ethernet connections from the bottom of the Teensy 4.1 that has a mating female header installed.
There is also a 2×3 2mm male header next to the MagJack that allows a Teensy 4.1 with a male Ethernet header already installed in the normal position to connect to the MagJack using an IDC cable like is supplied with the Teensy 4.1 Ethernet kit.
The USB Host is a 2nd USB port that allows you to connect USB devices to the Teensy 4.1. It is fully independent of the main USB device port, so USB devices can communicate simultaneously with Teensy while Teensy communicates with a computer via the USB device port. The USB Host port operates at up to 480Mbit/sec. Use the
For providing power to the USB connector, there is a jumper USB 5V to select between using the standard switched USB 5V power from the Teensy 4.1 T4.1 or using the external VIN 5V unswitched power VIN which can be handy for powering higher current applications without having to resort to a powered hub.
The Teensy 4.1CAN3 bus on pins D30, D31 is connected to an SN65HVD230, 231 or 232 CAN bus transceiver. These parts are all equivalent parts in this circuit and selected based on availability.
The receive output of the transceiver on D30 has a jumper J8 that can be used to disable this input into the Teensy 4.1 if the pin is to be used for other purposes.
The receive output of the transceiver on D34 has a jumper J7 which can be used to disable this input into the Teensy 4.1 if the pin is to be used for other purposes.
The SPI bus is also routed to the adapter area of the board. CLK and MOSI each have two 56 ohm series resistors with the output of one branch going to the breakout header and LCD display and the second branch going to the adapter area to minimize reflections on the bus.
A CR2032 coin cell batter holder is located under the LCD display. This connects to the VBat on the Teensy 4.1 for providing battery backup capability.
The On/Off button when pressed and held for 4 seconds turns off the Teensy 4.1 3.3V onboard regulator, thus shutting the Teensy down. Pressing the button again for 0.5 seconds while off will turn the 3.3V back on and reboot the processor. Note that this On/Off button has no affect on the baseboard 5V or 3.3V power. It only affects the 3.3V regulator on the Teensy module itself.
Since designing basic PCBs through quick-turn houses is fairly easy these days, this feature allows users to design and build application specific circuits without having to deal with all the details of building a complete system which can be fairly daunting. This can also be handy for designing and testing subsystems while prototyping a design before committing to a complete ground up design. The adapter footprint is simply a 3.6″ wide Teensy 4.1 pinout as shown below.
If you already have a Teensy 4.1 that you want to use with this baseboard, it is fairly easy to adapt to it with nominal thru-hole soldering skills and a sharp knife by following the directions below.
If you ordered the Fully Stuffed version and want to verify the basic setup works before modifying your Teensy 4.1, the unmodified Teensy can be installed in the socket and connected to a USB cable to download the example software. Power for the baseboard will also come from the USB cable. The ESP32-S will already be programmed so the setup should run as soon as the Teensy 4.1 has been programmed. Please Note: It is important to not also apply power through the DC input on the baseboard until the Teensy 4.1 has been modified as follows or damage could result.
Cut the trace between the pads on the bottom of the Teensy 4.1 to isolate the USB power from VIN power. Use a sharp X-acto knife or box knife with a new blade. Angle the blade at about a 45 degree angle and press straight into the trace on one side. Don’t use a sawing motion as you are just cutting through soft copper. Move the blade to the other side of the trace and repeat the process to remove a small wedge of the trace. A magnifier definitely makes this process easier if you have access to one. A properly cut trace is shown at the bottom. If you have a ohm meter, use it to verify the cut was successful by measuring across the pads. You should not measure a dead short.
Install a female 2×3 2mm header on top of the tall 2×3 2mm male header if you Teensy does not already have a male header in that location. Push it just slightly onto the male header, so you can align the pins with holes in the Teensy 4.1 first as you install the Teensy 4.1.
Install the Teensy 4.1 into its socket making sure that the pins of the headers you just installed all line up with the holes in the Teensy 4.1 and protrude through. It doesn’t hurt to give a light tug on a couple of the 2×3 2mm female header pins to make sure it is seated firmly up against the bottom of the Teensy 4.1.
If there is a male Ethernet header already installed on the top of the Teensy 4.1, an IDC cable like provided with the Teensy 4.1 Ethernet kit can be used to mate with the male 2×3 2mm header next to the MagJack if you are planning to use that feature.
The setup described in this section illustrates the basic usage of some of the core parts of the system and provides a starting point for anyone just getting started with the Teensy 4.1 ecosystem. It assumes that at least an LCD is installed and also looks to see if an ESP32-S and Teensy 4.x Rev D Audio adapter board with SD card are also installed to enable additional functionality.
If you ordered the Fully Stuffed version along with a Teensy 4.1, it will already be loaded with this software and will run as soon as power is applied. If you ordered a Fully Stuffed version without the Teensy 4.1, you will just need to load the software into the Teensy 4.1 as everything else will be setup.
The programs are not overly clever on the programming to make them easier to follow (and because I am not overly clever at programming) and pull heavily from various sample programs. The communications between the Teensy 4.1 and ESP32-S in particular are handled in a very simplistic fashion by passing simple text strings.
Checks to see if any of the PSRAM or Flash memory chips have been installed and reports that info out the serial port. If you ordered a system with the Teensy 4.1 already installed, this also provides a way to verify that you received the correct version without having to pry the Teensy 4.1 out of its socket.
Configures the LCD display and touch screen and paints a couple of buttons on the screen. One for playing audio and one for scanning for WiFi networks.
If the ESP32-S is installed and you have two USB cables, you can open two instances of the IDE with one connected to the Teensy 4.1 and one connected to the ESP32-S for downloading the programs and Serial Monitor windows can be opened on both to see what is going on. This makes it easy to make program changes to either processor and download new code without messing with cables. To open 2 separate instances of the IDE, they both need to be launched by clicking on the application icon.
Anyone working with the Teensy 4.1 should checkout the PJRC forum as it has exceptional technical support provided by a talented user base including Paul Stoffregen, the creator of the Teensy product line.

The code changes between drawing something on all displyas at once and individual addressing of singular displays. This is easy with this multiplexer arrangement. It saves time for booting up the system. You can see in the video how fast it initialises all displays at once.
long TFTCol[32] = {20480, 34816, 57344, 57568, 63488, 55968, 55584, 64864, 64480, 41600, 21024, 960, 1606, 4642, 486, 650, 198, 12, 31, 1023, 1756, 49182, 63839, 40991, 57356, 0, 8516, 12808, 17034, 25582, 46712, 65535};
long TFTTCol[32] = {46712, 65535, 65535, 65535, 0, 65535, 65535, 0, 0, 65535, 65535, 65535, 0, 65535, 65535, 65535, 46712, 65535, 65535, 0, 0, 65535, 0, 65535, 65535, 46712, 65535, 65535, 65535, 0, 0, 0};
Ms.Josey
Ms.Josey