There are step-up voltage regulators that boost the voltage from a lower voltage to a higher voltage. There are step-up/step-down regulators that can either boost or lower the input voltage to a fixed output voltage. ...
From watching the posts, there are various threads about adding the support for USB file system support (look for threads about MTP support, beta7 posts, etc.). Having the rewritten file system support in 1.54 beta7...
Paul's paper on better SPI design (https://www.pjrc.com/better-spi-bus-design-in-3-steps/) would indicate that SPI devices having their own CS lines does not prevent the need for tri-stating. The first step might be to...
As others have said, littlefs is now incorporated in the latest beta. In the beta, the file abstraction layer has been rewritten to provide things like access to flash memory systems.
If you are not wedded to the...
Or given you have a Teensy 4.1, just solder a W25Q128JVSIQ or similar flash memory chip to the underside of the Teensy 4.1. This can provide 128 megabits (8 megabytes) of non-volatile memory. Normally it is mounted...
I tend to use prototype boards quite a bit. Here are some that I like that I use for Teensy 4.1 (and 3.5/3.6). Note, they do not give access to the solder pads underneath the Teensy 4.1. Generally, I just solder the...
First of all, please use the '#' toolbar button to enclose the code. It allows us to read the code more naturally. The '#' toolbar button will add and tags, and you put the code inside.
Second Teensy is...
The Raspberry PI hat system has this. They hook up a small EEPROM memory to the secondary I2C bus, and via I2C, you can read the information. Unfortunately IMHO, they made a fundamental design flaw in that there can...
And there are low powered speakers that are meant to be plugged into a headphone jack. The speakers typically have a battery and USB power support. I've seen them called 'bomb' speakers or 'hamburger' speakers.
...
There is a company that offers a 'fully loaded' Teensy 4.1 with the 8MB PSRAM chip and a 16MB flash memory soldered on to the board and pins soldered in if you would prefer not to do the SMT soldering.
...
IIRC, the original revision A-C audio boards for the Teensy 3.x processors, used the analog ground (the ground between the 3.3v pin and the VIN pin) for the audio stuff, and used the ground on the other side (next to...
You should start with this tutorial that Paul did some years ago to better understand the pieces. Note with Teensy 4.0/4.1 some of the pins used are different than the 3.2/3.5/3.6 examples.
...
Not really. The DFPlayers are setup where the microprocessor really doesn't have access to the data. The idea is you hook up the device via USB to your computer, and put songs/sounds on it. And then with the control...
Yes, it has been a long struggle. This is the first power processor I've been involved with from the concept, helping to form the hardware ISA. The power7 was already designed when I started working on the compiler...
Unfortunately, this is probably one of the areas that I have to be careful of commenting on in public forums, though in all honesty, I probably don't know that much.
My real life job is working on GCC for IBM,...
It depends on what pins you have available.
If you have the TX/RX pins of one of the 8 serial ports available, you could use one of the various chips that play a sound based on a serial stream. The company...
It gets even more interesting if you have to bring up the OS and the compiler at the same time. I.e. the chip you are bringing up is not a descendant of an existing chip, and you have to worry is the compiler tool...
IIRC on the Teensy 4.0 you only have 2 CTS pins, both of which are inconvenient locations. Teensy 4.1 has a 3rd CTS pin, also in an inconvenient location:
Pin 19 on Teensy 4.0/4.1 is CTS3. Unfortunately, pin 19 is...
A couple of minor comments:
1) Pin 6 is used by the audio shield if you solder a flash memory chip to the audio shield (which can be a faster but smaller permanent storage device than the SD card). Even if you don't...
These directions only work on the Teensy 3.x/LC processors. The Teensy 4.0/4.1 processors do not have alternate pins for the main SPI bus. You have to use pin 11 for MOSI, pin 12 for MISO, and pin 13 for SCLK.
In...
IIRC, the 74HCT245 is available in through hole form, while some of the other level shifters are only available in surface mount soldering. The through hole form can be used in breadboards without soldering using...
I don't know about the Pi version. For the Aurdino-class boards, no python is involved.
For the last version (for the 240x240 displays, and it needs the M4 class machines) it does use the flash memory that comes...
Note the author of the eyes program has rewritten it several times.
The first version was for the Teensy 3.2 and used 128x128 displays;
The second version (that you mention) was written for the Raspberry Pi,...
The Teensydunio 4.1 has a built-in sd card reader, and some of the demos use that to hold images. Going down the road, the Teensy 4.1 has two pads underneath the Teensy that you can solder surface mount chips to add...
The Teensy 4.x shield only started shipping in December of 2020, so the user base is likely ramping up. I ordered one of the Teensy 4.x shields and it now works for me running some of the demos. I had some teething...
Well that is a Paul question, but from afar I see we are making progress, but I'm not sure how long it will take before the things gel. There are several threads with the various parts being discussed.
I've used this logic level shifter in the past. I've used it for I2C shifting and WS2812B/neopixel shifting. Unfortunately, there is no data sheet:
https://www.pololu.com/product/2595
I believe I've used it...
The problem is you are using code to read files from the SD card reader. The Teensy 3.2 does not have a built-in micro SD card reader, and nor does the Prop shield.
You could get a Teensy 3.5 or 3.6 and use the Prop...
I happened to be listening to the Desk of Ladyada where among other things she talks about bringing up the future feather version of the RP2040. She said that normally she likes to make test jigs from Teensy (unless...
While I imagine it should work, you might have timing issues if you change things too fast.
An alternative is to use an I2C multiplexer. These are chips that you hook up the chip to your I2C bus, and you can hook up...
Note pin 26 (A12) is also a dedicated analog pin. From a coding point of view, it doesn't matter which pin you use.
Note, you might want to use A10/A11, and reserve pin A12 if you ever wanted to add sound effects. ...
If your board hasn't used them, there are also pins 24/25 which are analog input only pins (A10, A11) that are on the inside row of pins (pin 25 is next to pin 21, and pin 24 is next to pin 22). You would need to...
I2C is a rather slow bus. You might be able to boost the speed of the bus by setting the I2C speed from its default setting of 100Khz by using the Wire.setClock function, but it depends on whether the device can go at...
I just got mail that the Gamedunio 3X Dazzler with a Teensy specific shield for Teensy 4.0/4.1 is now available:
https://excamera.com/sphinx/store.html#gameduino-3x-dazzler-for-arduino-39
Here is the Gamedunio...
Though in terms of separate pins being available, there are only 56 pins that are available as gpio pins (out of 75 total pins in the MicroMod connector):
Pins 1, 7, 33, 36, 39, 45, and 75 are ground pins;
Pins 2...
IIRC, the pins are different between Teensy 3.x and 4.x. On Teensy 4.x the first CAN device is on pins 22 (TX) and 23 (RX). On Teensy 3.x the first CAN device is on pins 3 (TX) and 4 (RX).
If you wanted stackable headers, Sparkfun sells a pair of 24-pin headers + a 5 pin header:
https://www.sparkfun.com/products/17152
https://www.digikey.com/en/products/detail/sparkfun-electronics/PRT-17152/13543378
Well, its there but you have to know about it.
If you go to the pinout card, you will see pins 14/15 being documented as S/PDIF out/in.
If you go into the audio design tool (https://www.pjrc.com/teensy/gui/) and...
I haven't yet used S/PDIF, but the Teensy 4.x has hardware support for S/PDIF using pin 14 for the output pin and pin 15 for the input pin.
You would need to change:
AudioOutputSPDIF audioOutput;
to:
Note, I am a software guy, and I tend to have a high level view of electronics, but often times I don't have the depth. I have never used CharliePlexing, only looked at it from reading the spec sheets.
If you want...
A couple of things that I've seen over time that have been posted to the group or elsewhere.
The Teensy 4.1 has several different options for audio processing:
First I2S bus: The simplest approach to audio is the...
I remember Digispark, but I decided some time ago that I never wanted to deal with the restrictions of the ATtiny85 and got rid of them. I don't remember the dithering, sorry.
Lets see some random google search...
IIRC, in the actual I2C protocol, the slave address is 7 bits, and the bottom bit is 0/1 depending on whether this is a read/write request (0 is a write request from the master to the slave, 1 is read request asking the...
I don't have anything to do with megadue (whatever that is). I just maintain a spreadsheet that compares the pins on each Teensy, so I know what the differences are:
...
Note the pins in the Teensy 4.1 are different than the Teensy 3.5/3.6. Whether this matters depends on what pins are used by the code.
Off the top of my head some of the differences include:
The Teensy 4.1 does...
You just use the pin with the normal analogRead. Note the analog pins A10-A14 can only receive input in the range 0 .. 3.3v. If the pin gets more than 3.3v, you can damage the Teensy.
On the Teensy 3.2, analog pins...
You might look at the Gamedunio 3X dazzler. These are smart displays that have a FT815 graphics processor:
https://excamera.com/sphinx/gameduino3/
https://excamera.com/files/gameduino-3x-dazzler.pdf
...
I don't know if a Teensy 4.1 is up to the task, but I am reminded of this youtube video from a 2012 conference about using Python to recognize squirrels and then train water guns at said squirrels (and of course the...
It would be somewhat more, but you might look at protosupplies.com which offers a mostly fully soldered Teensy 4.1, includes:
https://protosupplies.com/product/teensy-4-1-fully-loaded/
Soldering on an 8MB PSRAM...
The code that rav posted above uses a fast tanh function. If you are using the real tanh function, you probably want to use tanhf instead if the calculations are done in float. The tanh function converts its argument...
There is the pixelmatrix/smartmatrix/smartled site
https://community.pixelmatix.com/
Here are some things that I posted in bringing up my display:
Evidently the original Teensy 4.0 that I attached had some...
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