Not quite. It depends on what you do. Many programs will work fine, but others won't. I wrote the following pages to look at the differences:
Unofficial Teensy Wiki, teensy differences:...
Now, I've never done anything with shift registers, but one thought would be to combine shift registers and analog inputs.
Each of the 8 rows has a shift register on it that multiplexes 8 inputs for the data value...
Note, there are two types of memory that you can solder to the underneath of a Teensy 4.1.
There is PSRAM and flash. Both can be accessed as main memory. These chips use the normal cache, so as long as you are just...
One method is to use MTP. There is a rather long thread about MTP:
https://forum.pjrc.com/threads/68139-Teensyduino-File-System-Integration-including-MTP-and-MSC?highlight=mtp
Basically, you run the sketch,...
Note, the pinout for the Teensy 4.0 is different than 3.2 WRT to the audio pins and with the SPI/SD card pins. So you might have to adjust some of the sample programs. Unfortunately, I don't think the example programs...
The company I've used is Proto Supplies. While I've done SMT soldering in the past, I prefer these days to let somebody else do it.
Fully loaded Teensy 4.1:...
One thought might be to use an I2C DAC like the MPC4725 to generate the voltages. You likely would need to step up the I2C bus from 3.3v to 5v to hook it up. I've not done this, but this is just a thought:
...
Though note, the Teensy 3.1/3.2 had 7 x 2 pins, while the Teensy 4.0 has 5 x 2 pins. You would have to remove 2x2 pins from SMT header before using it with the Teensy 4.0.
This is a hard question to answer.
This particular forum is dedicated to the Teensy processors. While some of us also program other microprocessors, almost all of the links and such will entail fixes and such to run...
Not really. The I.MX RT1062 processor only has one core to run programs. It does however have a feature (Quadrature Decoder) that allows it to count pulses without going through interrupts on every pulse.
Before...
It's been awhile since I've done I2C level shifting, but if I understand your question, you would need to connect the Teensy 4.1 3.3v output to the low power voltage. If the power to the Teensy comes from a different...
FWIW:
Using Chris.nz's latest code with the 240x240 square ST7789 displays on a Teensy 4.1, I get about 20 frames/second on the hazel eyes;
Using Chris.nz's latest code with the 240x240 round GCA01A displays on...
There are several things to consider.
Yes, the Teensy 4.1 can do it all in one program, but it is more complex to integrate to what your Arduino is doing and do it all in the Teensy. If you needed something...
If you have the Arduino as a secondary board, then it should be easier to plug it into a Teensy 4.0/4.1 without too much modifications using the new eyes (i.e. if you have the Arduino, it should be simple to modify one...
We have the original Adafruit code, but we don't have the mods done. The original code is very limited in what you could do the eye:
Blink both eyes, or wink just one;
Move the eyes horizontally and vertically...
If you had a Teensy 3.x or 4.x processor, I imagine it would be straight forward. You would have to define the type as audio and use AudioInputUSB in the audio library, and plug that into either AudioOutputI2S or plug...
I tend to think the Teensy 3.2, 3.5, 3.6 and maybe LC just won't recover. Yes, PJRC will get bits and pieces, but it doesn't sound like they will get enough to reliably offer products that people can depend on ordering...
BTW, if you just want something to play fixed sounds right now, there is always the Dfrobot dfplayer (and the various clones):
Mono dfplayer with SD card: https://www.dfrobot.com/product-1121.html
Mono dfplayer...
At least in the past, there was the gotcha that if you used one of the space saving options, it would use a version of printf without the %g, %f, and %e format specifiers. Most users don't need those, but if you are...
Ok, it sounds like the SD card is the best for longer stuff. Though for space cramped things where you don't need lots of sounds, flash or internal memory would work well. In particular, I have in the back of my mind...
If people are following my git sources, I have removed the multiple branches. Instead I made 4 config-display-<xxx>.h files, and in the directory you have the files checked out, you have to make a symlink from the...
Well since those are macros and such, the simplest way is just to keep each in separate .cpp files, either in the directory the .ino file is in or moved to separate libraries.
However if you do move the stuff to...
If you didn't know it, you can use the unused flash memory as a LittleFS file system. And you can export this flash memory via MTP so that you can update the sounds being played without having to re-flash the Teensy. ...
I saw similar problems with uncanny eyes between the ST7789_t3 and GC9A01A_t3n libraries (GC9A01A_t3n is not distributed with Teensy). I was trying to build a library that could have both drivers in it. I gave up, and...
Ok, I have a dual setup now, GC9A01A (round 1.28") on one side, and ST7789 (square, Adafruit 1.3" display) on the other, both powered by Teensy 4.1's. I'm doing this via separate git branches:
main is the branch...
For those looking at my github tree, I reorganized it to make merges easier. The 'main' branch is now just a mirror of Chris's branch. The 'meissner' branch is currently dead with changes from this morning, but I...
Without audio, I can go to 90,000,000.
I imagine so. Either that or as we've discussed, return out of loop more often, which may mean restructuring the code.
With the Teensy 4.0, I can only fit 8 eyes...
You might want to take a gander at my thread on running the eyes on pair of GC9A010 eyes (waveshare has one form factor and there is another factor where the display has 7 male header pins soldered into it). In...
I haven't delved into linker scripts for maybe 20 years now, but I believe the technique is to use the AT output attribute. Here is code clipped from:
...
No, they cannot be initialized. From the Teensy 4.0 and 4.1 product pages:
DMAMEM - Variables defined with DMAMEM are placed at the beginning of RAM2. Normally buffers and large arrays are placed here. These...
Assuming you are willing to use some solder connections and delve into I2S support, IIRC, for I2S1, there are 5 data pins that can be used as inputs or outputs for I2S1. Teensy conventionally labels these as:
Pin...
Some time ago, I wrote up the following in the unofficial Teensy wiki about the commonality of Teensys:
https://github.com/TeensyUser/doc/wiki/Teensy-Compatibility
https://github.com/TeensyUser/doc/wiki/Pins
...
Note, I'm a software guy, but IIRC, the 3.5mm jack on the audio adapter is set up for headphones while the L/R/GND pins are set up as line level. You can use the following member functions to control which port is...
IMHO, the actual examples in the examples directory should compile cleanly. Yes, you might need to change the pins if you aren't using the standard pins, but it should compile cleanly. Sure it is probably boiler...
Note, I built the audio examples on a Fedora 36 system using the Teensy 1.58 beta 2 release laid over the arduino 1.8.19 release.
I was answering a question on the adafruit forum about mixing sounds (where the...
You might look at https://github.com/joepasquariello/FlasherX. I've not used it, but it claims to work on Teensy LC, 3.x, and 4.x's. There are threads roaming around that mention this software and OTA programming.
I was going to mention something like an INA219 sensor. Adafruit sells 2 versions, one in a feather wing package, and one with separate through hole connections:
Through hole INA219 sensor
Featherwing INA219...
Thanks. Yes I saw those changes. What I want to do is not have to change the the drawing code (i.e. main.cpp) at all, and move the config.h stuff into the .ino file that includes or calls the code in main.cpp. that...
Ok, I wanted to test the person sensor eyeball code. Rather than run some other processor, since I already had a Teensy 4.1 wired up to use the ST7789 square displays, I decided to run the Teensy 4.1 circuit python...
Well my person sensors just arrived from Sparcfun. Fun, fun, fun. I got the basic Arduino test running, and it can identify faces, but I didn't test it in detail.
I had the Teensy running with the standard 2 eyes,...
Unfortunately https://www.pjrc.com/teensy/pinout.html still hasn't been updated. I realize until Paul runs out of the last batch of cards printed, the physical cards will not list it, but it is useful to refer people...
I am a computer programmer that has worked on compilers for over 33 years. I have been working on the GNU GCC compiler for over 20. Outside of work, I tend to be known for my steampunk camera (see http://www.steampunkmike.org for more details).
Location:
Ayer Massachussetts
Interests:
digital photography, steampunk, renaissance faires, hobby electronics