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...
Note, the Teensy 4 only has pin 11 being SPI MOSI, pin 12 being SPI MISO, and pin 13 being SPI SCLK. In particular, pin 14 is not the SPI MOSI pin. On the Teensy 3.x, pin 14 was an alternate for SPI SCLK (normally pin...
In general yes you can do this, but at some point you might run into power issues.
The main variant of LED strings are WS2812B/SK6812 compatible. WS2812B is from the original manufacturer (World Semi or...
What you want is the USB HID touchscreen support. See this demo Paul posted in 2018:
https://www.youtube.com/watch?v=iXhOjmDSI8A
Note, you would need to program the Teensy using the Arduino interface (i.e. C++...
In the display for posting there are a series of buttons above the posting window. The one with a hashtag ('#') posts tags, and you put your code in between the CODE ] and . Note when you are writing it, there are...
The Teensy 3.1/3.2 has a single pin (A14) that can do direct analog writes of the voltage. The function analogWriteResolution controls the number of bits used for the resolution in analogWrite. The 3.2 product page...
Yes, the original version of the document I left out some of the stuff, so I could make bullet list tables. If you refresh the page, you should see the bullet list.
There are three sets of holes inside of the Teensy 4.1:
There is the single hole next to the ground pin between VIN and 3.3v -- This is the VUSB pin that gives you the power from the USB connection. Typically this...
And note, I believe the code will not work on Teensy 4.0/4.1 if you optimize for space, since the sprintf when optimizing for space omits the floating point formatting stuff. Also of course, it might not work on other...
The way I tend to solder up Teensys is to use stacking headers for the 48 external pins, and 5 port female headers for the back/middle 5 pins. That way it can go into a breadboard, but I can add something like the...
The Tindie vendor talldog has several breakout boards for the Teensy 3.6 and 4.0, and he has an option to solder in the Teensy 3.6 or 4.0 (you don't want the 3.5, which does not support USB host). Unfortunately none of...
It might be helpful to go into more detail. How many switches do you need total? What are the exact specs of the device you are connecting to, including pointers to a datasheet? Are you wanting to use normal tactile...
Yes, the Audio Adapter revision D is compatible with both Teensy 4.0 and 4.1. Note, you will get better results if you use the micro-SD card reader on the Teensy 4.1, rather than using the reader on the audio adapter....
I haven't used it, but you might want to look at Colin Duffy's Snooze library (which is included with the Teensydunio releases):
https://github.com/duff2013/Snooze
Yes, you use the same include file (Wire.h), and there are 3 instances of the I2C support for each I2C bus:
Wire to address the I2C bus on pins 18, 19;
Wire1 to address the I2C bus on pins 17, 16; (and)
Wire2 to...
I assume it will be done at some point, but it would be nice if the pinout card back had the same information as the other Teensy pinout cards, with the qspi memory pin layout (and the SD pins).
For the psram chips,...
I recall one horse/pesky products had a module that mounted directly on top of a Teensy 3.2. In looking at it, only the Teensy 3.2 would be able to use it directly, and there is only 1 left in the store:
...
Given that NXP bought Marvel's Wifi & Bluetooth assets in May 2019, I hope that a future chip from NXP would allow future Teensies to have wifi/bluetooth directly, instead of having to depend on EPS32 chips.
It probably depends on what Teensy you have. The Teensy LC does not have all that much memory (8K of SDRAM), so it is possible that allocating 120 LEDs is just too much memory. The Teensy 3.2 has 64K of SDRAM. I...
For lipo batteries and having the batteries recharge when USB power is fed to the Teensy, I tend to like the Adafruit Teensy -> Feather adapter because the JST plug is more solid for connection and disconnecting the...
As it says on the back of the Teensy 3.6 pinout card that is supposed to come with your Teensy 3.6, the Teensy 3.6 is NOT 5v tolerant. If any input pin gets 5v, it can risk damaging the Teensy.
If you need 5v...
The SmartLed shield probably should be amplified. There are two SmartLed products.
The V4 product is for Teensy 3.2, 3.5, and 3.6, and it is available at Sparkfun, Adafruit, and their distributors:
Sparkfun...
Here are some older posts about it:
https://www.pjrc.com/teensy/td_libs_Time.html#teensy3
https://forum.pjrc.com/threads/26538-More-hilarity-re-creating-a-TXCO
...
Or just buy a led or two and stick it on an unused pin, and do digitalWrites to that pin instead of pin 13 (BUILTIN_LED). Note, if you are buying a plain LED, you will need to add an appropriate resistor to the LED. ...
The standard way to do this is to use #error:
#ifndef MY_DEFINE
#error "MY_DEFINE not found"
#endif
The #pragma message "..." along with #warning "...", #pragma GCC error "...", #pragma GCC waring "...", and...
One thing that might be interesting in the board is to be able to set USB C-PD (power distribution levels). Sparkfun has a board, but it is kind of pricey at $24 just for the USB C-PD support (IMHO). If combined with...
Well the octows2811 LED library mentions the movie2serial program:
https://www.pjrc.com/teensy/td_libs_OctoWS2811.html#videodisplay
I've not used it, but I recalled it was mentioned.
If you haven't bought...
Looks good as a start. It can be a bit to tease out the details (particularly things like favored CS pins for SPI and SPI1).
You can easily get into nit-picking over whether a pin should be covered or not. For...
In case you don't know about it, Adafruit does have a Teensy to feather adapter that lets you mount various feather wings. I tend to use it even if I'm not wanting to use featherwings, because the li-po battery charger...
It would be useful to mention what are the specific defines for each chip to use with #ifdef.
One thing that would be useful in the web document, but it probably doesn't need to be at the top is a brief list for each...
For various reasons, SoftwareSerial does not work on Teensy ARM boards, with the exception that if you specify RX/TX for an existing hardware UART, it will use that. But you can't use arbitrary pins like you can do on...
On some boards, particularly the Arduino Uno boards using the AVR 328p, the chip does not have any USB support. So it relies on a second chip on the PCB to manage the USB connection. It watches the serial UART line...
And of course there are rumors of a new Teensy using the same chip but with a new form factor (micromod) that might show up some time.
That is always the problem of labeling something 'new'. I recall when I was an...
Smartled/pixelmatrix has an entirely different board (V5) for use with the Teensy 4.0/4.1. They just started shipping the board through crowdsupply.com (unfortunately limited to USA sales since it doesn't have the CE...
If you cut the trace, there will be no power connection between the USB cable and the Teensy. You have 3 choices:
Power the Teensy externally when you are programming the Teensy;
Disconnect your external power...
While it maybe more complicated to use, the OctoWS2811 LED library on the Teensy 4.0 and 4.1 can use any arbitrary pins:
https://www.pjrc.com/teensy/td_libs_OctoWS2811.html
The WS2812Serial library is limited...
They probably will work. But I would think typically you would want a unit with a fixed voltage output rather one that can vary depending on the potentiometer setting. The variable ones are great for testing, but I...
If you look in the code (such as src/Adafruit_TinyUSB_TeensyCore.h), there are places that have:
#if defined(ARDUINO_TEENSY41)
You would need to change these lines to:
#if defined(ARDUINO_TEENSY40) ||...
(Just to be clear, I am a software guy, if somebody with real EE knowledge posts, believe them and not me).
Note the product page says the limit is 5.5v, not 6v. IIRC, Paul has said that it can tolerate some...
I've been wondering whether HUB75 pixel matrixes might be more effective and cheaper than the large WS2812B/neopixel displays. I just got a 64x32 display from Adafruit with their adabox 16 product, but I haven't done...
Another thing to think about is getting the Teensy LC propshield:
Low cost propshield: https://www.pjrc.com/store/prop_shield_lowcost.html
Propshield with motion sensors:...
You didn't mention what microprocessor you are using. And for floats, use powf, not pow, because powf takes float arguments, does most of the calculations in float and returns float arguments. While pow takes double...
Note, in addition to the flash memory used to hold the program and initial values of the static/global variables, you can solder a second flash memory chip to the Teensy 4.1. Typically something like a W25Q128JVSIQ...
While the Teensy-LC is underpowered for MP3 decoding, it should be powerful enough to connect to one of the external MP3 players, to provide the interface etc. For example, dfrobot came up with a product called...
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