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...
Hi All,
I'm having trouble getting a successful ping from my teensy 4.1 project using Ethernet. All I really need at this stage is to get a ping through to confirm the hardware is working.
For code, I've used the...
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
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'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...
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, 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!
...
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...
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...
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...
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...
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...
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...
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...
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...
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 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...
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...
First I would like to thank Kenny Peng for coding the waveshape example that I could build from.
I wanted to experiment with the waveshape effect in Teensy Audio for use with electric guitar and organ.
I found that is...
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...
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...
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...
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?
...
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...
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...
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!
I think, the missing real RTOS hits me. I cannot accomplish what I want to implement:
when GPIO interrupt is triggered - a thread should be released (running outside INT context)
the interrupt handler should unlock...
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 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:...
@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...
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...
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 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...
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 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 ....
...
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...
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...
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...
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...
hi there,
I migrated a project from a teensy 3.6 to a teensy 4.1 and I noticed a very strange problem:
I have set analogRead resolution to 12 bit, and whenever I read an analog pin that should have a gradual...
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 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...
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...
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...
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...
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...
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 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...
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 !
Even though it took using all 8 timer registers, it turns out it is possible to use one FlexIO module (FlexIO2 in this case) to generate VSYNC, HSYNC and drive 4 data lines to get 16-color VGA output. All the...
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...
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...
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...
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...
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...
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();
I have a Teensy 4.1 development board which as we know all of its components are in accordance with the designs and procedures of the developer and the manufacturer. But here I plan to use Teensy 4.1 as the...
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...
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...
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 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...
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 need to upload a file wav to Teensy 4.1 by ethernet and save it to SD memory but my program doesn't work, do you know a library that it's right for this function or if I write something wrong, thanks for your help.
...
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 -->...
Hi, I recently purchased a Teensy 4.0 and needed to collect data on a micro SD card. I connected the CS to pin 10, MOSI to pin 11, MISO to pin 12, and SCK to pin 13. However, the card does not initialize. Initially, I...
Hello!
I'm looking to do some testing using the OctoWS2811 library to drive some WS2812b leds.
I know I need to use a buffer to bump the 3.3V signals to 5V to be able to drive the leds, but have a small question...
Do 5v ttl serial signals have to be level shifted to 3.3v before connection to the teensy serial ports?
I assume so but wanted to get confirmation.
Thanks,
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. I am studying the audio library structure for the purpose of writing my own custom objects. They all reference a parent class named AudioStream, and include AudioStream.h but it appears the file AudioStream.h is not...