Search results

  1. L

    Non-blocking (no wait) touch sense (touchRead) routine for Teensy 3.2

    Hi defragster. Thanks for the links. I had found the PJRC CapacitiveSensor page (and GitHub repo) previously, but I have a short attention span... the lack of a concise description of Paul's touch algorithm, plus the complexity of the C++ code library, discouraged me from looking into his...
  2. L

    Non-blocking (no wait) touch sense (touchRead) routine for Teensy 3.2

    As promised, here it is... https://github.com/M-J-Bauer/Touch-sense-on-any-MCU See PDF doc in the repo. MJB
  3. L

    Non-blocking (no wait) touch sense (touchRead) routine for Teensy 3.2

    Of course NXP will not modify or upgrade a mature MCU chip design, but they will cause grief to loyal customers if production of devices already supporting capacitive touch is terminated. Anyhow, no worries... I have successfully tested a technique to implement touch-sense on a micro-controller...
  4. L

    Non-blocking (no wait) touch sense (touchRead) routine for Teensy 3.2

    Kalo, I agree, it would be a shame if Teensy 3.x is discontinued forever. But it is certainly possible to implement touch sensing on MCUs without hardware support, using only one resistor per touch-pad! The MCU must have I/O pins that can be configured as either analog inputs or logic GPIO...
  5. L

    Non-blocking (no wait) touch sense (touchRead) routine for Teensy 3.2

    Code now on GitHub Arjuna, my touch-sense code for Teensy3.2 is on GitHub, here... https://github.com/M-J-Bauer/Touch-Sense-Functions-Non-Blocking-for-Teensy-3.2-Arduino Unfortunately, production of the Teensy3.2 module is suspended. :mad: Maybe it will continue in production when/if the MCU...
  6. L

    Teensy 3.0 capactive touch

    You might also be interested in this: https://forum.pjrc.com/threads/66587-Non-blocking-(no-wait)-touch-sense-(touchRead)-routine-for-Teensy-3-2?p=273957#post273957
  7. L

    Non-blocking (no wait) touch sense (touchRead) routine for Teensy 3.2

    Thanks for the suggestion... I will consider putting something up on GitHub. The library could include a couple more functions... one to return the "on/off" state of a given touch switch and another to detect button "hits" (transitions from "not touched" to "touched", with debounce).
  8. L

    Non-blocking (no wait) touch sense (touchRead) routine for Teensy 3.2

    Ah-ha! That would explain why I could not edit the post the day after. Thanks for the tip.
  9. L

    Non-blocking (no wait) touch sense (touchRead) routine for Teensy 3.2

    Oops... the program I attached to my post contains an error. Here is the corrected version. The forum page says I can edit posts, but I can't see how. If anyone can enlighten me, I would be grateful.
  10. L

    Non-blocking (no wait) touch sense (touchRead) routine for Teensy 3.2

    Here is a suggestion for an alternative method to read touch inputs on the Teensy 3.2. The Teensyduino library function touchRead() waits for the result before returning, so it may be too slow or cause excess delay to other tasks in some applications. Such was the case with an application I am...
Back
Top