The fountain is powered by solar cells. The more power the cells produce, the higher the water fountain is. The solar cells position is always adjusted, so the panel faces the sun at 90 degrees for maximum power output.
I'm going to use an STM32L0 microcontroller to control, how much power the fountain gets (PWM), and to evaluate and control the position of the solar panel. In order to correctly measure the light intensity, I'm going to use a CdS cell within several voltage dividers, so I can still measure at very different light intensities.
The final goal is, that the system learns, where the sun will be at different times, without measuring and altering the panels position all the time to get different results. I haven't decided yet, how this will be implemented.
The parts have arrived, and the power supply circuit works. Next step is adding the microcontroller, and hoping that it works well with the super cheap debugger.