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. FWIW, I have used this board with the Teensy 4.0...

    FWIW, I have used this board with the Teensy 4.0 and at least one of the Teensy 3.x's:

    https://smile.amazon.com/gp/product/B07PS653CD/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&psc=1
    Teensy...
  2. In terms of the servos, it might be simpler to...

    In terms of the servos, it might be simpler to move the majority of the servo processing off to a secondary board that handles the low level details of doing the pulse management, so it doesn't...
  3. I'm at a convention this weekend, but the way I...

    I'm at a convention this weekend, but the way I tend to want to use the feature is quicker on/off. I can understand why you want to have a timeout (to prevent accidental touching of the button), but...
  4. Yes, I could do that. At the moment, I needed it...

    Yes, I could do that. At the moment, I needed it for this weekend. Since I don't have to work with any random neopixel strip, I just switched the neopixels to use 3.3v and not VIN. While it is out...
  5. Yeah, human reaction times are fairly slow...

    Yeah, human reaction times are fairly slow compared to computer times, but if you decide to go for more buttons, then the problem scales up. :p

    Note however, if you do go for higher number of...
  6. One other thing, some of the Adafruit displays...

    One other thing, some of the Adafruit displays need pull-up resistors on the CS pins. I had a setup with 2 displays (the uncanny eye project at Adafruit), and I always had problems with corruption...
  7. In terms of optimization note that there are...

    In terms of optimization note that there are various speed levels for I2C, and it defaults to the slowest speed (100Khz), you might be able to boost it up to a higher speed, depending on the device...
  8. Assuming the switches are just on/off switches,...

    Assuming the switches are just on/off switches, one way be to use an i2c device like the MCP23017, such as Adafruit sells:

    https://www.adafruit.com/product/732


    You will likely need to add 2...
  9. Is there a hook to know when the on/off pin on the Teensy 4.0 has been grounded?

    I switched my little neopixel bowtie project to use a Teensy 4.0 (from Teensy LC). One of the things that prompted me to use the Teensy 4.0 was the on/off pin that can be used to turn off most of...
  10. Replies
    47
    Views
    3,788

    I was watching thjis weeks Ask an Engineer...

    I was watching thjis weeks Ask an Engineer (1/15/2020) from Adafruit, and they had a big mention about Circuit Python on the Teensy 4.0


    ...
  11. Replies
    2
    Views
    52

    Typically, instead of using SPI., you...

    Typically, instead of using SPI.<whatever>, you would use SPI1.<whatever> or SPI2.<whatever>.

    Now, whether the higher level libraries, support different SPI buses depends on the library.
  12. Replies
    8
    Views
    102

    I would worry about the state of the pin while...

    I would worry about the state of the pin while the chip is booting, before it gets to setup, but it shouldn't be hard to try.

    Here is a solution for the Teensy 3.2 to use a spare pin as a reset. ...
  13. Replies
    8
    Views
    102

    No, you want to connect the reset pin to ground...

    No, you want to connect the reset pin to ground to reset the board, not HIGH.
  14. What I meant is as I understand it, when you do a...

    What I meant is as I understand it, when you do a Serial<x>.print or Serial<x>.println, it copies all of the bytes to an internal buffer (each Serial UART + Serial USB has its own buffer). The first...
  15. I've seen a similar case before when I was...

    I've seen a similar case before when I was testing the T4 WS2812Serial library when it was first implemented for the T4. In my case, I was being lazy and using a 16 LED ring (from Adafruit) and...
  16. Looking at the ebay page, the documentation says...

    Looking at the ebay page, the documentation says you need to feed it 4.5v or higher for VCC. So, you need to use VIN and not 3.3v to power the SD card reader. VIN is 5v if you use USB to power your...
  17. On the Teensy 3.2, 3.5, and 3.6, only the first...

    On the Teensy 3.2, 3.5, and 3.6, only the first two serial ports have an 8 byte FIFO (first in, first out) hardware buffer to hold the characters received while interrupts are disabled. I believe...
  18. Well one possibility is the Adafruit Airlift...

    Well one possibility is the Adafruit Airlift featherwing + Adafruit Teensy->Feather adapter. Note, I haven't used the Airlift, but I have used the feather adapter. You would have to do basic...
  19. Use your original code, and use the c_str()...

    Use your original code, and use the c_str() method where it complains to change String into normal C-style char arrays.



    #include <SPI.h>
    #include <SD.h>
    #include <math.h>

    #define LED_PIN 2
  20. No, just bump up MAX_DATA_LEN to whatever size...

    No, just bump up MAX_DATA_LEN to whatever size that is the maximum for your output + 1 for the trailing null byte.
  21. Your issue is the SD library does not accept the...

    Your issue is the SD library does not accept the String library. Generally, due to the limited memory on microprocessors, it isn't a good idea to use the String class (granted the 4.0 has more...
  22. Replies
    9
    Views
    694

    I imagine you would need to build it from scratch...

    I imagine you would need to build it from scratch since the memory layout of the Teensy is likely different from that board. I imagine you would also need to add a serial flash chip to hold the...
  23. In the original C as created by Dennis Ritchie on...

    In the original C as created by Dennis Ritchie on the PDP-7 and then later on the PDP-11, the language was biased towards everything being 'double'. As I understand it, the PDP-11 that they were...
  24. Replies
    17
    Views
    736

    My take is the dual core chips will be harder for...

    My take is the dual core chips will be harder for the average Arduino programmer to grok, simply because up until now, they probably don't use threads or similar mechanisms already. I'm not saying...
  25. Funny comment heard on Adafruit's Ask an Engineer tonight

    I listen on and off to the Ask an Engineer segment on Adafruit on Wednesday night. Limor (i.e. Lady Ada) was talking about the @arturo182 board that uses the NXP 1062 chip (same as in the Teensy...
  26. Replies
    0
    Views
    41

    Audio shield VIN output

    As I was playing around the Audio shield, I was thinking for setups where you are using low powered speakers, that it would be really useful if adjacent to the line-out pins (L-G-R) there was a pin...
  27. Replies
    10
    Views
    212

    That is a typical message if you select the wrong...

    That is a typical message if you select the wrong board (i.e. Tools -> Board -> Teensy 3.6). BUILTIN_SDCARD is only defined for the Teensy 3.5, 3.6, and 4.0 platforms. It could also be if you have...
  28. Replies
    3
    Views
    156

    Also, if you need up to 16 more pins (or 10 pins...

    Also, if you need up to 16 more pins (or 10 pins plus a micro SD card drive), and can do intermediate soldering, there are various boards that can be made to break out the pins underneath the Teensy...
  29. Replies
    17
    Views
    736

    Thanks. I haven't been keeping track of the Pi...

    Thanks. I haven't been keeping track of the Pi world. I gave up at the Pi-2/Zero stage. For me, it was the PI cameras were so poor, that I could only use them outdoors in daylight. I also was...
  30. Replies
    17
    Views
    736

    Sure at that price, it is a niche board. ...

    Sure at that price, it is a niche board.

    Technically it is not 2 separate micro-controller chips put together on a PCB, but it is a single chip with 2 different cores (M7 and M4).

    Note, the...
  31. Replies
    10
    Views
    212

    Look at the example: Examples -> SD ->...

    Look at the example:

    Examples -> SD -> ReadWrite


    You will need to change the chipSelect constant to 'BUILTIN_SDCARD' to use the built-in SD card in the Teensy 3.5 or 3.6.

    The cards...
  32. Is there any Teensy 4.0 work that is in progress that I should mention?

    I'm going to the Arisia science fiction convention which is held in Boston over the Martin Luther King weekend. I will be on 4 panels (including moderating one). Now for 3 of the panels, I pretty...
  33. Fair enough. I never know in writing replies...

    Fair enough. I never know in writing replies what skill level the people are at.
  34. Replies
    6
    Views
    192

    But note my results over in this thread. I was...

    But note my results over in this thread. I was surprised that while SDIO helped a little bit (1.76 Mbyte/second vs. 1.19 Mbyte/second), it wasn't the 2-4x improvement I thought it might be:

    ...
  35. Note, the only Teensy Player for Serial Flash...

    Note, the only Teensy Player for Serial Flash uses the RAW format, which in turn is like a mono WAV format without the extra headers. So you need to make sure all of your sounds fit in the serial...
  36. Replies
    6
    Views
    192

    While you might be able to do it with a Teensy, I...

    While you might be able to do it with a Teensy, I suspect you might be better served by using a Raspberry Pi than a Teensy.

    However, I suspect that ultimately you will be limited by external...
  37. Measured SD/flash memory timings

    Ok, mea culpa. I decided to actually measure the times (rather than speculating on how I thought things should work). I ran the SD card tests from the audio library, measuring the speed of reading...
  38. Note, don't read into my posts more knowledge...

    Note, don't read into my posts more knowledge than I have. I haven't done much in terms of playing multiple songs, etc. But it is more from a theory of how things work. Unless you have multiple...
  39. Replies
    24
    Views
    442

    Yea, I lucked out. I ordered some PT8211 boards...

    Yea, I lucked out. I ordered some PT8211 boards on the 30th, and did an OSHpark order as well. Paul included the last 2 beta boards in my order. So I have to imagine any new PT8211 orders might be...
  40. I suspect it isn't the card per-se, but whether...

    I suspect it isn't the card per-se, but whether the whole infrastructure can handle it. At the end of the day, a micro-SD card is essentially just serial flash memory, and you are limited to the...
  41. You might want to also read this thread: ...

    You might want to also read this thread:

    https://forum.pjrc.com/threads/58576-Using-W25Q256-on-Audio-shield


    However, I don't think there is a version to play MP3 files from flash memory. ...
  42. Replies
    402
    Views
    24,475

    If possible, include an extra screw or 2. I seem...

    If possible, include an extra screw or 2. I seem to be prone to tiny screws falling on the ground and not being able to find them again. Fortunately, I had some plastic M2 screws that I could use.
  43. FWIW, I just soldered the flash card onto the T4...

    FWIW, I just soldered the flash card onto the T4 shield and it works on a T4.


    Unfortunately TeensyTransfer does not work on the Teensy 4.0. Using Teensydunio 1.49 beta 4, you can attempt to...
  44. Replies
    4
    Views
    77

    It might be helpful if you could post what you...

    It might be helpful if you could post what you want to do, and what parts you have or are contemplating buying. Before jumping in with multiple thermocouples, just hook up one, and learn how to read...
  45. Replies
    7
    Views
    146

    I suspect many of us have no idea what you are...

    I suspect many of us have no idea what you are trying to do.

    Lets step back to the beginning. Please post a link to whatever project you are trying to make. Post what parts you have. Otherwise,...
  46. Replies
    235
    Views
    5,009

    Thanks Paul for the detailed answer. I tend to...

    Thanks Paul for the detailed answer.

    I tend to switch back between lithium-ion batteries (3.7v nominal, 4.2v freshly charged) and 5v USB chargers when I use neopixels. So, I've been planning to...
  47. Replies
    235
    Views
    5,009

    In general, the bi-directional level shifters are...

    In general, the bi-directional level shifters are too slow for neopixels. Here is the classic paper on this from 2014:

    http://happyinmotion.com/?p=1247


    They recommend using the 74HCT245...
  48. Replies
    235
    Views
    5,009

    Obviously a buzzer with a PWM pin is fairly easy...

    Obviously a buzzer with a PWM pin is fairly easy if you just want to make a noise.

    It depends on your needs. If you wanted to play canned sounds, one choice is the DFPlayer mini. It has a...
  49. Replies
    13
    Views
    423

    You also might want to look into this thread: ...

    You also might want to look into this thread:


    https://forum.pjrc.com/threads/58576-Using-W25Q256-on-Audio-shield
  50. Replies
    13
    Views
    423

    The Teensy has more power, but it is likely being...

    The Teensy has more power, but it is likely being constrained by the relatively slow SD card reader on the audio shield, using single bit SPI to transfer data. The Teensy 4.0 does have pins to...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4