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...
Since I was printing voltages and amps, which in theory are supposed to be positive, I didn't worry too much about the negative case. This should work:
// Convert a floating point number to a string with a %6.3f...
Though you can get splitter cables that convert a 4-pin TRRS cable to a pair of 3 pin TRS cables:
https://www.ebay.com/itm/3-5mm-Y-Splitter-Adapter-Audio-Cable-For-PC-Computer-Earphone-Headphones-TRRS-I/133633190933...
Note for the stacking headers for the Teensy LC, 3.2, or 4.0 go with the Adafruit ItsyBitsy/Teensy headers and not the Sparkfun headers:
https://www.adafruit.com/product/3366
...
The wrapper code is just a class that I have that has the neopixel data structure as a member, plus some other elements, such as the pins used, etc.
Basically you need something like this:
// beginTransaction...
I ran into problems switching back and forth between using the SPI device (in my case it was driving two ST7735 displays) and using the prop shield for doing ws2812b/neopixels.
Here is the thread where it was...
If you git clone or svn checkout: https://github.com/WMXZ-EU/MTP_t4.git there are 3 directories with the modifications to add MTPDISK with serial.
In modifications_for_cores_teensy4 is the following addition to...
It was left out of the original pinout card either by accident, or it just didn't fit with the layout. It was listed in some of the spreadsheets that were published in this site when the beta test of Teensy 4.0 was...
The Smartled V5 shield uses pins 10-13:
http://docs.pixelmatix.com/SmartMatrix/shield-t4.html
You can switch to the Teensy 4.1 and use the built-in SD card. I have a Teensy 4.1 running the animated gif program...
I was answering a query on the audio library, and I opened up the Part_3_03_TFT_Display example. Unfortunately, this example looks like it has not been updated for the Teensy 4.1 (and even the 3.5/3.6 are only...
I suspect there are many parts to your question, and I'm not sure I understand exactly what you are asking.
First of all you can't display raw analog values on a display. I.e. the Teensy is not an oscilliscope...
Thanks. I had no idea of what commands to use. FWIW, fuse is the layer to add user file systems, but I didn't see a fuse specific to mtp, and I was just trying the low level mount option. I just tried simple-mtpfs -l...
After all there is only one Paul, and with PJRC being down to just him and Robin due to the virus and distancing rules, I imagine he made the decision to come out with the bootloader first. There has been a steady...
Well, in theory it should work, but I had trouble getting to work.
I downloaded https://github.com/PaulStoffregen/cores.git and replaced those files in a copy of my current Teensy 4.1.
I used the mtp-test.ino...
I wasn't sure if this should go in the 1.54 beta 5 thread, or one of the other threads. I haven't been closely following a lot of the work that is going on.
I was wondering where we are in terms of being able to use...
Yes, in terms of the smoke, evidently I didn't release enough of it, as it seems to work. :)
I used my soldering iron at the highest heat and solder braid to remove the solder from all 4 pins on the one side (3.3v,...
And it looks like it is pins 52 and 54 that need to be soldered on the psram. Thanks, KurtE.
Before getting to the soldering however, I was reattaching the Teensy to the RGB display I had it running, forgetting I...
Hmmm, mjs513:
Teensy41_flash: In function 'void loop()':
Teensy41_flash:117: error: 'class LittleFS_QSPIFlash' has no member named 'formatUnused'
if (rr == 'f') myfs.formatUnused( 0 , 0 );
...
I have a Teensy 4.1 and it appears the PSRAM I soldered on to it either was mis-soldered or the chip does not work (external_psram_size is 0).
I used Paul's test for psram:
...
Well also there is the issue of the Teensy 4.0/4.1 not having a DAC pin (DAC is digital -> analog, basically analogWrite will modify the voltage on the pin, rather than rapidly turning it off/on like it does for digital...
You might want to post pictures, and be clearer on what doesn't work.
I've had breadboards where over time some of the slots just do not work. If I move the Teensy to a different row/column, it starts working again....
Note in your schematic, you connect the ground wire from the power & converter to the AGND pin (between VIN and 3.3v on the right side if the USB connector is facing up). On the Teensy 3.2, 3.5, and 3.6 that pin is the...
On the Teensy 3.2, 3.5 and 3.6, the following pins are only for analog input (i.e. you can't do digital read, digital write or analog write, you can only do analog read):
A10, A11
On the Teensy 3.5 and 3.6, the...
Sparkfun has a micro-SD sniffer that can be used to access the 8 pins. The design is also available at OSH park:
https://www.sparkfun.com/products/9419
https://oshpark.com/shared_projects/bxBIb105 ($10.30 for 3...
Though the problem with both the Octows2811 and the 74AHCT125 used in the Octows2811 is that they are for 5v lights, and the OP said that he/she is using 12v lights. If the 12v lights can be controlled with a 3.3v data...
Note, I2C is a shared bus. Each I2C device has an address. This means as long as your OLED display does not use the addresses used by the audio shield (0x0a, 0x1a), you can hook the display on to the same bus. There...
Though given the price, I wonder if we are going to have the same problem that we have with the Pi Zero? Namely, you can only order them in limited quantities, and the sellers had times when they had no stock to sell....
I suspect to be complete, for DAC's you need to separate the 3.2 (1 DAC) from the 3.5/3.6 (2 DACs). The LC has a single DAC also.
The T4.0/4.1 have MQSR/MQSL.
All of them should have USB audio to the main USB...
I have no idea if it works or not, but one thought might be to use the USB host support, and connect several USB to serial converters to a USB port. If you need more than one, presumably you would need a USB hub or...
For Teensy 3.1, 3.2, 3.5, and 3.6, there are a few others, but the pins overlap, so if you choose one pin in the pair for DC/CS, you can't use the other pin for the SPI pins:
Paul made this post that describe...
It looks like ILI9341_t3 does not have support for the second SPI bus in Teensy 4.0/4.1. Some display drivers have a method to access the second SPI bus, some do not.
Note, there are 2 concepts. The first is...
Looking at the schematic on the Powerboost, the micro-USB connector on the Powerboost does not connect the D+/D- pins, so there is no way to use that port directly.
What you can do is use the Teensy's micro-USB to...
Note in your picture you need a few extra pins:
If you use flash memory or the micro SD card reader, you need to connect the ground pin on the left;
You always need to connect the ground pin on the right (second...
Note, I'm not a audio expert, just somebody who plays at audio, so I can't tell you about the differences between the different outputs. My main thing is for costumes where I want portability. Usually I want mono over...
You might want to look at this Adafruit product, which is I2S to headphones:
https://www.adafruit.com/product/3678
I bought this board from Amazon in the USA, perhaps there are similar boards in your country. ...
A few other things about WS2812Bs from multiple vendors:
In a single strand, you can only have RGB or RGBW WS2812B's. The RGBW's (which have a dedicated white led) use the same protocol, but transfer 4 bytes of...
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