Introduction: SR04 Ultrasonic Sensor Case
The SR04 ultrasonic sensor is a very popular sensor among makers all over the world.
It is a sensor that allows you to measure how far away an object is.
For example, I used it in the Green Detect wireless sensor network platform to measure the height of a river and thus prevent a flood.
( https://youtube.com/shorts/PEsfu_AiJ0E?feature=share )
With this project I wanted to make a case to be able to use the sensor in outdoor projects and therefore protect it from dust and humidity.
I think this simple instructable can be very helpful for all of you, hope you like it!
Supplies
- SR04 Ultrasonic sensor (for example: https://www.digikey.it/it/products/detail/adafruit-industries-llc/3942/9658069)
- SR04 Sensor Case (https://www.tinkercad.com/things/69JTPE9g84N)
- Cable gland PG9 (for example: https://www.amazon.it/gp/product/B07V9GK4R8/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 )
- 3-pole cable
Step 1: Print SR04 Case
SR04 3D Case is composed by 2 parts: the box and the cover...print it.
Step 2: Fix Cable and Gland to the Case Hole
Fix the cable gland and pass the cable that will connect to the sensor inside it
Step 3: Fix SR04 Sensor to the Cover
SR04 sensor must be fixed to the cover using hot glue.
Step 4: Connect the Sensor
Connect the wires to the sensor.
I suggest you to improve the fastening of the connection with hot glue
Step 5: Close the Box
Fix the cover with 4 small self-tapping screws
Step 6: Ready to Use!
The sensor is ready for use.
The 2 holes on the sides of the box allow you to fix the sensor wherever you want!