Hello! I'm Jamie, one of the developers of Mbed OS Community Edition. We are working on a port of Mbed OS for the Teensy 4.0 (and soon, Teensy 4.1) boards, and I need help from someone who owns a board to test our...
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...
This weekend we're moving the main PJRC website to a new server. Hopefully everything will go smoothly and the only disruption will be the shopping cart offline for several hours.
The forum is hosted by a separate...
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...
Hi,
I am having intermittent problems using QNEthernet to receive UDP messages on a Teensy 4.1
I am firing UDP messages (of 6008 bytes) from a C# test program at the Teensy which is running the sketch below
It...
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. ...
Debugging this has been troubling me a great deal now at this point. I've written a very basic script which polls in `loop()` to create a 200Hz square wave with 10us high time.
My logic analyzer (saleae logic pro 8)...
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 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...
I have tried two different boards and ethernet kits
The green link LED never lights
I have tried the NativeEthernet UPD example but cannot ping the board
I have tried the code below, still no ping:
#include...
I'm trying to connect spi devices on a Teensy 4.1
I'm readed this https://github.com/KurtE/TeensyDocuments .
But i dont understand what is the SPI pins of each spi port clearly.
Who can help?
I am looking to write code for a generic three phase encoder that you find in bldc scooter motors. I've got a setup where I can read the signals coming from the encoders, and I have written software for some test...
Hi all
Been programming my Teensy 3.2 fine.
Today, it throws up:
Previously selected Teensy port is offline.
1 other Teensy board found. Please select
this Teensy from the Tools > Ports menu.
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 have bought a Dazzler (module, not shield) and I am trying to get it working with a Teensy 4.0. If I just power it up, I do get the 'splash screen' as expected, but once I also make the SPI connections, it goes to...
Hi,
I've been able to implement OTA through Ethernet on a Teensy 4.1.
Based and using the FlasherX Library.
It's using also QNEthernet and Async_AdvancedWebServer (that I had to correct - see my post regarding a bug...
I want to control 6 motors with a teensy 4.1 while having in externally powered. I was wondering if I could solder my 4xAA battery holder to the teensy and then wire the vin pin to a solderable breadboard where I would...
I fear I've likely damaged my Teensy 4.1 and I'm wondering if there are any steps you'd recommend to diagnose/repair it, or if I should just buy a replacement?
Here are some details:
I'm using a Teensy 4.1...
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
...
Hi all,
I've got a sketch with 4 buttons. All using the same button code.
3 of them behave perfectly, but the 4th constantly outputs "high," as if I'm holding down the button, and measuring with a meter shows it's...
I'm using Teensy 4.1 on Win 11 with IDE 2.0.3. I have a structure that I want to store in EEPROM named EEPROMData. This may be a stupid question, but what does this statement do?
EEPROMData.currentWPM =...
I'm trying to program a Teensy 4.0 to control my Sounddevices Scorpio.
The scorpio uses the Mackie MCU protocol to communicate with an external controller.
At the moment i am able to get play, pauze, stop, record...
So i was tired of the clunky Arduino IDE and decided to try and get a proper debugging scenario working with GDB https://github.com/ftrias/TeensyDebug and PlatformIO under Visual Studio Code. After much struggling i...
I'm using the built-in SD interface on my T4.1 for datalogging and want to have as low of latency as absolutely possible. I'm using SdFat.h and have successfully tested the following sketch:
#include "SdFat.h"
...
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...
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....
For some time now I've been trying to find a way to have a continuously variable output sampling rate solution for T4.x to take the place of the ever more precarious T3.6 situation.
While adding a parallel DAC is...
Hello. I'm trying to run the example program given on the FreqMeasure Librarys page
#include <FreqMeasure.h>
void setup() {
Serial.begin(57600);
FreqMeasure.begin();
}
double sum=0;
I am working on a sensor triggering project with a teensy and am nearing the end, but have stumbled upon some very haphazard latency in the serial communication to the computer. The code is relatively long at this point...
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'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...
Newbie here...
I'm working on an LED Metronome project that was developed on the Teensy 3.2. I'm using an espressif esp-32 dev board on the Arduino IDE. Developer had said that the code should compile OK but it is...
Hey!
Because I am quite near the memory limits (after 2 iterations of trying to get it smaller) I would like to understand what areas of code take up what parts of the memory. I add some example code, maybe that...
I'm currently working on a versatile realtime rendering thing which is meant to generate procedural animations based on very few parameters. Stuff like spiral, caleidoscope, tunnel, lens, twist, rotation and so on, all...
I apologize if the question has already been asked but I cannot seem to find a solution. I am quite new with all this.
I currently have a Teensy 4.1 card with an ethernet shield. I am trying to connect it with...
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...
I am hoping one you C gurus can help me with this issue:
When trying to open a new file for write in LittleFS it seems to want a const char for a file name. However I would like to append the date for each new file I...
I'm trying to get the AD9833 to accept SPI control instead of using a library. The library ("MD_AD9833.h") works great, but to connect more AD9833 I'd have to use precious PWM pins that I need elsewhere. With direct SPI...
Hi, I have been trying many things, I can have a HID and USB Host Serial working at the same time, but currently not two HID, With this code it is clear why as it has only one HID, lets see that a bit later, but now...
Hi,
I want to communicate with automotive sensors via CAN-Bus on the teensy 4.1. I'm using the SN65HVD230D with the FlexCAN_T4 library. Receiving works, sending messages doesn't. As soon as I use the FlexCAN_T4...
Hey guys, me again.
I bought this touch screen display from PJRC.com
and applied the code written here to a teensy 4.1
the display seems to be working but i cannot get touch to work. I triple checked the jumper...
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...
Hello Community,
in my project i want to measure the RPM of a motor with an Inductive Proximity Sensor with 400Hz for further processing.
I am using an Octocoupler to decouple and reduce the noisy electrical signal...
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! My only I2S DAC board I have available to purchase is a UDA1334 breakout by Adafruit, but it only works when I touch the pins of it, otherwise I just get noise. See the attached videos below.
Hi, I am working on a project using the PT8211, and running into an issue where I am seeing a pronounced ~2kHz noise on the output of the chip. This happens even when I write super stripped down audio code that...
That's how I'm feeling right now in regards to my relationship with PJRC, and I suspect there's a similar feeling in regards to PJRC"s relationship with NXP.
Has there been any investigation into alternative silicon?...
Hello!
I am working on integrating a Teensy 4.1 in to my project and I am designing my own board and I have some questions about components that are not easy to get/out of stock.
Currently I am working on the...
Hello,
I want to implement keyboard tracking for the cut off frequency of a LP filter. I just can't find the maths behind...
Say I play a A4 = 440 Hz. My filter is set on FC = 1000 Hz. A certain amount of...
Hello All...
I'm attempting To Bit-Bang A 14 Bit ADC and need to read the ADC as fast as possible.
My Teensy4.1 is running @ 1.008 gHz Clock With heat sink and fan
I'm using pin 20 as my clock pin
For...
Greetings to all. I'm implementing a very simple tcp server with Teensy 4.1 and I've run into two situations where I would need some guidance.
First, I realized that I can only connect up to 7 clients...
Hello,
I'm trying to use Teensy 4.1 to communicate with a device that only uses 8E1 data format in terms of serial communication. I read on PJRC website that Teensy 4.1 doesn't support Serial1.begin(baud, format), so...
Following is a complete source code.
The intent is to use LittleFS to save and recall data to and from program memory on a T4.0. The directory listing shows the file is created but that it has zero size.
What I...
Hello everyone,
First time posting here, but not the first time on this forum. I am also french Canadian, I might make some horrible mistake, please don't judge. :)
I am not a expert in electronics, more of a...
I have a spare Teensy 3.1 and I would like to use a 10k potentiometer as a steering wheel.
I put the board in mode "Keyboard + Mouse + Joystick" but I can't see in the library documentation how I can use the 10k Pot...
Hi all,
Very new here.
As a hobbyist stretching back to the 80's, I have dealt with EPROM erasers, ZIF sockets and lines of EPROMS. I have sat there gobsmacked at processors like Z80/NSC800, 8085 SDK from Intel,...
Hello every one,
I have a project needed IO, RTC and SD to store data, so the TENNSY 4.1 is for me the choice.
I need to use RTC and have RTC reference, so I weld wires to connect a CR2032, like descibe on the...
Hi,
I am just starting a project that is using LED sheets... they are essentially an LED strip zig-zagged. The difference is that each RGB "LED" is actually 3 White LEDs. The strip has TM1812 controls but using the...
Hi all,
I am mentoring a group of students that are using the teensy 4.1 , they have been having problems with the VIN source exceeding well above 5 volts because of faulty circuits which led to damaging the teensy....
I will start by saying I am new to using Teensy so apologies in advance for any stupid misunderstandings!
I am trying to get the serial monitor working with a Teensy 4.1 device
The device is working and I can...
Welcome.
I'm from an European Union, schengen and Euro zone country. I would like to know of any recommendation to most cheapest possible website to buy 3 Teensy 4.1. The country is Portugal. What is the right website...
Hello,
I bought a Teensy 4.1 through the official pjrc shop some months ago. It recently just died on me and is now bricked. When powering it the red bootloader LED flashes twice, then waits for 5 seconds and then...
Hi.
I've had a search on here but couldn't find the answer to my question.
This is my first time using a Teensy and I only know enough about coding to be dangerous so apologies if I am making some stupid mistake....
I am starting an SPI transaction on a Teensy 4.1 with:
SPI.beginTransaction(SPISettings(100000, MSBFIRST, SPI_MODE0));
I am expecting that the SPI clock rate would be 100KHz, as specified. However, my scope and...
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...
Hello,
I'm pretty noob and Teensy is the first time I've attempted DIY electronics after a decade (I used to build guitar pedals for myself, a very distant hobby). I bought Teensy 4.0 + Audio Shield. I was going...
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'm trying an experiment. What better way to learn a subject and to be more community-involved than giving instruction on it? I miss giving workshops, so I've just created a Google meeting where I can do some screen...
Hi,
I have Teensy 4.0 and ADS1256 module. I read data from ADXL and send via USB to PC. But I have problem with lot of noise from USB. If I use USB isolator, it is OK.
But I am thinking about otehr possibility -...
Two years ago, I bought all the parts needed to make 4 "Ornament & Crime" DIY Eurorack modules -- except for the Teensy 3.2. Life got in the way, and now I finally have time to build them. Does anyone have extra Teensy...
Hi all,
Keypad library appears to be at least semi-broken on Teensy LC. Lowering clock speed appears to help somewhat. Wondering if anyone has suggestions for alternatives?
I had a 4x6 matrix keypad fully...
Hello I am hoping someone could help me out with my code. I can't seem to get both texts to
display at the same time. The smaller "STANDBY" text shows, but the larger text which displays
the transponder code will...
Hi,
I have ported my project from using TinyUSB stack and FastLED on a generic Raspberry Pi Pico to
a Teensy 4.X with using your amazing OctoWS2811 library, I've got almost everything to work perfect,
but there's...
Hey! I am in the process of migrating a project from the arduino to a teensy 4.0. It is a Sequencer Module for a Eurorack Synth. It can take to trigger inputs for counting through the 2 Sequences of my module. In the...
Hi
from a long time I am using that schematic : http://adam-meyer.com/arduino/N-Channel_MOSFET
using a RFP50N06 instead of the RFP30N06 (which is mostly obsolete).
I made several set-up with Teensy3.2 or LC with...
Teensy4.1 project has several SPI sensor devices tied to just one Teensy SPI port. The sensor has its output SDO and input SDI on the same sensor pin. So it's bi-directional SDIO for reading data from and writing to the...
I have a brand new Teensy 4.1(Authentic, not a knock-off), and I am trying to upload this program to it just to make sure it works:
void setup() {
Serial.begin(115200);
}
void loop() {
...
I am making a split keyboard with a pair of 4.0s and I am unable to get a basic master read sample working. Do I need pull up resistors for this scenario? I'm using a common ground and pins 18 and 19. Any tips would be...
I would need to setup a timer in a class constructor with a non-static class member, using the TimerOne library.
How can I do that, given the attachInterrupt function is expecting a free function as an argument?
...
Hello,
Been searching for ways to program without pressing the button. Could the teensy loader software include that as an advanced option?
The projects I've found that do this have so far been limited to standard...
Seeking a bit of project help.
I'm using a circular touchpad in absolute mode (DIY touchpad joystick).
When I operate the touchpad it reports the x/y coordinates properly for me and I love it (even checked in...
Hey everyone,
i didnt come up with a better title, so pleaso excuse me if the topic, maybe, is not directly related to the title name!!
So i´m working on my "TeensyTouchDAW" which consists of an 8 Track sequencer...
Hey all. Name's Liv. I'm working on a polyphonic FM synthesizer using a teensy 4.1 and audio shield. It's working pretty nicely! But I am having trouble specifically when there are >1 carriers and >3 voices playing. ...
Hey guys.
I just wondering if possible is moving this function to arm math and floating operations. I’m totally new with arm math and not sure.
// Multi ++++++++++++++++++++
inline uint32_t M32x16(uint32_t x,...
Hi,
I have an existing project for a custom board using Atmega2560 made on PlatformIO on VSCode.
I use EEPROM to store some configuration data. My code takes Serial data from all serial ports of Atmega2560...
Hello Paul.Stoffregen and the PJRC team,
You are the author of the Teensy Audio Library v1.57
Is there a possibility to get your intriguing library to be usable
via PlatformIO and VSCode?
- the last...
Hello and thank you for your video presentation about processing audio on the teensy. I'm trying to round up hardware and noticed that the 3.2 is out of stock. Is it possible to use the 4.0 interchangeably as long as I...
About 3 years ago I started designing a CNC controller board based on the Teensy 4.0. It worked really well but needed a few more pins so I moved up to the T4.1 and added in ethernet. I posted about it here in Oct...
I was running a Teensy 4.1 with some code to perform an imperceptible mouse jiggle to the connected laptop.
void setup() { }
void loop() {
Mouse.move(1, -1);
delay(25);
Mouse.move(-1, 1);
...
Hello
My first post. I am stuck.
I am using a Teensy 4.0, i have the LRCLK at 96 kHz BCLK at 6.144 mHz and MCLK at 24.576 Mhz.
The ADC is a WM8782.
I can use an I2S DAC and get the output from the ADC into...