Here is a third beta test for Teensyduino 1.58.
Arduino 2.0.x, all systems platforms:
use Boards Manager to install Teensy version 0.58.3
(to refresh versions, Shift-Ctrl-P and click "Arduino: Update Package...
Hi,
I've got a TeensyLC button box which used to output via USB as a game controller.
And then I started tinkering before reading any manuals. It now doesn't output anything. It does work, I've been playing with...
Consider the following code. In a nut shell, one function launches the other on a timer, and the other then delays for some time and then cancels the timer. This is running on a Teensy 4.0
To make things easy to...
Hi,
The following is to ask about a speed up for looping over transfer16() with some other operations in between calls to transfer16(). The essential is that there seems to be about 150 nsec between calling...
Hi all, I've spent the last year fine-tuning a Teensy 4.0 with a music fader sketch, and after long months of tweaking, found just the right settings for a balanced system. Faders do not output unwanted MIDI, and a...
Hello, I am attempting to use the ILI9341_t3 library on my Teensy 4.1, but I get only a white screen and nothing else. The code used is the graphics test, but the display shows nothing but white. For a moment, it did...
Made an account at openai.com/blog/chatgpt/
Useful? The list below is a 'thread' and interesting how it took feedback to correct offered code. And it stubbed in the ajustClock() code. Going further - it knows what...
I need to use an external 16bit 1MS/s ADC over SPI with the Teensy 4.0. We are going to assert the CONVERT and read the 16 bit data over SPI, hopefully at 1 MS/s.
Will the SPI library support reads at this rate on...
Hello there!
We are trying to develop our own code to read data from a BNO086 IMU by CEVA, using I2C and Teensy 4.1. We read the datasheet and understood all the main points of the CEVA's SHTP and SH2 protocols. We...
The Audio Shield has been out of stock for some time, so I thought I'd post a quick update.
First we couldn't get the 32 bit version of the SGTL5000 codec chip. So we bought the 20 pin version and redesigned the...
I'm starting this thread as a blog.
I'm trying to get low latency multi-voice playback from files stored on an SSD drive connected to a USB host port. For now, I'm working with a T3.6 with headphones connected to...
Hi,
The Teensy 2++ was recognized by PC before, but today it is not. It doesn't run the program when I press the button. There is power (5V) detected from the Teensy board, which means the connection should be fine....
I've got this encoder that a buddy pulled off a log processor head. It's apparently used to measure a tree as it's being cut up. His controller is in-op and a new one is quite expensive. He was wondering if I could...
I'm using a teensy 4.1 for synchronizing and time-stamping of sensors, as such consistency of the timestamping is important.
I bought an RV3028 RTC (1ppm,...
Hi
I'm using Serial6 and Serial7 to send and receive 8 bytes of data each at around 6Mbaud on teensy 4.1. I think the the buffer might be overloading because when I run the program at a much slower baud rate the...
Hi all -
I'm seeing if I can implement an EGM96 geoid model on Teensy 4.x. Specifically, I'm implementing this library:
https://github.com/emericg/EGM96
I renamed the EGM96.c file to a .cpp file and moved the...
Hi all,
I've got a gigantic sketch over 30,000 lines of code in a Teensy 4.0. As might be expected I'm running out of memory for files, to the point I'm getting concerned I can continue development of the product...
I'm trying to track down a horrible situation where when I write 32 bytes out Serial5 (115200) to a TTL<->RS485 module which then sends it to a LORA DTU - my main code halts SOMEWHERE in a reasonably complex main loop....
Here are two code snippets, they run from loop. Again, this is a contrived example do demonstration what seems like a bug.
The first works perfectly okay. The second hangs at SPI.transfer16. What I am doing...
Hi,
I have a costum pcb and have Serial3 buffered to 5v connected to a MAX-485 dmx output. I was having some problems with my code only working after recompiling and using the reset button on the teensy 4.1 and when I...
Hi,
To make a long story short, I borrowed some code from a project ( https://github.com/jacqu/teensyshot ) to generate a DSHOT signal. I'm currently adapting this code for my own project using a Teensy 4.1 board....
I got a T4.1 for Christmas (yay! should have posted about it though) and I've been messing with the SD card slot. I want some guidance on how to write code with the SdFat library.
Which ways can I properly...
I've got a Teensy 4.1 with the Audio Adapter hooked up. I want to be able to address the SD card reader on the Teensy and the one on the Audio Adapter separately.
I've modified the Recorder.ino code below to create...
Hello, new here. Spent couple hours now trying to figure a way to make this work but got no where. To my understanding SdFile was updated at some point and does not contain the same class members anymore.
...
Really not sure where to post this. It seems this might be the best subforum, but feel free to move it to a better location if appropriate. Been on 1.8.19 for quite a while now. Thinking of upgrading the IDE to the...
I'm using @KurtE's ILI9341_t3n library. This is how I construct a rounded button with text. Here is one of many cases on a switch(buttons) statement. I iterate through the buttons.
case 7: { // Zero Z button
...
String currentkey;
void setup() {
delay(3000); // just to make sure I don't get stuck in a loop
currentkey = MODIFIERKEY_CTRL;
}
void loop() {
Keyboard.press(currentkey);
}
A trimmed down example.
Hi,
I am trying to make Teensy 4.1 look like LunchControl XL MIDI controller so that SD MixPre would accept it and connect.
Using name.c I got MIDI and Manufacturer name changed, but the MixPre did not recognise...
Are there any updates on the future availability of the Teensy 3.x models, which I understand are constrained by the availability of the core Kinetis processors? According to the PJRC website, Teensy 3.2 isn't expected...
Hi all!
I have a Teensy 3.2 which I try to use to communicate with my Icom radio over Ci-V at 19200 Baud.
I can transmit and change settings on the radio but even if I loop the TX directly to the RX or to another...
I have a custom board with numerous peripherals connected to the Teensy 4.1 and some of them being supplied by the on-board 3.3V reg and they are using 80mA (ADC, 16MHz clock, line driver and receiver, opto isolated...
Hi,
I am sending serial messages of different sizes from an arduino uno to a teensy 3.6 at 9600 Baud. The Teensy is then reading the first byte of the message, which is representing the data payload, and determins...
When I upload the code attached a clockwise turn of the encoder one increment (detent) yields -4 in the serial monitor, as expected from a quadrature encoder. However, when I uncomment the code for the SSD1306 display,...
I purchased this DAC ...https://www.ebay.com/itm/275054014657?
it takes 6 lines
Vcc +5
DGND - Digital ground
AGND - Analog Ground
LRCK - left right clock
DATA - Stream to DAC
BCK -...
2 weeks obsessed yield a quite satisfying outcome.
I've always wanted to build a balancing rig like this And finally the stars aligned and made thoughts into matter.
The physical construction is pretty...
I have an application that sends data using Serial.print().
Using the same code base, the Arduino sends/receives data fine over USB but the Teensy 3.2 doesn't, due to some weird USB/HID/Serial differences, which...
Hi,
Quick question (hopefully) regarding the Wire library, I2C and Wire.begin() using a Teensy 4.1.
I'm want to use pins 24 and 25 (which can also function as SCL2 / SDA2) as specific in and out functions in a new...
Hi,
I have Teensy 4.0 and project where I send data via USB cable to PC. But quite offten I hav problem, if I touch the cable or Teensy in plastic box, then Teensy is starting connecting and disconnecting and I have to...
The Teensy consumes 30 to 33 mA regardless if in sleep or not. What am I doing wrong here?
This is the code:
#include <Snooze.h>
SnoozeDigital digital;
SnoozeTimer timer;
SnoozeBlock...
I am doing a control box with teensy 4.1 to make a force feedback system.
In the central box are connected encoders, motor drivers etc
I am using this plugin (flight sim controls mode) to read/write data from Xplane,...
On your site, you state:
I assume that means that with software, the pullup resistor can be chosen?
Where can I find more info on this?
Wayne Sallee
Wayne@WayneSallee.com
Hi, I've got a product out in the field, and I've used Lockable Teensy 4.0's with the security all enabled correctly.
From a lot of reading here I understand it's possible to update the units in the field using the...
Hi all,
There is a fairly well-known cross-platform library in the embedded world called "mongoose" : https://mongoose.ws/
This library is able to:
TCP client/server
UDP client/server
HTTP(S) client/server
...
Hi Guys,
I'm seeing this with platformIO and the Arduino ide.
I am seeing the issue with hurts ILI9341_t3n library but am pretty sure this is not causing this, I have seen other similar issues on the internet with...
Hey Everyone,
I am building a Audio Guest Book with a Teensy 4.0 with an Audio Shield. I keep getting this error???
Arduino: 1.8.16 (Windows 10), TD: 1.57, Board: "Teensy 4.0, Serial, 600 MHz, Faster, US...
I saw an update on the T41 page:
That's great news! I just received a large MIMXRT chips and it was quickly out of stock on Mouser. ETA for the new stock is December 2023.
I need to ask - is there any good...
Hi All,
I'm fairly new to this site and am trying to find help for an Uncanny Eyes project that I did years ago using the original setup. I created an escape room puzzle using Uncanny Eyes on a teensy 3.2 with two 128...
I have 6 encoders and count the pulses with a T4.1
It appears 2 of the encoders are loosing pulses over time
Do all pins have the same prority ?
What happens if 2 interrupts or more happen at the same time ?
Using a Teensy Micromod with SDIO interface to log data.
Each time the data log option is enabled, a new file is created.
I am able to write the timestamp into the file itself (a CSV) but I am having a hard time...
Hi,
Is there a production compatible way to set serial numbers for the Teensy 4?
I think the most convenient solution would be if we could write over the serial number in the image flashed to the board.
...
I'm trying to use a SPI display with my Teensy 4.1, but using the SCK on pin 13 is not working (see blue o-scope trace below).
For reference I'm using the ILI9341_T4.h library (have tried others, too with no...
Hey, I am trying to get the "ListFiles.ino" example from the USBHost_t36 library to work. However, it seems to get stuck somehow:
Tried both 480MBit and 12MBit mode (by modifying ehci.cpp) but no luck. I...
As usual I'm a bit confused :)
I was using the XPT2046_Calibrated.h (and or XPT2046_Touchscreen.h) library to check the settings on a Raspberry pi 3.5 inch touch screen and noticed in the code:
tft.printf("%u-(%u,...
Hello, I got my Teensy 4.1 board and experimented a little running display and nice UIs from it, but I have decided to try out some audio.
I have an Adafruit DAC, type UDA1334A. My goal is to use this DAC with my...
So, I have a problem i fail to work out on my own. I have two MCP23S17's connected to a T4 for reading buttons/encoders.
The MCP23S17's behaves as expected, provided that the USB connector is hooked up to my...
Hi,
I have moved an existing product from Teensy 4.0 to Micromod Teensy. The PCB has one other change that requires a small change to the code logic.
I'm trying to find a way to determine which microprocessor...
Looking at the pinout for T4.1, I see that i2C SCL/SDA are on analog pins. For my current project I need all my analog pins. Assuming in MUX chip is out of the question, is there are amount of software hacking that...
I've used ZeroDMA from Adafruit before on an M4 chip.
Are there any DMA libraries for Teensy's? If so, what is the name? Didn't see anything with DMA in the name in the /teensy/avr/libraries area. I'm thinking...
OK here's a silly question. I have googled around and don't see a simple tool to do this. Lots of complex approaches. What's a simple (if possible) way to do this? I have the need to compare several similar parts'...
Hi! In the interest of sharing Teensy-based "fun but not rocket-science level" stuff here is a short clip from my standalone sequencer project based on a 4.1.
It currently has 7 tracks which can be set to control...
Can someone share code that can read and display a BMP file on a RA8875-type display. I'm using Teensy 4.1 and trying to display a BMP image from the onboard SD reader.
Thanks!
Hi all. I soldered 5 pins for the USB host cable onto my Teensy 4.1 and I plugged in a midi adapter - It requires power and when plugged into a computer lights up -
Nothing lit up!
Then I plugged a usb...
I have a Teensy 4.1, no Ethernet, not lockable, that I attached a new, not prior used PJRC audio shield to and am having some troubles/issues. I am using Arduino 1.8.19 with the Teensy libs/loader 1.57. USB type of...
Setup
- Teensy 4.1
- TLC9547 LED driver which is a slave only SPI device; its connected via SPI1 with alternative pins (MOSI1:26, SCK1:27, CS1:38); MISO is not used or connected for this component as its not needed*...
Hello,
I'm looking for adopting Teensy 4.0 for my research project
But i couldn't find any valid website since out of stock :<
I believe it's caused by supplier issue but have no any exact reason...
So my...
First time working with multiplexers. The goal is to read input from 16 buttons, but I'm struggling to figure out the wiring with a minimal single button setup. Don't think it's an issue of poor connections as I did...
ok,
since my last post was a bit broad and (therefore) got no answers/ideas, i will try to clarify. i have a 7 port usb hub connected to a teensy 4.1 which is running the following code: (heavily based on the 16x16...
I have been operating for two days with Teensy 3.6 and 4.0 using Arduino 2.0. It coexists along with Arduino 1.8 with TeensyDuino. I had to restart the computer and reload TeensyDuino to get the Arduino/TeensyDuino to...
Hi Everyone,
I'm looking for some assistance.
I have a 3rd party audio module here from Danville Audio and it interfaces with the PC via USB. It has a FTDI chip onboard and I have the drivers for it. It appears as...
I am writing some code to count the U/V/W encoder signals from a BLDC eScooter motor. The encoder signals from my motor seem to be rather noisy, which I can see on my digital analyzer. However, my code works as expected...
HI all - no code here because I don't think it's the code. Please tell me if I'm possibly wrong about that.
I am using a Teensy 4.1 with a Ublox GPS on Serial1 and an external Ebyte LORA transceiver via a UART to...
All,
I have a data logger that measures a batter voltage where the battery will start at 24 VDC but degrade to 21 VDC.
In order to protect from accidental backward connection I have a simple diode to prevent...
Hi, On the Teensy 3.2, I have been use the following "trick" to synchronize to a square wave that I generate with the PWM. It seems to not work on the Teensy 4.0
First to setup the square wave
...
Hello,
I would like to connect the internal SD card and a second (external) SD card to a Teensy4.1 (CS1 = Pin0 / MISO1 = Pin1 / MOSI1 = Pin26 / SCK1 = Pin27). Both SD-cards can be initialised correctly. My question is...
Hello, I cannot get my NRF24Liter01/PA/LNA to communicate with each other, I am using two teensy 4.1. I am using a 100uf capacitor, but I'm unable to use a dedicated source until I get a 3.3v regulator.
The code I'm...
I'm experiencing a limit to the number of leds in a single strand of 1365 using the OctoWS2811 library on a Teensy 4.1
When I run the code below it fails to update the leds but does not crash.
Is there a limit to the...
Hello,
I am attempting to build a datalogger using a Teensy4 board. This has to log data every 15 seconds. The data acquisition process only takes a few milliseconds, and the datalogger is intended to be battery...
I have a T4.1 running a 4 channel trailing edge dimmer board.
There are 2 interrupts running; 1 is a hardware interrupt which fires every 10mS to indicate ac mains zero crossing point (UK 50Hz),
void...
The folks who make PlatformIO do a great job of incorporating new Teensyduino releases in a not unreasonable timeframe. However, the Teensyduino beta releases aren't usually added. This post serves as a guide to add a...
In this thread https://forum.pjrc.com/threads/64122-Connecting-a-USB-active-HUB-to-the-Teensy-4-1 paul says yes, you can use a hub on the usb host....
Because I would like to hook up a midi controller and a QWERTY...
I was building up a small mini PC for a project (windows 10)
Windows installed fine no issues
installed Arduino 2.03 IDE all went well ...
Cane over to PJRC to get the installer for the teensy environment teensy...
I have tried to upload to the Teensy 4.1 using the Arduino IDE headlessly, but it's a very finicky and unreliable process. Is there any way to upload a .ino file using the command line only?
Hi, I'm trying to use the resisitive touch of the Adafruit ILI9341 Display. My project is on a good way so I got Audio and display working nicely. Now I wanted to add some touch functionality.
However, as soon as the...
I am working on porting a project that uses C++ exceptions to Teensy 4.1. The project is large, but at the moment I am not able to get exceptions to work properly at all even on the simplest of projects.
I am...
Hey!
I like to present the project, I am working on currently to your.
it is a MIDI Step Sequencer running with a Teensy 4.1 with 16MB PSRAM.
I cannot count the times I started working on my own Sequencer (first...
Hi,
Running on Teensy4, I would like to use a logical level input as a trigger to start clocking a function. The latency between the trigger input and the first call to the function should be as short as feasible,...
All,
I'm having a hard time navigating the library locations for the new Arduino 2.0 IDE, and where to put stuff. I have custom libraries for Teensy and some for Arduinos and I need to modify some of the default...