https://www.raspberrypi.org/products/raspberry-pi-pico/
I will be switching because I absolutely hate working with the Arduino IDE on the Teensy 3.X and haven't been able to rig up my own ARM command line dev...
Here is a sixth beta test for Teensyduino 1.54.
Install into a clean copy of Arduino if you previously installed beta3 or beta4.
SdFat-beta was renamed to SdFat. You may end up with conflicting duplicates if...
Would it be possible to talk to the PT8211 DAC over I2S with a Teensy LC?
This small program compiles without error for Teensy LC but no sine output out of the PT8211 kit. This code does work on a Teensy 3.2.
//...
Here is a seventh beta test for Teensyduino 1.54.
Digital signatures have changed on Windows. Edge/IE might show a dire warning.
Please click the site is safe button.
Install into a clean copy of Arduino if you...
Hi,
In July I posted here to show some changes that I had done to the "Audio System Design Tool"
https://forum.pjrc.com/threads/61630-Audio-System-Design-Tool-update-AudioMixerX-lt-n-gt
note. in the following...
I’ve been working on a Teensy 4.0-based music machine for a while, and I’m getting down to the last niggly noise issues. I’m hoping this is something people have solved before, but I haven’t managed to find any...
I am trying to use Serial.rts() as a signal from a Windows program to teensy code, like this:
const int LEDpin = 13;
void setup() {
Serial.begin(9600);
pinMode(LEDpin, OUTPUT);
digitalWrite(LEDpin, LOW);...
Hi,
I'm having trouble reading directly from the SD card into PSRAM. I'm using a Teensy 4.1 with one 8MB PSRAM chip. When I pass a pointer in PSRAM to the FsFile read function, the read would often fail. The same...
Hi everyone!
I'm trying to send and read a text file from PC to the teensy. I already created a software on the PC with VS and I managed to send the file to the teensy.
The file is like this:
aaaaaaaaaaaaaaaaa...
Hi,
at the moment I have a project, which is of some interest for people, who are not familiar with programming, but do some electronics. T3.5 or now T4.1 is used and a SD card is used too.
Perhaps the following...
Hey all,
Looking for some advice on sampling some raw voltages from a hydrophone (eventually trying to do some TDOA / beamforming with 4 of them).
Here is my tentative plan (hydrophone-> amp->recombine balanced...
Ok,
an easier question.
If I want to support a new USB device for the USBHost library - where do I start? Which are the first steps?
I've attached all info as Windows sees it.
My Program should not only...
Hello everyone,
This is my first time ever using a teensy so this might be a dumb post but here it goes.
I cant seem to get my teensy 4.0 to work with external power to the Vin, without usb.
Ive followed this...
Was working on my DCC++ for Model Train Control with Teensy 3.x and Teensy 4.x as a result of problem that some one was running into with running on a T4.1. Going to get complicated so here it goes.
In DCC you have...
I wrote a simple program to try and understand a 250 usec delay I am seeing between the sgtl5000 input to its output. The intent of this test is to take a single sample from the codec ADC into the teensy and then send...
I have started to make a list of supported chips / boards.
I do not think that it is complete.
Maybe we can expand it together?
If you don't feel comfortable editing in the wiki, you can also post here, I'll expand...
Hello,
My plan is to deport the TFT display to make the screen universal for various applications.
The connection between the Teensy and the screen could be by radio or by wire link.
On the Teensy side, the...
I recently completed a project using a Teensy 4.1. Works great. A friend of mine duplicated it. Also works great. Another person is duplicating it but can't get the hex file to load. Hovering the mouse over the...
Hello,
I am a beginner in the world of Teensy, and I bought a version 4.0 + the audio adapter.
I want to experiment audio filters (bandpass, high pass, low pass).
For this, I want to use an FIR filter, but I...
Hi, does anyone have an example of how to use the SdFat library with the Teensy 4.1's built-in SD card slot? This is related to my last question, but I think this specific piece of information may be the key to getting...
Just started testing a 4.1. I've written a very simple program to monitor CPU temp. It reports temp once a sec and blinks the LED for ,5 sec. I've always used the guideline that CPU temp should be around 40C at idle...
Hello, the speed, pins and ram of the Teensy 4.1 is incredible. All of my peripherals are 5v though (LCD, Rotary Encoders with push switches, RGB LEDs + more. I'd happily make the jump from an Arduino Mega to a teensy...
Hi,
I have a Teensy 3.2 and an audio shield and I would like to connect a minimum quality speaker to be clearly heared 5 meters far.
I don't know how to chose the speaker and if I have to preamplify the line out or...
Decided to port the CommandStation-EX (https://github.com/mjs513/CommandStation-EX/tree/TeensyBranch...) library that currently only supports Arduino Mega and Arduino Uno boards to the Teensy T3.x and Teensy 4.x...
Hello,
What is the current state of support for the Teensy 4.x from the Audio Library? From reading the forum, it seems that it works and that people are actively using it, but the readme on github only talks about...
Hi there;
I'm trying to control a 64 led matrix (on my push2) that is controlled simply via midi noteOn() massages.
I have this code :
#include <Arduino.h>
#include "USBHost_t36.h"
USBHost myusb;
Hi there,
My teensy 4.1 is connected to the mpu9250 over SPI1.
I found out that when I use a CPU Speed of 150mhz it works. It doesn't work at any other speed.
The security of my project is a top priority and when I...
Hi I, am not able to use Teensy 4.1 with Arduino because Teensy4.1 Install will not Install. I found this error lib/version.txt file missing.
I would appreciate help.
Sincerely,
soky157
In the code below, if I do not put the analogRead function in the code, the Teensy wont show up via USB and I have to press the reset to upload new code.
However if I put the analogRead in, it functions without issue. ...
Hi everybody and especially Paul,
let me say first that I´m totally impressed of your work. Since Corona gives me enough time, I´m learning to work with arduinos. In my first steps I build a keyboard-controller using...
Hello everybody,
I am trying to produce a 150 khz sine wave from the teensy 3.6 I understand that this is far greater than the DAC speed according to the spec sheet. I was wondering if this is possible to do with the...
Hi,
there are some threads about software restart, but I could not see, which will lead to an easy way to just do it with T3.5/3.6/4.1 using Arduino IDE.
I just need a function which will restart the device.
Many...
Hi! I'm not sure if this is the right question to ask, but I currently implement a hard fault function to do a (WIP) crash trace dump, but after the dump I'd like to re-enable USB interrupts so I can re-flash the Teensy...
Background:
- This is for work.
- I am using a custom three display Processing (v2.2.1) sketch on a Win 10 machine that connected to my UNO R3 via USB running 'LEDstream_FastLED' on the UNO.
-When I inherited this...
Hello,
I'm seeing audio DAC output glitches when reading from Teensy 4.1's onboard microSD card using SDIO.
I'm using Teensyduino 1.54 beta#6.
Here's a sketch that reproduces the issue:
#include <Audio.h>...
Recently I saw some strange behaviour of a Teensy 4.1 with Ethernet, both PSRAMs and MicroSD.
No overclock, nothing else connected to the 3.3V rail.
During heavy data processing and transmission, it sporadically...
Code below shows usage of the 1062 NVRAM bytes. For use it shows the "SDK" documented bit change required for function.
This code is RAM'ish - but on the RTC unit it appears a bit sluggish - versus a real RAM write...
Here is a noobie question.
What is the least load way to route the 32.768 kHz low speed clock to an output pin on a Teensy 4.0 / 4.1? It does not need to be gated, just always present from boot.
I would prefer not...
Hello everybody,
for my Master's Thesis, I am currently trying to implement a system which needs to log the data of five analog sensors with relatively high frequency (100-1000Hz logging frequency is desired).
...
I hate C. It gives me nothing but problems. Where is a nice straightforward command such as FOR X= 1 to 3 (BASIC).
I have tried many variations of this program and nothing works PLUS the error description means...
My project is SPI intensive with significantly different priorities on SPI usage, and I would like to make use of all three SPI connections. I see pins labeled MISO and MISO1 on the Pinout Card. I don't see anything...
Hi, i found a nice schematic for a over-voltage protection circuit when using 3.5mm connectors for midi, as users might plug cv and gate(+-12v) in accidentally
The schematic/discussion can be found here:...
I am replacing an Arduino Uno with a Teensy 4.1, but I'm having trouble with serial communication. On the Uno, when I send "CHAN" from the serial monitor, the Arduino responds with "#OK." Using the same sketch on the...
Hello!
I need guidance on making a function for this:
I need to keep track of the biggest sample in the last ~5ms or so. It needs to update for every new sample that comes in. I'm sampling sensors at 50kHz.
...
I did a clean install of 1.8.13 on Windows 10 oro and I can not compile anything because is is looking for hardware/cores that no longer exist.
Every time I try to compile anything I get: loading hardware from...
I'm trying to precisely set a clock from a cheap GPS unit with PPS output on a Teensy 3.5. I have the code apparently working and in manual comparisons (pressing a button while watching a clock) to a real time source...
Hello Paul,
I published a few libraries which are trying to support also the Teensy platform, like IRMP, IRremote, Talkie, ServoEasing , PlayRtttl etc.
I installed a CI actions for them e.g....
I am working on a project with the teensy 4.1 that I want to be able to detect a loss of power and save some things to flash or the sd card. I am looking at this circuit that provides a capacitor for a brief bit of...
Dear community,
I'm successfully using a Teensy 3.6 as a Unicode-compatible native MP3 player, and would now like to add MTP.
However, I am running into several dependency issues. There seem to be two libraries: MTP...
Hello!
I see my Teensy has multiple sets of SPI pins. Can I run SPI on more than one set of pins simultaneously?
The documentation suggests no. It seems SPI is a "Singleton": One instance per application. I can...
Hi all,
Like many Teensy 4 users, I've been eager to funnel all of that computing power into some slick HD audio.
This past year, HiFiBerry released two next-gen audio cards for Raspberry Pi - DAC2 Pro and DAC2 HD....
It's a new year, and time to try new things.
If I want to get a PCB made, maybe a very small batch, what files do I need to send? Is it just a PDF? How good do they have to be? To me, this is one of those things...
Dear all,
I teach the C langage in a university and I am searching for a simple, low cost microcontroler platform for my students, something that they could easily use by their own outside from the classroom. I...
I have been using a Teensy 4.1 to send data to MATLAB via the serial link. I have maxed out the link budget and need a new solution. Any advice on data acquisition hardware and MATLAB\OS config that can get me a higher...
Hello everyone,
I'm using this library for the Charlieplexing https://playground.arduino.cc/Code/Charlieplex/#Functions
I'm using pins 24,25,26 to help me light up 6 LEDs
Here are my defines
#define...
Hello, I'm looking to use SPI for my 74HC165 chips to detect button presses using the schematic and code found here: http://www.gammon.com.au/forum/?id=11979
The schematic on that site only uses MISO and SCK SPI...
Hello ladies and gentlemen.
I am currently designing the controller for my radio controlled submarine. I am using a Teensy 3.2 (because I have one)
I however, need to read the PPM signal from 14 RC servos. 2...
I have a Teensy 4.1 and it appears the PSRAM I soldered on to it either was mis-soldered or the chip does not work (external_psram_size is 0).
I used Paul's test for psram:
...
Hello,
I would like to reverse the phase of the audio signal (180 °) to experiment around the cancellation of sounds.
I tried with a mixer to set the gain to -1 (i tried too with the amp), but the signals are not...
Automotive digital tachometer signal - 0-5v square wave - rising edge at each cylinder TDC on ignition stroke. 6 cylinder engine will produce 3 rising edges per crankshaft rotation (each 4-cycle cylinder only fires...
A couple of times I've wished I could run Linux on a Teensy 3 or 4. Wonder how hard a port would be? Yeah, I know, Teensy is a different animal, but so was the RPi back in the beginning. One Teensy as a general...
What am I trying to do: I am trying to swap a 48pin tsop nand but it appears to be married to the board somehow, it has no unique id, When I install the exact same chip exact same type: K9HAG08U1M, datasheet:...
Hi everyone,
I am building a synthesizer with the Teensy 4.0 and the audio library. So far this has been delightfully accessible and I am liking the results. I ordered a MAX98357A Class D Amp to test the sound with...
Hi,
until now, I used the well known small OLED and TFT displays, up to 2.8", without issues.
Now I need something much larger: say 4.3" as very minimum, 7" if possible.
Resolution is not critical; 320x240 or...
Hi Teensyers,
I'm building a Teensy poly synth and would like to figure out how to build out my own DAC hardware. Here's a pic of the prototype board. Currently using the Audio Board, which honestly works great, but...
Hi,
Just got a couple of the very nice ILI9341 displays to play with. I got the 'graphicstest' example working very nicely, but I can't get the 'touchpaint' one to work. The wiring for the graphics is obviously...
Hi. I am trying to figure out what are the available alternate SPI pins for this two devices, using the Teensy 4.1.
ILI9341 Display
I am using the ILI9341_t3n lib, but I think my doubt apply equally when using the...
Lately I've been dabbling with some projects that involve Wifi and Bluetooth Low Energy, so I've been trying different microcontrollers. First there's ESP8266 for wifi, which has given me nothing but pain - only 5 GPIOs...
I am a medium skilled arduino programmer who is migrating to teensy. I am working on a big art project and trying to create a MIDI instrument that uses a set of solenoids (will hopefully be between 50-100 at the end) to...
I wasn't sure if this should go in the 1.54 beta 5 thread, or one of the other threads. I haven't been closely following a lot of the work that is going on.
I was wondering where we are in terms of being able to use...
Hi everyone,
I am trying to build a Line-Out from my Teensy Synth. Since I am using a MAX98357A module for audio output, I can't use that to connect it to an external amp or line-in on a pc.
I bought a couple of...
Ladies and Gentleman,
i'd like to drive some WS2812 via a Logic Level converter for security reasons. As real estate is precious on my project i'd like to go with a SMT type, preferably one single 3,5>5V converter. ...
Hey, guys!
I am trying to figure out, how to use the Teensy 4.1 as a telnet server. After long research I haven't found an example or solution for my problem, yet. I'm pretty new to programming in Arduino. So please...
My PC does not recognize my newly purchased Teensy 4.1.
It recognizes my Arduino thru the same USB port, but not my Teensy.
I have also tried connecting the Teensy to different USB ports. Same result.
When I...
iam trying to get TMR4 to work as trigger source for dma transfer. i spend quiete some time so far but but no result as expacted.
interrupts are fired at a constant rate but arnt as predicted. changing samp_timer value...
I have been working on a Teensy 4.1 debugger mod for a month or so now and I figured it was in a good place to share my progress. This project started by de-soldering the MKL02 chip, soldering magnet wire onto each pin...
Hi,
I'm using 4 rotary encoders in my project on teensy 3.5, and i managed to get the first 2 encoders work great with interrupts. they are connected on pins 51,52,53,54.
I copied and pasted the same code to the...
Hi,
I have been working with a Teensy 3.2 connected to a ILI9341 TFT/Touch display from Paul's store, and I am having a problem debouncing the touch screen. I have a very simple sketch that takes a stylus touch...
Hi everyone,
I'm slowly working though different parts of the documentation, to build the enough understanding of the i.MX RT1060 to use it in one of my projects. Two important components will be a LCD screen and a...
I have no experience using the Teensy for USB. Mostly I've used it for digital I/O and logic.
I need to send/receive short (<40 chars) command style ascii strings to/from a digital motor controller that only talks when...
Hi all,
I have Teensy 4 and two OLED displays. 0,96" works fine but on 1,3" I can see just random points.
My code is:
#include <Wire.h> // SCL pin 19, SDA pin 18
#include <Adafruit_GFX.h> ...
Hey everyone,
So I want to use my Teensy to control how audio gets routed to 12 different places. The audio is line-level (2Vpp max) and is a single mono signal, and it is going to 12 mono amplifier IC's - the teensy...
Hi.
I'm doing a project on the Teensy 4.0 where I want to load a .wav file, perform amplitude analysis and place 16 cue points throughout the file. I've only done one small project on the Teensy before this.
Is...
Hi,
I'm trying to use a TLC59116IPWR that I made a pcb with but nothing happens. Here is the schematics:
First, I noticed I might need to actually wire RESET and REXT, but I tried to do so by touching resistors...
I have my Teensy 4.1 powered by an adafruit powerboost 500 with a lipo. I want to be able to charge the battery and reprogram the teensy over the same USB port.
What I've done:
USB data ---------------> Teensy USB...