Joined
·
151 Posts
So, I am throwing my hat into the arduino total tank build, and I will try and document as much of my journey as possible here. I have tinkered around with the Arduino in the past, but have never attempted anything of this complexity. I have zero real world programming experience, but enjoy reading sites like hackaday, lifehacker, and such. What I'm saying here is that my code will look pathetically amateurish and possibly unreadable if viewed by a professional...
So, the goals of my personal build will be:
Thus far, my current build consists of:
This is currently it:


So far, I have achieved:
So, I haven't gotten too crazy far in yet, but progress has been made. I need to finish getting the on/off time screens programmed in, then I can start writing the code to actually do something with the times!
Here is a link to the code as it stands
Current sketch
And this is the tank, awaiting its master

Good times will be had here, feel free to follow along on the journey :icon_cool
So, the goals of my personal build will be:
- Autodosing
- Keeping track of the fert levels and alarming if they become low (I am rather forgetful and would like a warning)
- Keeping my light schedule
- Controlling CO2 solenoid
- Scheduling an auxiliary RGB strip, as I will shamelessly steal from AnotherHobby Fallen Tree Branch 60cm
- The aux RGB strip will have sunrise, sunset, and moonlight as AnotherHobby has, ideally
- Writing all of the alarm times to the DS1307 RAM, in case of a power outage (Unnecessary, but what the heck, why not?)
- Keeping track of tank temp and cutting power to the tank heater in case of an issue
- Anything else that I don't need but would like to try and implement
Thus far, my current build consists of:
- SainSmart Arduino Mega 2560 (Knockoff from Amazon for like $28)
- Sparkfun DS1307 RTC
- Adafruit 20x4 LCD display
- Adafruit 10K Precision Epoxy Thermistor
- Small piezo buzzer for alarms
- Assorted buttons, resistors, transistors to make it all work
This is currently it:


So far, I have achieved:
- RTC is running and keeping time
- Thermistor is working and updating once a second on the main screen
- As you can see in the pics, I have the fert bottle levels displaying. Each full block is obviously 20%, and there are half blocks so I can easily see roughly how much fertilizer is in each bottle.
- I have functions written to store the fert levels in the RTC RAM, and I am able to get them back out again (This required a lot of staring at code I didn't understand until it all kinda clicked)
- I can now set the on/off times for the main lights
- I can set the backlight via PWM anywhere between 0-255
So, I haven't gotten too crazy far in yet, but progress has been made. I need to finish getting the on/off time screens programmed in, then I can start writing the code to actually do something with the times!
Here is a link to the code as it stands
Current sketch
And this is the tank, awaiting its master

Good times will be had here, feel free to follow along on the journey :icon_cool