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. A lot of times, people have code like: ...

    A lot of times, people have code like:



    void setup (void)
    {
    // ...

    Serial.begin (9600);
    while (!Serial)
  2. For Teensy there is Duff's snooze library. I...

    For Teensy there is Duff's snooze library. I haven't used it myself, but I've seen others use it:

    https://github.com/duff2013/Snooze
  3. In case you don't know about it, Adafruit does...

    In case you don't know about it, Adafruit does have a Teensy to feather adapter that lets you mount various feather wings. I tend to use it even if I'm not wanting to use featherwings, because the...
  4. Replies
    70
    Views
    2,933

    It would be useful to mention what are the...

    It would be useful to mention what are the specific defines for each chip to use with #ifdef.

    One thing that would be useful in the web document, but it probably doesn't need to be at the top is a...
  5. For various reasons, SoftwareSerial does not work...

    For various reasons, SoftwareSerial does not work on Teensy ARM boards, with the exception that if you specify RX/TX for an existing hardware UART, it will use that. But you can't use arbitrary...
  6. On some boards, particularly the Arduino Uno...

    On some boards, particularly the Arduino Uno boards using the AVR 328p, the chip does not have any USB support. So it relies on a second chip on the PCB to manage the USB connection. It watches the...
  7. Replies
    70
    Views
    2,933

    And of course there are rumors of a new Teensy...

    And of course there are rumors of a new Teensy using the same chip but with a new form factor (micromod) that might show up some time.

    That is always the problem of labeling something 'new'. I...
  8. Replies
    3
    Views
    106

    Smartled/pixelmatrix has an entirely different...

    Smartled/pixelmatrix has an entirely different board (V5) for use with the Teensy 4.0/4.1. They just started shipping the board through crowdsupply.com (unfortunately limited to USA sales since it...
  9. If you cut the trace, there will be no power...

    If you cut the trace, there will be no power connection between the USB cable and the Teensy. You have 3 choices:

    Power the Teensy externally when you are programming the Teensy;
    Disconnect...
  10. While it maybe more complicated to use, the...

    While it maybe more complicated to use, the OctoWS2811 LED library on the Teensy 4.0 and 4.1 can use any arbitrary pins:

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


    The WS2812Serial...
  11. They probably will work. But I would think...

    They probably will work. But I would think typically you would want a unit with a fixed voltage output rather one that can vary depending on the potentiometer setting. The variable ones are great...
  12. If you look in the code (such as...

    If you look in the code (such as src/Adafruit_TinyUSB_TeensyCore.h), there are places that have:


    #if defined(ARDUINO_TEENSY41)


    You would need to change these lines to:


    #if...
  13. (Just to be clear, I am a software guy, if...

    (Just to be clear, I am a software guy, if somebody with real EE knowledge posts, believe them and not me).

    Note the product page says the limit is 5.5v, not 6v. IIRC, Paul has said that it can...
  14. I've been wondering whether HUB75 pixel matrixes...

    I've been wondering whether HUB75 pixel matrixes might be more effective and cheaper than the large WS2812B/neopixel displays. I just got a 64x32 display from Adafruit with their adabox 16 product,...
  15. Another thing to think about is getting the...

    Another thing to think about is getting the Teensy LC propshield:

    Low cost propshield: https://www.pjrc.com/store/prop_shield_lowcost.html
    Propshield with motion sensors:...
  16. Replies
    7
    Views
    224

    You didn't mention what microprocessor you are...

    You didn't mention what microprocessor you are using. And for floats, use powf, not pow, because powf takes float arguments, does most of the calculations in float and returns float arguments. ...
  17. Note, in addition to the flash memory used to...

    Note, in addition to the flash memory used to hold the program and initial values of the static/global variables, you can solder a second flash memory chip to the Teensy 4.1. Typically something...
  18. While the Teensy-LC is underpowered for MP3...

    While the Teensy-LC is underpowered for MP3 decoding, it should be powerful enough to connect to one of the external MP3 players, to provide the interface etc. For example, dfrobot came up with a...
  19. Before going down the route of trying to add both...

    Before going down the route of trying to add both a micro-SD card reader and the prop-shield, if you don't need to remove the micro-SD card, but are just using it to store pre-recorded sounds/songs,...
  20. Replies
    2
    Views
    140

    I haven't actually assembled it yet, but PJRC...

    I haven't actually assembled it yet, but PJRC does a kit with a PT8211 that sits on top of the Teensy. There are 2 PCBs included in the kit, one for the Teensy 3.2/3.5/3.6 and the other for the...
  21. Replies
    65
    Views
    3,209

    Cool, thanks for the update.

    Cool, thanks for the update.
  22. Replies
    65
    Views
    3,209

    From what I've read, to do UHS-1, you would need...

    From what I've read, to do UHS-1, you would need to drop the voltage from 3.3v to 1.8 on each of the 4 data pins and VDD. UHS-2 requires 0.4v and it has double the pins:

    ...
  23. Great, glad it works for you. I didn't think a...

    Great, glad it works for you. I didn't think a LC could hold the entire buffer in memory.
  24. The rather complex example of uncanny eyes...

    The rather complex example of uncanny eyes (Examples -> ST8835_t3 -> uncannyEyes_async_st7789_240x240) has an example using two displays on the two SPI buses, with each display not having a CS pin.
    ...
  25. Right now, the default SD library uses the FAT32...

    Right now, the default SD library uses the FAT32 filesystem (as others have said, the name must adhere to the original 8.3 naming scheme). The FAT32 filesystem has a limit that any one file cannot...
  26. I've done it (mostly using one or two 16-LED...

    I've done it (mostly using one or two 16-LED rings), but it really depends on the strip. You won't be able to do anywhere near full brightness. Some strips will not run at 3.3v, and you need higher...
  27. Well technically, there is one alternate pin...

    Well technically, there is one alternate pin (MISO1 is normally 1, but it can be pin 39 if you use the SPI1.setMISO (39) call). But the alternate pins like the Teensy 3.x/LC have are not available.
  28. The Teensy audio shield revision A, B, and C use...

    The Teensy audio shield revision A, B, and C use a completely different pinout than the Teensy audio shield revision D.

    The Teensy audio shields revision A, B, and C were meant for the Teensy 3.1,...
  29. Note that standard SD/micro-SD cards use 3.3v to...

    Note that standard SD/micro-SD cards use 3.3v to the card itself (and if you go to UHS-I mode, you need to drop the voltage to 1.8 volts, and 0.4 volts for UHS-II mode).

    The last time I was...
  30. Replies
    18
    Views
    442

    Back in the day, when I used Arduino Uno's, I did...

    Back in the day, when I used Arduino Uno's, I did not need external pull-up resistors on the I2C bus. When I moved over to Teensy 3.0, I needed them. Likewise when I used some of the Adafruit SAMD...
  31. Replies
    16
    Views
    461

    Thanks everybody, I probably will look at KICAD...

    Thanks everybody, I probably will look at KICAD first and then EasyEDA. On Fedora 33, they have KICAD in the repository, while EasyEDA is a separate package, which means I don't see updates...
  32. Replies
    18
    Views
    442

    Assuming you have the correct pinout for I2C (pin...

    Assuming you have the correct pinout for I2C (pin 18 for SDA, pin 19 for SCL), ground, and VCC/3.3v, there are two common issues you might be running into:

    The first issue is I2C buses on the...
  33. Replies
    16
    Views
    461

    Simple/cheap PCB creation on Linux

    I tend to spend some amount of time designing Teensy designs for solderable prototype boards, bringing out various pin combinations, for example having 3.3v, ground, pins 0/1 for Serial1 all in a row...
  34. Same here. I have plenty of 64GB and 128GB full...

    Same here. I have plenty of 64GB and 128GB full size SD cards for my cameras, but the micro-SD cards I have, I specifically have kept to 32GB or less to avoid having to deal with things that don't...
  35. The simplest way for external power is just to...

    The simplest way for external power is just to use a USB micro-B plug on one end, and your power source on the other end. That way when you are programming, you use the normal computer USB cable,...
  36. It depends on the code, and what devices the code...

    It depends on the code, and what devices the code uses. There are a few things that might prevent it from working on a Teensy 4.0/4.1. Many of things are minor, and can be changed in the code:

    ...
  37. In terms of #2, SD cards and micro-SD cards above...

    In terms of #2, SD cards and micro-SD cards above 32 gigabytes are SD-XC cards (1-32GB are SD-HC cards). Generally, above 32 gigabytes, the VFAT filesystem is not used. Instead a new filesystem...
  38. Here is a list of Teensy 4.0 break-out boards...

    Here is a list of Teensy 4.0 break-out boards (Loglow/Talldog, Blackketter, and Trainer4EDU had boards with USB host IIRC):

    https://github.com/TeensyUser/doc/wiki/Teensy-4.0-breakout-boards

    ...
  39. Replies
    15
    Views
    547

    Note, if the touch system uses the same SPI bus...

    Note, if the touch system uses the same SPI bus as the display, you might need to add pull-up resistors on the two CS pins (display & touch):

    ...
  40. Replies
    50
    Views
    2,219

    I believe inttypes.h were added in C99, and I...

    I believe inttypes.h were added in C99, and I think C++11. I left the C standards committee between the C90 and C99 standards, so I don't recall exactly when it got added. It relies on string...
  41. This is one of those things where the answer is...

    This is one of those things where the answer is it depends.

    Note the prop shield is mono only. It has a built-in amplifier so that you can hook up a single 2watt 4/8ohm speaker directly. It has...
  42. Replies
    1
    Views
    311

    Yes, I was just going to post this also. The...

    Yes, I was just going to post this also. The shorter board (for the LC, 3.2, and 4.0) is available now, while the longer board (for the 3.5, 3.6, and 4.1) is available as a pre-order (which must be...
  43. Replies
    8
    Views
    264

    If you have some skill in soldering perhaps using...

    If you have some skill in soldering perhaps using the Adafruit feather wing system might give you some results more quickly.

    For example, if you have the following, you can put them together and...
  44. Replies
    8
    Views
    264

    I suspect it may be complex for a complete...

    I suspect it may be complex for a complete beginner.

    The PCB itself is fairly simple. There are 10 buttons that need to be soldered in. These buttons connect to specific pins in the 2x20 pin...
  45. Replies
    8
    Views
    264

    It might help if you include a link to the PCB...

    It might help if you include a link to the PCB board and possibly other documentation in your questions.
  46. Have you validated that your external power...

    Have you validated that your external power source is providing enough power? I could imagine that motors starting and stopping might provide a bump in the power, and the Teensy may be in a brownout...
  47. Replies
    10
    Views
    614

    FWIW, I've written a sketch that can measure...

    FWIW, I've written a sketch that can measure power output, that I'm using to measure how much power is used by my Olympus and Panasonic cameras with external power under some circumstances. At the...
  48. As defragster says the product page for the audio...

    As defragster says the product page for the audio shield includes the two different shields. You want shield revision C for the Teensy 3.1, 3.2, 3.5, and 3.6. You want shield revision D for Teensy...
  49. Defragster answered already, but by socket, I...

    Defragster answered already, but by socket, I meant the through hole pin slot, next to pin 38 and in front of the micro-SD card reader.

    Unfortunately, those pins do not have labeling on the PCB. ...
  50. The Teensy 4.0/4.1 have an additional method,...

    The Teensy 4.0/4.1 have an additional method, that may be useful depending on what you want to do.

    There is a socket on the Teensy 4.0 back row of pins, and the interior row of pins on the Teensy...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4