Please excuse newbie to Arduinos and programming. I have been working on this project for over a year and have been stuck on the FTP portion for over 6 months. The overall project is an audio recorder that stores...
I have been using the USBHost_t36 library with Teensy 3.6 and more recently 4.1. This has been with HID and serial devices with good success.
I want to connect a Pimoroni Kewbow2040...
Hi all,
I have Teensy 4.1 and ADS1256. I am not strong in ADS1256 so I have questions for more experinced colleagues what I need:
1) Reading 30kSPS
2) Timing is very important = 1 sample every 1/30000 seconds (one...
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...
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...
This is all done on a Teensy 3.6.
I replicated a program in Kinetis Peripheral Module Quick Reference, dated May, 2014, from NXP / freescale, specifically "4.1.3.1.1 Code example and explanation" on pdf. 44.
I had...
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...
I have an application where a Teensy 4.1 pin is used as an input. The input is a dry input (no voltage) where the pin is pulled to ground.
pinMode(loop1, INPUT_PULLUP);
However, I am concerned that someone...
Hello,
I would like use this card in my project, after reading the datasheet I can see on page 15 that I can have several sample rate from 8 to 96 kHz is it true ? Because on your site it is mentioned only 44.1 kHz....
I have two Teensys 4.1 and both are powered using the same 5V source. They communicate together via RX/TX/GND.
Main Teensy has a 128x32 OLED display connected to 3.3V and two Sparksfun loadcell amplifiers also...
Hi,
I am looking for an eagle download of the Teensey 4.1 Schematic as well as versions of the cpu and supporting chips in SMD size. After buying an SMD Hot Air station to fix some broken PCB's, I wish to design a...
I have a working ohmmeter. I have teensy 4.0 or 4.1 unconnected. I connect the - input of my ohmmeter to the teensy ground, and the + input of my ohmmeter to the teensy 3.3v line (either of the 3.3v on Teensy 4.1...
Hi,
I have a Teensy 4.1 that writes to exFAT card. Using the Jan 2022 Teensyduino which I believe the most recent. It's for a datalogger. I want two log files. I write to the files by appending to them in loop(),...
I started using a new teensy 3.2 for some code that references EEPROM data. The code works on another older 3.2. In trying to debug the code I extracted the part of the larger program to only include the problem area....
Hello Everyone,
I have connected the MicroSD to the Teensy 4.0 .
When I try to compile any Micro SD example I get:
'error: 'BUILTIN_SDCARD' was not declared in this scope'
if I try to use
const int...
I need a controller for the lights and dials in my aircraft sim. Is it possible/recommended to use a single teensy for this? or do I have to build two boxes? Which teensy?
Hello,
I've noticed something that I can't seem to find my way around.
On my teensy 3.5 and 3.2, I have code that is written for serial comm. between teensy and windows (bidrectional).
Those work fine, and I've...
Hello everyone,:D
I have a system that I need to record about 10 4-byte variables at a pace of 2K in ~25 minutes duration.
Because of the fast rate of the system, I don't have enough time to wait for the SD card...
I try use MCP4921 dac witch T4 and it not really working good. I write simple code for tremolo effect and output is with distortion :(
It must be done witch interrupt routine because rest of code require interrupts....
Hello
Simple question. I have a 4.1 and the dedicated audio adapter board.
Pin 15/A1 is noted for use as an external volume pot. I don't need this.
Can I simply use this pin as I/O, or do I need to do something...
Wondering if the rust pin on the w5500 needs to be connected? Can not find sample wiring or code that refers to the reset pin. Is it necessary to connect the reset pin if so what would be the code.
New to the teensy eco system. Got a T4.1.
I have one thing to confirm before moving on with it. We need the ability to update the firmware without using a PC / laptop. In the R.R. industry this is forbidden to install...
Hi, I'm new to Teensy. I've got the 4.1 and am looking to use this chip inside a container that needs to be permanently "potted" with epoxy. This will no longer allow access to the physical reset button. However I do...
Hi All,
Recently I hooked up an ethernet kit for my Teensy4.1. I soldered everything in and loaded up the example file UDPSendReceiveString.ino.
When I start the program, I get the message (in the serial window):...
Hello guys,
Does anyone have an example of an FTP server running successfully with Teensy 4.1 and QNEthernet
successful running ?:confused:
I need an working library to upload an download files between the...
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...
AsyncWebServer_Teensy41 Library
How To Install Using Arduino Library Manager
Why do we need this Async AsyncWebServer_Teensy41 Library
This library is based on, modified from Hristo Gochkov's...
Despite the Teensy 4.1's tiny size, I want to go smaller. I'm certain this is frowned upon but I'm trying to be a bit naughty by chopping the board at the place shown in the pic. After this is done, and using this...
I can't get accelstepper to work on my teensy 4.1.
I'm using a DM556T Driver with a 23HS22-2804S stepper.
It works perfect on ARDUINO MEGA using the same exact wiring
The wiring is as follow:
TEENSY 4.1...
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 Paul,
I'm developing a howling suppression mixer using Teensy 4.1. I need to get the data samples to perform my howling detection and suppression algorithm. My system model is shown in the picture attached....
Hi all,
I've been working on a long time project that uses the following libraries:
IntervalTimer - used for handling a GUI library timing mechanism
LVGL v7/8 - a GUI library
FlexCAN_t4 - CAN bus communication...
Hello,
I recently bought a new teensy 3.2, and when I connected it to power, it blinked orange as it's supposed to. This satisfied me, so I soldered it onto the board I had made(it was the last piece to be...
I'm using Google Translate. I think my English is strange, but please forgive me.
I'm a Tenssy beginner.
I want to operate the patch change with a foot switch(Just Tenssy LC.Without PC).
Connect the Tenssy LC to...
Hi! How it is done? How do I generate a locked, stable square wave at the same frequency as a stream of pulses coming from MIDI clock? Any references?
Thanks
Hello,
I'm trying to use an MPU6050 breakout board (SEN-MPU6050) with Teensy 3.5. I've tried multiple sources and libraries but they either don't work or don't produce usable readings.
Last thing I've done was to...
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...
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...
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 =...
Hi all,
For quite a while I have been working on a dual motor (PMSM/BLDC) control board for Teensy 4.1.
Main goal for me is to learn things, so all help is welcome!
It is working quite good if I may say so. The...
HI Folks
I've just got a teensy 4.1 - loving it so far!
I plan to build a portable daw/tracker - much in the style of LCDJ, Dirtywave's M8 , Reaper - it's not commercial, I'm not competing with those guys, just...
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!
I am currently working on project aiming at connecting fuel meters, etc to the NMEA2000-network in my boat.
A part of the work is to create a simulators for the used devices. My first task is to emulate the flow...
Hi,
Im working on a fairly complex project and one of the things it does is write to a bunch of SPI dacs and read from an SPI adc.
The write speed of the spi dacs are rated at 20Mhz clk (although before I realised...
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...
as you can tell from my question, i am very new to this.
I am designing a box that willl have 12 dials for a flight sim.
I would also like a screen with labels for the dials
(different vehicles have different dials)...
When I try to use Serial.println in an .ino file, I get this error.
I am using Visual Micro within Visual Studio 2019.
I can replace it with .printf which takes time when the downloaded code has a lot 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...
last weekend i tried to figure how use dma to copy data within memory. but i coundnt get it working. searching the net didnt wasnt helpfull neither
here we go :
#include <Arduino.h>
#include <DMAChannel.h>
...
I have this sketch working perfectly with adafruit feather M0 wifi ATWINC1500, but I want to use my teensy 4.1 for my project. I can connect to wifi and openweather.com with my API and 'GET' my data string using...
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'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...
Hey folks,
I'm attempting to connect a keyboard to my teensy 4.1, but it doesn't seem to recognize it for some reason.
To begin, I'm quite certain that I connected the GND, +5V, D-, and D+ pins correctly (I even...
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...
Here are two functions in usb.c. They each return without configuring an EP if it is less than 2, which means EP0 and EP1. I understand that EP0 is configured elsewhere but why not allowing EP1 to be configured? I would...
Hi, long time reader, first time poster.
I purchased a Teensy 4.1 with Audio Shield a while ago and it has been perfect. I recently set it up to accept I2C commands from an Arduino Portenta instead of Serial commands...
How do I reset the processor in software? Is there a reset() function to call, a register bit to set, etc? I wish to reset the processor and any hardware, essentially causing a reset like a power-on reset. If there's...
Hello,
I am new to working Teensy Boards. I have primarily been working with an Arduino Mega for my current project. We were having problems with our Arduino Ultimate GPS and the Arduino Mega. So our project mentor...
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 need access to the Teensy 4.0's USB port so that I can send data to a computer (and flash the Teensy), however the form factor of my packaging doesn't allow for me to mount the Teensy against the wall with the USB...
I'm sure most readers here will be aware that not all USB power sources are equally strong. But since I was measuring some voltages with Teensy 4.1's ADC, I also just now took some measurements of the Teensy's "5v" and...
I'm looking for suggestions on how to accomplish this...
I want to monitor the strokes of a pump running 0-500 strokes per minute. I think this would be done by triggering an interrupt on each stroke and comparing...
Hi all,
I'm trying to implement high frequency pitch tracking in a project but am having some issues.
I'm trying to make a device that transposes ultrasound into an audible range - basically a bat detector, but...
Hi All,
I've found what appear to be answers to this question but I just need a bit of help.
Struggling to implement a solution.
I am running a Teensy 3.2 and trying to convert a long integer into a double...
I'm guessing that this hasn't been solved yet, I have a Chromebook with the Linux container enabled. I can install the Arduino IDE, Teensyduino, and all of the libraries I use for my project. I can compile the project...
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...
Hi,
I want to drive 20 OLED displays (SSD1306 type) with a teensy 4.1 from a single SPI port (in total I have 40, using the two available SPI ports). The desired SPI speed is 20 Mhz.
The initial design had two...
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 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 have a problem I can't quite figure out - I'm using a Teensy 4.1 to take audio from an audio jack (AudioInputAnalog), add a delay effect, then pass it back out through another audio jack (AudioOutputMQS). I also...
Hello all! I am currently working on a project where I would like to have different 'applications' to choose from and load them from from say an SD card into an array and execute it. I found this neat thread...
I have two different noise sources, one I assume is from the power supply but it is very low. I have a 2nd issue with a lot more noise (hum/buzz, video with noise below) coming from a TFT display connected via SPI. This...
Hey all,
I'm starting to think I don't properly understand how the audio mixer (AudioMixer4) actually works. I've been through the code for it and also looked at the short docs from the Audio System Design Tool. My...
Hi,
I'm working on a small synth using a T4.0 w/Audio library. I want the "oscillators" to track the pitch / frequency of a simple (sine / square) external audio waveform. I already have some good success with a...
Hi all,
I've been experimenting with Paul's workaround to use arduino-cli with my Teensy 3.2 to automate my workflow. While it's been working great from all existing shells on my computer, the same cannot be said...
Hello all
I want to jump over to Teensy 4.1's, as 3.2's appear to be impossible to find at the moment.
So, I want to incorporate level shifting in my board design and I see that Sparkfun and other people use a...
Hi all,
my Teensy 3.2 was resetting and i couldn't figure out why. The Teensy is being used to run 4 clocks for modular synths which all have various settings. One of the functions i've built is for one clock to...
I’m working on a drum machine where the Teensy is triggering analog drum circuits, then the audio is fed into the Teensy (audio board line in) for processing. The drums with big transients are distorting.
I...
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...
Dear All,
I am using the nvidia jetson nx boards( ubuntu 18.04) USB 3.1 interface to power ON the Teensy 3.6 Board.
I have uploaded the FLEXCAN library example sketch to the teensy 3.6 board. The code is given...
I need to monitor 16 potentiometers and present that data to a windows pc. Windows can receive analog data and interprets that as an 'axis of a game controller'.
Can I flash a teensy 4.1 with mmjoy2?
The other...
I'm trying to track an intermittent fault on a teensy (micromod) project that runs off USB for most of the time.
The fault only happens very occasionally, when it does it locks-up then auto reboots after the 8...
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...
Hello, I'd like to preface this by saying that I've read through the Wiki and the Audio Library documentation beforehand. Despite completing some basic projects, I remain a beginner when it comes to Arduino and audio...
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...