Home » Circuits
Simple One-Wire Touch DetectorThis simple circuit can be used to activate whatever you like, for example, by connecting it to microcontroller, relays, secret alarms, robot applications or just turn on LED1 which lights up as long as you touch the metal plate. The circuit consists of voltage divider R1 and R2, one Schmitt trigger/inverter gate from a 40106 IC, a small capacitor to keep strong RF at bay and LED1 with current limiting resistor R3. The metal plate is connected via a wire to R1. R1 and R2 together form a voltage divider.
Since the current from your body is very small it’s understood that R2 has a high value like 10 Megohm to maximise the voltage over R2 so it can be detected by input pin 1 of gate IC1.A. R1 has been added to prevent electrostatic discharge (ESD) energy from damaging the inverter gate input. ESD may occur when you have been charged with an amount of electro static energy by walking on a carpet with rubber soles. You can increase the sensitivity of the detector by experimenting with lower values fore R1 e.g. 1 kO and a smaller metal plate.
The value of pull-up resistor R3 is calculated such that the current through LED1 is below its maximum continuous rated value. Most regular LEDs are 20 mA types. The circuit still works if you remove LED1 and just have the pull-up resistor R3 connected to output pin 2 and then connect a microcontroller input pin directly to pin 2. Do check however that the microcontroller has a weak pull-up (i.e. to +VDD) at its port line.