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. 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...
  2. Replies
    6
    Views
    157

    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
  3. Replies
    6
    Views
    157

    FWIW, the audio adapter uses I2C addresses...

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

    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...
  5. 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.
  6. Replies
    7
    Views
    266

    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...
  7. Replies
    944
    Views
    37,119

    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.
  8. Replies
    3
    Views
    153

    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...
  9. Replies
    3
    Views
    153

    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,...
  10. 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...
  11. Replies
    13
    Views
    530

    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...
  12. Replies
    23
    Views
    1,988

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

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

    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/
    ...
  15. Replies
    4
    Views
    166

    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...
  16. 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...
  17. Replies
    9
    Views
    352

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

    Ummm, you might be better asking on the Adafruit forums.
  20. 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"...
  21. 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...
  22. 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...
  23. 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 --...
  24. 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...
  25. Replies
    14
    Views
    463

    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.
  26. Replies
    14
    Views
    463

    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...
  27. Replies
    25
    Views
    6,373

    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...
  28. Replies
    25
    Views
    6,373

    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,...
  29. 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...
  30. Replies
    6
    Views
    496

    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...
  31. Replies
    1
    Views
    225

    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...
  32. 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...
  33. Replies
    5
    Views
    374

    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,...
  34. Replies
    5
    Views
    374

    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...
  35. Replies
    5
    Views
    374

    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...
  36. 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...
  37. Replies
    968
    Views
    64,352

    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.
  38. Replies
    968
    Views
    64,352

    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...
  39. 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...
  40. Replies
    3
    Views
    309

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

    Yes, I meant pull-up.
  42. 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?
    ...
  43. Replies
    11
    Views
    708

    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);
    ...
  44. 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...
  45. 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...
  46. 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,...
  47. 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:

    ...
  48. Replies
    29
    Views
    1,425

    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...
  49. Replies
    29
    Views
    1,425

    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...
  50. Replies
    29
    Views
    1,425

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