Skip to content
Snippets Groups Projects

This Project: Solar Module

The software was written at Atmel Studio for an AVR Atmega 328 processor.

See code at: https://gitlab.cloudf.de/marcel/Atmega_328_Solar_Modul/-/tree/master/Atmega_328_Solar_Modul/Atmega_328_Solar_Modul/src

What its made for:

  • Detecting the brightest light source nearby the startpoint
  • Focusing the Solar panels faced to the light source
  • Control the platform vertical and horizontally
  • Control the rotation of the platform

Changes for V2:

  • Generic stepper library
  • New PI control algorithm
    • Allow seperate movement for rotation, hopriz and vertical direction
  • New Time management -> calculate how many steps / time period are possible to aviod jumping over steps
  • Comment the Code

Pictures