Skip to content

Ultrasonic level detector using Raspberry Pi Pico and RCWL-1601/HC-SR04 transducer.

Notifications You must be signed in to change notification settings

ggtrigg/ultrasonic_level_detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ultrasonic Level Detector

This is a small project utilising a Raspberry Pi Pico and a RCWL-1601 (or HC-SR04) ultrasonic transducer. It simulates a scenario where a container starts filling when it approaches empty and stops filling as it approaches being full. This hysteresis is performed by measuring the ultrasonic echo pulse distance and turning on the onboard LED (which in real life could turn on a motor etc.) when the distance moves beyond the "empty" threashold, and then turning the LED off when the distance becomes closer than the "full" threshold.

This was mainly an exercise in learning embedded Rust using a possible real world situation for stimulus. image

About

Ultrasonic level detector using Raspberry Pi Pico and RCWL-1601/HC-SR04 transducer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages