There are various sketches for supporting roles of pypilot that run on atmega microprocessors
weather sensors see
pypilot/arduino/weathersensors
motor controller see
pypilot/arduino/motor
pypilot hat see
pypilot/arduino/hat