Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Davidelvig

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. I've been using these sensors...

    I've been using these sensors for a MIDI wind controller breath sensor. It has an appropriate pressure range and has been reliable.
    Sourcing was problematic last year - competing with ventilator...
  2. Interestingly, I need a bit longer pause to...

    Interestingly, I need a bit longer pause to "resynch" the serial when sending to the ESP32. 1500uS works, though 1000uS did not reliably.

    Funny how the world looks like a better place now!
  3. And now also with similar code on a...

    And now also with similar code on a Teensy-->ESP32 setup.
    25241
    Thanks again!
  4. 25240That was it! Dang, I had it grounded in...

    25240That was it!
    Dang, I had it grounded in earlier iterations... when I must have had other code errors.

    Error free now.

    Thanks a bunch! My confidence and sanity are returning.
  5. Representative Sender side serial monitor...

    Representative Sender side serial monitor snippet:


    Representative Receiver side serial monitor snippet
  6. Picture of setup - each Teensy USB-connected to...

    Picture of setup - each Teensy USB-connected to its own MacBook running Teensyduino 1.5.3
    25239

    (Coin cell and Audio Shield are non-contributing extras, I hope)
  7. Update: This simplified code still works...

    Update:
    This simplified code still works flawlessly on a loop-back-connected single Teensy, and fails on cross-connected dueling Teensy's

    I can't figure out where the phantom / erroneous inbound...
  8. Well that's annoying - and perhaps encouraging. ...

    Well that's annoying - and perhaps encouraging. Two emotions at once!
    I'll keep looking - perhaps after I see if SPI Slave on ESP32 is easy.

    I can try "getting in synch" the first time on the...
  9. Add BLE MIDI and BLE Serial to Teensy Project

    I have a MIDI Wind controller that needs BLE MIDI out for playing music on a phone or PC synth,
    and BLE UART bidirectionally to a phone app for configuration.

    I've made this work with the...
  10. Interesting, Attaching an ESP32 as the second...

    Interesting,
    Attaching an ESP32 as the second device - same code, requires:
    - dropping the BYTES_PER_DELAY from 12 to 2 (so a delay every 2 sent bytes); and
    - increasing the INTER_BYTE_DELAY to...
  11. OK, Delay of 1ms (1000uS) works with a delay...

    OK,
    Delay of 1ms (1000uS) works with a delay every 12 bytes, but not every 15 bytes.
    Good throughput at nearby 11 Kbytes/second.
    Seems like a reasonable fix.
    After the two boards get "in synch",...
  12. Got it. I'll try a whole millisecond delay, and...

    Got it. I'll try a whole millisecond delay, and stretch out the number of bytes between such delays.
  13. Sounds like the issue. Thanks! I am indeed at...

    Sounds like the issue. Thanks!

    I am indeed at full speed here, and it won't be "in real life".. That is, I can go slower.

    You mention in the other post a "10 microSecond delay every 5000...
  14. Serial2 Murder - UART Communications between boards

    Now that I have your attention...

    I'm new to inter-board UART communication.
    I'm testing 2 Teensy 3.2's using Serial2 on each, and the attached code.

    Each works flawlessly, delivering...
  15. Teensyduino Serial Monitor vs VSCode and PlatformIO flashing - Fireworks!

    I think I've narrowed down a hard crash on my older (and now newer) MacBook Pro.

    I recall the old blue-screen-of-death days on a Windows PC.
    These are equivalent Mac crashes. Exceedingly rare in...
  16. Thanks, MarkT. 1) I see that...

    Thanks, MarkT.

    1) I see that control_sgtl5000.cpp uses Wire.h and Wire.begin
    and the included WireKinetis.h defines Wire1, Wire2... etc.

    Should I assume that I have to modify...
  17. Audio Board and alternative pin mappings - 2 Assumptions and a Question

    I have a few Teensy audio adaptors, and want to add their functionality to a custom Teensy 3.2-based board I've built.
    I need all of the touch pins on the Teensy for other puposes.
    So want to use...
  18. OK... trying to grok this... I'd like to...

    OK... trying to grok this...

    I'd like to Over-the-Air (OTA) update using BLE on a custom Teensy-3.2-designed board that has a Teensy Bootloader.
    The board also has an internal uSD card for...
  19. Replies
    28
    Views
    4,943

    @MatrixRat, are you saying that your MIO-10 from...

    @MatrixRat, are you saying that your MIO-10 from iConnectivity DOES communicate MIDI with your Teensy when it is compiled for SERIAL + MIDI?
    That was the fail point for me on my iConnectivity...
  20. Replies
    0
    Views
    422

    USB - wonderful! - treacherous!

    I'm leveraging the Teensy-to-PC USB connection for more varied functions, and hitting some snags.
    I've paid attention to this thread. I have what I hope are simple questions:

    How to handle...
  21. Thanks so much for explaining these options! I'm...

    Thanks so much for explaining these options!
    I'm using a solution like #1 for setting my device's USB-MIDI name.
    Now that I think of it, I wonder if it has the same timing limitations - that it...
  22. Thanks! Are these stored in flash? Is this...

    Thanks!
    Are these stored in flash?
    Is this modifiable at run-time?
    i.e. could I put a default in here, that after flashing, run a method to accept an input (from Serial, let's say) and set the...
  23. Unique Teensy Serial Number: using getTeensySerial() from TeensyID.h

    I'm using a Teensy 3.2-type board with a PJRC boot loader.

    Stefan Staub's Teensy ID library returns the following:

    From my Teensy 3.2-type board with PJRC boot loader
    USB Serialnumber:...
  24. Processing - exchanging serial data with a Teensy

    Iíve been introduced to the Processing toolset to make a Teensy flasher leveraging TyCommander command-line tool.

    Iíd like to expand the flashing tool to communicate with the running Teensy...
  25. Replies
    28
    Views
    4,943

    @bolau, did you figure this out? I posted a...

    @bolau, did you figure this out? I posted a recent thread in a related vein.
    I have found that neither my iConnectivity iConnectAudio4+ nor my Yamaha digital piano (DGX-660) recognize my Teensy 3.2...
  26. I found this thread after posting this one...

    I found this thread after posting this one
    @lokki, it looks like you've built a USB MIDI hub for MIDI devices using a Teensy 4.0 and a USB Hub... Is that correct?
  27. MIDI Hub (MIDI Host for multiple MIDI Devices)

    I'd like to build or buy a device to use between a MIDI Wind Controller I've developed on Teensy, and a common digital piano, such as this Yamaha DGX-660. This piano has a USB MIDI jack on the back...
  28. Replies
    966
    Views
    119,797

    I'm excited about the possibility of this MTP...

    I'm excited about the possibility of this MTP Responder.
    I see in as an (Experimental) USB option now.
    Is it likely that this will be usable simultaneously with other USB types ? I use USB MIDI.
  29. Replies
    0
    Views
    314

    uSD Card specs and source

    My Teensy 3.2-based product includes a uSD card for internal storage.
    I've been testing with SanDisk Pixtor from BestBuy and have seen no failures. My test cards happen to be 32GB.
    I'm looking...
  30. I see that on my Teensy 3.6 now. It look...

    I see that on my Teensy 3.6 now. It look rock-solid!
    That looks like this one that I was considering above
    Thanks!
  31. Ripping my uUSB off - suggestions for another part

    I have a Teensy 3.2-based board that's working well. I just ordered 110 boot loaders for the next batch.

    And I just managed to rip the uUSB socket off my board. It's happened twice now in...
  32. MIDI Synth for Windows - analogous to GarageBand on the Mac

    I've been using GarageBand on the Mac for testing of my Teensy 3.2-based MIDI wind controller.

    I'd like to do the same on Windows with the rough requirements:
    - receive and play MIDI messages...
  33. Replies
    4
    Views
    768

    That's very helpful! Thanks! I'll digest this. ...

    That's very helpful! Thanks!
    I'll digest this.

    I expected that the AdaFruit implementation through AT commands would have a fair amount of overhead. Thanks for quantifying it.

    I have the...
  34. Replies
    4
    Views
    768

    Thanks, Pieter! I'll check it out. I'm...

    Thanks, Pieter!
    I'll check it out.

    I'm queuing because I have several inputs and several outputs (including the USB in and out)
    The outputs have different latency (USB, Serial and Bluetooth) and...
  35. Replies
    4
    Views
    768

    MIDI Message Queue

    I'll be adding MIDI message queues to my MIDI wind controller.

    Any suggestions as to a useful, solid, fast queue library to use (such as this one that is one of several in Arduino libraries)?...
  36. Replies
    7
    Views
    1,149

    Is there someone who I could hire to construct a...

    Is there someone who I could hire to construct a Teensy-3.2-related field update process?
    I'd like to leverage the skills of someone who's done this before.
    The user will be a novice PC or Mac (or...
  37. Thanks! That looks just right !

    Thanks! That looks just right !
  38. Thanks, Paul! I had a quick look. The PJRC...

    Thanks, Paul!
    I had a quick look. The PJRC Unique Serial Number looks out of my wheelhouse.
    As for the 16-byte NXP number... that looks useful and almost accessible.
    Have you a quick reference to...
  39. Sweet! I'll dig in. Thanks, Paul!

    Sweet!
    I'll dig in.
    Thanks, Paul!
  40. Adding a Unique identifying number to a Teensy device

    I'll be shipping a Teensy 3.2-based device soon, and would like each device to have a unique number, to be included in error and usage logs.
    What's the best practice for that, or is there a unique...
  41. I'm way late to this party, but... Are you...

    I'm way late to this party, but...
    Are you compiling with Tools/USB Type: "Serial + MIDI"?
    I have some pure MIDI USB devices fail with that (iConnectivity MID interface, Yamaha digital piano). ...
  42. Thread: Haptics

    by Davidelvig
    Replies
    0
    Views
    462

    Haptics

    Iím interested to add haptic feedback to my Teensy-3.2-based project.
    Any guidance on where to start?
    Devices to use? Libraries? Strategies?
    Thanks!
  43. How do you see failure- fails to blink?...

    How do you see failure- fails to blink?
    Something in serial debug messages?
  44. I’m surprised by the unreliability of the blink...

    I’m surprised by the unreliability of the blink program under these circumstances.
    Are you saying blink does not blink the LED one in every 20 restarts?

    Is this truly a plain vanilla Teensy 3.2...
  45. That makes sense, Paul. My challenge in...

    That makes sense, Paul.
    My challenge in producing a MIDI wind controller will be to enable a great musical experience without requiring the user to mess with their PC/Mac much at all. Plug and Play...
  46. Thanks, @Paul. At a very high-level... I send...

    Thanks, @Paul.
    At a very high-level...
    I send MIDI through serial (at 31250 bd) to an internal synth chip (VLSI's vs1053b) and to wired headphones, and the feeling is immediate.
    I simultaneously...
  47. Threading is the only way I know how to do that,...

    Threading is the only way I know how to do that, or perhaps dump the messages into a pair of queues, and have each MIDI deliverer check their queues for work and dispatch the message. They can check...
  48. Replies
    0
    Views
    331

    MIDI Gender-Bender

    Iíve built a MIDI controller, and can ďplayĒ my Yamaha digital piano with it - by using an intervening MIDI router from iConnectivity. Both my Teensy device and the piano have USB B MIDI jacks.
    ...
  49. I expect you’ll send each MIDI message to each of...

    I expect you’ll send each MIDI message to each of the two routes - going back and forth between the two.
    You’ll likely wait for both to finish the first message before sending the second to either....
  50. All SPI devices are working individually. All...

    All SPI devices are working individually. All but SD play nicely together.
    When I add the SD card code, one of the other SPI devices get confused communications... right after SD.begin();
    With the...
Results 1 to 50 of 327
Page 1 of 7 1 2 3 4