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; generated 45 minute(s) ago.

  1. Note, on the LC, not all pins can be attached to...

    Note, on the LC, not all pins can be attached to interrupts. If you turn to the back of the pinout card that came with the LC, you will see that pins 0, 1, 16/A2, 17/A3, 18/A4, 19/A5, 24/A10,...
  2. Typically GCC does not replace divide by a...

    Typically GCC does not replace divide by a constant with multiply by a reciprocal constant unless either the appropriate fast math option (-Ofast, -ffast-math, -freciprocal-math, ...) is used, or the...
  3. Ok, just checking the obvious. Evidently the...

    Ok, just checking the obvious. Evidently the resistor and capacitor are also needed for large installations that are not battery powered, as is keeping the distance down (none of that applies to me,...
  4. You didn't mention if you used a level shifter...

    You didn't mention if you used a level shifter such as (https://www.adafruit.com/product/1787), as well as the capacitors and resistors specified by the typical guides...
  5. Not knowing much about the details, I suspect the...

    Not knowing much about the details, I suspect the Audio Shield would be too slow for you also. According to the SGTL5000 datasheet, maximum LRCLK can only go 96kHz...
  6. It is a standard I2S board. What you have to do...

    It is a standard I2S board. What you have to do is remove the lines that refer to the sgtl5000 in the audio shield:



    AudioControlSGTL5000 sgtl5000;

    // ...

    void setup () {
    // ...
  7. Replies
    6
    Views
    117

    I'll let somebody else with more electronics...

    I'll let somebody else with more electronics knowledge answer this.
  8. Off hand, it probably depends on how fast you...

    Off hand, it probably depends on how fast you need to switch from device to device. In terms of computer speeds, i2c is fairly slow. I don't know if using 16 i2c transactions (8 to set the CS bit...
  9. Do you have 2 pull-up resistors somewhere on the...

    Do you have 2 pull-up resistors somewhere on the I2C bus? The raw MCP23017 does not have pull-up resistors.

    You might want to checkout https://github.com/TeensyUser/doc/wiki/I2C for more...
  10. I would imagine saberon.wav is not in the...

    I would imagine saberon.wav is not in the directory your command line tool is running from. You may need to use SABERON.WAV instead of saberon.wav.
  11. You need to download the TeensyTransfer to the...

    You need to download the TeensyTransfer to the Teensy using RawHID as the connection type.

    Then you need to close your Arduino IDE, but keep the Teensy plugged in.

    You then do whatever...
  12. A few minor thoughts. Note, I am not an expert...

    A few minor thoughts. Note, I am not an expert on this:

    The Adafruit ILI9340C display can take 3-5v power on VIN. You could hook the VIN pin to the display instead of the 3.3v pin. This would...
  13. Replies
    85
    Views
    17,980

    If you go to the Teensy 4.0 product page...

    If you go to the Teensy 4.0 product page (https://www.pjrc.com/store/teensy40.html), it has a graphic that shows the memory map.

    Ram1 (512K) has the FASTRUN code; initialized static/global...
  14. Replies
    1
    Views
    69

    Pin 18 is NOT available. It is used along with...

    Pin 18 is NOT available. It is used along with pin 19 for the I2C bus. Pin 15 has some resistors and capacitors that can make using it for things other than analogRead harder. Pin 22 is...
  15. Just to be sure, do you have pull-up resistors on...

    Just to be sure, do you have pull-up resistors on one of the Teensy's? You need two resistors, one between pin 18 and 3.3v and the other between pin 19 and 3.3v (these pull-up resistors are in...
  16. Replies
    37
    Views
    1,782

    Well you can do it with breadboards, it is just...

    Well you can do it with breadboards, it is just not optimal.

    What I've done in the past is solder up a prototype board with female headers for each of the Teensy pins (usually 2x12 for the Teensy...
  17. Replies
    6
    Views
    117

    The Teensy 3.5 is tolerant on 5v on the digital...

    The Teensy 3.5 is tolerant on 5v on the digital pins. It is not 5v tolerant on the analog only pins (A10, A11, A21, A22), nor on the program or reset pins. On analog inputs, anything over 3.3v will...
  18. Capacitive Touch Tutorial links to unknown page

    The Capacitive Touch tutorial page on PJRC.COM (https://www.pjrc.com/capacitive-touch-tutorial/) links to a tutorial that Mohannad Rawashdeh did to document using the touch pins in Teensy LC, 3.1,...
  19. Replies
    5
    Views
    133

    It depends on your needs. According to some...

    It depends on your needs. According to some simple tests that I did, the flash memory is around 4.4 times the speed of a reasonably fast SD card (Samsung EVO select, 32GB). Note, I only tested...
  20. Thanks for the working example. I was doing...

    Thanks for the working example. I was doing SPI.begin after setting MOSI/SCLK, and eliminating the SPI.begin caused it to work.
  21. I did these tests in January: ...

    I did these tests in January:

    https://forum.pjrc.com/threads/57498-Can-I-play-multiple-mp3s-at-once-with-a-teensy-3-6-and-serialflash?p=225359#post225359


    And here is FrankB's TeensyTransfer...
  22. Replies
    47
    Views
    1,247

    I fixed the link in #38. I hope defragster...

    I fixed the link in #38. I hope defragster doesn't mind.
  23. Replies
    47
    Views
    1,247

    Ah yes, I forgot about that link.

    Ah yes, I forgot about that link.
  24. Replies
    47
    Views
    1,247

    That's what the product page says...

    That's what the product page says (https://www.pjrc.com/store/teensy40.html)
  25. Replies
    47
    Views
    1,247

    Looks good. I put a link to the Teensy Serial...

    Looks good. I put a link to the Teensy Serial library page (https://www.pjrc.com/teensy/td_uart.html) there. Maybe one day that page will even include the Teensy 4.0.

    I put in a brief mention of...
  26. I went down this rabbit hole in the December time...

    I went down this rabbit hole in the December time frame.

    I have two Audio adapters, one revision B for the Teensy 3.x processors, and one revision D for the Teensy 4.0. Both boards have a flash...
  27. Replies
    47
    Views
    1,247

    Glad you liked it. Somebody might want to comb...

    Glad you liked it.

    Somebody might want to comb over the data in the old thread (2014-2019) that was an attempt to gather together information for a possible wiki:

    ...
  28. My BiPAP machine has sensors in it for the...

    My BiPAP machine has sensors in it for the airflow, and it has a display of how many apnea events occurred per hour. And the current machine also has a cell phone in it, so it sends the data to the...
  29. Sometimes there is an API document, sometimes...

    Sometimes there is an API document, sometimes not. For some stuff you need to dig into the IMXRT 1062 data sheet (pages 1221 - 1230 on revision 2 of the reference manual), and the ever popular UTSL...
  30. Replies
    3
    Views
    183

    You need to connect the power pins (ground pin,...

    You need to connect the power pins (ground pin, 3.3v, maybe vin), the I2S pins (7, 8, 20, 21, and 23), and the I2C pins (18, and 19).

    If your audio board does not have I2C control, you don't need...
  31. Some of the PCBs that have already been designed...

    Some of the PCBs that have already been designed include the boards listed here:

    https://forum.pjrc.com/threads/59817-Teensy-4-0-accesing-24-to-33-pines?p=231271&viewfull=1#post231271


    For...
  32. Be sure you have a Trinket M0 that uses an ARM M0...

    Be sure you have a Trinket M0 that uses an ARM M0 processor (equivalent to the processor in the Teensy LC), and not the older ATtiny85 based Trinket v1 or v2. The ATtiny85 projects have extremely...
  33. Replies
    5
    Views
    416

    Note, if you use MQS, you won't be able to use...

    Note, if you use MQS, you won't be able to use the main SPI bus because the MQSL pin is on pin #12 (MISO), and the MQSR pin is on pin #10 (primary CS pin). SPI buses are typically used for displays....
  34. Note, Paul hasn't released the bootloader chips...

    Note, Paul hasn't released the bootloader chips for the Teensy 4.0 yet. He has released it for the earlier processors:

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


    So you could design...
  35. Note, the 3.2 version of the board does not have...

    Note, the 3.2 version of the board does not have a SD card reader so it isn't comparable to the Teensy 4.0 board.

    I have 3 Teensys with a micro-SD card reader attached to the SPI2 port for the...
  36. Sorry to hear that. The solder joints on mine...

    Sorry to hear that. The solder joints on mine look fine.

    I have a Samsung 32GB micro-SD card that has some test files on it. I loaded the card onto the new Teensy 4.0, and ran the program from...
  37. I just ordered one and it came. I had the...

    I just ordered one and it came. I had the previous version for the 3.2, and the layout is roughly the same (but then since it is trying to match the layout of the DUE or Mega shields, it isn't...
  38. Replies
    2
    Views
    233

    Normal USB 2.0 for clients has 4 connections...

    Normal USB 2.0 for clients has 4 connections (ground, D-, D+, VDD). USB 2.0 hosts has a 5th connection (ID) to identify whether it is host or client. So you would need to connect:


    Connect...
  39. Replies
    14
    Views
    583

    I was thinking of something similar to a display...

    I was thinking of something similar to a display framebuffer or a WS2812B pattern, where you have an array available locally, and you do whatever you want to the array, and then you issue a command...
  40. Replies
    14
    Views
    583

    Now, I haven't looked at your library, and I've...

    Now, I haven't looked at your library, and I've not used the SPI version, but I have used the I2C versions from Adafruit for the MCP23008 and MCP23017. Under the covers, the protocol transfers 8...
  41. I clipped this link some time ago. Maybe it is...

    I clipped this link some time ago. Maybe it is helpful, maybe not:

    https://github.com/blackketter/teensy.pretty
  42. Thanks to both KurtE and Paul. I figured there...

    Thanks to both KurtE and Paul. I figured there were chips, but I was missing the right search terms.
  43. Replies
    20
    Views
    834

    I have no idea about any of this, but I would...

    I have no idea about any of this, but I would imagine from a physical angle that when you get above a certain number of connections, that it may be time to break into smaller parts, say one Teensy...
  44. Is there a transistor similar to the SN74LV1T125, but the OE (enable) pad is switched

    I tend to like using Teensys to drive small number of WS2812B's for costumes. In the past, the LC was my favorite Teensy for this purpose due to the built-in level shifter for the A3/17 pin.

    But...
  45. Replies
    1
    Views
    222

    There are a few things that the Teensy 4.0 does...

    There are a few things that the Teensy 4.0 does not have that the Teensy 3.2 has. In terms of physical characteristics this includes:

    The ability to emit analog mono sound -- the Teensy 4.0 has...
  46. As I recall, I soldered a row of male pins on...

    As I recall, I soldered a row of male pins on each side of the Teensy. You want to make sure there is enough room for the PCB board and for the pins to connect to what ever the Teensy connects with...
  47. The pads you see under the Teensy are not the...

    The pads you see under the Teensy are not the standard USB connector used by the micro-USB connector. These pads are for the HOST USB port that allows Teensy to acts as a separate USB host (similar...
  48. Well I imagine that pins 24-33 are aligned to a...

    Well I imagine that pins 24-33 are aligned to a 0.1" boundary that it would be a matter of soldering in the pins on the external rows. and then use a prototype board to hold the outer pins, and the...
  49. I get $68.94 (USA shipping is $3.95) when I put...

    I get $68.94 (USA shipping is $3.95) when I put it in the cart. It did not mention taxes. If I include the NRF24L01+ and bluetooth radios, it bumps it up to $78.44.
  50. This looks nice. Like mjs513 said, I have the...

    This looks nice. Like mjs513 said, I have the 3.2 version, though I must admit I don't use it much.

    Particularly for the solder challenged, having the option to pre-solder it all together (at a...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4