Book Image

Arduino By Example

By : Adith Jagadish Boloor, Adith Jagdish Boloor
Book Image

Arduino By Example

By: Adith Jagadish Boloor, Adith Jagdish Boloor

Overview of this book

Table of Contents (18 chapters)
Arduino by Example
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Index

Introducing Arduino MEGA 2560


In this section, we will briefly go through the Arduino MEGA 2560 board. We will understand how it is different from the Arduino UNO, and also see why we chose this board over the Arduino UNO.

The microcontroller

As mentioned before, Arduino MEGA 2560 is like a big brother of Arduino UNO. It is almost twice as long and way more powerful; Arduino MEGA 2560 is the successor of Arduino MEGA. Unlike Arduino UNO, MEGA 2560 has 54 digital input and output pins, as shown in the following image:

With the bottom looking like this:

Before we get started with using the board, it is a good idea to use one side of the double-sided tape to cover the base of the board. This is to ensure that, while in use, the Arduino does not get short-circuited if the base makes contact with a conductive material. Stick a double sided tape to the bottom of the Arduino like this:

On the right side of the MEGA (short for Arduino MEGA 2560), you will notice some missing labels. The following image...