Arduino Code for the DIPA Project