
PROJECT
| Vishnu S | AUTHOR | ACTIVE |
| Aditya Pattavardhanam | COORDINATOR | ACTIVE |

Project Title: Analog Proximity Sensor
Project Type: Analog Electronics / Capacitive Proximity Sensing
Member: Vishnu S
The circuit is based primarily on a CD4093 NAND Schmitt-trigger IC and an MCP602 dual operational amplifier. The prototype operates from a regulated 5 V supply and does not require a microcontroller. The project demonstrates capacitive sensing, oscillator circuits, frequency mixing, analog signal processing, filtering, and contactless human interaction.
The Analog Proximity Sensor uses the change in capacitance caused by a human hand approaching a conductive sensing electrode. Instead of using a digital sensor module or microcontroller, the sensing and signal-processing functions are implemented using passive components, a CD4093 Schmitt-trigger IC, and an MCP602 operational amplifier.
The project is inspired by the operating principle of a Theremin, where changes in hand position alter an oscillator frequency and produce a corresponding change in an audible tone. The main objective here is to demonstrate the analog proximity-sensing principle.
The sensor operates using capacitive proximity sensing.
A conductive metal rod acts as the sensing electrode. The human body naturally has capacitance relative to its surroundings. When a hand approaches the sensing electrode, the capacitance associated with the antenna changes.
The sensing electrode forms part of an oscillator timing network. The oscillator frequency therefore changes as the hand moves closer to or farther from the electrode.
A second oscillator operates as a reference. The two oscillators generate slightly different frequencies. When these signals are combined and processed, their frequency difference produces a lower-frequency signal that can be converted into an audible tone.
Hand movement
↓
Change in antenna capacitance
↓
Change in variable oscillator frequency
↓
Frequency difference with reference oscillator
↓
Analog signal processing
↓
Audio output
HAND
│
↓
┌─────────────────┐
│ Sensing Antenna │
└────────┬────────┘
│
↓
┌─────────────────┐
│ Variable │
│ Oscillator │
│ CD4093 │
└────────┬────────┘
│
├──────────────┐
│ │
↓ ↓
┌─────────────────┐ ┌─────────────────┐
│ Reference │ │ Signal │
│ Oscillator │ │ Processing │
│ CD4093 │ │ MCP602 │
└────────┬────────┘ └────────┬────────┘
│ │
└──── Frequency ─────┘
Difference
│
↓
┌────────────┐
│ Audio OUT │
└────────────┘
The circuit diagram used for the project is based on the reference diagram from the Instructables guide:

| Component | Quantity | Purpose |
|---|---|---|
| CD4093 NAND Schmitt Trigger | 1 | Variable and reference oscillators |
| MCP602 dual op-amp | 1 | Analog signal processing |
100 pF capacitor (101) | 2 | Oscillator timing |
1 nF capacitor (102) | 1 | Signal filtering |
| 4.7 µF electrolytic capacitor | 1 | AC coupling |
| 10 kΩ resistor | 6 | Biasing, feedback and oscillator networks |
| 5.1 kΩ resistor | 1 | Variable oscillator timing |
| 6.8 kΩ resistor | 1 | Filter/output network |
| 10 kΩ potentiometer | 1 | Reference oscillator tuning |
| 100 kΩ potentiometer | 1 | Output/level adjustment |
| Metal rod / antenna | 1 | Capacitive sensing electrode |
100 nF capacitor (104) | 2 | IC power-supply decoupling |
| 5 V regulated supply | 1 | Circuit power |
104) decoupling capacitor is connected directly between pins 14 and 7.The first CD4093 gate is configured as an oscillator.
101) from pin 2 to GNDThe second CD4093 gate forms the reference oscillator.
101) from pin 6 to GNDTM1 allows the reference oscillator to be adjusted to the desired operating point.
The MCP602 is powered using:
The oscillator signals are fed into the op-amp stage through resistor networks.
The output stage includes:
102)The 4.7 µF capacitor provides AC coupling to the audio output.
A second 100 nF (104) capacitor is placed directly between MCP602 pins 8 and 4 for supply decoupling.
The sensing antenna does not need to be a conventional RF antenna. A simple conductive metal object can be used as the sensing electrode. During prototype testing, a small metal rod approximately 9 cm long and 5 mm in diameter can be used.
CD4093 pin 2 ───────── metal sensing rod
The metal rod is not connected to 5 V or GND. It acts only as a capacitive sensing electrode.
Sensing range is affected by antenna length, diameter, surface area, surrounding metal objects, breadboard wiring, grounding, electrical noise, and distance from audio/speaker wiring.
The prototype uses a regulated 5 V DC supply.
CD4093:
Pin 14 (+5 V) ── 100 nF ── Pin 7 (GND)
MCP602:
Pin 8 (+5 V) ── 100 nF ── Pin 4 (GND)
A 4.7 µF electrolytic capacitor can also be connected across the main 5 V and GND rails. The 100 nF capacitors should be positioned as close as possible to the respective IC power pins.
The first prototype was implemented on a breadboard using a regulated 5 V supply. The oscillator section was kept separate from the audio section as much as practical. The sensing electrode was positioned away from power rails, speaker cable, and other sources of electrical interference.
The prototype demonstrated that hand movement near the metal sensing electrode produces a measurable change in the audible output.
The presence of a clear pitch change when the hand approaches the sensing electrode confirms that the basic capacitive proximity-sensing principle is functioning.
Possible sources include long breadboard jumper wires, poor power-supply decoupling, speaker/AUX cable coupling, nearby RF sources, large metal objects, breadboard parasitic capacitance, ground-loop effects, long antenna connections, and unstable power.
Recommended practices:
The breadboard prototype demonstrates the fundamental sensing behavior, with hand movement producing a noticeable change in pitch. Although noise and environmental interference remain practical considerations, the project provides a useful platform for understanding capacitive sensing, oscillator design, analog signal processing, and contactless interaction.