Published © MIT

UltraSonic Liquid Level Controller

A Simple ultrasonic liquid level controller based on STM32 microcontroller

AdvancedFull instructions provided10 hours692
UltraSonic Liquid Level Controller

Things used in this project

Hardware components

STMicroelectronics STM32F030K6
×1
Alphanumeric LCD, 20 x 4
Alphanumeric LCD, 20 x 4
×1
JSN-SR04T Ultrasonic Module
×1
HLK-PM12
AC 110-240V To DC 12V AC-DC Isolated Switching Power Supply Module
×1
MINMAX MA03-12S09
isolated 3W DC/DC-converter
×1
Relay SPDT Sealed - 10A
×1
Tactile Switch
×6
BC547 NPN Transistor
×1
PC817 Transistor Output Optocoupler
×1
Texas Instruments TL7705 SUPERVISOR IC
×1
Texas Instruments LM1117-5Volt Regulator
×1
Texas Instruments LM1117-3.3Volt Regulator
×1
3 mm LED: Green
3 mm LED: Green
×2
1N4007 – High Voltage, High Current Rated Diode
1N4007 – High Voltage, High Current Rated Diode
×1
SMLVT3V3 TVS Diode
×1
8 MHz Crystal
8 MHz Crystal
×1
MOV-07D391K Varistor
×2
Ceramic Disc Capacitor, 18 pF
Ceramic Disc Capacitor, 18 pF
×2
10nF Film Capacitor
×1
Capacitor 100 nF
Capacitor 100 nF
×4
Electrolytic Capacitor, 0.1 µF
Electrolytic Capacitor, 0.1 µF
×1
Capacitor 10 µF
Capacitor 10 µF
×2
Capacitor 22 µF
Capacitor 22 µF
×1
Capacitor 220 µF
Capacitor 220 µF
×1
1 A, 250 V Fuse
×1
Ferrite Bead
Ferrite Bead
×2
Male Header 40 Position 1 Row (0.1")
Male Header 40 Position 1 Row (0.1")
×1
IDC Connector - Female - 2 Row, 10 Contacts
×1
IDC Connector - Male - 2 Row, 10 Contacts
×1
Trimmer Potentiometers
×1
Through Hole Resistor, 2.2 kohm
Through Hole Resistor, 2.2 kohm
×1
Resistor 1k ohm
Resistor 1k ohm
×1
Resistor 220 ohm
Resistor 220 ohm
×1
Resistor 10k ohm
Resistor 10k ohm
×1
Through Hole Resistor, 39 ohm
Through Hole Resistor, 39 ohm
×1
Pluggable Terminal Block, 2 Positions
×1
Pluggable Terminal Block, 3 Positions
×1

Software apps and online services

STMicroelectronics STM32CubeIDE
Integrated Development Environment for STM32

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Schematics

LCD Board

Control Board

Code

Code in STM32CubeIDE

Credits

Comments