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

Search:

Type: Posts; User: Davidelvig

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    141

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

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

    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...
  4. Replies
    7
    Views
    141

    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...
  5. Good idea. Thanks

    Good idea.
    Thanks
  6. 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...
  7. 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...
  8. Replies
    1
    Views
    90

    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...
  9. https://forum.pjrc.com/attachment.php?attachmentid...

    https://forum.pjrc.com/attachment.php?attachmentid=14915&d=1539010819
  10. 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...
  11. Replies
    1
    Views
    218

    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!
  12. Replies
    1
    Views
    218

    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:...
  13. Replies
    19
    Views
    1,381

    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...
  14. Replies
    19
    Views
    1,381

    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()...
  15. Replies
    19
    Views
    1,381

    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...
  16. Replies
    19
    Views
    1,381

    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...
  17. @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...
  18. Replies
    13
    Views
    2,867

    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...
  19. Replies
    242
    Views
    28,222

    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?
  20. 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...
  21. 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...
  22. Replies
    103
    Views
    30,165

    @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...
  23. Replies
    103
    Views
    30,165

    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...
  24. Replies
    159
    Views
    40,173

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

    I'm going to cherish the few Neutronned mics I have!
  25. 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...
  26. 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
  27. 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...
  28. @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...
  29. 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...
  30. 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...
  31. 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...
  32. Thanks! It's working!

    Thanks!
    It's working!
  33. 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...
  34. @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...
  35. Replies
    43
    Views
    10,480

    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...
  36. Replies
    43
    Views
    10,480

    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!
  37. 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...
  38. 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...
  39. 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...
  40. 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...
  41. I've had to relearn about ADC0 and ACD1 a few...

    I've had to relearn about ADC0 and ACD1 a few times over the last couple of years.
    I still feel like I have only part of the story.
    I know the Audio lib's AudioInputAnalog object conflicts with...
  42. Replies
    7
    Views
    1,889

    I have a macro now that I will use when...

    I have a macro now that I will use when Serial.print() freezes. The macro is at the top of the code below.

    It's still hard to duplicate that problem at will with a small program, but I may have...
  43. Replies
    7
    Views
    1,889

    Right. Thanks for these steps to try. The code...

    Right. Thanks for these steps to try.
    The code is sizable and multi-faceted. This problem has only occurred when the large app is running.
    Getting the problem reproducible is challenging at times,...
  44. Replies
    7
    Views
    1,889

    Thanks, Frank. That's a good thought. I tried...

    Thanks, Frank. That's a good thought.
    I tried simplifying...
    All of the printing now is in this statement, surrounded by a couple of delays

    delay(10);
    Serial.printf("Testing...\n");...
  45. Replies
    7
    Views
    1,889

    Serial.print() stops

    I cannot make this fail on a small program...
    With my large project, Serial.Print() (or printf() or println()) stop working after a few seconds.
    It has done this on and off as the program has...
  46. Replies
    30
    Views
    6,501

    Right, @artag, I've seen those boards, but not a...

    Right, @artag, I've seen those boards, but not a simple US supplier of the synth chips (like Adafruit, DigiKey, Sparkfun).

    I've spent some time looking. They have a manufacturer's rep in the US...
  47. Replies
    30
    Views
    6,501

    @artag, I'm short on boards, though I'll be...

    @artag, I'm short on boards, though I'll be building more.

    I played the synth though a powered speaker and recorded a video of the Serial monitor output (with iPhone mic listening), arriving at...
  48. Replies
    30
    Views
    6,501

    OK, I'm ready to ship some boards and...

    OK,

    I'm ready to ship some boards and libraries to Paul and @Neutronned (I'll send you one of this version).
    Any others interested in using and/or learning MIDI?
    If so, I'm happy to assemble a...
  49. Hmmm, I imagine the Teensy 3.6 would be better...

    Hmmm,

    I imagine the Teensy 3.6 would be better suited.
    I also assume from your post that simply calling available() for each FFT one at a time would not solve the problem.
    Is the problem that an...
  50. Replies
    30
    Views
    6,501

    The boards work well. Since I've not gotten...

    The boards work well.
    Since I've not gotten feedback from any acclaimed MIDI mavens, I've assumed I need to encapsulate the MIDI pretty well into libraries, so users can get right to the matter of...
Results 1 to 50 of 245
Page 1 of 5 1 2 3 4