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
    75

    I'm not really up on the stuff, but I've seen...

    I'm not really up on the stuff, but I've seen some Teensy sync and sound projects:

    https://www.tindie.com/products/inpublic/tsynth-full-kit-teensy-based-diy-poly-synth/
    ...
  2. Replies
    4
    Views
    51

    I2C is a shared bus system. If each device has a...

    I2C is a shared bus system. If each device has a different address, you just put them on the same bus. Each I2C device will only answer when a query is sent to that address. Many devices have...
  3. I can't answer a lot of things, but I will answer...

    I can't answer a lot of things, but I will answer a few that I can.

    I'm not sure why you want the prop shield on the Teensy 4.1, unless you want access to the motion sensors or possibly the...
  4. Replies
    9
    Views
    183

    I don't know about a 1920x1080 display, but the...

    I don't know about a 1920x1080 display, but the Gamedunio Dazzler can drive a 720p (1280x720) display. The Dazzler is an add-on card. There are 4 variants, Teensy 4.0/4.1, Adafruit Feather,...
  5. One thing that might be helpful for some users...

    One thing that might be helpful for some users that want to put Teensies in the field is to add an option to take the firmware image from a SD card. I would imagine in the startup code, there would...
  6. Ummm, you might be better asking on the Adafruit...

    Ummm, you might be better asking on the Adafruit forums.
  7. Underneath the audio shield, you will see either...

    Underneath the audio shield, you will see either "Rev d" or "Rev c". If you see "Rev d" that is the appropriate adapter for the Teensy 4.0 an 4.1. If you see "Rev c", "Rev b", or possibly no "Rev"...
  8. Note, be sure to connect both ground pins (the...

    Note, be sure to connect both ground pins (the one next to pin 0 on the left side, and the one between VIN and 3.3v on the right side).

    On the Teensy 3.x, these are separate ground pins (the one...
  9. 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...
  10. 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 --...
  11. 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...
  12. Replies
    14
    Views
    228

    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.
  13. Replies
    14
    Views
    228

    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...
  14. Replies
    25
    Views
    6,016

    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...
  15. Replies
    25
    Views
    6,016

    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,...
  16. 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...
  17. Replies
    6
    Views
    335

    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...
  18. Replies
    1
    Views
    188

    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...
  19. 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...
  20. Replies
    5
    Views
    323

    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,...
  21. Replies
    5
    Views
    323

    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...
  22. Replies
    5
    Views
    323

    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...
  23. 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...
  24. Replies
    948
    Views
    57,909

    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.
  25. Replies
    948
    Views
    57,909

    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...
  26. 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...
  27. Replies
    3
    Views
    271

    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
  28. Yes, I meant pull-up.

    Yes, I meant pull-up.
  29. 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?
    ...
  30. Replies
    11
    Views
    655

    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);
    ...
  31. 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...
  32. 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...
  33. 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,...
  34. 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:

    ...
  35. Replies
    29
    Views
    1,249

    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...
  36. Replies
    29
    Views
    1,249

    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...
  37. Replies
    29
    Views
    1,249

    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...
  38. Replies
    29
    Views
    1,249

    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...
  39. Replies
    9
    Views
    553

    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...
  40. 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...
  41. 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...
  42. 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...
  43. Replies
    2
    Views
    256

    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...
  44. Replies
    21
    Views
    1,102

    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...
  45. Replies
    4
    Views
    303

    Whenever Sparcfun or Adafruit are out of...

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

    Digikey:...
  46. Replies
    4
    Views
    303

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