Article
Distance and Level Gauge
With Alarm Function
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.
Components
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
Component list
Resistors
R1,R2 = 2.2kOhm
R3 = 0Ohm (wire link)
R4 = 10kOhm
P1 = 10kOhm trimpot
Capacitors
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
Semiconductors
D1 = 1N4148
LED1 = low current, red, 3mm
T1 = BC547C
IC1 = LM2940T-4.0
IC2 = ATmega8-16PU, programmed, Elektor Store # 140209-41
Miscellaneous
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 34.51.7.005.0010; 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
Resistors
R1,R2 = 2.2kOhm
R3 = 0Ohm (wire link)
R4 = 10kOhm
P1 = 10kOhm trimpot
Capacitors
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
Semiconductors
D1 = 1N4148
LED1 = low current, red, 3mm
T1 = BC547C
IC1 = LM2940T-4.0
IC2 = ATmega8-16PU, programmed, Elektor Store # 140209-41
Miscellaneous
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 34.51.7.005.0010; 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
Discussion (0 comments)