Accurate fluid level sensor

Accurate fluid level sensor

prusaprinters

<p>Uses a float to rotate a pin holding a small 5mm magnet. magnet angle detected by a low cost GY-273 compass module, liquid depth calculated based on length of float arm and angle.</p> <p>Float arm I used 4mm oak dowel. Float halves filled with high density foam the superglued together, then I coated my float with a varnish for added waterproofing.</p> <p>Magnet is held in 5mm hole in hine_pin part with hot melt glue,</p> <p>GY-273 fits into pcb_holder then also sealed in place with glue.</p> <p>Accuracy with a 300mm arm seems better than 1mm, certainly very repeatable.with low noise.</p> <p>Code is a modified example of the adafruit sensor library which adds</p> <p>Added some screengrabs after adding a few parts for clarity. the 2 blue parts are glued together with the pivot in between and there are a couple of 2mm holes to add some printer filament into as a dowel and guide.</p> <p>the silver part is the magnet and shows the hole it goes into and orientation, the black part is the edge of the tub that the bracket was designed to clip onto and I want to measure the depth in.</p> <p>The green part is GY272 mag sensor and shows the hole it fits into, the magnet centre axis is then directly over the centre part of the pcb, needed for accuracy.</p> <p>The orange rod is the 4mm oak dowel and in my case is 300mm long not the short length shown here.</p> <p>I printed mine in black so it does not photograph well.</p> <p>The yellow part is obviously for my specific tub so you might need to design your own clamp, the blue holder is superglued to the yellow part, I only wanted to make one of these so did not spend much time on clever mounting systems. No need.</p> <p>The large graph screenshot is from the provided code and the serial plotter, the blue and red are the X and Y sensors and the green is the calculated water depth while swinging the float around.</p> <p>The small screenshot is showing the water level logged every 30 seconds on my mqtt broker. added more water at the end.</p> Category: Electronics

Download Model from prusaprinters

With this file you will be able to print Accurate fluid level sensor with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Accurate fluid level sensor.