E-box AVR and RPi implementation