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...
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...
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 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 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...
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...
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...
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 : ...
Hi,
I need encoder for my midi board.
Can I use Bourns EAW0J-C24-AE0128L with teensy 3.5 ?
If anyone can help me on choice of endless encoder I really appreciate.
If you have tips to connect and use encoder...
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....
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...
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...
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...
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....
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! 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...
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...
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...
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...
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 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...
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...
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...
I'm having a new issue with my sampler pedal project. Previously, it would work fine (though with some noise, which is a whole other issue) when connected by USB to my laptop, but wouldn't launch when connected to a...
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...
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.
...
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...
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...
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...
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...
I've created a custom controller for my robotics controller, it's connected to a Raspberry Pi running Raspbian Buster. It'll run for 5-10 minutes and then stop sending data. The USB plugs are inside the enclosure so I...
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...
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...
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 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,...
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,
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.
...
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...
I'm converting C code from a PI 4 to a Teensy 4.1. For the PI I use this to get the full time to nanoseconds:
struct timespec gettime_now;
long long f1_on_time;
clock_gettime(CLOCK_REALTIME, &gettime_now);...
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....
I built the project shown under this Youtube entry using a Teensy 4.0 and the 4.0 Audio card and a Sandisk Ultra 32 GB micro SD card; it sort of works but there are issues that I see have been experienced by others...
I just got the audio shield for the teensy 4.0 and I'm having trouble getting sound out of it. My project requires that I have the shield separate from the teensy so I have them both mounted to a breadboard and I'm...
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...
Here you go :-)
A few links:
Repo: https://github.com/luni64/EncoderTool
Documentation: https://github.com/luni64/EncoderTool/blob/master/Documentation/Overview.md
Schematics:...
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...
I have a T3.6 that has been powered up with some connections unplugged
the board illuminates the led on startup but faintly
I have checked the voltage - there is only 1.6v
there is no serial communication
...
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 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...
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...
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...
Hello,
i want to use a library to generate XY"-100 Signals to control a galvometer.
It uses the Flex timer module to trigger the dma to write the data.
The library has two implementation, flor the Teensy LC and the...
Hi all,
I was removing my teensy 4.1 from a breadboard with a screwdriver like an idiot and accidently broke off one of the resistors on the back of the board.
I'm wondering if anyone can provide me with the...
HI I have the following code and pin thinking that it may be reading sd card. My computer can read the MicroSd Card using adaptor . its 16 GB 10 however the IDE show
Unable to access the SD card
10
Unable to access...
I used to use the 3.2 plus the prop shield to run some addressable leds, send audio to a 2w mini speaker, and use the giro-scope inside the propshield. Can I do this all with the 4.0 + propshield since 3.2s are out of...
Hi All,
I've been dealing with this problem in the last 3 days. Teensy 4 connected to a DIY DAC based on TDA1387. Only BCKL, LRCLK and DOUT connected, no MCLCK is needed by it.
When listening, a very annoying...