
#Arduino mega 2560 pins serial
COMMUNICATION: Serial input/output (4 serial ports).Some of the pins can optionally be used for extra hardware-supported features. Secondly, yes each pin can be set as input or output but is there any specific difference in the type of pins? You often want an extra ground pin, for example if you are trying to connect up two LEDs. The continuous blue lines indicate pins which are connected together (for Ground) and the continuous red lines are connected together for +5 V (usually).ītw can you tell me why there are two pins on the bottom horizontal row? You may find a "breadboard" handy for making connections, most prototyping boards have a long connected strip for sharing the Ground wire between different places, like this: They are circled on the photo below, and marked GND on the board.Īs Majenko says in his answer you must use a resistor in series with any LED you connect, or you will damage both the LED and the processor. On your Mega2560 are 5 ground pins (effectively equivalent because they are connected).



No, there is one pin per node, and a common "Ground" pin which is the negative terminal. There should be two pins for every node one acting as the negative terminal and other as the positive terminal.
