Directed to TK:
As per our discussion in another thread, I’m planning to make an array of touch sensors. The DIN module design is quite clever - I wish I thought of that when I was prototyping!
What I’d really like to know is how they work, electronically and in software.
I am assuming pin 14 goes high just prior to sampling the DIN inputs, thus charging any fingers touching the contacts, then it goes low and the DIN inputs get sampled.
How does the parameter set by MIOS_SRIO_TS_SensitivitySet control sensitivity? If my assumptions above are correct, I’d also assume it controlled how long pin 14 goes high prior to sampling, or control a delay between it going low and the DIN inputs being sampled.
I’m asking all this because I plan to have a long cable between the touch sensor contact and the DIN inputs and I’m wondering if that will affect things… Also wondering how the 47k resistor value was determined - it pulls DIN inputs low, but can sensitivity be improved by increasing current to the fingertip and getting pin 14 to drive a current sourcing transitor rather than source the whole current from the PIC?
I’ll have my core module/DIN module finished soon and I can do some experiments of my own… but I still need some idea what’s going on first.
Regards,
Wilba




