Am I correct in thinking I can connect an SD card socket directly to a 4.0 without any other parts?
The pinout of a MicroSD I believe are:
1 NC Not used
2 CS Chip Select
3 COPI Controller-out, Peripheral-in...
I'm attempting to come up with an electronic lead screw for my lathe using a Teensy 4.1. So I am working out some of the critical pieces. My code only implements one case at a time, and there is no way to change...
Hello all
Looking for a new project, and thought I would try and make a canbus reading gauge for the wife's Mini. Want to know the engine temp etc and it suffers from a lack of gauges.
After about 2 hrs Googling...
Hello
I am interested in using teensy boards in my MIDI controller projects.
I need loads of inputs for internal interrupts, and when I say loads I mean loads (300)
I was wondering if it is possible to network...
Hello teensy friends
I programmed a midi dump function for my Synthesizer with Teensy 4.1. Transmission errors occur when I send Patch Bank data to the PC via usbMIDI.sendSysEx. The data packet is 128 * 348 bytes...
I have a copy of Atari 7800 "Ballblazer," which contains a Pokey sound chip. If I desolder it from the board, is there any way to "use" it (for playing music) via a Teensy 4 or 4.1? I also have a teensy audio board...
Hi,
On a project I have a board with no less than 14 ADCs reading K-type Thermocouples and PT100 sensors. These are all SPI and I've been running them successfully for a year by now. For the latest revision of the...
Hi, I read all the recent threads about shortages for the newer Teensy's. Sorry if i missed the T3.2 update. Is there any info on when Teensy 3.2 may be back in stock?
NVM - saw the update on...
I have a circuit and code that worked fine in testing but now that I have packaged it all I does is burn up teensies both LC and 3.2. The attached PDF shows the connections to the teensy. Sorry I am not good at drawing...
So whats the catch? Well there are two.
Firstly TeensyCam doesn’t exist YET. After years of playing around with micro based cameras I believe Ive finally come across something that should work properly. For the past...
Hi,
I am using the DHTlib with a DHT22 and a Teensy 3.2. The code works okay for temperatures greater than 0C. However, when the temperature drops below 0C, it returns a checksum error. The datasheet for the...
For various reasons I've been looking at various ways to get reasonably fast parallel I/O for 8 bits on a teensy 4.0. None of the T4.0's GPIOs that are used for digital I/O have 8 contiguous bits, but I did find that...
I searched but didn't see this discussed on the forum. The T4.1 is out of stock, is there an expected date when there will be more? I am seeing a lot of orders for my T4.1 based grblHAL breakout board and the customers...
I have been using LittleFS for a QSPI data logging application for the last year on a T4.1 with a 64Mb W25Q512JVEIQ NOR chip. This is being used to log flight telemetry on amateur test rockets, so it is a very volatile...
Hello
I have a T3.6 board using Serial (ie USB) that works fine immediately after it is programmed. But if I unplug/replug it at the USB then it misbehaves - sometimes extra characters, sometime freezes always...
Hello,
I'm using a 10 slot rotary switch and breakout board from SparkFun. https://learn.sparkfun.com/tutorials/rotary-switch-potentiometer-hookup-guide
I've wired it up and tested resistance. All wiring and...
tl,dr: When I declare an `AudioInputI2S` or `AudioOutputI2S` object and upload the code, my Teensy 4.1 won't boot: no USB devices (host computer doesn't even see it), no GPIO activity, nothing. It doesn't even get to...
I'm using the USBhost_t36 lib to connect the popular Arturia minilab mk II midi keyboard/controller to a synth I have developed for Teensy 3.6. Unfortunately note on and off events are lost when I play keys and move the...
Hello all,
I've created a sketch to read some outputs from an analog-to-digital converter. I've chosen the AD7124, from Analog Devices, and found a well-reviewed library online from EpsilonRT : ...
Was testing playing both wav and mp3 files off of both SD and USB drives. For some reason only the mp3 files would play. Using Arduino 1.8.19 and TD1.57B1 and the latest cores from @KurtE's GitHub (06-03-22).
Also...
I am playing around with some MTP stuff and trying to detect if the Sketch is using SD library or not... So __has_include...
But I am getting strange results.... Or at least the feel strange to me... Short version....
Arduino IDE 1.8.19, Teensyduino 1.56, TyTools 0.9.7.
Symptom: Flash of Teensy 4.1 causes hard crash of laptop - screen freeze 10 seconds, unresponsive to keyboard or mouse, then laptop power turns off.
OS: Ubuntu...
Hi All,
Mistakes, we all make them. But we also learn from our mistakes.
I think I might have fried/destroyed/killed my first Teensy today, so sad :(
- Wouldn't it be nice if we could learn from each others...
I'm a (just) retired embedded engineer (hardware design and some coding e.g. drivers) but just starting on Teensy. I have this idea for a looper based on the Teensy 4.1 but, to have useful loop storage, it would have...
I have a project where we need to connect a CCID USB Card reader to our Teensy 4.1 Based board. We would like to be able to just do the basic functions of detecting when a Card/FOB is scanned and receiving the Card ID....
Hi All,
I made an auto-repeat motor control system with three pots to control speed, acceleration and delay time onT3.2.
I was able to stop the auto-repeat by using the Interrupt button, but realized that there is no...
Hello!
I’m doing an electronic drum project where I have a teensy 4 inside a drum doing all the sensor processing and MIDI triggering. It sends out midi through a usb cable to a pc that triggers all sounds.
I’m...
Hi all
I am currently working with an Arduino mega to control 1536 WS2812 LEDS or Six 16X16 WS2812 panels.But this is the limit for the mega.
I have no problems at all EXCEPT I need to control EIGHT panels =...
Teensyduino 1.57 Beta #2
Here is a second beta test for Teensyduino 1.57.
Linux 32 bit:
https://www.pjrc.com/teensy/td_157-beta2/TeensyduinoInstall.linux32
Linux 64 bit:...
I am experimenting with the latest KurtE/MTP_Teensy + Teensyduino 1.57-beta1 on a Teensy 4.1.
I am working with an SD card formatted as FAT32 and has 490+ files in root. The files on the SD card were created over a...
Hi all,
i'm wanting to do 48-bit timing on a Teensy 4.0. The only way i can do that is to use the QUADTimers and cascade them. After testing the QUADTimers i was able to determine that they run at 150MHz and based...
Hi! I'm using a teensy 4.0 on a breadboard and trying to get 5 PIN MIDI in to work. I'm using the code and following the schematic from PJRC's Teensyduino library / MIDI located here
Here is the schematic (I'm only...
Hi all,
I am trying to get some version control and a somewhat better IDE set up for my Teensy programming and am having a hard time getting going. I usually like to use git for version control w/ VS code. I've...
Hi everyone,
I've got a overheating issue occuring that resulted in the loss of two Audio Shields Rev D and the issue is difficult to reproduce.
Using the teensyDuino 1.57 on a TeensyBoard 4.1 with Audio Shield...
Greetings, im jus starting to learn how to use this wonderful board, i have found out that i need to output specific voltages through 1 wire, those voltages usually range between 100-500milivolts.
Naturaly i assumed...
Hi all, im trying to make a audio guestbook for my wedding next week. I have everything wired up correctly in the phone, and am stuck on the coding part. Using teensy 4.0 and arduino 1.8
Here is my code followed by the...
Following instruction from https://www.pjrc.com/teensy/td_serial.html, I use this code to read data from PC host:
unsigned char bytecount = 0;
while (SerialUSB1.available() && bytecount< 128) {
...
Hi,
I send data from adxl via ads1256 and teensy 4.0 to PC via USB. I have some issue about noise. If I connect it to PC I have OK noise. But if I connect to tablet or notebook, the noise is 10x higher. Same code, same...
Been looking at making a GUI for my electronic lead screw project. Are there any libraries that folks know of that are a step up from the ILI9341_t3 sort of libraries? By that, I mean a little higher level. In what...
No matter what I do I cannot connect properly the Teensy 4.1 with the Audio Board 4. I have read and followed all the suggestions from the Technical Section. I decided I would go the Teensy 3.6 and Audio Board 3...
Trying to figure out this Teensy USB host stuff, but found no documentation on it so here is the issue.
I'm on Teensyduino 1.56 Arduino 1.8.19
I want to connect some other Teensy( 3 x 3.2s) devices over USB serial...
Hi, I just got this mail, wanted to confirm it real before I double pay via PayPal.
I'm very sorry, we can't process your recent order because our credit
card processing service was abruptly closed yesterday.
...
So I want to create 6 to 8 individual 16 bit audio outputs from a Teensy 4.1, my idea is to create a 6 voice oscillator board similar to the TSynth but with the dual VCO section only created with the Teensy.
Problem...
Hello! I tried to look through all the other forum posts about this before creating another of my own, but I haven't been able to solve my issue. I am making a MIDI USB Host like this one...
Good Morning all
@KurtE and I have been at it again. Recently we started playing with a WaveShare GC9A01A 1.28 Round Display as shown below.
Since we cannot leave well enough alone we modified the ILI9341_t3n...
Some time back I built a frequency counter using a Teensy 3.6. Very minimal amount of code required and it worked great. Input if I remember right went directly to pin 13 (LED) (SCK0). Since the 3.6 version is out of...
I am trying to build a water sensor with the design in the image below (JUST the high water sensor). I have substituted a 2n3904 for the BC548C (because I don;t have any of these). I thought they were similar enough to...
I'm working on a project where I want to sample a 100Khz 180-degree phase-shifted square wave. All I want from the square wave is the amplitude. The actual amplitude doesn't matter just that after the filtering the...
Hi folks,
I'd like to update the USB audio for Teensy 4 to handle more than 2 channels (starting with 4 but eventually 8) which it only currently supports, so that I can play 4/8 different channels from my computer...
When i try to receive 348 Byte sysex data via midi with teensy 4.1, the data is missing and error !!!
Receive 348 Byte to usbMIDI works fine :)
MIDI.setHandleSystemExclusive(myReceiveSysEx); //Doesn't work...
Is it possible to get a few more bits by modifying the file pwm.c or writing a new function? With my basic understanding, it seems that the quad timers are limited to 16 bits and flex timers limited to 15 bits with the...
After following the getting started guide and installing Teensyduino I was able to upload and run the two provided blink sketches with no problems. Unfortunately now when I try to upload the basic blink sketch to any of...
Hi,so I've been working on this project of mine since over a year now. Short story short: I want to convert a 2011 MacBook Pro keyboard and trackpad to an external usb device for use on Android. I got it working and it...
Would there be anyone interested in an adapter board that makes a Teensy 3.5 work with Arduino Uno/Mega/Due sheilds? It's basically just an adapter that arranges the Teensy pins to conform with the Arduino layout. I...
Hi! I have a couple of questions about IntervalTimer and sharing variables safely
https://www.pjrc.com/teensy/td_timing_IntervalTimer.html (Interrupt Context Issues)
I'm working on some steppermotor code with Teensy...
I can use NativeEthernet together with the original ILI9341_t3 library, this works well using SPI, not SPI1.
But now I want to migrate my display to SPI1, because I need SPI for the HighPowerStepperDriver lib from...
I have a teensy 4.1 board here on my desk. It is my first teensy project and my first contact to the arduino frame work. I started with PlatformIO and get a blinky program successful running. Now I want to test the...
I need a 2 MHz clock pulse, which I tried to do with PWM using:
analogWriteFrequency(14, 2000000);
analogWrite(14, 128);
This doesn't work. It looks like the maximum frequency I'm able to generate this...
Hello
I am using Teensy 3.5, Using Arduino compiler 1.8.15.
I am simply setting up an RS232 port (Serial 2) to talk to/from a weather sensor which operates at 1200 baud.
This (standard) code works as expected,...
Is it possible to use an external micro SD card on a Teensy 4.1 ?
I have some test code, see below, that works fine on the Teensies built in micro SD card.
But I want to use an external additional micro SD card...
Hier mal ein programmierbarer LED-Controller für die WS2812B Strips.
Umgesetzt mit dem Teensy 4.1 und einem Nextion-Display.
Ist zwar momentan noch recht wust aufgebaut aber tut was er soll.
Der eigentliche...
Hi
I discovered the following situation:
- There is an interrupt missing, when I combine a "1" micro second interrupt and a Serial.print. Take a look at the picture.
- with the delay it is possible to move the...
Hello forum! First time posting in the forum, have been playing around with Arduino and Teensy for some years. Been luring around in this forum and learned a lot.
So I have an ongoing art project using Teensys which...
Hello,
I have two cameras that need to be triggered at different frequencies. One camera is always triggered N times more frequently than the other. Each N trigger should line up with sub-microsecond precision.
...
Hi -
I'm trying to send commands from a Teensy 4.1 to a RS232 light controller and it's not working.
The light controller serial settings are: 115200baud, no parity, 8 data bits and 1 stop bit. The chip inside...
I'm designing a project that records audio (WAV files) to the SD card on the audio shield, inside a waterproof enclosure.
I'm hoping to be able to connect to my laptop via USB, and see the files on the SD card as...
Since most of the questions here are quite intelligent, let me ask a stupid one.
I've been working with electronics for ...50 years at least, yet still managed to blow up a Teensy by applying 12 volts to a digital...
Hello,
I've been playing around with a sketch using my mac, and everything has been working just fine. However, I needed to move the Teensy to another room to connect it to some hardware and figured I would just use...
Hi all,
With the Teensy 3.2 shortage I am trying to make a Teensy 4.0 work on a small HMI (Human Machine Interface) we make. I got the ILI9341 LCD to work correctly but the touchscreen is a problem.
With the 3.2...
I'm using Arduino 1.8.19 / Teensyduino 1.56 to code a custom PCB which has a Teensy 4.1 and 3 external MCP4922 dual channel DACs. The code is meant to take a buffer of data and send it to the appropriate DAC/channel....
Well I had everything working like I wanted it and decided to try and power the Teensy from a 12v -> 5v buck converter on Vin. Not sure what happened, but the light does not come on anymore and the USB sound is not made...
Hello, I am interested in adding more POV hats to the "extreme joystick", it currently supports 4 and I would like it to support 12. I am using a teensy 4.0. As you can see below, I have removed 2 sliders which I do not...
I'd like to make a quadrature signal simulator. This will be used to test other code, which isn't part of the discussion. A real shaft encoder has two output signals, call them A and B. I'd like the simulator to...
Hi,
I am new to Teensy, and I'd like to get a better understanding of the hardware. Is there any documentation the describes all of the pins on a Teensy 4.1 and what they are used for? Or, are there multiple sources...
Hi!
I have working project with Teensy 3.5 and Ethernet shield WIZ850io. I use standart SPI port for connection. Now i try to use Teensy 4.1, but unfortunetly i cant starting Ethernet.
How i can see in pinout diagram...
I am using this code to monitor 5 pushbuttons
int btnPins = {
19,20,21,22,23
};
int btnCount = 5;
void setup() {
for (int thisBtn = 0; thisBtn < btnCount; thisBtn++)
Hello, First post.. I'm having trouble getting 2 Teensy 4.1s to communicate with each other over I2C wire. I'm using example sketches master_writer and slave_reciever as is. The boards are wired directly together from...
Hi,
We used Teensy 3.2 for years in our project, and would continue using them, unfortunately, as you know, T3.2s are not possible to get at the moment. So, given that 4.0s are still available, I wanted to try to...
Hi all,
just a quick check to see if it is possible to adjust the size of the emulated EEPROM on the Teensy 4.0.
I'd made my project on the 3.2 and was able to get 6 save spaces for settings out of it, but since...
What kind of speed can I expect when reading from EXTMEM on a Teensy 4.1 with 16 MB of PSRAM? Thanks!
Edit: Sorry for typo in title, should say PSRAM, but I didn't catch it until after I posted :P
I am trying to put together synth that will have a filter modulated by an envelope and an lfo. I'd like to attenuate the filter frequency manually as well. Basic stuff. I have an envelope between the oscillators and the...
I have a Teensy with some extra RAM soldered on. I can play a modest amount of uncompressed WAV samples I load from SD.
This is a multitimbral sampler and I want to be able to switch samples quickly: I want to have...
Hi all,
i've been trying to get hardware SPI to work for my SSD1306 (Adafruit Monochrome 1.3" 128x64 OLED graphic display - STEMMA QT / Qwiic) display on a Teensy 3.2 but with no luck. I've been trawling the posts...