A Simple Capacitive Touch

Hello,
is it possible to implement a Capacitive Touch with simple components such that in the figure with the libraries of Zerynth?

Hi, any floating analog pun has a voltage that is changed by the touching of a wire. So if you read the adc at the power up of the board you can identify touches as changes in the pun adc value. You need to do some experiment to find the correct threshold.
I suggest you do print the adc value on the serial port and see how it changes while touching.
Let me know if it works

This is the code:

import streams
import adc
streams.serial()
pinMode(A7, INPUT_ANALOG)

while True:
print ("Value: ", analogRead(A7))
sleep(1000)

Whether or not i touch the wire connected to A7, the printed value is totally random.