Zachary J. Fields
Published © MIT

Automated Dehumidifier Sump Pump

If you're tired of walking down to the basement to empty your dehumidifier, then you'll want to take a look at this...

BeginnerFull instructions provided9,645
Automated Dehumidifier Sump Pump

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Adafruit Proto Shield for Arduino Kit
×1
SPDT Relay 120VAC/24VDC @ 1A
×1
MPSA13 transistor (Darlington pair)
×2
Terminal Block (300V @ 20A, 12-24AWG) [NTE 25-E700-10]
×1
UL Hookup Wire 22AWG
×1
16 AWG Grounded Power Extension Cord
×1
Waterproof Project Box Enclosure
×1
Water pump
WARNING: Must be rated <= 120VAC @ 1 AMP
×1
3/8" (inner diameter) tubing [100ft]
×1
Pocket Solder- 60/40 Rosin Core 0.031" diameter
Pocket Solder- 60/40 Rosin Core 0.031" diameter
×1
Rosin Paste Flux
×1

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Wire strippers
Diagonal cutter
Metal/plastic file

Story

Read more

Schematics

Pump Control Shield Schematic

This is the breadboard version of the schematic, so you can prototype and test before soldering it to the Adafruit Proto Shield

Code

SimplePumpControl.ino

Arduino
This is the basic sketch you will apply to the Arduino to control the outlet designated for your pump.
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

const int ENABLE_PIN = 2;
const int FULL_PIN = 3;
const int RELAY_115V_30A_PIN = 8;

void setup() {
  pinMode(ENABLE_PIN, INPUT);
  pinMode(FULL_PIN, INPUT);
  pinMode(RELAY_115V_30A_PIN, OUTPUT);
}

void loop() {
  if ( digitalRead(FULL_PIN) ) {
    digitalWrite(RELAY_115V_30A_PIN, HIGH);
  } else if ( !digitalRead(ENABLE_PIN) ) {
    digitalWrite(RELAY_115V_30A_PIN, LOW);
  }
}

/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

Credits

Zachary J. Fields

Zachary J. Fields

18 projects • 149 followers
I like to make stuff.

Comments