This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Measure distance to water level in sump pit using | |
# HC-SR04 ultrasonic ranging module | |
# Sensor info: | |
# 2cm - 4m. range with ~3mm. accuracy, 15 degree measuring angle | |
# 5VDC, 15mA working current | |
# Suggestion in spec to connect ground before 5VDC line when hot plugging | |
# Measure surface area no less than 0.5 m^2 (really?) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.