Hello, I am using a Teensy 4.1 to take pictures and save to an SD card. I am using the Arducam 5MP Plus OV5642 Mini Module Camera Shield SPI Camera Module: ...
Here is a third beta test for Teensyduino 1.59.
Arduino 2.0.x, all systems platforms:
use Boards Manager to install Teensy version 0.59.3
(to refresh versions, Shift-Ctrl-P and click "Arduino: Update Package...
If you ever made a project with Teensy 3.5 or Teensy 3.6 and need a replacement or spare, we're now selling the very last of these older boards.
https://www.pjrc.com/store/teensy35.html
...
Hi, the Teensyduino/Arduino IDE keeps crashing when I open files, or after I've opened files. I get the following errors:
Exception in thread "Timer-0" java.lang.OutOfMemoryError: Java heap space
at...
I'm migrating.
This code works on an off-the-shelf Teensy 3.2, but not a 4.1
It is the first IMU-related call to the chip in my code. Once the ID is confirmed, the chip subsequently delivers rapid and accurate IMU...
Dear experts, I have troubles with controlling AD9833 boards via an MCP23S17 expander.
I wired them like this:
Here's the code:
// Test code looping through MIDI notes 0 to 127
I can can make this work on a free-standing T4.1 by grounding the On/Off pin to any of the main GND pins on the board.
~4 seconds - turn off
then momentary - turn on.
ON my custom carrier board, the OFF step works,...
Since I want to build a spectrometer, I also want to display the data nicely on my PC.
I don't want to burden the Teensy with such work, to control a display whose resolution and other performance would not be very...
Hi all,
I am working on a project that is involving :
-teensy 4.1, audio adapter and 24V audio amplifier connected to 2 speakers
-MPR121 capacitive input
-PWM out to MOSFET 4 connected to 24V LED strips
(see...
Hey everyone,
I use a Teensy LC in a product that I've been lucky enough to sell a few hundred of. I designed my PCB so the Teensy LC just plugs right in, but now that the Teensy LC is discontinued, I am trying to...
I am having two Teensy 4.1 (lets call them T1 and T2) setup in such a way that T1 reads data from the sensors and sends them at 100 Hz to T2 via Serial 5. Because I have control over the string sent by T1, I also send...
Sorry if this is a silly question. Why do I always need to push a button or bridge the boot pad to ground when uploading a firmware hex file to a Teensy Micromod using the Teensyduino loader app, but it's automatic when...
How can I link teensy4.0 with micro SD card?
This is the module of SD that I need to link.
https://lastminuteengineers.com/arduino-micro-sd-card-module-tutorial/
I want to do a test program to change ports. how do I change ports?
#include <Wire.h>
#include <SparkFun_Alphanumeric_Display.h> //Click here to get the library:...
Hello
This is my first post. I am rather a beginner in the microcontroller world, also have little experience with C++, having only used VisualBasic up to VS2019, as well as assembler (many years ago).
I am...
Hello!
I'm working on a project which requires the online implementation of a large number of digital low pass filters (moving averages). I am using an array of uint16_t ring buffers to store all of these moving...
Hello,
I'm trying to receive data using a Teensy 4.1 and a GPS module but with no success. At first I just want print the NMEA data at the terminal but I receive nothing.
This is code I'm using. The RX/TX pins of...
I have a real puzzler here.
I have a PCB board designed with a few TLC5940 chips daisy-chained to a T4. I've used these boards many times before.
When run on the board, the Teensy gets extremely hot. According to...
For my TCD1304DG experiments I am testing the speeds of the ADC measurements.
I have now used the simplest ADC method, analogRead inside the void loop.
I was surprised that the processor clock rate has almost no...
I am having an issue with correct interrupt behaviour on a Teensy 4.1. I have boiled it down to a small piece of code.
Basically I am attaching an interrupt to a RISING edge of a pin. Using a function generator I...
I had this strange but fun idea: to create a parallel bus for small micro-controllers and devices.
There would be a host micro-controller, on a motherboard that could host up to 8 other assorted devices, which could...
I have been in contact with Paul S. on this issue: by email want to get out on the forum.
> I'm in the process of installing a new GrblHal breakout board in my CNC. I'm on my second breakout board and now my second...
I am using a Teensey 4.1 and a 7 inch 800 x 480 SSD1963 display with a 16 bit parallel bus.
I have always wanted to get full screen refreshes happening with a buffer on a display with proper syncing and the theory is...
I have custom desgined boards using the PJRC bootloader and NXP chip, they work very nicely!
It was time to test the locking feature so I fired up Arduino and ran through the 4 steps. First creating a new...
Hi,
My project compiles perfect with version 1.57.2 but get a lot of errors with version 1.58.1 is here a solution or must I stick on version 1.57.2.
Best regards,
Johan
I need a QSPI Master interface (like regular SPI but with 4 data lanes).
I know, there is FlexSPI (for external memory, SPI flash chips or memory).
But I need the feature on regular LPSPI, to use PCS2 and PCS3 as...
Morning(?) all
Had this problem for a while and it's finally annoying me enough to ask what to do about it. For the AgOpenGPS project, we noticed that some people were having issues flashing the code to Teensy 4.1....
I am sending USB RawHID from a T4.1. Works very nicely, but it would be useful to have a standalone utility app running on a PC ( e.g. Windows) that receives and displays the Serial Monitor data without the Teensyduino...
Folks,
I'm on my second PCB design using an SD card with the Teensy 4.0, and I can not figure out what is wrong. A partial schematic for the PCB is this:
The data sheet for the SD card is here:...
That's on a Teensy 4.1.
My code is:
digitalWriteFast(READING_start_pin, HIGH); // create a leading edge
// capture the counters by reading one
TMR3->CH.CNTR; // get all the values into...
I'm running out of processing power on my Teensy 4 with my electronic drum project and need to implement some more stuff.
I'm wondering if a particular part of the code can be improved to be faster as it is run...
Hello,
I just got some new PCBs in and have run into an odd scenario that I have not experienced before. I have tried uploading photos of the annotated boards, but it keeps saying the upload has failed.
Upon...
Hi
I'm trying to build a controller to semi-automate a still to distill "water".
I'm going to be using a teensy 4.0 some ds18b20 temp sensors, and a nextion display.
I've got it to a point where i can see all...
To allow for stereo operation, the TEENSY 4.0 Buffer size must be a minimum of 16 for each channel or a total of 32 so reducing the buffer size to 32 is as far as it goes resulting in a latency of 2 ms.
I found the...
Hi
Just about to start an audio project using 4.1 + audio board.
Can you implement an equaliser on the audio board? Never used it before.
Had a play around with the configuration page. Not quite worked it out...
Hi everyone, I have some nice RGB LED switches, and I was planning on varying the color of the switches based on using a control pin on the Teensy, one each for each LED. Then just use a digital write to set the duty...
Hi All
It's been a while. I am trying to compile Uncanny Eyes for Teensy LC from:
origin https://github.com/adafruit/Uncanny_Eyes.git (fetch)origin https://github.com/adafruit/Uncanny_Eyes.git (push)
I am...
Hello, I'm encountering a strange problems I haven't seen before on Teensy (using Teensy 4.1). I am writing a test platform that uses SPI and am encountering an issue where the CS returns high before the SPI. transfer...
We have chosen the pt8211 for a project (ALFASoniQ Mirage II Emulator). We are making great progress, but we ran into what appears to be a latency issue.
When a note is triggered by MIDI, it takes almost 0.5 second...
Hi!
What is the max speed at Hz of Teensy4 and how faster it against ESP32-S3 ADC and maybe against RaspberryPi4 ADC?
Is it possible to make 1MHz real digital logging oscilloscope on any of those MC?
I am having problems with sending and receiving the messages. I am using the SDA and SCL lines. My goal it to try to use the PPS to get under 5 millisecond accuracy for timestamp purposes. Could someone please explain...
I know I am doing something wrong. Neither of my Teensy 4.1 boards will turn on from external power.
I am 100% missing something that I should have configured, but I am pretty new to Arduino and Teensy boards.
Just wondering - if I use the disconnect command to disable a chain of modules, does it
that chain stop processing? (I.E free up memory/CPU)
I was thinking of some way to make an effects unit that has a delay,...
I'm trying to get an LCD panel working with a custom T4.1 device, but I'm getting mostly garbage on the screen, so I'm thinking I have signal integrity issues. Here's a pic of the SPI CLCK on my oscilloscope.
I'm...
Working on audio guestbook project. Teensy 4.0 connected to Audio Shield Rev D2.
I have tested continuity between pins on Teensy and headers/pins on the Audio Shield for pins GND, 5V, 7, 10, and 14. I run this...
Is it normal for the speakers I have connected to my Teensy 4.1 and 4.0 audio board to buzz when power is disconnected?
As soon as the Teensy is powered on it goes away.
Using a pair of Bose Companion 2 PC...
Is it possible for the DACs ie A21 & A22 to read different
sine tables and output independent values based on those tables.
Here is my test code , but it wont read from each table.
If i comment out one DAC it will...
Can anyone give me any tips on what could be wrong here. Teensy 4.1 and WS2812B Led strip. Seems like a pretty simple setup and I've tried different test code, different data pins, powering over USB or from a separate...
Hi!
I am trying to build a version of this Teensy 3.2 Sketch and midi-controller circuit that I found online;
https://llllllll.co/t/17-diy-teensy-midi-controller/28539
It's basically just a USB Midi Controller...
Hello!
I'm starting a project in which I need 16 CV out channels, with a teensy 4.0. I was thinking about using two PCM1681 DACs, and I have a few preliminary questions:
1. Any comment or advice about components or...
I have followed tutorials and burnt the midnight oil....
Still, I have this baffling PlatformIO thing sitting in front of me that I just cannot get my head around. To say it's not 'noob' friendly is an...
We are using teensy 4.0 for an access reader with qr code and SSD 1309 OLED.
Everything was working fine until summer 2023. Now we have a problem with temperature.
If we get a temperature about 60-70 celsius in our...
Hello Teensy specialists,
I assume that all has been explained several times, somwhere. I was not able to find it.
As my Teensy 4.1 based project is growing, I was looking for a better IDE. Currently I am using...
Looking for expert advice on extending our existing Teensy 4.1 data logger firmware from FAT32/SDHC to exFAT/SDXC for long-term data logging (many weeks continuous logging).
We are planning to use the our existing...
Hey all
For my Bachelor Thesis, I have to create my own "microphone". More specifically, to know where the sound is coming from using TOA (time of arrival). The main goal of the project is to be able to recognize...
I've installed 16MB of PSRAM (and tested them).
I now wish to use them for much longer "Delay" effect.
According to this I've added to AudioStream.h this:
#define AudioMemoryPSRAM(num) ({ \
static EXTMEM...
I want to implement a simple software interrupt so I can initiate an ISR using a software command. Other microprocessors I have used have dedicated interrupt vectors for this purpose, but I could not find an...
Hello all-
I have a Teensy 4.1 project that would greatly benefit by being able to read a single byte of a >1MB array in the order of 200nS. Unfortunately, I can't squeeze enough space out of RAM, so I'm looking to...
I recently purchased a Teensy 4.1 and began using it on Linux at first with Arduino and then PlatformIO. I was using the Teensy to read data from a USB device using the USBHost_t36 library then sending data out the...
Hello all,
I am trying to write a Python skript, which collects data from a teensy 4.1, connected Via USB. In order to do this i am using pythons serial module.
The code that I have written so far, is able to detect...
Hi guys, upon analyzing code before going into my project, I have some questions about the code in "effect_delay.h" file.
First, where are libraries like "Arduino.h", "AudioStream.h and so on"? I get red lines along...
Hello,
I currently have a T4.1 project that communicates to a device over SPI using DMA, freeing up the uC to other tasks during SPI transfers, using the following from the standard Teensy SPI library:
...
Running into an issue using a Teensy 4.0 as a replacement for the 3.2.
I'm using a Teensy 4.0 along with a 900Mhz XBee XSC S3B module to remotely communicate with some other equipment. Due to space constraints the...
Hi all,
I would try to make the SD card on T4.1 accessible as a mass storage from my Windows PC via USB connection; I manually installed MTP_Teensy. I use Arduino IDE 2.2.1 with Teensy tools...
I purchased a Teensy 4.1 and attempted to use it with my computer which is running Linux mint and arduino IDE 2.1.1, I made a new empty sketch with no code in it, just the default void setup and void loop, when I tried...
Hello,
I'm currently in a bit of a pickle regarding a batch of 60mm, 10k linear potentiometers that I received.
For this application, I have used some Bourns sliders in the past; however, there were some changes...
The external SRAM looks great. But i need all the UARTS so i can not use it. Is there i way i connect a chip to SPI1 hardware which is free? I assume this is possible? But which files to modify and where are they?
We have developed a custom pcb, based on the Teensy 4.0 schematic, but we brought out 2 additional lines (I2C) from the processor that we intended to use with "Wire3", but the Wire library does not seem to support...
Hi,
I've received a load of these slide potentiometers from here: https://www.mouser.co.uk/ProductDetail/Bourns/PTB0153-2010BPB103?qs=oyIm%2F3giSj5kYFpI22NVZw%3D%3D
As you can see on the link, these are linear...
Hello Everyone,
I am trying to use FlexCAN_T4 library. I cannot figure out how the timestamp is measured. What is the reference clock. When it starts and since it is an unsigned 16 bit is there any flag that indicates...
I have a suggestion for a new chip:
For the last three years, I have been flying RC Models controlled by my “LockDownRadioControl” radio which uses a Teensy 4.0 in the receiver plus a MLO1SP4, which is a chip from...
Potentially related threads:
https://forum.pjrc.com/threads/66167-Teensy-4-1-SPI-below-1Mhz-possible
https://forum.pjrc.com/threads/66351-Teensy-4-1-Minimum-Hardware-SPI-Speed
I am looking to use Teensy 4.1 to...
Apparently I may have posted this discussion in the wrong directory. For the sake of completeness, here it is: https://forum.pjrc.com/threads/73247-Help-with-new-audio-module-AudioFilterIIRAsymmetric
Anyway, I have...
I wrote this class that keeps track of the maximum value in a sliding window of incoming samples in realtime and I've been using it without issue.
However I recently decided to use header files only because the...
If I use a USB hub that is self powered and outputs 5v on its input connector when self powered, will I have to cut that wire on the lead to the host controller port? Specific example is I'm considering using a Pimoroni...
Hi,
Has anyone been able to implement the "graphic cursor" (i.e hardware generated) on the RA8875? It looks to me like this feature is not fully implemented in the standard library (RA8875.h in Teensyduino), maybe I...
Hi,
I have a device that needs to be waterproof to some extend. I want to use the common M12-4 pin connector to attach ethernet.
I surely can't just use the TX+ TX- and RX+ RX- pins and connect them to the M12...
Hello,
I am trying to program some kind of pageturner with a Teensy LC with Arduino IDE 2.1.1.
I use the digital ports 1, 2, 3, ..., 6. The following key codes should be sent to a Windows PC:
1 - KEY_LEFT
2 -...
Hey everyone, first post here and would love some help with something I'm working on.
I'm trying to take analog audio (voice) (mic in, line audio) and convert it to digital so it can be recognized by a computer...
Hi All,
I am very new to Teensy. I am wanting to use Teensy to add MIDI functionality to a 5v pre-MIDI synthesizer. That synth runs on 5v.
The research I had done pointed me to the Teensy++2.0, as it was 5v...
Related to the other question I put on this forum (and some other devices where SPI fails to work) I decided to check with my logic analyzer what was going on with my SPI communication. I have two MM Teensy reproducing...
Hi everyone, so I need help with my code. I'm using a library called 'Teensy_PWM.h'. I want to create 3 SPWM Signals with a phase shift of 120º. I'm generating the signals in Pins 7, 8, and 25 which belong to...
Hello All,
I am trying to set up a communication between 2 Teensy 4.1 devices using the Serial1 port (RX1, TX1 on pins 0 and 1). I set up a Master Teensy device that sends data and a Slave Teensy that receives data....
Hi everyone,
I am seeking for a little advice here...
I have an already finished project of a gaming handheld driven by a RP2040. Unfortunately, the RP2040 struggles to deliver the necessary performance.
Now, I...