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...
Type: Posts; User: MichaelMeissner
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...
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. ...
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...
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...
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...
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...
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...
In the display for posting there are a series of buttons above the posting window. The one with a hashtag ('#') posts [ CODE ] [ /CODE ] tags, and you put your code in between the [ CODE ] and [...
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...
Yes, the original version of the document I left out some of the [ LIST ] stuff, so I could make bullet list tables. If you refresh the page, you should see the bullet list.
Yes, brain fault. I meant program, not reset (there isn't a reset button broken out in the 4.x). You can change the amount of time for the reset.
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...
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...
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...
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). ...
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...
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...
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...
Nice one defragster. Yeah, there are many options one could want, but those options are a nice start.
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).
...
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...
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...
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...
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...
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.
...
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...
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...
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...
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...
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...
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...
A lot of times, people have code like:
void setup (void)
{
// ...
Serial.begin (9600);
while (!Serial)
For Teensy there is Duff's snooze library. I haven't used it myself, but I've seen others use it:
https://github.com/duff2013/Snooze
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
(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...
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,...
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. ...
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...