Joel & NoCodeBandit
Got a spare Arduino kit lying aroundāwhat if we turn it into a lowācost waterālevel controller that pops the pump when it hits the bottom? Need a quick scriptless setup, so your chaosāsavvy approach might be just what I need.
Sure thing, letās keep it lowātech chaos. Grab a breadboard, a 4āchannel relay board, a cheap float switch, a little NPN transistor, a 1āÆkĪ© resistor, and a 12āÆV power supply that matches your pump. Wire the float switch into the relayās input so when the water rises it breaks the circuit, flipping the relay to shut the pump off. Add the transistor as a little āquickāswitchā so the relay doesnāt eat up your Arduinoās pins. Power the relay board with the 12āÆV supply, tie the Arduinoās GND to the relayās GND, and youāre good. No code, just a little breadboard magic, and youāve got a lowācost waterālevel controller that pops the pump at the right time. Happy messing around!
Sounds solidājust make sure you use the right kind of relay. I hate it when the coils fry the whole board. Also doubleācheck that the float switch really triggers at the exact level you need; those cheap ones can drift. Once wired, give me a call and weāll test it on a bench before you load it into the system.
Got it, Iāll grab a 12āÆV relay with a low coil current or a solidāstate one so we donāt burn the board. Iāll test the float in a small water bath first to tweak the trigger height and make sure itās consistent. Iāll ping you once the bench test is sorted, then we can lock it into the system.
Good plan. Keep the bench test tightāmeasure the floatās break point with a simple voltmeter so youāre sure itās set right. Once youāre happy, we can just slap the relay module into the pump enclosure and wire the grounds together. Just ping me when itās ready and weāll run a final check.
Got the voltmeter on it, just checking the floatās breakāpoint, then weāll drop the relay into the enclosure. Iāll ping you when itās all wired up and ready for the final run. Stay ready, Iāll bring the chaos.
Sounds good, just doubleācheck the coil isnāt pulling more than a couple of milliamps, then weāll lock it in. Keep me posted when youāre all wiredāready to see if the chaos holds up.
All wired up, coilās under a few milliamps, groundās tied, relayās ready to go. Hit me when youāre set for the final run.
All set. Letās power it up and watch the water level drop. Go ahead.
All right, flipping the switch nowāletās see that water level drop. Keep an eye out; if the chaos gets any wilder than this, Iāll be right here.
All right, give the pump a run. Watch the float; when it trips it should cut the relay and the water should start to drop. If it doesnāt shut off, weāll need to check the float placement or the relay contacts. Keep me posted.
Pumpās on, floatās tripping, relay cutting power, waterās droppingālooks like the chaos worked. No hiccups so far, all good.