Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: MichaelMeissner

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Yes I may have been mistaken (or ordered the...

    Yes I may have been mistaken (or ordered the wrong parts at digikey).
  2. I've used this logic level shifter in the past. ...

    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...
  3. The problem is you are using code to read files...

    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...
  4. Raspberry Pi uses the 2x20 pin cable, so at least...

    Raspberry Pi uses the 2x20 pin cable, so at least in maker shops, it should be easy to find.
  5. Teensy USBhost mention in RP2040 feather bring up

    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...
  6. While I imagine it should work, you might have...

    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,...
  7. Thread: i2c_t3

    by MichaelMeissner
    Replies
    3
    Views
    84

    I don't know about i2c_t3, but you can use all...

    I don't know about i2c_t3, but you can use all three I2C ports with the official Wire.h package. Just use Wire1 or Wire2 instead of Wire.
  8. Replies
    4
    Views
    120

    Many times this is because you have code in Setup...

    Many times this is because you have code in Setup that does:



    void setup ()
    {
    // wait for things to stabilize
    while (!Serial)
    ;
  9. I bailed in September 2019, and I did get the 50%...

    I bailed in September 2019, and I did get the 50% refund.



    Good luck.
  10. Well one off the wall thought is to add a UART to...

    Well one off the wall thought is to add a UART to USB converter and use one of the hardware serial ports. In theory, something like:

    ...
  11. Note pin 26 (A12) is also a dedicated analog pin....

    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...
  12. If your board hasn't used them, there are also...

    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...
  13. Replies
    9
    Views
    181

    I2C is a rather slow bus. You might be able 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...
  14. I just got mail that the Gamedunio 3X Dazzler...

    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

    ...
  15. Replies
    361
    Views
    41,254

    Though in terms of separate pins being available,...

    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...
  16. Replies
    5
    Views
    112

    IIRC, the pins are different between Teensy 3.x...

    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).
  17. If you wanted stackable headers, Sparkfun sells a...

    If you wanted stackable headers, Sparkfun sells a pair of 24-pin headers + a 5 pin header:

    https://www.sparkfun.com/products/17152
    ...
  18. Replies
    17
    Views
    1,313

    Well, its there but you have to know about it. ...

    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...
  19. Replies
    17
    Views
    1,313

    I haven't yet used S/PDIF, but the Teensy 4.x has...

    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 ...
  20. Note, I am a software guy, and I tend to have a...

    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...
  21. Replies
    4
    Views
    162

    A couple of things that I've seen over time that...

    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...
  22. I remember Digispark, but I decided some time ago...

    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...
  23. IIRC, in the actual I2C protocol, the slave...

    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...
  24. I don't have anything to do with megadue...

    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:

    ...
  25. Note the pins in the Teensy 4.1 are different...

    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:

    ...
  26. You just use the pin with the normal analogRead. ...

    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...
  27. You might look at the Gamedunio 3X dazzler. ...

    You might look at the Gamedunio 3X dazzler. These are smart displays that have a FT815 graphics processor:

    https://excamera.com/sphinx/gameduino3/
    ...
  28. I don't know if a Teensy 4.1 is up to the task,...

    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...
  29. Replies
    5
    Views
    311

    It would be somewhat more, but you might look at...

    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/
    ...
  30. The code that rav posted above uses a fast tanh...

    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...
  31. There is the pixelmatrix/smartmatrix/smartled...

    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...
  32. Replies
    13
    Views
    924

    Since I was printing voltages and amps, which in...

    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...
  33. Replies
    19
    Views
    503

    Though you can get splitter cables that convert a...

    Though you can get splitter cables that convert a 4-pin TRRS cable to a pair of 3 pin TRS cables:

    ...
  34. Note for the stacking headers for the Teensy LC,...

    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
    ...
  35. Replies
    8
    Views
    207

    The wrapper code is just a class that I have that...

    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:


    ...
  36. Replies
    8
    Views
    207

    I ran into problems switching back and forth...

    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...
  37. Replies
    909
    Views
    66,494

    If you git clone or svn checkout:...

    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...
  38. It was left out of the original pinout card...

    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...
  39. The Smartled V5 shield uses pins 10-13: ...

    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...
  40. Replies
    88
    Views
    3,392

    I was answering a query on the audio library, and...

    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...
  41. I suspect there are many parts to your question,...

    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...
  42. Thanks. I had no idea of what commands to use. ...

    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...
  43. Replies
    31
    Views
    2,747

    After all there is only one Paul, and with PJRC...

    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...
  44. I think I will wait until beta 6 comes out. ...

    I think I will wait until beta 6 comes out. Hopefully the necessary patches will be present. It is good to see the things coming together however.
  45. Well, in theory it should work, but I had trouble...

    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...
  46. Teensy 4.1 flash memory support (LittleFS)

    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...
  47. Yes, in terms of the smoke, evidently I didn't...

    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...
  48. And it looks like it is pins 52 and 54 that need...

    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...
  49. Hmmm, mjs513: Teensy41_flash: In function...

    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...
  50. Is there a simple test for flash memory being soldered on the 4.1 correctly?

    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:

    ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4