I was thinking of ISR's that I haven't written. Adding a count myself is easy ;-)
On the other hand I's read somewhere that an ISR (that does something) takes about 27 cycles, which makes detecting -for me in this...
Hi
Is there a way to detect that an interrupt has happened?
Fasttouchread uses noInterrupts/interrupts, but can easily but run multiple times if an interrupt has occured.
I can run it twice to see if an...
Has someone expirience?
I know not enough of the hardware side of things.
I founds some references to adding a 50 Ohm resistor as protection for touchpads...
Hi
While using FastTouchRead there's a noInterrupts() period of about 12µsec on an Teensy LC, is this ok?
I can lower it to about 6µsec for my application and probably even lower it to 3-4µsec.
Alain
Hi
I'm using the touch sensor capacity of the teensy LC and also plan to use an adapted version of fasttouchRead for extra pins.
I have some questions about pulling the touchpads to ground and a ground pad to...
New version works like a charm.
One remark.
I use a custom touchRead that also does a pulldown after reading.
I do a manual read off all the pins before the setThreshold() call's to get them "pulled down" before...
Adrian
2 questions from reading the source code:
a) on line 75 of FastTouch.cpp :
#elif defined(__MKL26Z64__)|| defined(__IMXRT1052__) || defined(__IMXRT1062__) /* Teensy 3LC */
That seems to me the LC and 4.x...
Nice
2 questions:
Is the top panel a PCB? If yes is that robust as a foot pedal, same question about the four screw that you use to keep the top panel above the electronics?
What's the use case? 10 foot pedals...
I'm thinking if it's not better to use :
pinMode(pin, INPUT_PULLDOWN);
That will pull the not sensings pad's down also, but has a far lower starting current. First caclulation show that it would be just a few...
Hi
I've found that reference manual gave a 404, I found a copy on mouser https://www.mouser.com/datasheet/2/813/K66P144M180SF5RMV2-1074869.pdf.
I did some tests and found on a LC using TSI_GENCS_REFCHRG(6) |...
Dave
The concept of the touchablePin library is nice.
Also the fact that you set it to touched if half of a nr of samples are high. Nice noise reduction. Although I would to that on next "update" readings from the...
Hi
To minimise height and service acces I would use an enclosure without bottom.
To protect the Teensy (normally LC) against metal objects "a paperclip, a coin,...", what's the minimum recommended protection?
Is...
Hi
2 disadvanrtages with the nano screw terminal :
- I've found that the ground pin from the nano is indeed a ground on the screw terminal --> pin not usable for the Teensy.
- There's still 6mm "Teensy" above...
Hi
Do you have an idea of a timeframe to release?
A suggestion if easy to do (and not disrupt other things): On windows give the installer a name with the version (including beta)
I'll play with it some time. And try some different sensor layout's (distance, adding ground traces between sensors etc...)
Did I read the code correct that after detecting a falling edge the duration is placed at...
Hi
Is there a reason for a fixed onThresHold/ offThreshold ratio?
onThreshold = qval * 1.2; // Threshold for rising edge
offThreshold = qval * 1.1; // Slightly lower for falling edge
Depending on the...
Hi
Is there a reason that for the Teensy 4x there's a wait for delayMicroseconds(1); and for the Teensy 3x delayMicroseconds(50); after driving the pin down?
Actually it would be better that the timing would...
Thanks. How did you make the membrane?
BTW. Thanks to you're info: At first I will try to use copper foil pieces where I place it between 2 acrylic sheets and make the connections by drilling in the underside plate.
A question
Do the design tools like kicad have libraries for touch components? I mean inter-digit electrodes either for "simple" touch and for touch sliders? Those need a lot of traces close together ;-)
A design...