Brief Update. So below you can see the electronic mess that is the brains. A 12V input is fed to an arduino nano and to a LM2596 which steps the voltage down to 9V which will power the heating pad. The arduino has several IO
2 Pots to control the stir bar speed and temperature of the heating pad
1 DS18B20 waterproof temperature sensor
2 signal pins and 1 PWM to control the L293D for the dosing pumps speed and direction control
1 PWM pin to control a MOSFET that varies the voltage to the heating pad
I will add a 1" OLED to the front to display the current temp, speed, ect that will be an i2c based comm.
Please excuse the duct tape as this first print was the prototype... Basic coding will work like this
The potentiometer input voltage will be mapped to a PWM value from 75 to 225. The speed for each direction is chosen based off of a random function that varies that PWM value + or - 25 and the duration is randomly chosen from .5 to 3 seconds.
The plan is to have the heating pad and temperature sensor to do a PID feedback loop to control the temperature. The reason for this is that the heating is indirect and a simple on/off switch would not have sufficed. Right now the pot simply varies the voltage to the heating pad using a mosfet.
Before I start my aquascape I have a few more things to complete.
Electronics and water typically do not mix well. I need to figure out how to seal this incase the glass were to break
OLED coding and display
Find a safe way to hide the heating pad
Re-design and reprint some of the parts
The stir bar and impeller design