Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: zzgus on March 29, 2019, 11:57:47 am

Title: touch button (capacitive) + zero delay
Post by: zzgus on March 29, 2019, 11:57:47 am
Hi.

I want to use a "touch button (capacitive" in one of my projects with a "zero delay" control board.

The problem is that I really have no idea of how to wire the touch button + zero delay.

The touch button has:

GND - Ground / to the common ground of the zero delay button I choose ???
OUT - ?
VCC - power 2,5 to 5,5v / to the +5V line of the usb connector ???

Any help will be gratly appreciated.

Thankyou
Gus


Title: Re: touch button (capacitive) + zero delay
Post by: zzgus on March 29, 2019, 12:12:42 pm
I think I got it.

Attached image.

Can someone confirm it's the way?

Thankyou
Gus
Title: Re: touch button (capacitive) + zero delay
Post by: PL1 on March 29, 2019, 02:32:17 pm
Looks like the only thing that might be a problem is that the ZD encoder is an "active-high" device (uses 5v to trigger the input port), but most modern electronics are "active-low" devices. (use ground to trigger the input port)

The Sparkfun version of the sensor here (https://www.sparkfun.com/products/12041) apears to work with active-high devices.
Quote
As long as a touch (e.g., from a finger) is detected, the AT42QT1010 keeps the output line high. Otherwise, the line is kept low.

The Adafruit version of the sensor here (https://www.adafruit.com/product/1374) also appears to work with active-high devices.
Quote
When a capacitive load is detected (e.g. a person touches the sensor-pad area) the red LED lights up and the output pin goes high.

Just to be sure, can you post a link to the sensors you're using?  (Bonus points for including a datasheet link.   :D )

If your sensors are active-low, there are several threads like this one (http://forum.arcadecontrols.com/index.php/topic,137899.0.html) discussing how to use a solid state relay between an active-low coin recognzer and an active-high ZD encoder.


Scott
Title: Re: touch button (capacitive) + zero delay
Post by: zzgus on March 30, 2019, 05:54:02 am
Quote
Just to be sure, can you post a link to the sensors you're using?  (Bonus points for including a datasheet link.   :D )

I bought on aliexpress and there's not too much info about it.

Yesterday I tested like the diagram I post and appears to work well.

Thankyou
Gus