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

Search:

Type: Posts; User: Davidelvig

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. MTP with Teensy 3.2 and a SPI-connected SD Card (and also using USB-MIDI)

    Is this possible?

    Lots of long threads related to doing MTP on Teensy 3.5, 3.6 and 4.

    I see the "MTP Disk (Experimental)" USB Type in \Tools
    Seems like I'd need to edit the USB types file and...
  2. Got it, thanks. Installing NodeJS won't be an...

    Got it, thanks.

    Installing NodeJS won't be an option for my type of customers.

    Seems like Web MIDI and Chrome are still the option to beat for non-technical customers connecting to their...
  3. Thanks, @macrosil! It looks like this approach...

    Thanks, @macrosil!
    It looks like this approach flashes Firmata to the Teensy, and the app logic would be written on the PC with JavaScript. Is that right?

    I’m looking for a JavaScript (or other...
  4. Replies
    2
    Views
    68

    Right. With this approach, I'd need to: - have...

    Right. With this approach, I'd need to:
    - have an installed app on Windows and/or Mac build from here - and installed sometime after the customer purchases my product (or a copied app and a batch...
  5. Replies
    2
    Views
    68

    Field Updates for Teensy 3.X

    I've seen lots of posts on possible ways to update a Teensy in the field, notably this one and some on OTA with BLE. They look like installed apps on a linux, Windows or Mac computer.

    I think my...
  6. Thanks! It look promising, though a bit of a...

    Thanks! It look promising, though a bit of a work-around. I can work through the 7-8 bit translations on both ends, but a bit of a pain.

    It does appear to be a "hole" in the browser-to-device...
  7. Web App to interact with a USB-Connected Teensy

    What's the best practice for interacting with a browser app (say, HTML5), connecting to a Teensy's running instance?

    I'd like to send and receive data between the browser app and the Teensy app...
  8. What a great project! I can't wait to hear more.

    What a great project! I can't wait to hear more.
  9. @KurtE - You are the Jedi master! While...

    @KurtE - You are the Jedi master!

    While (!Serial) was in my code

    Commenting it out makes it all work when on USB charge-plug-only.

    And after adding

    While (!Serial && (milliseconds() <...
  10. Teensy\Tools\USB Type: How to make use of USB connection optional

    I have a MIDI device that can send usbMIDI out (and receive and discard inbound MIDI msgs)
    The device also includes a MIDI synth chip from VLSI - which I drive using hardware serial, and output to a...
  11. Replies
    7
    Views
    229

    Teensy 3.2. And your message triggered a...

    Teensy 3.2.

    And your message triggered a thought. The erroneous, intermittent pressure readings happen only when the touch screen is instantiated in interrupt mode, but they happen whether the...
  12. Replies
    7
    Views
    229

    Thanks, both of you for your quick responses. ...

    Thanks, both of you for your quick responses.

    My investigation around SPI.usingInterrupt started with @Paul's comment"
    in this thread.

    I can use the touch library without interrupts without...
  13. Replies
    7
    Views
    229

    Thanks, @defragster. I've read through your...

    Thanks, @defragster. I've read through your references and links from there. Intuitively, it makes sense to alert SPI that an interrupt may happen - and hook that interrupt into SPI before the...
  14. Replies
    7
    Views
    229

    SPI Conflicts when using an interrupt

    This code simplifies the problem as much as I can.
    It need to use two SPI peripherals:

    Teensy Touch Display: here

    HP Pressure Sensor: here


    While it's unlikely you have the latter "in...
  15. Good idea. Thanks

    Good idea.
    Thanks
  16. Posting another plea to get this another view at...

    Posting another plea to get this another view at the top of the list...
    I'd love to use the 4.0, but my projects use the 3.x touch pins.

    Can anyone recommend an IC add-on to bring Cap Touch to...
  17. Adding Capacitive Touch pins to Teensy 4.0

    I've used the capacitive touch pins on the Teensy 3.2 and 3.6.
    I'd like to consider the 4.0.
    Any guidance on what cap touch chip to add to my project to fill that gap?
    I need at least 4 touch pins...
  18. Replies
    1
    Views
    125

    usbMIDI tidbit - iConnectivity

    I acquired an iConnectivity MIDI (and audio) interface module - the iConnectAudio4+ 2 years ago - to connect my Teensy project to my Yamaha digital piano (with it's "to host" USB connection)
    shown...
  19. https://forum.pjrc.com/attachment.php?attachmentid...

    https://forum.pjrc.com/attachment.php?attachmentid=14915&d=1539010819
  20. There is a thread here...

    There is a thread here
    https://forum.pjrc.com/threads/53969-Not-understanding-touchRead?highlight=Davidelvig
    I adapted touchread() to return faster when the application only needs touched or...
  21. Replies
    1
    Views
    258

    I think I figured it out... With both Python...

    I think I figured it out...

    With both Python 2.7 ands 3.7 installed...
    Use pip2 install Sf2Utils
    instead of pip install Sf2Utils

    I have the decoder running!
  22. Replies
    1
    Views
    258

    Soundfont Decoder for Teensy

    I'd like to try this.
    I'm not able to get it to run after:
    - installing Python3 (3.7.3); and
    - sf2utils

    I'm on a Mac, OSX 10.14.5

    I've reviewed and followed:...
  23. Replies
    19
    Views
    1,523

    Just a thought... use small screws (bolts) and...

    Just a thought... use small screws (bolts) and nuts for my touch prototypes (see pics - for reference, the screw heads are 6.6mm wide)
    If you had a conductive paint, the heads could be painted...
  24. Replies
    19
    Views
    1,523

    Two things to try: 1 - lower MAX_FACTOR. The...

    Two things to try:

    1 - lower MAX_FACTOR. The default 1.3 factor is typical for sensing finger-to-metal light touch.

    The touch routines do sense proximity.

    Play with the touchablePin.read()...
  25. Replies
    19
    Views
    1,523

    That is a big chunk of code! Sounds like fun....

    That is a big chunk of code! Sounds like fun.
    Here's the touchablePin library I wrote based on Paul S's touchPin library in the standard Teensy code.
    Some documentation in the readme

    Place the...
  26. Replies
    19
    Views
    1,523

    I created an adaptation of the touch library for...

    I created an adaptation of the touch library for binary touch (touched or not)
    At startup (touchablePin object instantiation) I sample each pin, recording the untouched value for each pin.
    I then...
  27. @unicornpower, Thanks for this! Your first link...

    @unicornpower,
    Thanks for this!
    Your first link confirmed my findings (which was really helpful)
    ... and I had just found the second problem (unchangeable 1.2V on ADC_1), which your second link...
  28. Replies
    13
    Views
    3,064

    Thanks, @unicornpower! This work-around is...

    Thanks, @unicornpower!
    This work-around is beauteous and effective (though I wouldn't want to figure out how it works).
    Have you made a request to @pedvide to change the ADC side to make this...
  29. Replies
    242
    Views
    30,385

    I've found the topside capacitive touch pins...

    I've found the topside capacitive touch pins handy, and am using all that are spared by other protocols.
    Are Cap touch pins still in the mix? (more, less, the same?)
    How are those designated above?
  30. Thanks, @manitou. I'm familiar with Audio...

    Thanks, @manitou. I'm familiar with Audio library's competition with standard analogRead() methods.

    My sketch uses @pedvide's ADC library included with Teensyduino(#include <ADC.h>), which allows...
  31. Audio Library AudioInputAnalog conflict with ADC library?

    I recall encountering this before, but can't find the thread.

    Latest Arduino (1.8.5) and Teensyduino (1.4.2)
    Mac OSX
    Teensy 3.2
    1.2V output mic (Neutronned)
    simple blue pot
    external power in...
  32. Replies
    103
    Views
    30,653

    @natefp I'd check the frequency detection...

    @natefp

    I'd check the frequency detection ability at various block counts.
    At 8 blocks, I can get reliable pitch detection at 180Hz or more (male singling voice)
    I'll bet that fewer blocks leads...
  33. Replies
    103
    Views
    30,653

    I'd want to do a little cleanup before sharing....

    I'd want to do a little cleanup before sharing.
    Have you tried speeding up the YIN algorithm (the AudioAnalyzeNoteFrequency object in the Audio library) by changing the header file...
  34. Replies
    159
    Views
    40,935

    I'm going to cherish the few Neutronned mics I...

    I'm going to cherish the few Neutronned mics I have!
  35. My sketch will only be for a single string, and a...

    My sketch will only be for a single string, and a 150 LED string will be great fun.
    I think you'll have trouble with the OctoAdaptor (which uses many pins and ties most of the others to ground) and...
  36. Updated graphic. The signal line to the LEDs...

    Updated graphic. The signal line to the LEDs must use a Hardware Serial pin on the Teensy. I moved the yellow connector.
    13736
  37. OK, here's a simple LED project that works with...

    OK, here's a simple LED project that works with WS2812Serial and the Audio library
    My first attempt with Fritzing:
    13727
    Note there are two voltages represented in red:

    5V from the jumper into...
  38. @gavra, I'm happy to help. There a a few main...

    @gavra,
    I'm happy to help. There a a few main options that will affect your choices.
    Can you list your available parts?
    - Teensy ? version
    - LED lights - brand, technology (WS2812?), number of...
  39. WS2812Serial is much better for this...

    WS2812Serial is much better for this single-string project.
    Thanks, Paul & Michael.
    It's very easy using one LED control pin for a single string of 209 LEDs. All of the other pins are open for the...
  40. Power and Signal cable length in an LED project

    I have a project with:
    - an amplified microphone (from @Neutronned) on a bedside table next to a clock radio, along with some buttons to change LED pattern effects
    - LED's surrounding the bed's...
  41. Will do. I took the quick route and used: - a...

    Will do.
    I took the quick route and used:
    - a Teensy 3.2 with the USB power cut
    - a 5V, 8A power adaptor
    - a teensy audio shield, and the AudioInputI2S for an electret microphone
    - a teensy...
  42. Thanks! It's working!

    Thanks!
    It's working!
  43. OctoWS2811 LED Lib and Audio Lib - Freq/Amplitude driving LED color and brightness

    I'm picking up on Audio + LED strips because my 13 year old is bugging me for a cool led strip in her room... responsive to audio (amplitude and pitch). I offered this to her 2 years ago, but bailed...
  44. @oddson, the sieren/blidino...

    @oddson, the sieren/blidino parser you reference above looks like the right stuff, or related, anyway.

    I'm trying to wrap my head around the nRF52 SOC (the descendant of the vRF51 used in the Red...
  45. Replies
    46
    Views
    10,910

    I just launched an old Arduino installed from...

    I just launched an old Arduino installed from last year on my Windows 7 VM (Arduino 1.6.6, Teensyduino 1.26 on VMWare 10.1.1. on my Mac - High Sierra) and connected a USB port (screenshot), and it...
  46. Replies
    46
    Views
    10,910

    Woo Hoo! I added a new tab to my project in the...

    Woo Hoo!
    I added a new tab to my project in the Arduino IDE titled MIDI_Name.c... copied in the code, and Audacity on OSX now reports "My MIDI"
    Very cool!
  47. By the way, MIDI over BLE differs from MIDI over...

    By the way, MIDI over BLE differs from MIDI over USD in that a timecode is needed with each message using BLE. That helps the receiver to attempt to properly space received messages - even in the...
  48. I've started the journey to MIDI over BLE, using...

    I've started the journey to MIDI over BLE, using Nordic Semiconductor's nRF52... Dev Kit.
    It's daunting.
    I have a model use in a product called FreeDrum at https://www.freedrum.rocks, which...
  49. My projects - send MIDI using Teensy or serial...

    My projects
    - send MIDI using Teensy or serial
    - parse MIDI from MIDI files

    I've used the MIDI 1.0 spec from MIDI.org - https://www.midi.org/specifications/item/the-midi-1-0-specification
    I've...
  50. Thanks, Pedvide So, PDB has nothing to do with...

    Thanks, Pedvide
    So, PDB has nothing to do with the Audio Lib (unless your put both in a project), right?

    I expect I should be able to use any Audio objects with ADC_1 - except, perhaps, the audio...
Results 1 to 50 of 255
Page 1 of 6 1 2 3 4