Ok, so after chasing my tail for over 2 days I finally found out the issue, well where the issue is. After many many rebuilds and reloading Hassio this is what I finally noticed.
I am making a poor mans version of a sonoff switch. I am using esp8266 and touch sensors. I created my own USB male plugs with only positive and negative connected.
Here is the problem. When I connect my set up to my laptop USB EVERYTHING works as expected, mainly the touch sensor switch (set to switchmode 5). If I measure the volts going in I get 5.02 plus or minus a few .01âs. The touch sensor is connected to the 3.3 V output, and it reads right at that, plus or minus a couple of .01âs.
Ok, so since it is working correctly with the USB plugged in to my laptop I figured I could install. BUT when I connect it to a USB power plug (the ones used to charge cell phone with 5v 1Amp) the touch sensor stops working. At times it doesnât work at all, at times once my finger gets about 1cm it starts working or flickering, then stops working all together. Other times it just doesnât work at all.
I measured Volts, and when using the wall USB adapter I get 5.20 volts, plus or minus a couple .01âs, and the volts going to the button are the same as when plugged in to a computer, about 3.3 plus minus a couple of .01s
The little I know about circuits and electronics (which is very little) this doesnât make any sense! If someone came to me with the same issue I would have bet them money that there was something else causing the issue, but since I am the one that ran into the issue I am 100% sure there are no other variables.
If I plug my set up to my laptop everything works 100%, (again the male USB plug I am using is only connected to the left and to the right most pins, it is getting no input what so over from the laptop via rx/tx). When I unplug from the laptops port and connect it to a USB wall charger the issues with the touch sensor start.
Does anyone have any idea of why this might be? And better yet, does anyone have any ideas on how I can correct the issue? Everything else works just fine, I just canât use the physical touch sensor to turn on/off the relay.
Thanks in advance for any and all help!