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. Good point. I mostly use the Stemma speaker for...

    Good point. I mostly use the Stemma speaker for Teensy 3.2/3.6 where I have a built-in DAC, and I don't use the audio shield.
  2. Using line-out with an amplifier and speaker will...

    Using line-out with an amplifier and speaker will certainly work. If you want simplicity, and you don't need to fill an entire room, you can get various speakers that are made to plug into the...
  3. I think non-superuser users can only edit a post...

    I think non-superuser users can only edit a post for about an hour or so after it gets posted (you would need to edit the first posting in the thread).
  4. Unfortunately, the Teensy is not an Arduino Uno...

    Unfortunately, the Teensy is not an Arduino Uno that did not have native USB support and it used a secondary port on the board that used pins 0/1. The USB communication path is completely different...
  5. You are welcome. It is a thing (waiting until...

    You are welcome. It is a thing (waiting until the USB serial connects) all of us have done from time to time.
  6. The reason nothing happens is this line in the...

    The reason nothing happens is this line in the code (in the setup function):



    while (!Serial) { ; }


    The Teensy will hang forever waiting for the USB Serial to be connected. A better...
  7. This might be a case where you would need to post...

    This might be a case where you would need to post pictures of your setup to help people identify what the issue might be.
  8. Posts from Paul have indicated for the Teensy...

    Posts from Paul have indicated for the Teensy 4.0/4.1, it is generally better that the path between the Teensy and the audio board be as short as possible (i.e. don't use ribbon cable).

    As MartT...
  9. This is due to the Teensy using the same pins for...

    This is due to the Teensy using the same pins for Arduino UNO, which had the SPI clock pin (13) on the same pin as the LED. The first Serial port (pins 0/1) and the I2C bus (18/A4 and 19/A5) are...
  10. Replies
    6
    Views
    195

    Nope, I only run Linux. Under Linux, if you go...

    Nope, I only run Linux. Under Linux, if you go to the installation directory, it is in:

    ./hardware/teensy/avr/libraries/Audio/Audio.h
  11. Replies
    6
    Views
    195

    FWIW, the audio adapter uses I2C addresses...

    FWIW, the audio adapter uses I2C addresses 0x0A/10 (SGTL5000) and 0x1A/26 (WM8731).
  12. Replies
    6
    Views
    195

    The 3.x series has kept the pins the same for the...

    The 3.x series has kept the pins the same for the standard pins, but the Teensy 3.5/3.6 added some new features for pins 0..23. By standard pins I mean:

    Pins for the first 3 serial UARTs RX/TX...
  13. No. You have to use the Teensy loader to load...

    No. You have to use the Teensy loader to load the hex file.

    Be sure to check whether CP supports the Teensy 4.1 ethernet.
  14. Replies
    7
    Views
    328

    Well the simplest way is to use the Teensy 4.1...

    Well the simplest way is to use the Teensy 4.1 now that it is available, and it has those pins as part of the normal pinout..

    Last July, I added this page to the unofficial Teensy wiki on the...
  15. Replies
    944
    Views
    38,238

    I don't know anything about Sparkfun's plans, but...

    I don't know anything about Sparkfun's plans, but they generally do their new releases on Friday.
  16. Replies
    3
    Views
    171

    Note, you have clone the RF24Network and RF24...

    Note, you have clone the RF24Network and RF24 libraries and change ALL references from SPI to SPI2. Typically you would use a different name (such as RF24_SPI2), copy the contents for the RadioHead...
  17. Replies
    3
    Views
    171

    You could share the SPI bus with the Audio...

    You could share the SPI bus with the Audio shield. Note, on the 3.x processor, the audio library enables the SPI processing using pins MOSI (7), MISO (12), and SCLK (14). With well behaved devices,...
  18. The answer is it depends on how many lights you...

    The answer is it depends on how many lights you want to light up and how bright you want the lights. And as you get to more and more lights, things become more complex.

    Some of the newer WS2812B...
  19. Replies
    13
    Views
    637

    This was recently posted on the 1.54 beta 10...

    This was recently posted on the 1.54 beta 10 thread:

    https://forum.pjrc.com/threads/67516-Teensyduino-1-54-Beta-10?p=282131&viewfull=1#post282131


    The above post contains the text for...
  20. Replies
    23
    Views
    2,177

    It would be nice if all of the audio examples...

    It would be nice if all of the audio examples that access either the flash memory or the SD card had #ifdef's so the correct SPI pins are selected on the Teensy 4.0/4.1 compared to the Teensy...
  21. Replies
    13
    Views
    637

    One method is to use RawHID, which allows you to...

    One method is to use RawHID, which allows you to run a custom program on your PC that can talk to the Teensy:

    https://www.pjrc.com/teensy/rawhid.html
    ...
  22. Replies
    7
    Views
    537

    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/
    ...
  23. Replies
    4
    Views
    177

    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...
  24. 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...
  25. Replies
    9
    Views
    405

    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,...
  26. 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...
  27. Ummm, you might be better asking on the Adafruit...

    Ummm, you might be better asking on the Adafruit forums.
  28. 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"...
  29. 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...
  30. 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...
  31. 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 --...
  32. 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...
  33. Replies
    14
    Views
    503

    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.
  34. Replies
    14
    Views
    503

    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...
  35. Replies
    25
    Views
    6,408

    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...
  36. Replies
    25
    Views
    6,408

    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,...
  37. 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...
  38. Replies
    6
    Views
    509

    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...
  39. Replies
    1
    Views
    239

    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...
  40. 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...
  41. Replies
    5
    Views
    384

    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,...
  42. Replies
    5
    Views
    384

    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...
  43. Replies
    5
    Views
    384

    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...
  44. 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...
  45. Replies
    968
    Views
    65,501

    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.
  46. Replies
    968
    Views
    65,501

    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...
  47. 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...
  48. Replies
    3
    Views
    314

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

    Yes, I meant pull-up.
  50. 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?
    ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4