First of all, Why Arduino Mega 2560? When cheaper boards are available, why go with Arduino Mega? The main reason behind this is the additional features that are inbuilt with this board. First feature is the large I/O system design with inbuilt 16 analog transducers and 54 digital transducers that supports with USART and other communication modes. Secondly, it has inbuilt RTC and other features like analog comparator, advanced timer, interrupt for controller wakeup mechanism to save more power and fast speed with 16 Mhz crystal clock to get 16 MIBS. It has more than 5 pins for Vcc and Gnd to connect other devices to Arduino Mega. Other features include JTAG support for programming, debugging and troubleshooting. With large FLASH memory and SRAM, this board can handle large system program with ease. It is also compatible with the different type of boards like high-level signal (5V) or low-level signal…