Simple way to do capacitive touch button for ESP-12E?
Posted: Sun Nov 01, 2015 9:02 pm
Hey all!
I know the esp-12e has the ADC pin exposed, but I'm wondering if anybody can point me towards an example of how I might use this button with a simple capacitive touch button.
The "button" is basically a copper disk that I'd like to wire up in my "sketch". I don't need any sort of precision (I know there is a fair amount of talk about how much resolution the ADC pin has) - I just need to know whether somebody is touching the thing, or not.
I will be use a "bare" esp-12e (making a custom pcb for it), but for hte time being I'm breadboarding everything up with one of those fancy esp-12e test boards. I noticed it has a light sensor already hooked up to the pin, and just for fun I tried a VERY simple test of attaching a jumper wire directly to the ADC pin on the board to see what sort of numbers I go. In short, I seemed to get numbers been, roughly, 8 and 18. MOST of the time the values I got were > 12 when I was touching the button, but things seemed to jump around a lot so I"m not sure if I could reliably use this just as i had it setup.
So, all of this said, given that I'm a bit of an EE novice, can anybody recommend me a particular circuit/sketch/etc that I might be able to use for this setup?
THANK YOU!
I know the esp-12e has the ADC pin exposed, but I'm wondering if anybody can point me towards an example of how I might use this button with a simple capacitive touch button.
The "button" is basically a copper disk that I'd like to wire up in my "sketch". I don't need any sort of precision (I know there is a fair amount of talk about how much resolution the ADC pin has) - I just need to know whether somebody is touching the thing, or not.
I will be use a "bare" esp-12e (making a custom pcb for it), but for hte time being I'm breadboarding everything up with one of those fancy esp-12e test boards. I noticed it has a light sensor already hooked up to the pin, and just for fun I tried a VERY simple test of attaching a jumper wire directly to the ADC pin on the board to see what sort of numbers I go. In short, I seemed to get numbers been, roughly, 8 and 18. MOST of the time the values I got were > 12 when I was touching the button, but things seemed to jump around a lot so I"m not sure if I could reliably use this just as i had it setup.
So, all of this said, given that I'm a bit of an EE novice, can anybody recommend me a particular circuit/sketch/etc that I might be able to use for this setup?
THANK YOU!