The other day DJ suggested an easy way to make a touch sensor, see this thread https://synthiam.com/Community/Questions/7692.
So I started playing with that idea and made a couple of touch sensors by soldering a piece of foiling tape (I "borrowed" some from my wife's stain glass supplies) to the end of a wire. I attached the wire to an ADC Port and put the foiled end on the robot. Wrote a script and it works pretty good.
Here's a picture of the sensor.
A short video of them working.
Thanks for the idea DJ !
By bhouston
— Last update
Discover more robots
Ezang's Life Is Like A Tight Rope, Do You Agree With This?
Tight rope robot squeaking by, enjoying performance once again
Rb550f's Meet Tk
TK robot - 31in tall, 12in base, 12lb with 12V battery; rotating torso/head, tilting dome, arms w/3 HD servos, digital...
Rb550f's Ez Robot Attacknid 6Lr
Attacknid robot with EZB V3: 18-inch walker with 12V lithium, dual H-bridge drive, sound/LED mic, 12-inch LED fan, under...


I got back to working on these touch sensors, however, they don't work now and I'm trying to figure out why. I don't get any change in the ADC value when I touch the copper sensor. When I originally made the sensors and programmed them, I would get huge value changes. I have tried a couple of different v4's - same result - no change and I tried different ports as well. I have also tried other types of sensors on these v4's and they work so I know the ADC ports are working. Putting a small capacitor in line doesn't make any difference either. I'm stumped!
Does anyone have any thoughts on why these sensors won't work any more?
Thanks
Could it be a power difference? You originally used a v3 for this correct?
I'm running them on a v4, always have - nothing has changed power wise, or anything else for that matter.
Can you describe how they are wired? What pins on the ez-b, etc...
Each sensor is connected to an ADC port with a single wire. They were originally connected to ADC 0,1,2,3. With the ADC meter configured it shows a value that hovers around 68 with or without the sensor attached and no change when I touch the sensor. I've tried all of the ADC ports - all the same.
Where are they getting power?
Good question. They are just a single wire, see my first post.
Ah, i see - you're collecting ADC value by static. Well, it still should work "if" you're not grounding the tinfoil. Maybe InMoov has absorbed some moisture? Or you're just not staticy anymore
Rub your feet on the carpet - well, maybe don't do that because you can easily build up thousands of volts by doing that and damage the ez-b haha
I would recommend separating the tinfoil from the inmoov and seeing if it works. It might just be grounded too well from moisture over time - or the garage humidity has changed drastically since the last attempt.