Search results

  1. even_rats

    Teensy 4.0 + audio shield: show SD card as mass storage when connected as USB device?

    This all looks really cool! MTP is useful indeed, and I'm excited you're adding support. I'll certainly try it out and report back. For my current project, MTP isn't ideal because it's being used in a lab full of Macs, which don't support MTP natively. I don't have easy access to install...
  2. even_rats

    Teensy 4.0 + audio shield: show SD card as mass storage when connected as USB device?

    I'm designing a project that records audio (WAV files) to the SD card on the audio shield, inside a waterproof enclosure. I'm hoping to be able to connect to my laptop via USB, and see the files on the SD card as though it was a flash drive. Read/write would be great, but even read-only would...
  3. even_rats

    strange i2c issues with Teensy LC in single-master, multi-slave setup

    OK, I got this working! The solution was to switch to using the i2c_t3 library for the Teensy code. It appears that i2c slave mode with the better-known Wire.h is not supported on Teensy (?), although this is not documented anywhere I could find other than some forum threads.
  4. even_rats

    strange i2c issues with Teensy LC in single-master, multi-slave setup

    And here's a simplified version of the code from the esp32 master, which just blinks the LEDs once per second and sends a 5-byte test message of 1, 2, 3, 4, 5 when the button is pressed. // esp32_i2c_test_simplified.ino // i2c master - runs on esp32 board #include <Bounce2.h> #include <Wire.h>...
  5. even_rats

    strange i2c issues with Teensy LC in single-master, multi-slave setup

    To make things easier, here's a simpler version of what's running on the Teensy LC with the message-parsing and usbMIDI stuff stripped out. This still exhibits the same bug as above. // teensylc_i2c_test_simplified.ino // i2c slave - runs on Teensy LC #include <Wire.h> #define TEENSYLC_ADDR...
  6. even_rats

    strange i2c issues with Teensy LC in single-master, multi-slave setup

    I'm prototyping a MIDI controller with an ESP32 board as the main MCU, but also using a Teensy LC for its easy usbMIDI capabilities. And there's an MCP23017 i2c i/o expander that's used to control a bank of LEDs. These 3 components talk to each other over an i2c bus, with the ESP32 board...
  7. even_rats

    Wiring for multiple piezo triggers

    I'm building a little box to connect 2 piezo drum triggers (kick & snare), and convert them to USB-midi signals. I followed Paul's advice given in this forum thread for connecting one piezo trigger, and it's working great. To connect a second piezo trigger (or maybe more, in the future) am I...
  8. even_rats

    Midi Controller help needed, "On" and "Off" preset

    I can't offer any detailed help with your setup, but in user interface lingo the term for the behavior you're looking for is "radio buttons": https://en.wikipedia.org/wiki/Radio_button
  9. even_rats

    Multiple SD cards with Teensy 4.1

    Gotcha. That sounds like it's over my head at this point. I did read a bit about adding a flash chip. But I believe the maximum amount you can add is 16MB? I think I'd need a lot more for this project, in order to record several minutes each of 6 uncompressed audio streams. I could probably get...
  10. even_rats

    Multiple SD cards with Teensy 4.1

    Hello! I found the Micro SD Card Adaptor in the store. My question is: could I connect several of these to a Teensy 4.1 and have simultaneous access to, say, 6 different SD cards? This project involves reading and/or writing multiple channels of audio at once, in real-time. So my motivation...
  11. even_rats

    PWM 8 LEDs on Teensy 4.1

    Cool, I misunderstood something I read about analog output on 4.1. That makes more sense! And thanks for the grounding advice. I hadn't thought of that.
  12. even_rats

    PWM 8 LEDs on Teensy 4.1

    Hello! I'm using a Teensy 4.1 for an audio project. I'd like to use 8 LEDs as indicators, and be able to dim them on or off smoothly. I'm assuming I'll need some external chip to achieve this. Any suggestions? The application will probably use a decent amount of CPU, so whatever solution...
  13. even_rats

    SD card interface: Teensy 4.1 vs Teensy 4.0 + Audio adapter

    Very helpful replies. Good to know the read speed in practice. Thanks! Any idea if the write speeds would be similar?
  14. even_rats

    SD card interface: Teensy 4.1 vs Teensy 4.0 + Audio adapter

    Hello, I'm looking to build an audio project that reads and writes audio to/from an SD card, and requires 8 analog inputs (pots to control volume etc) as well as audio I/O. As someone diving into this world for the first time, I initially chose the Teensy 4.1 because of its built in SD card...
Back
Top