Extended the circuit in order to use an independent AVR microcontroller instead of an Arduino.