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.

  1. In general no, it is not possible. There are...

    In general no, it is not possible. There are unofficial ways to load sketches without micro USB, but you have to load a script that has the download mechanism on to the Teensy first.

    You could...
  2. I don't think that is possible on the Teensy...

    I don't think that is possible on the Teensy 4.0/4.1. The I2S port #1 has 5 pins that can act as input or output ports, plus the 3 clocking pins:

    Pin 6 -- OUT1D
    Pin 7 -- OUT1A
    Pin 8 --...
  3. I put a fixed version on my web site in April...

    I put a fixed version on my web site in April 2020:

    http://www.the-meissners.org/tmp/2020-04-27-teensytransfer.zip


    I keep hoping that one of the Teensy 1.54 betas will combine all of the...
  4. I've been able to solder the PSRAM chips on using...

    I've been able to solder the PSRAM chips on using my normal soldering iron and thinner solder.
  5. And as the link defragster mentioned...

    And as the link defragster mentioned (https://www.pjrc.com/store/teensy41.html#memory), on the Teensy 4.1, you can add two more memory modules via soldering the chips to the Teensy 4.1. You can add...
  6. Replies
    25
    Views
    5,952

    You can daisy chain them, connect board 1 to...

    You can daisy chain them, connect board 1 to board 2, connect board 2 to board 3, and connect board 3 to board 4. That way you only use 2 grounds on each Teensy.

    Generally though what I would do...
  7. Replies
    25
    Views
    5,952

    Yes. Be sure to connect the ground wire also...

    Yes. Be sure to connect the ground wire also between the two Teensies. Assuming each is powered separately, don't connect VIN. If you are wanting to power one Teensy and use it to power the other,...
  8. If it is just 3 bytes written out, you would do...

    If it is just 3 bytes written out, you would do something like:



    long a = (((long)(unsigned char)byte1) << 16) | (((long)(unsigned char)byte2) << 8) | ((long)(unsigned char)byte3);
    double...
  9. Replies
    6
    Views
    268

    One thing you could do once you get setup with...

    One thing you could do once you get setup with git up is go through all of the audio examples and use #ifdef where the SPI pins are defined so that it is correct if you use the example on either a...
  10. Replies
    1
    Views
    166

    Yes it is all possible on a Teensy 3.6 though it...

    Yes it is all possible on a Teensy 3.6 though it will likely take a bit of programming to get everything right. I would suggest doing it in stages (i.e. just play a single sound from the SD, and...
  11. And one other thing to remember. If you are...

    And one other thing to remember. If you are using Teensy 3.1, 3.2, 3.5, or 3.6, the Audio Shield and library remap two of the SPI pins:

    MISO: Normally pin 11, now pin 7;
    SCLK: Normally pin...
  12. Replies
    5
    Views
    293

    Technically you should change MOSI to 11 and SCK...

    Technically you should change MOSI to 11 and SCK to 13. What happens is it does these two lines:



    SPI.setMOSI(SDCARD_MOSI_PIN);
    SPI.setSCK(SDCARD_SCK_PIN);


    Now on the Teensy 4.x,...
  13. Replies
    5
    Views
    293

    Basically with the examples, you need to change...

    Basically with the examples, you need to change the SPI pins:

    In Teensy 3.x, MOSI is 7 and SCK is 14. In Teensy 4.x, MOSI is 11 and SCK is 13.

    If you want to access the SD card on the Teensy...
  14. Replies
    5
    Views
    293

    There is an example in the Teensy IDE (Audio ->...

    There is an example in the Teensy IDE (Audio -> WavFilePlayer) that plays WAV files on the SD card.

    You need to make one edit:

    Change


    // Use these with the Teensy Audio Shield
    #define...
  15. For a hardware solution, I recall the Adafruit...

    For a hardware solution, I recall the Adafruit PWM/Servro driver is an I2C device that supports 16 LEDs or Servos. Using I2C commands, I believe you can very the PWM parameters for each of the 16...
  16. Replies
    948
    Views
    56,218

    Yeah, I think I knew that, but I didn't recall...

    Yeah, I think I knew that, but I didn't recall it. It looks like pins 0-5, 7-8, and 30-33 are the Xbar pins. It would be helpful if the Serial library page mentioned this.
  17. Replies
    948
    Views
    56,218

    Adafruit sells some breakout boards that connects...

    Adafruit sells some breakout boards that connects a Serial UART, SPI, or USB Serial stream to BLE. Usually Adafruit is is pretty good at writing tutorials on how to use the boards, but you might...
  18. Some URLs for the SmartMatrix stuff is: Git...

    Some URLs for the SmartMatrix stuff is:

    Git Code: https://github.com/pixelmatix/SmartMatrix/
    Teensy 4 documentation: http://docs.pixelmatix.com/SmartMatrix/shield-t4.html
    SmartMatrix...
  19. Replies
    3
    Views
    252

    The datasheet for the MK66FX1M0 processor used in...

    The datasheet for the MK66FX1M0 processor used in the Teensy 3.6 is at. There are lots of settings for USB:

    https://www.pjrc.com/teensy/K66P144M180SF5RMV2.pdf
  20. Yes, I meant pull-up.

    Yes, I meant pull-up.
  21. For #1, consider using an I2C multiplexer. That...

    For #1, consider using an I2C multiplexer. That way you can use the hardware I2C support.

    https://www.adafruit.com/product/2717?
    ...
  22. Replies
    11
    Views
    615

    If you want speed, call the sincosf function. ...

    If you want speed, call the sincosf function. This function calculates both sin and cos at the same time.

    The calling sequence is:


    void sincos (double x, double *sin, double *cos);
    ...
  23. Besides a level shifter, sometimes you need...

    Besides a level shifter, sometimes you need pull-down resistors. You would need two resistors, one between SDA and 3.3v and the other betwen SCL and 3.3v. I never used a Mega, but when I was using...
  24. There are various Teensy synthesizer projects out...

    There are various Teensy synthesizer projects out there. Note, I don't have any experience with these boards, but I've seen other people talk about them.

    Before going in, you probably need to...
  25. It sounds like you need pull-up resistors. These...

    It sounds like you need pull-up resistors. These are a pair of resistors, one that connects pin 18 to 3.3v, and the other that connects pin 19 to 3.3v. Many I2C devices include pull-up resistors,...
  26. There are various level shifters that are made...

    There are various level shifters that are made for I2C. You want a level shifter that is bi-directional. Here is the one I used to use when I still used 5v I2C devices:

    ...
  27. Replies
    29
    Views
    1,165

    Note, you mentioned Teensy 3.1. The main...

    Note, you mentioned Teensy 3.1. The main difference between the Teensy 3.1 and the current Teensy 3.2 is the 3.2 has a bigger 3.3v regulator. This was important for adding wifi shields to the...
  28. Replies
    29
    Views
    1,165

    That is a rather large display for just 2x16...

    That is a rather large display for just 2x16 text.

    I used Digi-ole monitors for awhile. They support either I2C, SPI, or serial Uart. Their largest display (83mm x 42mm) is a mono 128x64...
  29. Replies
    29
    Views
    1,165

    It depends on what display you are using, etc. ...

    It depends on what display you are using, etc. If you go with an I2C display, you just need pins 18 and 19, and you can hook up extenders that allow reading 8 or 16 buttons separately. I2C is a...
  30. Replies
    29
    Views
    1,165

    You may be in for a tough slog with a Teensy 3.0....

    You may be in for a tough slog with a Teensy 3.0. IIRC, the 3.0 did not have I2S support or DAC support, so it may be hard to play sounds. You might be able to emit low grade sounds by using one of...
  31. Replies
    9
    Views
    536

    Unfortunately, as you noticed the 5 USB host pins...

    Unfortunately, as you noticed the 5 USB host pins on the inside of the Teensy 4.1 are not aligned to 0.1" boundaries. This means that you can't use a standard prototype board to bring out these 5...
  32. That jogged my memory. I wasn't able to get alsa...

    That jogged my memory. I wasn't able to get alsa mixer to play (I could use F6 to change the stream to the Teensy, but I didn't hear a sound).

    But if I go into the sound preferences app from my...
  33. I thought having Tonesweep would be enough to...

    I thought having Tonesweep would be enough to pull in the Audio USB to the loop. But I put in a dummy I2S input -> mixer -> I2S output just to be sure.

    If I open up the Sound launcher in my...
  34. How do I run Teensy with USB audio output on Linux?

    I decided to add to my series of tests to do simple audio output to different devices (I already have DAC, DACS, Audio Shield, I2S, I2S2, and Prop Shield). So I cloned my source that does ToneSweep...
  35. Replies
    2
    Views
    245

    The Teensy 3.2, 3.5, and 3.6 have a real EEPROM...

    The Teensy 3.2, 3.5, and 3.6 have a real EEPROM chip. The Teensy LC, 4.0, and 4.1 have emulated the EEPROM in their flash memory.

    Note, you can read/write an entire structure with the EEPROM...
  36. Replies
    21
    Views
    1,053

    If the Teensy 4.0 is mostly dead, try holding...

    If the Teensy 4.0 is mostly dead, try holding down the programming pin for 15 seconds. This will cause the boot loader chip to reset the main chip and load a blink program. And obviously make sure...
  37. Replies
    4
    Views
    281

    Whenever Sparcfun or Adafruit are out of...

    Whenever Sparcfun or Adafruit are out of something, it helps to look at the secondary suppliers:

    Digikey:...
  38. Replies
    4
    Views
    281

    The Teensyview has solder jumpers so that you can...

    The Teensyview has solder jumpers so that you can change some pin assignments. You can eliminate the reset function which is on pin 15 (A1) by changing the solder jumper to pin #2. You can modify...
  39. There are step-up voltage regulators that boost...

    There are step-up voltage regulators that boost the voltage from a lower voltage to a higher voltage. There are step-up/step-down regulators that can either boost or lower the input voltage to a...
  40. From watching the posts, there are various...

    From watching the posts, there are various threads about adding the support for USB file system support (look for threads about MTP support, beta7 posts, etc.). Having the rewritten file system...
  41. Paul's paper on better SPI design...

    Paul's paper on better SPI design (https://www.pjrc.com/better-spi-bus-design-in-3-steps/) would indicate that SPI devices having their own CS lines does not prevent the need for tri-stating. The...
  42. As others have said, littlefs is now incorporated...

    As others have said, littlefs is now incorporated in the latest beta. In the beta, the file abstraction layer has been rewritten to provide things like access to flash memory systems.

    If you are...
  43. Replies
    524
    Views
    65,439

    I've not used it, but there is this: ...

    I've not used it, but there is this:

    https://forum.pjrc.com/threads/61373-Using-GDB-with-Teensy-without-hardware-debugger-first-Beta
  44. Or given you have a Teensy 4.1, just solder a...

    Or given you have a Teensy 4.1, just solder a W25Q128JVSIQ or similar flash memory chip to the underside of the Teensy 4.1. This can provide 128 megabits (8 megabytes) of non-volatile memory. ...
  45. Replies
    4
    Views
    464

    I tend to use prototype boards quite a bit. Here...

    I tend to use prototype boards quite a bit. Here are some that I like that I use for Teensy 4.1 (and 3.5/3.6). Note, they do not give access to the solder pads underneath the Teensy 4.1. ...
  46. First of all, please use the '#' toolbar button...

    First of all, please use the '#' toolbar button to enclose the code. It allows us to read the code more naturally. The '#' toolbar button will add [ CODE ] and [ /CODE ] tags, and you put the code...
  47. Replies
    888
    Views
    28,460

    The Raspberry PI hat system has this. They hook...

    The Raspberry PI hat system has this. They hook up a small EEPROM memory to the secondary I2C bus, and via I2C, you can read the information. Unfortunately IMHO, they made a fundamental design flaw...
  48. And there are low powered speakers that are meant...

    And there are low powered speakers that are meant to be plugged into a headphone jack. The speakers typically have a battery and USB power support. I've seen them called 'bomb' speakers or...
  49. Replies
    4
    Views
    222

    There is a company that offers a 'fully loaded'...

    There is a company that offers a 'fully loaded' Teensy 4.1 with the 8MB PSRAM chip and a 16MB flash memory soldered on to the board and pins soldered in if you would prefer not to do the SMT...
  50. And if you are going to update the card any way,...

    And if you are going to update the card any way, it may be a good time to document the I2S pins.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4