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...
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...
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