This project born many years ago as a way to learn programming and electronics. I was a botanic enthusiast and didn't trust my friends to take care of my plants while vacationing so my challenge was to set up a solution for that.
v0.1 over Linksys wrt54gl
The idea is to create a micro environment for any kind of plant needs using minimal space.
It could be separated on three main parts:
Framework
Electronics
Firmware
I have a poor working firmware, mostly to test, I will be posting source, schemas and instructions as I'm writing them.
It is an at328p (from Arduino), handling mosfets with PWM to control growing leds voltage (check on electronics about led lamp design). Then you have another 4 outputs (no voltage handling) to control coolers (clasical from pc gabinet) and water pump (from a car windscreen wiper). By last connecting an RTC with TWI (ds1307 with own battery), leaving 4 analog input free for sensors (lm35 for temp, lrd to check lights working, diy for humedity). I have reserved 16bit counter for task scheduler (looking for FreeRTOS) and its IOs besides a HW interrupt (looking for low power wake up). You can check electronics below. It is running a C hardcoded firmware mostly to check functions, it has a poor uart interface and a polling task that query time to RTC and check over a cron like list for task to execute (ie: turn on lights), I could write it fast thank you to third party code (ds1307 and twi implementation), I have included it but I left it as it was, if I were changed something please would you let me know? because I don't remember it.
[Electronics_v0.7]
[Firmware_v0.7]
This instructions are out of date but they are still useful to build a bot with an old PC.
[HowToBornVersion]
[Electronics_v0.6]
Wiki: Electronics_v0.6
Wiki: Electronics_v0.7
Wiki: Firmware_v0.7
Wiki: HowToBornVersion