David Pilling |
Main »
Puddle LabStarted 22nd January 2022 Second version using 3D printed linear actuator.
It is apparent that after a long spell with no rain the water dries up. Also if there is sufficient water to flood the ground outside (it has happened) every mm of rain will result in a mm increase in depth of water in the crawl space. But what is the relationship between water level and rainfall in between. Deploying Puddle Lab to the crawl space... I imagined that the water depth under the house would be related to the general water table level in the area and would increase and decrease slowly. It turns out the model which fits the results best is an inverted cone shaped tank connected to the downspout from the roof. When the underfloor space has been dry the depth increases rapidly at a rate many times the rainfall. As the depth increases the rate becomes closer to the amount of rainfall. Eventually the rate is less than that of rainfall - presumably surface drainage starts to remove water. When it is not raining the depth decreases at around the evaporation rate (no sign of the water running back out) - the crawl space is fairly warm and ventilated. The first graph shows the depth of crawl space water (red) compared with the amount of rainfall (blue). I've made the rainfall level agree with the depth at the start. January 2022 was dry and this is the position the data starts from, rainfall early in February caused a rapid increase in depth - alas before I started to gather rainfall data. Video of motion:
Electronics To get the 12V I used two 6 V 5 AH lead acid batteries. The idea was that a probe event would use 1 A for around 10 seconds. 5 AH is 5*60*60 As and at 48 probes per day around 37 days power. There is some messing about turning the power to various components on and off, a power MOSFET is involved. Arduino source code: 3D print files The B-04E motor takes 20 full steps to perform one rotation - each step 20 degrees. The screw advances the nut 3 mm per rotation. I set up the A4988 motor driver to have 8 microsteps per full step. As a result distance in mm equals (0.15/8)*microsteps. The method of measuring liquid depth is to assume the mechanism sets off from around the homed (maximum height) position and drive it downwards until the capacitive probe triggers (noting the position). Then drive the mechanism upwards until the TCRT5000 triggers (again noting the position) indicating the mechanism is homed. The depth is then the difference between the two trigger positions. Linear Actuator version There are 32 steps per revolution and a gearbox with ratio 63.68395, the rack has 3.25 mm per tooth and the pinion 14 teeth. I set up the driver for 2 microsteps per step. As a result distance in mm equals = 1/2*1/32 * 1/63.68395 * 14 * 3.25 microsteps, or 0.0112 microsteps. I took inspiration from Thingiverse, in particular the code relies on 28BYJ-48 model from RGriffoGoes www.thingiverse.com/thing:204734 and OpenScad Rack & Pinion generator from racatack https://www.thingiverse.com/thing:1645390 |
David Pilling's Wiki Set view |
Page last modified on August 01, 2024, at 02:00 PM - Powered by PmWiki pmwiki-2.3.31 (pmwiki-2.3.31) |