ESP32 touch captive touch
Posted: Mon Aug 01, 2022 10:15 am
<t>Hello everyone <br/>
<br/>
I am using esp32 to create smart touch switch to turn on and off devices.<br/>
I am using acrylic material as top layer of switch and below it i out copper pad which is created by me.<br/>
I need to turn on and off device according to touch input given to esp32 by swich.<br/>
When i run my code and read value of touch gpio using touch_pad_read() this function it gives me between 1052 to 1150 value.<br/>
Then i first touch my copper layer on which i solder wire which connects it with touch io pin , touch_pad_read() this function gave value around 150. which i assume is right.<br/>
<br/>
But when i assemble all things and try to gave touch input from top acrylic layer then touch_pad_read() gave me value around 962. <br/>
So i am bit confused about right value and material which i can used as top layer of my swtich.<br/>
Because i think i can not consider the change of value which gives me result like 950. it must me around 650 or 600 so it can properly considered as human touch.<br/>
If anyone have any idea about it , or any suggestion about what is correct value which can be considered as input value please reply</t>
<br/>
I am using esp32 to create smart touch switch to turn on and off devices.<br/>
I am using acrylic material as top layer of switch and below it i out copper pad which is created by me.<br/>
I need to turn on and off device according to touch input given to esp32 by swich.<br/>
When i run my code and read value of touch gpio using touch_pad_read() this function it gives me between 1052 to 1150 value.<br/>
Then i first touch my copper layer on which i solder wire which connects it with touch io pin , touch_pad_read() this function gave value around 150. which i assume is right.<br/>
<br/>
But when i assemble all things and try to gave touch input from top acrylic layer then touch_pad_read() gave me value around 962. <br/>
So i am bit confused about right value and material which i can used as top layer of my swtich.<br/>
Because i think i can not consider the change of value which gives me result like 950. it must me around 650 or 600 so it can properly considered as human touch.<br/>
If anyone have any idea about it , or any suggestion about what is correct value which can be considered as input value please reply</t>