Arduino firmware for the mobile Android project