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

  1. Another way to support up to 8 displays at the...

    Another way to support up to 8 displays at the same address would be to use an I2C multiplexer. I've haven't used it myself, but it may be a way to support those displays:

    ...
  2. Well in Teensy 4.x, you do have the option of...

    Well in Teensy 4.x, you do have the option of using I2S2 instead of I2S1. The MCLK2 pin is 33 (back of the Teensy 4.1, underneath on the Teensy 4.0). So it doesn't interfere with the other standard...
  3. I tend to prefer string constant gluing (which...

    I tend to prefer string constant gluing (which unlike R"..." is part of the standard C and C++ languages):



    const char message[] = ""
    "This is line1\n"
    "This is line2\n"
    "This is...
  4. In theory it should work (assuming you have the...

    In theory it should work (assuming you have the right connection between SCL/SDA and the two machines).

    Note, the resistor can be higher than 2.2k. Generally 4.7k is used for 5v systems. ...
  5. For reference, this part from digikey looks like...

    For reference, this part from digikey looks like it would fit the bill. Total pin length is 21mm (0.8"), default pin length for the post 15.6mm (0.6"), unit cost $1.39 US:

    ...
  6. I imagine you need 2 pull-up resistors on the i2c...

    I imagine you need 2 pull-up resistors on the i2c bus. A pull-up resistor is a resistor that is in parallel to the data path, and goes between the pin and 3.3v. You will need one resistor on the...
  7. The Amazon one with UXCELL header (foreign...

    The Amazon one with UXCELL header (foreign shipper to USA) looks taller, and a similar one from ebay. This is for a 2x5 header. So you would need to cut it down to a 2x3 header:

    ...
  8. Good catch. I note that Mouser only has 34 on...

    Good catch. I note that Mouser only has 34 on hand (at least in their Texas facility). Digikey has the Harwin Inc. M22-7140342 also. In both of those, the price is a little hefty ($1.16 for unit...
  9. Replies
    105
    Views
    11,282

    Hmmm, you are right. I thought I had checked...

    Hmmm, you are right. I thought I had checked running the 4.0 version on 4.1 and the loader rejected it. I was able to load the Teensy 4.0 version on to the Teensy 4.1, and it gave me 1 megabyte...
  10. Yes, any cable where you have to puncture the...

    Yes, any cable where you have to puncture the cable to do the connection, is going to be wider on both sides. From the picture, it looks just like the Amazon part is just the other part where they...
  11. Teensy 4.1 Ethernet connector + stacking headers question

    I tend to generally put stacking headers on my Teensys, such as this cut down to 24 pins:

    http://www.dipmicro.com/store/HDR40X1FL


    I was just idly assembling the components for attaching the...
  12. Replies
    105
    Views
    11,282

    Yes Circuit Python for Teensy 4.1 and 4.0 both...

    Yes Circuit Python for Teensy 4.1 and 4.0 both are available:

    Teensy 4.0: https://circuitpython.org/board/teensy40/
    Teensy 4.1: https://circuitpython.org/board/teensy41/


    There is a check...
  13. Replies
    6
    Views
    100

    Note, that Teensy 4.0/4.1 have different pinouts...

    Note, that Teensy 4.0/4.1 have different pinouts for the Audio shield than the Teensy 3.1/3.2/3.5/3.6 did. Thus you need revision D for Teensy 4.0/4.1 and revision C for the 3.x. So, you likely...
  14. Replies
    6
    Views
    100

    In doing the Teensy 4.0/4.1, Paul has mentioned...

    In doing the Teensy 4.0/4.1, Paul has mentioned several times that it is important that the wires to the audio shield be as short as possible. In addition, revision C of the audio shield added a 100...
  15. Replies
    4
    Views
    91

    I don't know much about the Nextion, but I did...

    I don't know much about the Nextion, but I did look it up. It mentions that it supports the Raspberry Pi. Since the Pi similarly requires 3.3v processing, you might be able to see what things are...
  16. I don't really have a suggestion on the soldering...

    I don't really have a suggestion on the soldering iron.

    But I found for soldering the psram chips to the beta/regular Teensy 4.1 and flash chips to the Teensy 4.1s, to the audio shields, and to...
  17. Here is a post that I did to show the pin...

    Here is a post that I did to show the pin assignment:

    https://forum.pjrc.com/threads/60532-Teensy-4-1-Beta-Test?p=239712&viewfull=1#post239712


    Or use KurtE's spreadsheet that defragster...
  18. You should be able to. They do have normal pin...

    You should be able to. They do have normal pin numbers. Note, there two pairs of 8 pads. Two of the pads are are 3.3v and ground. Of the remaining pads, 5 of the pads are common between the two...
  19. Replies
    10
    Views
    138

    PJRC.com resells the following cable that can be...

    PJRC.com resells the following cable that can be used:

    https://www.pjrc.com/store/cable_usb_host_t36.html


    Compared to the Teensy 3.6, the one thing that 4.1 doesn't have is solder pads...
  20. FWIW, the Teensy 4.x uses a USB-2 speed interface...

    FWIW, the Teensy 4.x uses a USB-2 speed interface (480 megabits/second). Teensy 3.x/LC uses a USB-1 speed interface (12 megabytes/second). I could imagine some ancient hubs and USB adapters might...
  21. Could you give us a link to the exp-tech.de page...

    Could you give us a link to the exp-tech.de page with the psram?

    FWIW, I put an order into Aliexpress.com on May 6th. Evidently it left China on May 21st, and I haven't seen any update to the...
  22. Replies
    9
    Views
    1,274

    The 5 pins between the reset button and the...

    The 5 pins between the reset button and the micro-SD slot are the same pins in the back of the Teensy 4.0 (between outer row pins 13 and 12).

    On the Teensy 4.1, including the two outer pins, these...
  23. Replies
    2
    Views
    45

    It depends on exactly what you want to use in the...

    It depends on exactly what you want to use in the prop shield.

    With the exception of the back row of pins, all of the pins of the prop shields mate directly onto the 28 outer row pins on the...
  24. Replies
    5
    Views
    118

    Yes, pololu is a good place (IMHO). They...

    Yes, pololu is a good place (IMHO). They specialize in robot parts. My usual purchases include:

    Voltage converters (mostly step up/step down):...
  25. Replies
    5
    Views
    118

    Two things. There are various bi-directional...

    Two things.

    There are various bi-directional level shifters out there made to convert 3.3v to 5v for I2C. The pololu one is the one I typically have used in the past:

    Pololu:...
  26. TOSlink part is obsolete at digikey.com

    I decided to build a S/PDIF setup, using the following parts (I haven't received these parts yet):

    Paul's OSHpark PCB for the TOSlink: https://oshpark.com/shared_projects/KcDBKHta
    Digikey...
  27. Yes it can be done with the Teensy, though there...

    Yes it can be done with the Teensy, though there are some things you may need to consider.

    Since the Teensy 3.6 has 51 digital pins, you could just hook up each LED to a digital pin and a...
  28. I posted an example of how to use the MAX98357A...

    I posted an example of how to use the MAX98357A in this thread that I created:

    Thread:...
  29. It looks like it went into Teensydunio 1.52 that...

    It looks like it went into Teensydunio 1.52 that was just released. Fortunately, Paul is now working on improving the documentation, so hopefully things will be better soon.
  30. Most pins, not all pins. It looks like on the...

    Most pins, not all pins. It looks like on the Teensy 4.1, there are 15 pins that are not PWM capable (16, 17, 20, 21, 26, 27, 30, 31, 32, 34, 35, 38, 39, 40, and 41 in the outer row pins). In...
  31. I did have a thought experiment, wondering...

    I did have a thought experiment, wondering besides USB/ethernet what would be the most sound outputs/inputs you could put on a Teensy 4.1, while still using the SPI ports, etc. My thought is:


    ...
  32. One other possibility is that you could stick...

    One other possibility is that you could stick something on the I2C bus (MCP23008, MCP23017) that can bring out one or more pins to use as hardware reset pins. It isn't like that would be performance...
  33. You didn't mention which Teensy you have. The...

    You didn't mention which Teensy you have. The simplest way is to look at the pinout card that came with your Teensy, or:

    https://www.pjrc.com/teensy/pinout.html


    And find the digital pins...
  34. Sorry about that. They changed around the...

    Sorry about that. They changed around the quantity and such. Here is an updated link for the English speakers:

    ...
  35. If we are listing DACs, we might want to list...

    If we are listing DACs, we might want to list chips/boards that act as DACs, but have no ways to control them like we have with the SGTL5000. In particular, I've used boards with the MAX98357 and...
  36. If you don't use the main SPI bus, using MQS...

    If you don't use the main SPI bus, using MQS (pins 10 and 12) might be a possibility. At least with the Teensy 4.1, you don't have to solder to the underneath pads to get access to the second SPI...
  37. I'm just glancing at it right now. Note, all of...

    I'm just glancing at it right now. Note, all of these are suggestions. If it is not worth the return on investment, feel free to drop stuff.

    I'm beginning to wonder it if would be better to have...
  38. That last line is wrong for the 3.2. The Teensy...

    That last line is wrong for the 3.2. The Teensy 3.2 only has one DAC, so you should use AudioOutputAnalog instead of AudioOutputAnalogStereo. You can only use AudioOutputAnalogStereo on the Teensy...
  39. IIRC, the first 2 serial ports on the Teensy 3.6...

    IIRC, the first 2 serial ports on the Teensy 3.6 (Serial1 on 0/1, Serial2 on 9/10) have 8 byte hardware FIFO (first-in, first-out) hardware queues, so they are less likely to lose data if interrupts...
  40. Replies
    3
    Views
    114

    This board mentioned in the product listing that...

    This board mentioned in the product listing that you can order from Oshpark:

    OSHpark PCB for setting up the board: https://oshpark.com/shared_projects/TG395I75
    Display at PJRC.COM:...
  41. Replies
    683
    Views
    405,617

    At least in the past you needed to define TwoWire...

    At least in the past you needed to define TwoWire also:


    typedef i2c_t3 TwoWire;



    https://forum.pjrc.com/threads/21680-New-I2C-library-for-Teensy3?p=80340&viewfull=1#post80340
  42. Hmmm, I found this link from Paul in 2015...

    Hmmm, I found this link from Paul in 2015 mentioning your work:

    https://dorkbotpdx.org/blog/paul/teensy_audio_library_gets_spdif_support/


    Lets see, there is:

    ...
  43. You don't need the master to have a separate uart...

    You don't need the master to have a separate uart to talk to each slave. Just have a protocol where the first byte/half-word/word or so of the message says which slaves to talk to. The slaves will...
  44. Replies
    10
    Views
    239

    The library was created for the original Teensy...

    The library was created for the original Teensy 3.0. The Teensy 3.0 was originally released in October 2012. So yes, with the introduction of the Teensy 4, things have gotten messy. Some of the t3...
  45. I thought they were now working, but I did not...

    I thought they were now working, but I did not know for certain, since I haven't used them.

    Is there a simple setup that would allow using pins 14/15 on the Teensy 4.0/4.1 to play audio? My main...
  46. The Teensy 4.0 and 4.1 does not have internal...

    The Teensy 4.0 and 4.1 does not have internal DAC's. Sound output options include:

    Use the main digital I2S bus (which the revision D audio shield uses) -- either using the audio shield, or...
  47. You want to use pin 19 (A5) to connect to SCL,...

    You want to use pin 19 (A5) to connect to SCL, and pin 18 (A4) to connect to SDA.

    You may or may not need pull-up resistors on the I2C bus (it depends on whether the device already has it own...
  48. Replies
    5
    Views
    160

    On Teensy 4.0/4.1, it isn't reset, but on/off. ...

    On Teensy 4.0/4.1, it isn't reset, but on/off. See my post above. On the Teensy 3.0, 3.5, and 3.6 it was reset. On the Teensy 3.1, 3.2, and LC it is the DAC (A14 or A12) that you can use to play...
  49. Replies
    5
    Views
    160

    These are pins that are on the back or adjacent...

    These are pins that are on the back or adjacent to the SD card on other Teensies. In particular, look at the back of the Teensy 4.0. Those 5 pins are the same on 4.1, except they are in a different...
  50. I suspect the 3.3v is the output of the 3.3v...

    I suspect the 3.3v is the output of the 3.3v voltage regulator on the pcb. I.e. the PCM5102a runs at either 1.8v or 3.3v (max of 3.9v). So the pcb adds a voltage regulator to reduce the 5v down to...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4