5. Points to remember
• When talking about pins on arduino, it is never ic
pins but pins on connector as marked. (refer to
previous sheet to see mapping)
• Arduino has totally 20 I/O pins
• Out of which six are dedicated for Analog
• Pins 0 to13 are digital 0 to 13 and written on the
board.
• Analog pins are 0 to 5 and written on the board.
• They are also accessed as digital 14 to 19 (not
written on the board)
6. Points to remember
• Pin 0 is also used as RX and 1 as TX. So if using
serial port, use 0 and 1 for RX and TX.
• Analog 4 and 5 (or digital 18 and 19) are SCL and
SDA. When using I2C ics use these pins.
• Pin13 is on board LED.
• For Ananlog input use ANALOG 0 to 5.
• Pin 8, 10 and 11 are PWM and is used for
dimmable LED or creating analog voltage. Pin 3,5,6
are also PWM and are found only in ATMEGA 48/
88 / 168.
7. Points to remeber
• So when starting a new board, first allocate analog
inputs, rx, tx, scl, sda, led and PWM as these signals
can only be used on certain pins.
• Then use rest of the pins as general purpose I/O
pins.
• Unused signals (say ANALOG inputs or PWM) can
be used for general purpose digital I/O pins.
• Digital pins 11,12,13 are used for programming.
Take care and do not connect and low impedence
load or any other output.