Here is a second beta test for Teensyduino 1.59.
Arduino 2.0.x, all systems platforms:
use Boards Manager to install Teensy version 0.59.2
(to refresh versions, Shift-Ctrl-P and click "Arduino: Update Package...
Hey! Just looking to confirm, from what I'm reading you can stack 2 audio adapter boards to get 4 channels of audio, either in or out, but I'm looking to do 6. Simply put, I have 2 separate goals, which if achievable on...
I am starting a project using a Teensy 4.1 and ILI9341 to create a user interface to a radio transceiver via USB.
I have the basic UI graphics and user touch screen inputs for the display working satisfactorily and am...
Hi all,
I've got a teensy 4.1 board and a dual canbus transceiver from tindie (https://www.tindie.com/products/fusion/dual-can-bus-adapter-for-teensy-40-41/)
For starters, I want to read the canbus stream from a...
I'm running Teensyduino 1.58 on a Win10 system. I was using IDE 2.0.4 and one feature I really like is the "Edit Hover" where you hover the cursor above a variable or symbolic constant and a dialog box opens and gives...
Hi all, I'm trying to check around to see exactly what materials people have used to create their own DIY drum pad projects.
I am using a ceramic piezo sensor and the entire disc is about 1" diameter. I will attach a...
First off I want to say that I'm an avid teensy user and I love these little chips.
I've been using the lilypad recently because it has an integrated Lipo charger. However they forgot to add a low power disconnect...
One of my Betas is running 2.10 and 1.58.2 on Linux and reports a 40K increase in stack usage versus 1.57. On Windows it's less dramatic, about 10K, but still significant. I do not have a Linux machine so I cannot...
I'm trying to have a custom serial number presented over the USB protocol. It works but there is a small issue.
EDIT: Serial numbers are unique and read from the EEPROM at boot.
I use this in setup of my code, so...
While updating my version of Fabio Versano's FreeIMU library I was looking for some of Madgwick's old papers and came across the fact the Madgwick changed what we have known as MadgwichAHRS. This occurred with the...
I have several Teensy Micromods that seem to be working, except for the Blink program.
The LEDs work in other contexts, like when downloading a program or going through the 15 sec reset procedure (which completes...
I am trying to write data to an SD card connected to a Teensy 4.1 using the port that's on the PCB (not an external micro SD module). I was trying to check if the Teensy is able to recognise that there is an SD card...
Hi all -- I'm hoping to have an elapsedMillis variable be reset inside of an interrupt callback, like this:
const int trigger_pin = 17; // listens for trigger
volatile elapsedMillis sinceTrigger;
volatile long...
I have one ETH server (for Web Browser, as HTTPD server) running. - Fine
I want to add a second, similar ETH server, but with TCP port 8080.
I have added code and I have two instances of server:
EthernetServer...
Hello friends! I am looking for help figuring out how to use an AD5686R DAC chip with Teensy 4.1
Some details about the project:
This is for a hardware synthesizer instrument that has 4 analog oscillators, each of...
Hi,
I have lower speed with teensy 4.1 when send data to leds, compared with arduino every.
for test I use same code (below), on teensy4.1 and on arduino every, led strips are same - 800 leds (SK6812 with mini 3535...
I have an Ethernet sensor which outputs about 4000 bytes per second continuously.
Can I read from this sensor using a Teensy 4.1? Reading and deciding needs to be done in real-time.
Thanks in advance for your...
So I am working on bigger project with quite a few external dependencies. It seems that despite -Os some of these still have quite the code bloat and my T4 is running out of memory.
These seem to be the biggest...
Hello
I am trying to use a Accelerometer while recording audio. But I have a problem with interrupts.
First of all, there are multiple ways to check if new data is available for the Accelerometer (check te register...
Hello,
I'm currently working on a midi controller sketch that needs to use some rotary encoders.
I ended up going with the Alps EC12E24104A6, 24 pulse no detents, as I like the feel. Data sheet...
I'm using Teensy4.1 plus w5500 module. And use Artnet Library to control ws2812, but when I receive more than 7 universes, it will start to delay later, I would like to ask if there is a solution. Thanks!
Hello!
Is it possible to read/write CSV data on a MSD using the USB-host functionality of the Teensy 4.0 ?
Technically this should work but are there any examples for Arduino? Maybe with the USBHost_t36 libary?
...
I am testing Ganssles debounce circuit (as described here) for a T4. The circuit looks like this:
Vcc is sourced from T4 3,3V pin.
R1, R2 = 100K (I chose high R values to make debouncing times more obvious as a...
Hi,
I'm using a PID controller and not to loose the tuning values on re programming, those are, amongst others, stored in the simulated EEPROM.
I was wondering, what would be the best way to define the locations in...
@KurtE
In KurtE's FlexIO page at github, it seems to say the default clock rate for the FlexIO is 30MHz. And, it offers the following which seems to change the master clock for the FlexIO.
void...
Hi ! Trying to make a midi to cv with my teensy 4.1 with a MPC4822 DAC.
From now, I believe the teensy receive the messages but the outputs of the 4822 are only +- 0.5v at maximum and doesnt really follow my...
My goal is to store high-quality audio (at least 16 bit, 16 kHz) via USB on my Windows PC, captured by a digital I2S MEMS microphone (I use the models INMP441 and SPH0645) and a Teensy 4.1 (or 4.0). I have not succeded...
Doing a 486SLC homebrew. Looking at using a Teensy 4.1 and maybe a 4.0. The key to this post is the 4.1 and the QSPI RAM. Basically the 486SLC has a 24 bit address bus, 16 bit data bus and is static CMOS. ATM...
EDIT: I have changed the name of the library to UniversalRingBuffer. It is stored/available here. Where CircularBuffer is stated "insert" RingBuffer. Nothing other than the name has changed except SaveRBInfo and...
random() without any argument seems to give a random number in the range .
How can I convert this number to an unsigned long in the range ?
Thanks,
Michael
Thanks in advance for your help with this!
I'd like to use a Teensy 4.0 to implement a 32-bit counter driven by an external 10 MHz clock - the clock source would be a Rubidium Frequency Standard.
The counter would...
I am building a device that needs to be mounted very close to UHF microphone receivers. Unfortunately I've found the Teensy 4.1 sprays a bit of RF in the UHF spectrum, enough to interfere with the audio when WL mic...
I find postage costs a bit too harsh for buying a single item from the common electronics distributors, but I managed to find some other components that I needed and a backorderable (headerless) Adafruit Teensy 4.1 from...
Hi, We bought a company and need to program Teensy 4.1s but the code we got will not compile. We do have a working unit. Is it possible to copy the program off of a Teensy 4.1 and burn it onto a new teensy?
Thanks!
...
So I have a few dozen Teensy boards that I use to record audio as .wav files on the MicroSD card. When I plug the USB into my Windows 11 laptop, the Teensy appears as a device and I can navigate to the folders with the...
Hello
I already posted this but don't see it on the new post so I'll post again. I am trying to compile some code . I have the error msg:
c:/program files...
I'm looking to create 4 PWM signals that I am capable of individually controlling the phase difference between each signal. Along with this I would like to control the frequency and duty of each signal however they...
Hello everyone,
I'm a software developer by trait, so I am a bit unsure about my current plans.
I need to generate some control voltages and figured a 12 bit resolution PWM signal after some filtering should be a...
Hi, I'm new here, so I apologize in advance for a simple question for some of you. I would like to use the teensy audio library. USB soundcard will be defined as input than some filters and etc. As an output, I would...
This is probably a question for Paul, so I hope he's got some bandwidth!
I've been making regular and successful use of EventResponder to perform what I understand to be its intended action, to trigger...
Hi all
I have a Teensy 4.0 and I am trying to analyse an ASIC that communicates using serial data. The ASIC was used for non-standard crypto functions. I am communicating with it using a serial program on my computer...
Hu guys,
first post here so I hope I do everything correct! :-)
What I am trying to do:
I'm working on a cool project (audio guestbook) utilizing teensy4.1 with an audio shield.
To power the arduino I use a 18650...
Hello!
I have a general question about the 55 I/O pins on the Teensy4.1. I see on the back of the board and pin layout that there are additional pins. But these pins look like they are for traced to specific modules...
Hey all,
Looking to set up an analog gauge driven by a Teensy. The idea is the Teensy receives data from various devices over CANbus and then translates it to a PWM signal to drive a gauge.
Anyone done this, or...
Happy to share my 2nd library, this time for the Teensy 4.1
It's a parallel display driver that works (currently) with the ILI9488 over an 8 bit bus. I will bring a 16 bit bus support as well, when I find the spare...
Hey there,
I am using the Teensy 4.1 with a peddle-board to control a digital guitar modeler. The board has 18 foot-switches and 15 ST7735 tft screens.
It is working perfectly and blazing fast and now I would like...
Hi,
I am working on a breath controller for my VST's inside my DAW. I am using a Freescale MPX5010GP (following on from this projecthttps://hackaday.io/project/12315/files) into a Teensy 3.1. I have successfully got...
I have a board with a Teensy 4.1 that is powered by a 5VDC power supply to VIN. However, I have been upgrading the firmware through the Teensy's USB (while also powered from VIN) numerous times without a problem ....
...
Using the Teensy 4.1 for high level control and development ease, this
Ai approach breaks the computational bottlenecks
associated with real time convolution, with the additional benefit
of radically reduced software...
Hi Everyone.
Does anyone know how to set the NVIC priority level for pin 34.
Im getting confused with how I did it with the Teensy 3.5
Thanks in Advance.
Hi, I know the question has come up a few times. But, here we are in 2023 and many analog-digitcal-converters support dual and/or quad sdo. I suppose the same might apply to sdi. It is vitally important because it...
I am running a relatively fast control loop on a Teensy 4.1 which is controlling 2 BLDC motors based on some sensor inputs. The cycle time of the control loop is about 600 microseconds. I have a monitoring mode where...
Hello everyone,
I know you have answered these questions before. But I guess my problem is a little different than others. I have Teensy 4.0. When I first plugged the Teensy to the computer, I did not encounter any...
I'm running the example CardInfo file (File>Examples>SD>CardInfo) in the Arduino IDE (v 2.0.4 on Mac) and I'm unable to get the SD Card working. After uploading, the following lines are outputted:
Initializing SD...
Hi there,
we're using the Teensy 4.x on research rockets such as on MAPHEUS 9 - 13 to control experiments and acquire data.
Our last mission was on May 22th, 2023:...
Hello,
I am working on a data logger for a trackday (race track) motorcycle. The full code requires CAN bus, GPS into Serial1 etc so below is a skeleton of the same structure and though doesn't repeat the issue as...
I have a machine that has 6 primary axes and 2 auxiliary axes. It is design for contouring applications i.e. each axis follows some sort of Bezier curve. The motors are intelligent servos, with the drives built in. For...
Using three MAX31865 boards to measure three different RTDs. Have them all hooked up on the same SPI bus. If I call them individually all three work flawlessly. When I try to put them all together on the first one I...
Hello,
I have two key functions: one to select and open a folder within an SDcard one to select play an audio file.
I have both of these within:
void loop() {
buttonInit();
Hello!
I am using this TFT display with a Teensy 4.0:
https://www.amazon.de/gp/product/B07DK3RXCR/
To make things easy I am using a Arudino/Teensy shield and then the LCD is being stacked on top.
This works...
Hi all,
is it somehow possible to change from Triple/Dual USB Serial to Single USB Serial at startup/boot of Teensy 4.x?
In other words: is it possible to deactivate the second/third USB channel completely at...
Hello all,
I'm new to the Teensy ecosystem and like many others I am trying to get the audio guestbook project off the ground. I've got demos of many of the other basic building blocks of the project working, and am...
Hi just a small question ! When i set Usb midi interface_3x3 exemple, the TX pin on teensy 4.1 is sending 3.3v is this normal ? Im trying to get the info online but im a bit confused ! Thanks !
I would like to use an SH1106 I2C OLED in a project. Google and a search of the forum do not provide a clear answer of whether this is easily accomplished. Adafruit provides a library (Adafruit_SH1106-master) and an...
So I'm trying to upload my program to Teensy and getting the following error. I'm a beginner. This program was written for me by someone else so I don't know much about it. The hex file is only ~ 1.5mb and Teensy 4.1 is...
Teensy 4: I noticed that at 800 fps on 256 LEDs (driven at 12 MHz with FastLED) I spend up to 20% of the time waiting for FastLED.show() to finish. This surprised me.
Not sure if this is the expected behaviour...
Hi everyone,
I'm working on a project that consists in sending data frames at a frequency of 200Hz, from a Teensy 4.1 to another, through two ESP-01S (See diagram and code below).
Hardware :
Schematic :
The...
Whilst developing firmware to drive a 800x480*2 display, I've hit upon a roadblock where the maximum allocation of a single block appears to be around 512k. This is understandable given the memory configuration of the...
I have built a sequencer, but I have trouble making the all notes off message work as intended when it stops. What happens is that i get hanging notes after the sequencer stops. Not sure where I fail.
The gist of my...
I'm currently working on a project, and I'm using a Wiznet 5500 for ethernet connectivity. I'm becoming increasingly unhappy by the constraint imposed by that chip where it only allows 8 sockets open at once.
For a...
Is it somehow possible to create a 44.1kHz or 48kHz timer interrupt with Teensy 4.0?
The problem is that IntervalTimer.begin does only accept microsecond resolution.
20us --> 50000Hz
21us --> 47619Hz
22us -->...
Ran into a situation where a USB drive would fail to initialize properly. This showed up in two files. driveInfo.ino in the USBHost_t36 library and in an example sketch of mine copyFileUSB.ino. The drive init portion...
Assembled and connected to a router... the LEDs don't light up/blink. Uploaded/ran 'linkstatus' it says 'unknown'.
My board:
I didn't see any other steps in the...
I have an app that connects Teensies to a variety of other hardware. A few days ago I blundered and connected an external opamp (LV321, rated up to 5.5V) to a Teensy 3.5's Vin (about 8.8V) instead of the intended 3V3. ...
Hi all!
I have a program that flashes the device, but in a scenario where the usb connection is lost mid-programming, after the device has erased the flash, if you power down the unit (which happens if usb...
As I delve more into FAUST, I can't help but notice that their library is -extensive-. Anti-aliased oscillators, all types of filters, resonating bodies, compressors, fm synthesis, advanced math functions, reverbs, MIDI...
I have been able to use the ULQ2003 (NPN transistor array) to control high voltage outouts with the Teensy 4.1. Works quite well, but the problem is, it makes the outputs common positive voltage instead of commmon...
Hi
I have done some changes of the example code of the flexcan_t4 library. First I have installed the 3.5 display. This works very good. After the installing of the onboard SD card I have some problems with the...
I am using a Teensy 4.1 and the Audio shield with a simple program that mixes two WAV files. Also connected are two I2C devices, one on Wire1 and the other on Wire2. (One is a button input device and the other is output...
Hello,
I'd like to know how the 16-bit DAC on the TEENSY4_AUDIO module must be initialized and how a 16-bit value can be written to the DAC. Are there any examples?
I'm hopelessly lost with the documentation of the...
The documentation for QNEthernet::EthernetClient::close() notes that it closes the connection, but does so in a non-blocking fashion. Overall, I really like QNEthernet, because just about everything can be made...
Hy,
I work with Teensy 3.5 (and also sometime 3.2) on TeensyDuino 1.5.6 since years without any problem. Great board, thanks a lot for this product (I like the 5V tolerant that simplify schematics, too bad it's...
Hello folks,
Attached is a first revision of a Teensy 3.6+ USB driver & library for the C4 synth pedal from Source Audio.
What this driver & library will allow one to do, is to fully control every aspect of your...
Hi all,
I'm having constant issues with serial ports on Teensy 4.1 boards. Basically, my Teensy's USB serial emulation appears to be breaking.
I'll take you through the steps:
1. Upload LED blink example. Led...