Are the readings otherwise the same?In my app I get readings that are maxed out at 1023 if the pin is an output before using TOUCH16.
Tex, I had the same frustration, but did get it to work very reliably. I found during troubleshooting that monitoring the touched and untouched readings with a laptop running on only it's own battery was a HUGE help (no ground loop through the wall wart).It is so irritating that a TOUCH program will work with the AXE027 connected, but not when disconnected.
Troubleshooting is more like black magic than an RF circuit is.
Tex, I do all of my Picaxe development and programming on a really antique Dell laptop. The "wall wart" is more of a "cord brick", and definitely has a ground connection between the USB port (for the Picaxe programming cable) and the house ground. I do know that if I run the laptop strictly on internal batteries, with the charger disconnected, the odd-ball touch stuff goes away, as reported by sertxd embedded in the code while troubleshooting.rq3, your touch program is what gave me some of the ideas that I'm using in mine! Thank you very much! I'm not ready to explain the difference, but I will.
I just couldn't figure out how there could be a ground loop when there is a switching power supply, but I haven't actually checked mine to see if there is ohmic isolation between input and output.
I'm getting ready to troubleshoot it with a laptop and a terminal program, but I don't have a PC laptop, so there will be some back and forth before I get it right or ....
Tex, my apologies. Try the new link here:Unfortunately, YouTube says the video is "private."
Alan looks like he's having a most excellent day.Very interesting, Rip. You mentioned "double-sided" board for the switches. Did you use the copper on the other side of the board? Or was the other side left alone and perhaps connected to ground?
I was interested in creating my touch pad with all of the app's electronics on the other side in surface mount and was wondering how you thought that might affect the switches ability to detect touch on the front layer. (Assuming a non-conductive mask on the front layer.)
PS. OT: I only do silly things on YouTube with my brother (who has Down's Syndrome). Alan and the Tractor.