The hardware design is based on an embedded system implementation using the Arduino Mega microcontroller from Atmel. This was used to verify the various ideas and the requirements for the final system design. The block diagram of the hardware system is shown in Figure 2.