Indeed the timing is based on the original design from 2009 where Arduino just gets the files ready and causes the chip to go into bootloader mode, then Teensy Loader takes care of the rest. The only feedback mechanism was meant to be visual...
Thanks for the information. I am currently testing between monitoring Win32 window titles for Teensy "Programming" to appear, and I will also test @h4yn0nnym0u5e suggestion of continuing to monitor teensy_ports for a Teensy without the bootloader...
I’m making a step sequencer, using a teensy4.0 + audio board + flash chip, and an adafruit neotrellis board connected via i2c to trigger flash chip raw samples, unfortunately it all locks up / freezes if playing audio while i have a moving LED on...
Hello, I have problem like this. Now audio library use sdfat, but I can't play file from sdfat card, because method play(); haven't SdFs argument. For example:
SdFs card1;
...
Mp3player.play(&card1, "test.mp3");
I get many warnings while...
I've just got a 8x8 Neo Trellis and soldered 2 out of the 4 boards together and then tested it using the i2c_address_detect script and its not detecting it:
I2C address detection test
Did not find device at 0x10
I have it connected to the...
@tim:
You should be able to use the PITCHBEND & MODWHEEL pots exactly as wired. PITCHBEND usually has some mechanical mechanism to return it to center when not activated, so I'll assume that this is the case in my functional description below...
I am trying to do a synchronized emission en reception with 2 teensy 4.1.
The first code, for the "master", which put it's pin 1 to LOW (to trigger the second teensy) and play a signal (chirp[12800], here some dummy sine at 500Hz) stored in...
In short, Yes. However, I would be apprehensive connecting to an Amp that does not contain a built-in signal limiter.
My setup is T4.1 > Audio Shield Line out > Low impedance instrument input on a BA-210v2 (450w).
You would need to at least reprogram the MPU since the ITCM (the RAM where executable code lives) was recently patched to be read-only during regular operation.
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!