In this circuit a test signal passes through a simple filter made of a resistor and a capacitor. The capacitor resists sudden voltage changes; high-frequency noise drains to ground while the slowly changing signal reaches the analogue input. The board reads the filtered voltage and compares it with a threshold. The threshold comes from the wiper of a trimmer resistor. When the signal crosses the threshold the LED lights. The circuit teaches how an analogue signal behaves over time and how noise is reduced in hardware.

Bu projeyi gerçekten kurmak istersen parçaları hobidevre.com'dan temin edebilirsin →
Build it for real
To build this project for real, get the parts from hobidevre.com → hobidevre.com →
More build guides: hobidevre.com/blog
Create a free account — save your progress and get more circuits →
Free panelYou can open this circuit in the browser simulator, trace the connections and change values to see what happens.
Open in simulatorParts you need
Build the circuit with the components below. Each component’s role is listed in the parts list.
- Control board × 1 — Reads the filtered voltage and compares it with the threshold.
- Signal source × 1 — Produces a variable voltage for testing.
- 10kΩ resistor × 1 — The resistor element of the filter.
- 100nF capacitor × 1 — Drains the high-frequency component to ground.
- 10kΩ trimmer resistor × 1 — Sets the comparison threshold.
- +5V power rail × 1 — Reference voltage for the trimmer.
- 220Ω resistor × 1 — Limits the LED current.
- Green LED × 1 — Lights when the threshold is exceeded.
Build steps
Placement on the breadboard: the control board is on the left; the signal source and filter resistor are in the top row (rows 3-6), with the capacitor just to their right going to ground. The trimmer is in the middle and its threshold pin goes to board pin 4. The LED and 220Ω resistor are at the lower left; all ground pins are on the bottom rail.
- Place the control board and connect its GND pin to the bottom rail. Tip: An analogue measurement is made relative to ground.
- Connect the signal source and the 10kΩ filter resistor to the top row. Tip: The signal’s negative end goes to ground.
- Connect the 100nF capacitor from the resistor’s output to ground. Tip: The filter output is the point where the resistor and capacitor meet.
- Connect the filter output to the board’s analogue input (pin 2). Tip: You can monitor the same point with a multimeter.
- Connect the trimmer between +5V and ground, with its wiper to pin 4. Tip: The wiper gives the threshold voltage.
- Connect the LED with a 220Ω resistor to pin 5 and change the threshold to see the response. Tip: Increasing the capacitor value slows the response.
How it works
A low-pass filter is a voltage divider made from a resistor and a capacitor. The capacitor’s impedance falls as frequency rises; the fast-changing component flows to ground while the slow-changing component remains at the output. The cut-off frequency is approximately 1 divided by 2πRC; for 10kΩ and 100nF this is about 159 Hz. The 1 kHz component in the test signal lies above this threshold and is therefore strongly attenuated. The board converts the filter output into a number at its analogue input and compares it with the threshold coming from a separate analogue input. When the threshold is crossed the output pin activates and the LED lights. The trimmer adjusts sensitivity by changing the threshold. This structure shows how noise is suppressed in hardware and how an analogue comparison is made.
Expected result
The value at the analogue input changes smoothly; once the threshold is crossed the green LED stays on.
Tips and common mistakes
- If the LED flickers, increase the capacitor value slightly.
- If the response is too slow, reduce the filter resistor.
- The capacitor must be non-polarised; do not use an electrolytic type.
- If the threshold pin is left floating, the comparison becomes unstable.
Try it yourself
- Observe the smoothing at the filter output.
- Change the capacitor value to shift the cut-off frequency.
- Use the trimmer to change the threshold and set when the LED lights.
What you learn in this circuit
- Explains low-pass filter logic.
- Calculates the cut-off frequency from the R and C values.
- Relates analogue reading to threshold comparison.
- Understands the difference between a hardware and a software filter.
Finding the parts
If you want to build this project in real life, you can get the parts from hobidevre.com.
Looking for more project ideas? Browse the guides on the hobidevre.com blog.