About the article

Distance and Level Gauge

With Alarm Function

Distance and Level Gauge
Small, widely available and dirt-cheap ultrasonic sensors enable us to design both simple and lavish measuring devices for all kinds of ranging. Take one of these modules, add a display, a couple of pressbuttons and a microcontroller loaded with software, and you now have all the ingredients for a circuit of this kind.
Downloading of this magazine article is reserved for Elektor Members only.
Already a member? click here to log in.
Relevant websites
Download the BOM list
The BOM (Bill of Materials) is the technically exhaustive listing of parts and other hardware items used to produce the working and tested prototype of any Elektor Labs project. The BOM file contains deeper information than the Component List published for the same project in Elektor Magazine. If required the BOM gets updated directly by our lab engineers. As a reader, you can download the list here.
Want to learn more about our BOM list? Read the BOM list article for extra information.
Component list
R1,R2 = 2.2kOhm
R3 = 0Ohm (wire link)
R4 = 10kOhm
P1 = 10kOhm trimpot
C1 = 10µF 50V, 2mm pitch
C2,C3 = 22pF 50V, 0.1” pitch, C0G/NP0
C4,C7,C8,C9 = 100F 50V, 20%
C5,C6 = 47µF 50V, 0.1” pitch
D1 = 1N4148
LED1 = low current, red, 3mm
T1 = BC547C
IC1 = LM2940T-4.0
IC2 = ATmega8-16PU, programmed, Elektor Store # 140209-41
K1 = DC-power socket, 1.95mm pin (Farnell 1217037)
K2 = 4-pin pinheader
K3 = 3-way PCB terminal block, 0.2” pitch
K4 = 6-pin (2x3) pinheader with jumper
LCD1 = LCD module, 4 lines 16 characters
RE1 = 5V, 1 c/o (Finder; Farnell 1169338)
S1–S4 = pushbutton, Multimec RA3FTL6 (Farnell 1132885)
4 caps for Multimec 1D03 (Farnell 1132887)
X1 = 16MHz quartz crystal, CL =18 pF
HC-SR04, US-020, or SRF02U ultrasonic module

We buy at:

Loading comments...