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

  1. Replies
    4
    Views
    156

    In general, if you go over to...

    In general, if you go over to https://www.pjrc.com/teensy/td_libs.html, it has all of the pages for documentation about the Teensy libraries.

    From there, go to the SPI page,...
  2. Replies
    2
    Views
    98

    I'm sure there are many different enclosures. I...

    I'm sure there are many different enclosures. I typically don't worry about 'fancy' enclosures.

    One that I've used in the past is the Altoids tin. You can get a regular Altoids tin (eat the...
  3. Replies
    4
    Views
    156

    To amplify what PaulS said, on the Teensy 3.x...

    To amplify what PaulS said, on the Teensy 3.x microprocessors, you can choose two sets of pins for the 3 SPI pins:

    Pin 11 or pin 7 for DIN/MOSI;
    Pin 12 or pin 8 for DOUT/MISO; (and)
    Pin 13...
  4. Cute. Though I'm having trouble thinking that a...

    Cute. Though I'm having trouble thinking that a soldering iron would be made where the tip can't stand the temps. produced. But you never know these days. :)
  5. Thanks. Yes, I don't have solder paste or a heat...

    Thanks. Yes, I don't have solder paste or a heat gun that isn't that directional. I'll maybe play with it, but as I said, I did recently pick up some more Teensy LC's. Fortunately, you can still...
  6. My problem is with the USB header on place, there...

    My problem is with the USB header on place, there is no way to touch the tabs with the iron since the usb header is sitting on top of it. With PSrams and such, I can still see the top of the chip's...
  7. How to resolder Teensy LC USB connector?

    I was doing a neopixel suspender for a local steampunk event, and I did a quick job to solder some wires to the Teensy LC (Vin, the pin 17 level shifted, and ground). Afterward the show, I noticed...
  8. Replies
    428
    Views
    106,986

    The Adafruit ItsyBitsy headers are great. Though...

    The Adafruit ItsyBitsy headers are great. Though connecting VUSB might be an issue.

    However, I find the Sparkfun stacking headers for the Teensy 3.2/4.0 to be less useful. The ItsyBitsy headers...
  9. Unless you are using really old Arduino shields,...

    Unless you are using really old Arduino shields, I believe the modern shields are now capable of running at 3.3v as well as 5v. Of course individual devices may still be 5v only, but again, I...
  10. Replies
    428
    Views
    106,986

    I assume you know about them, but in case you...

    I assume you know about them, but in case you don't, Adafruit's ItsyBitsy processor has the same form factor as the Teensy LC/3.2/4.0 (other than the pins inside of the Teensy):

    Short female...
  11. Replies
    2
    Views
    131

    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...
  12. Replies
    7
    Views
    422

    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...
  13. 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.
  14. 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...
  15. Replies
    5
    Views
    4,385

    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...
  16. Replies
    136
    Views
    89,043

    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...
  17. 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....
  18. 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. ...
  19. Replies
    6
    Views
    336

    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...
  20. 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.
  21. 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. ...
  22. 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.
  23. 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...
  24. 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:

    ...
  25. Replies
    155
    Views
    49,338

    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,...
  26. Replies
    3
    Views
    262

    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...
  27. 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...
  28. Replies
    1
    Views
    133

    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...
  29. 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...
  30. Replies
    2
    Views
    136

    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...
  31. 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...
  32. 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.
  33. 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...
  34. 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...
  35. 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...
  36. 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;
    ...
  37. 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...
  38. 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:


    ...
  39. 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...
  40. 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...
  41. 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....
  42. 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...
  43. 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...
  44. I'm glad it works.

    I'm glad it works.
  45. Replies
    11
    Views
    386

    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,...
  46. 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...
  47. Replies
    2
    Views
    186

    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:


    ...
  48. 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...
  49. 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.
  50. 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:...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4