With a Teensy 4.x there is a RED LED by the USB connector. Only the bootloader can power that RED LED.
Anytime the RED LED is on the PJRC bootloader chip is in control of the Teensy MCU/Processor.
> This includes any non-solid blink patterns that...
I have a fairly large and working C++ code base running on the Teensy 4.1, refered to as firmware in the following, communicating with a number of embedded digital and analog circuitery and primarily communicating over a custom simple remote...
Nice idea! I was wondering how to do it...
You could add '% 1000000' such that there is no need to sync every second.
sprintf(timeString,"%04d-%02d-%02d...
Congratulations on your daughter's wedding! Regarding the volume issue in your electronics project, it could be related to the playback system's limitations or the quality of the recording. Try adjusting the playback volume or consider...
I've created a simple sketch that provides a way to get microseconds in a timestamp. I'm interested in any alternatives.
Does the setSyncInterval() function create an interrupt so the microsecond reset counter is always called on time?
#include...
Hey all, first post here and I'm hoping to get some help on this one.
The aim of the project here is to have a 144 LED strip light up and move a series of pixels down one strip to the other. Sort of like a cylon effect, but with a modification...
Supply seems to be coming for the MK20DX. This week I had > 3000 chips on order backlog suddenly getting fulfilled. But I guess the 3.2 will still remain discontinued?
I'm currently resurrecting my Studiologic midi keyboard. Someone I loaned it to must have used an unsuitable power supply. So the electronics no longer work. I couldn't be bothered troubleshooting it, so I've opted to write a program to make the...
Hi, I'm trying to use my Teensy 4.1 board to output wav files coming from the built-in SD card to a speaker.
Upon checking the teensy audio library, Teensy can be connected using I2S to an audio board available for teensy 4x and another...
If you just want to try Phazerville firmware on Teensy 4, all you need is a normal (not VOR) version of the Ornament and Crime boards... with Teensy 3.2 installed in a socket. (sadly, it seems many were built with Teensy 3.2 hard soldered). If...
This is the info I see in the datasheet on page 9.
And this on page 10.
If this doesn't clear everything up, can you give a link or screenshot to the documentation you're seeing about "GAX"? From the info I can see, GAX would mean a 1.75...
I have a few Arduino Nano breakout board's in use. Handy, but they are high, not nice to put in low enclosure's. A Teensy specific with low height pins for the Teensy would be a bonus and maby with an extra qwirc/stemma connector for i²c.
Are you using the Teensy 3.3V regulator output to power a lot of peripherals?
There has been some evidence that hanging large amounts of capacitance on this output can sometimes cause reverse current flow through the regulator during power...
The bill of materials and build guide is online if you want to source yourself
https://ornament-and-cri.me/build-it/
You could also try a kit, with all smd soldered already
https://www.thonk.co.uk/shop/plum-audio-ocp/
If you plan on using...
Very cool recovering and reading that old data! Especially being able to use it again.
Teensy 3 USB uses 64B blocks. If you can tolerate/arrange read delays as needed put a delayMicroseconds(100) between 64Byte writes. That is only 12 blocks for...
SPI absolutely works on Teensy. That looks a lot like reading / writing registers for InvenSense sensors as well (i.e. masking with 0x80 to read).
1. Recommend using digitalWriteFast instead of digitalWrite for toggling the CS line.
2. Also...
The ASCII printing of the data from the floppy in 512 byte chunks as hex and ASCII data is how I collect the floppy data, so is critical to the application. The same Perl script as posted above processes the log, extracts the hex numbers and...
Hello everyone.
For one of my projects, I need to get the measurements of several accelerometers, at precise time intervalls, and log the data obtained on an SD card.
As I want the sampling rate to be as high as possible, I choosed SPI working...
Good find on 48MHz testing. The USB Hardware on Teensy is the processor itself.
Perhaps there is a place where a small delayMicroseconds() slowing the output stream would prevent the corruption? Is this printing just for debug testing? I ran...
After some more experiments, I might have found a reason for the problem.
Due to needing to decode the floppy data stream "on the fly" I was over-clocking the Teeny3 to 96MHz.
I experimented with compiling for a CPU speed of 48MHz. I captured...
Perl code to create the binary from the hex ASCII log capture.
Execute with something like: /path/perl hex_2_bin.pl -i CAPTURE.log
#!/usr/bin/perl
#use strict;
print "#########################\n";
print " Simple hex to bin v1.01\n";
print...
Here is the stripped down code. All (floppy) hardware references have disappeared. What is left is the transfer of 720k of data in hex/ASCII format.
The function that generates most of the text is "dumpSector()" which I have tried to leave as...
Thank you once again for your reply.
Yes I can make a test sketch by removing all the code to do with floppy hardware control and read stream decode. I already fill the track buffer with default values before doing the read, so that any missing...
I created a harness that you can 3D print. It should alleviate the board stress issues. The files are here under the CC license: https://www.printables.com/model/655415-sparkfun-micromod-harness
The short answer is that C strings don’t work with the ‘+’ operator. If you could share your code, or even a small representative runnable snippet, I could better provide guidance.
Hi thanks!
I did see that, though it actually costs more I think than the Teensy itself?
I was sort of hoping to not have to solder too much as my eyes are going a bit, so I like the terminal-screw things on that!
I saw inexpensive breakouts...
Hi!
I'm pretty new to all of this.
I have a Teensy 3.2 with pins someone gave me a few years ago.
Is there a generic breakout-board with screw-terminals that will work for this, or do I need one specifically made for Teensy 3.2?
The pins will...
Thanks! I was hoping to do a POC of something like this with a Teensy LC I had lying around (and Launchpad Pro), but I see now that I need something like a 4.1 and a host cable to even get started. :)
But this was most helpful! Great project!
Yup, it was done as you described. In the video you can see the little usb cable loop from the Launchpad going into the integrated hub.
You can connect a Launchpad (mini) directly to the Teensy usb host if needed. But the Launchpad draws 300mA...
Would something like this be a good start to find calculate the frequency with zero crossing points? (Used Bard and some of my brain for this)
#include <ADC.h>
#include "circular_buffer.h"
// Define the ADC pin and ADC instance
const int adcPin...
Probably not. Profile posts seem like a pretty worthless feature relative to offering spammers a place to spew their junk. Apparently there's no way to completely shut them off, but quick searches turned up a few times the Xenforo people said...
Hi!
This looks great. I'm currently planning a Launchpad sequencer of my own. I'm curious how you solved the physical connections of power and communication. Are Teensy and Launchpad both connected to the same powered USB hub, and communicating...
Could you explain what you mean by the above sentence. I think I know what you mean, but we have a large number of members who DO NOT have English as a first language and may not understand your sentence, especially the halts the Teensy inviting...
Mine is an 8 pin IC with "GDT". I thought it would be the NCV8186 but the datasheet says that is "GAX"? Or am I reading that wrong?
Edit: After spending more than 5s looking and scrolling down I can see GDT is the 3v3 non-discharging variant...
Thankyou, Paul ...
... Yes, it is set to "COM9 Serial + MIDI (Teensy4.1)"
And I have just checked the USB Type: and it seems that the IDE update removed the USB Type selected previously, which I have now corrected.
And I'm pleased to say that it...
Note: The Teensy has no Reset Button. It is a Program button where the bootloader halts the Teensy inviting an upload as occurred.
When the Bootloader is in control it presents as a valid USB HID device to facilitate the upload.
Try again with a...
The I2S MEMS microphone (especially the one from Adafruit ( SPH0645LM4H)) can have significant negative offset resulting in always negative values (MSB always set). I use ICS-43434 microphones, that have nearly no offset. You can get them e.g...
Odd, this is not a common problem.
Can a simple sketch be posted that demonstrates the issue?
With USB Serial, PJRC has implemented a true USB device using true USB hardware on the Teensy MCU that conforms to the Windows 10&11 built in driver...