every 10seconds: the values of soil humidity, air humidity and temperature, and the output states of lights, vents, and part of the humidifier(the part of turning it on, don't ask me why) The setup portion of the code initializes the 16x02 LCD(screen), DHT11(air humidity and temperature sensor), the interrupts for the rotary encoder, the EEPROM(memory for values) and other stuff. Take a stopwatch, do some testing with your water pump, and remember that 1 second = 1000 miliseconds. It is named msPERdL(miliseconds/decilitre) and it tells the programme how many miliseconds it takes for the water pump to pump one decilitre. The schematic and even more so the code might evolve a bit, so don't be a stranger and check from time to time, even if you happen to build it and it works fine.įirst I will explain the variable most likely in the need of some tweeking. To do this instructable you must have some knowledge of electronics and know how to load code to an Arduino and how to power an Arduino. It can, like most arduino projects, be expanded to great heights. Going as cheap as I can and making a sistem independent of a PC were my guides through this project. The mentioned instructable looks great and a bit long, so in the spirit of diversity I will make this one as plug-and-play as I can. ![]() I was already too hooked on making it my way. ![]() ![]() The instructable is for one connection to each a water pump, light, vent, air humidifier as outputs and a soil humidity sensor, air humidity and temperature sensor, and of course the user, as inputs. It's a plan for a grow box with the focus being on the lcd(output)/rotary encoder(input) system. Home grown food, medicine, mushrooms, some incense maybe? You can try this instructable for starters.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |