Humidor AutoWater


Author: Dave
Date: 12.07.14 - 7:44am



As part of the Web-enabled humidor project, one of the next goals that I would like to accomplish is to have the humidity level automatically maintained and monitored. The monitoring part is complete a long with a web front end for viewing, notice time to start designing the software, hardware, and hydraulic parts of the watering system.

The code additions were actually very minimal,all of the real labor is in designing and testing of reliable hydration method for the humidity beads.

below is a video for my first test setup. I will be running this in my backup humidor for a while until I get it stable and work all the bugs out.

one correction to the dialogue and the video, it is actually a pulldown resistor and the purpose is to prevent the transistor from ever being in a floating state and potentially turn on unexpectedly.

Code Addition was a simple:

#ifdef autowater
	//do we need to support multiple pumps based on which sensor? 
	//are the sensors in diff humis? -> pumpPin[i], lastPumped[i]
	//or are they at multiple levels of same one..most users will be this..
	//waters a max of once every 2 hours (6 updates / 30 min interval)
	if(lastPumped > 250) lastPumped = 7; else lastPumped++;
	for(uint8_t i=0; i < sensorCount; i++){ 
	   if(humi[i] <= 66 && lastPumped > 6){
		   lcd_out("Autowater Mode");
		   sprintf(tmp, "humi[%d]=%d s=%d", i, humi[i],sprayFor);
		   lcd_out(tmp,1);
		   digitalWrite(pumppin, HIGH);
		   delay(sprayFor * 1000); 
		   digitalWrite(pumppin, LOW);
		   lastPumped=0;
		   watered = 1;
		   break;
	   }
	}
#endif





Comments: (0)

 
Leave Comment:
Name:
Email: (not shown)
Message: (Required)
Math Question: 4 + 27 = ? followed by the letter: A 



About Me
More Blogs
Main Site
Posts:
2024 (1)
     Drone drop mechanism
2023 (3)
     Circuit board holders
     DJI Firmware
     ADT System Retrofit
2019 (1)
     Electronic dividing head
2017 (3)
     Crawl Space Forklift
     Remote Control Snowblower
     Arduino RC motor control
2016 (6)
     Keyboard Emulation
     Arduino w/ win2k
     Arduino Snowblower chute control
     Attic Fan Remote Control
     Robotic Arm
     ATTiny Watchdog
2015 (7)
     ESP-LINK Huzzah
     Arduino Bugs
     Arduino INI library
     Arduino Yun
     long watchdog
     Arduino runtime config
     CNC Rotary table
2014 (1)
     Humidor AutoWater