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. Replies
    2
    Views
    128

    Note, I'm a software guy, so possibly I'm off...

    Note, I'm a software guy, so possibly I'm off track in terms of physical characteristics of electricity....

    I could imagine that one way to do it is carefully cut heat shrink tubing so it has...
  2. Replies
    7
    Views
    405

    In terms of pin assignment and such, I have made...

    In terms of pin assignment and such, I have made the following spreadsheet that attempts to document the pin changes between the various ARM Teensies. I also wrote a higher level summary in the...
  3. To the OP, note except for the basic devices...

    To the OP, note except for the basic devices (Serial1, I2C1, SPI1), things may be on different pins. So, if you have made PCB's, you may need to revisit the PCB and layout.
  4. It is problematical. The Teensy 4.0/4.1 does not...

    It is problematical. The Teensy 4.0/4.1 does not have a DAC pin like the Teensy 3.2/3.5/3.6/LC microprocessors had. This means you can't just hook up the DAC pin to the prop shield and have it...
  5. Replies
    5
    Views
    4,331

    If you want to use hardware SPI, then you do need...

    If you want to use hardware SPI, then you do need to use the hardware SPI pins for MISO, MOSI, and SCLK. The CS pins can typically be any pin. There are some hardware optimizations if you use the...
  6. Replies
    136
    Views
    88,988

    You might want to post your code exactly and...

    You might want to post your code exactly and mention what version of teensy dunio you are using. If you are using Teensy Dunio 1.56, it should just work, assuming you use BUILTIN_SDCARD for the SD...
  7. I assumed you knew about the audio shield, and...

    I assumed you knew about the audio shield, and you couldn't use it either due to cost or it interfered with something on your board.

    Be sure to watch (and rewatch) this video on the audio adapter....
  8. Mjs513 posted an article I did a few years ago. ...

    Mjs513 posted an article I did a few years ago. I haven't done much in the last few years due to covid lockdowns and my own health issues, and such.

    But some other things that might be useful. ...
  9. Replies
    6
    Views
    333

    Note, the Teensy 2 and Teensy 2++ are completely...

    Note, the Teensy 2 and Teensy 2++ are completely different processors (ATmega 32u4 if memory serves) than the ARM based Teensy LC, 3.x, and 4.x processors. Hopefully it will work straight out of the...
  10. I assume it is obvious, but I believe you meant...

    I assume it is obvious, but I believe you meant normal pins "can't" do USB.
  11. There are various prototype boards that bring out...

    There are various prototype boards that bring out the pins to positions you can use with a prototype board. Mostly, these are for getting access to the underneath pins of many of the boards. ...
  12. If you are in Massachusetts, the Micro Center in...

    If you are in Massachusetts, the Micro Center in Cambridge currently has 2 Teensy LC's and 2 Teensy 4.0's. I don't recall if You-do-it carries Teensys any more (they used to). FWIW, I'm in Ayer.
  13. On the back of the Teensy LC pinout card...

    On the back of the Teensy LC pinout card (https://www.pjrc.com/teensy/pinout.html), it lists which pins can be attached to interrupts. IIRC, on the later Teensys, all pins capable of doing digital...
  14. I've not used RTS/CTS, particularly with Teensy...

    I've not used RTS/CTS, particularly with Teensy 4.0/4.1, but the Teensy library section on Serial UART devices has a description on what CTS/RTS pins can be used:

    ...
  15. Replies
    155
    Views
    49,113

    I agree, I've hated Python ever since it came out...

    I agree, I've hated Python ever since it came out due to the white space requirements. I'm a perl programmer from way back, and I would have preferred perl to have won the mindspace that Python got,...
  16. Replies
    3
    Views
    248

    I'm curious if there is a reason you are sticking...

    I'm curious if there is a reason you are sticking with the Teensy 4.0 instead of using the Teensy 4.1? The Teensy 4.1 has the SD card slot built-in, plus you can solder a PSRAM chip underneath if...
  17. Technically, using "L" as a suffix makes the...

    Technically, using "L" as a suffix makes the constant 'long double'. Fortunately for the usage, on current ARM compilers, 'long double' has the same representation as 'double'. But on other...
  18. Replies
    1
    Views
    128

    Those are solder pads that may be connected, but...

    Those are solder pads that may be connected, but that with a knife you can disconnect them.

    The top one is the connection between VUSB and VIN. Normally VUSB is connected to VIN to power the...
  19. In general let me say, I am a software guy, not...

    In general let me say, I am a software guy, not an IEEE engineer, so assume all of my answers are as I grok things (and having been part of this community since the original Teensy 3.0), and not with...
  20. Replies
    2
    Views
    132

    Well unless you are wedded to using a Teensy 3.2,...

    Well unless you are wedded to using a Teensy 3.2, another option is to get the Teensy 4.1 (which has a built-in SD card slot) and the new SmartMatrix display made for the Teensy 4.0/4.1 (note, the...
  21. Note, if you are powering the Teensy with USB...

    Note, if you are powering the Teensy with USB power, and drawing the power off the VIN pin, there is a fuse (*) between the USB power and the VIN pin that limits you to roughly 5 volts at 500 mA. I...
  22. Or just use larger types. IIRC, the EEPROM...

    Or just use larger types. IIRC, the EEPROM library was modified ages ago to support reading/writing arbitrary types.
  23. Here is the documentation:...

    Here is the documentation: https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html

    You create a temporary variable, and tell the compiler it is an output register. You use "=" in the constraints to...
  24. You likely need pull-up resistors on each of the...

    You likely need pull-up resistors on each of the SDA and SCL pins for one of the Teensies (or on the wires between them). Teensies don't come with pull-up resistors installed on the I2C bus, but you...
  25. At a quess, this is your problem. Unfortunately,...

    At a quess, this is your problem. Unfortunately, the Audio examples have not been updated for the Teensy 4.0/4.1 systems that use different pinouts. In particular, pins 20 and 21 are used by the...
  26. On the Teensy 4.1, all 10 ground pins are...

    On the Teensy 4.1, all 10 ground pins are inter-connected. The ground pins are:

    Ground pin next to pin #0;
    Ground pin between VIN and 3.3v
    Ground pin between pin 13 and pin 41/A17;
    ...
  27. Welcome. Note for reference, I am a software...

    Welcome. Note for reference, I am a software guy. While I've been kicking around the microcontroller field for awhile, if somebody answers the question that contradict my answer, probably believe...
  28. If it helps, I created this google spreadsheet...

    If it helps, I created this google spreadsheet that attempts to list all of the pins and their purposes for each of the ARM based Teensies:


    ...
  29. I've run most of the ARM Teensies (LC, 3.1, 3.2,...

    I've run most of the ARM Teensies (LC, 3.1, 3.2, 3.5, 3.6, 4.0, and 4.1 -- I don't remember if I ran the 3.0 with lipo batteries or not, and I haven't used the micromod) over the years.

    One minor...
  30. The way that I usually code this is to wait up to...

    The way that I usually code this is to wait up to 3 seconds for the USB Serial line to be created, and if it doesn't just continue on. This way if you do connect the USB serial, you won't miss the...
  31. The other thought might be to investigate if...

    The other thought might be to investigate if there are alternative synths that use open source (such as ones running on Teensys), and then modify the display on the synths to use a different display....
  32. FWIW, Adafruit, and Sparkfun now carry it. ...

    FWIW, Adafruit, and Sparkfun now carry it. Digikey also resells both the Adafruit and Sparkfun entries. At the moment, Adafruit has some in stock, Sparkfun has a few coming in next week, and...
  33. In general many sketches are board specific. But...

    In general many sketches are board specific. But a lot of the sketches I write aren't. I have simple sketches that drive the various neopixel/ws2812b light projects that I do, and they have various...
  34. I'm glad it works.

    I'm glad it works.
  35. Replies
    11
    Views
    383

    All Teensy LC, 3.x, and 4.x microprocessors have...

    All Teensy LC, 3.x, and 4.x microprocessors have both 32-bit float and 64-bit double. The long double is also 64 bits. In terms of how they handle the floating point types:


    Teensy LC, 3.0,...
  36. I've seen several displays that will not work...

    I've seen several displays that will not work with 3.3v power. They will work with 3.3v data pins for CS, DC, SPI, etc. but they need more power than 3.3v supplies (either more volts and/or more...
  37. Replies
    2
    Views
    184

    I tend to only use a few WS2812B's or neopixels...

    I tend to only use a few WS2812B's or neopixels so I've never needed the octows2811 board, but I recall seeing this board from Tindie if you need to drive 32 output ports from a Teensy 4.1:


    ...
  38. Looking at...

    Looking at https://www.pjrc.com/store/display_ili9341_touch.html, I would say you would want to move the CS pin from pin 10 to another pin that isn't used by the audio board, since pin 10 is used for...
  39. You can only switch to specific pins. I.e. you...

    You can only switch to specific pins. I.e. you can switch Serial1 TX to 53 and Serial1 RX to 52 but not random other pins.
  40. I believe it is like the Teensy 3.x, where there...

    I believe it is like the Teensy 3.x, where there are certain pins used by the hardware by default, but you can tell the library to use the alternate pins.


    See:...
  41. I don't really know the details under the hood,...

    I don't really know the details under the hood, but the Smartmatrix shield on the Teensy 3.1/3.2/3.5/3.6 uses different pins for the Smartmatrix shield on Teensy 4.0/4.1. I suspect you probably need...
  42. It is the Teensy 4.0/4.1/micromod microprocessor...

    It is the Teensy 4.0/4.1/micromod microprocessor that doesn't support AGND. I assume it was a cost/benefit calculation when the NXP designers laid out the chip. Just like why the chip doesn't have...
  43. You will also need these pins: 3.3v ...

    You will also need these pins:

    3.3v
    Ground pin between 3.3v and VIN pins
    I don't think you need VIN, but it probably doesn't hurt to add it also.


    If you want to use either the flash...
  44. Replies
    4
    Views
    237

    The only trouble with recommending a Teensy...

    The only trouble with recommending a Teensy 3.2/3.5/3.6 right now is evidently the supply is getting thin due to the global chip shortage. Paul has said in another post that PJRC has run out of...
  45. Replies
    2
    Views
    549

    While you would have to re-design the pin layout...

    While you would have to re-design the pin layout and go to a larger form factor, note the Teensy 4.1 has more digital pins available (42) without having to solder to get at the pads underneath the...
  46. Just get the Audio Shield Rev C. That is...

    Just get the Audio Shield Rev C. That is compatible with the Teensy 3.1, 3.2, 3.5, and 3.6. IIRC, the original Teensy 3.0 and LC did not have the appropriate sound support or instructions to run...
  47. I missed the part about not knowing how to...

    I missed the part about not knowing how to solder. Frankly, if you haven't done any soldering before, soldering the Teensy 4.0 SD pins is a bit harder than the normal through hole soldering because...
  48. Well, if you haven't bought the Teensy 4.0 yet,...

    Well, if you haven't bought the Teensy 4.0 yet, one option is to get the Teensy 4.1 instead. The Teensy 4.1 has a built-in SD card reader, and I can verify that it does work with the smart shield. ...
  49. Replies
    12
    Views
    972

    Ummm, as I said above, yes the x86 has...

    Ummm, as I said above, yes the x86 has instructions to do sine and cosine instructions in hardware, but these instructions are microcoded which means they are slow. They also do not return correct...
  50. Unfortunately the 3.2 audio shield uses pin 9 for...

    Unfortunately the 3.2 audio shield uses pin 9 for BRCLK (one of the I2S clock bits). Pin 9 is normally the receive port for Serial2. There is an alternate pin that can be used for the Serial2...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4