Can smart pins be capacitive touch inputs?
threadz
Posts: 56
in Propeller 2
I know the P1 had an object that could emulate capacitive touch inputs with just a resistor, so i figure with the smart pins expanded capabilities the resistor might become unnecessary and capacitive sensing could be a built in feature, more or less
Comments
I would recalibrate the thing periodically, though, to get rid of drift due to temperature or voltage change.
I'm thinking that this might be usable like an Encoder wheel.
If my application only needed 180 deg of turn (back and forth) and I used several pins, do you think this would be viable?
Jason
Controlling drift/accuracy will be the key. It'll depend a large amount on mechanical construction of the transducer. And presumably also requires controlling the dielectric properties for best results. Resolvers are the more robust way.
EDIT: That said, If you can find an old AM/FM radio with one of those mechanical tuners then the variable capacitor used for tuning is pretty much exactly 180 deg turn. And as long as you can keep the grime out then it won't drift. Not designed for lots of motion though.
From what i can tell, the IC being used for sensing doesn't do anything special to make it work, all the calculation are done on the arduino in the project, which is convenient as you can just grab the code.