HC-SR04 Enclosure

HC-SR04 Enclosure

Description

This is a robust enclosure for the HC-SR04 Distance Sensor / Ultrasonic Range Finder. I originally made this for a Halloween project (the distance sensor was used to trigger some effects when people approach...) There are two versions of the enclosure: * housing & front_panel - only just big enough to squeeze in the dupont connectors * housing_big & front_panel_big - slightly bigger (has 5mm more clearance) There are also some accessories for mounting: * bracket - a simple L-bracket * mount & clamp - suitable to mount on wooden stakes of 5~6mm diameter Finally, there's a "cowl" which can be used to give some basic protection from the rain (I attached this with double-sided tape). This enclosure not designed to be waterproof for extended use outdoors, but is pretty robust for general indoor use or occasional outdoor use. I also wrote a Python module to interface the HC-SR04 to the Raspberry Pi which is available here if you need it: https://github.com/jam3sward/hcsr04-python Caution: if you use the HC-SR04 with Raspberry Pi, you need to convert the 5V output to 3V3 level before connecting to the GPIO pins on the Pi to avoid potential damage.

Statistics

Likes

0

Downloads

0

Category

DIY