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...
getting this error message i am a total newbie with this so be gentle plz
Arduino: 1.8.19 (Windows 10), TD: 1.57, Board: "Teensy 4.0, Serial, 600 MHz, Faster, United Kingdom"
In file included from C:\Program Files...
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...
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...
Hello!
I want to build a small tool to manage my Korg M1 with
a Teensy 4.0.
So far i got midi CC to SYSEX message translation working
for configuring the Presets.
Since i do have an audioshield with sdcard i...
Hi,
It seems TEENSY41_NE has problem with i2c (wire2). We tried at least two TEENSY41_NE boards and they both show the i2c problem (no messages received from the slave). Exact same code works fine with TEENSY41. ...
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...
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...
Hi all
I'll dig out the code tonight, but I am having consistant issues on many projects with 3.2's and their associated Teensy sound boards and 4.1's and their sound boards.
They randomly emit a horrific screeching...
Following
https://forum.pjrc.com/threads/71506-Time-synchronization-and-triggering-sensors
https://forum.pjrc.com/threads/71671-Augmenting-Teensy-millis-timing-with-external-RTC
I am working on a sensor timing...
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 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,...
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...
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...
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...
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 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...
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....
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...
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.
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 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...
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...
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 -...
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,...
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...
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...
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,...
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
...
Hello!
Im playing around with copying data from a large u_int8 array into a small u_int8 buffer.
the large arrays size is 31520 bytes, the buffer is 256 bytes wide.
Seems that my code does something really bad....
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...
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...
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 have a Teensy-based synth and when my MIDI controller is plugged-in to the T4.1 USB Host, it automatically sends several CC data messages that I want to ignore as it affects the settings on the synth. I can detect...
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...
I'd like to know the maximum SPI clock that a Teensy4 can support. Wading through some of the NXP documents (which is painful), the normal LPSPI clock is limited to f_peripheralclock/2. Can't seem to find where or how...
Hey All,
I have been trying to figure out my problem for hours today and have come up with nothing.
I can no longer upload to my Teensy 4.1 from platform IO and can't open the serial monitor in the Arduino IDE. I...
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,...
I'm using this teensy for a larger project, but one problem I noticed is that when I use elapsedMicro to create square pulses, the very first one is always longer. Can't really figure out why, this is for simple...
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...
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...
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'...
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...
Hi Guys, maybe it was already tested and someone could give to ma an answer so, qhat is the maximus toggling frequency of the teensy 4.1?
i need to generate a pulse signal with a frequency that could vary between...
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...
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...
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 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...
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 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've been using the Teensy 4.0 for several years as part of an LED controller for outdoor art installations (like this one). I've had some challenges for sure, but all were eventually overcome, often with help from this...
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 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...
Hi !
I have this idea for a long time in mind : create a Martenot like instrument, with one single cassette, and a position sensor like this :
The idea is to put a single band (going in loops) with the record...
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...