6. AVR Pin Assignment Table Sorted by Function

 Function   megaxx8 Pin 
digital I/Os (x8) PD0, PD1,
PC0 – PC5
analog inputs (x8) PC0 – PC5, ADC6, ADC7
motor 1 control (A and B) PD5 and PD6
motor 2 control (A and B) PD3 and PB3
red user LED PD1
green user LED PD7
user pushbuttons (x3) PB1, PB4, and PB5
buzzer PB2
LCD control (RS, R/W, E) PD2, PB0, and PD4
LCD data (4-bit: DB4 – DB7) PB1, PB4, PB5, and PD7
user trimmer potentiometer ADC7
(through shorting block)
temperature sensor (LV-168 only)
battery voltage monitor (SV-xx8 only)
ADC6
(through SMT jumper)
ICSP programming lines (x3) PB3, PB4, PB5
reset pushbutton PC6
UART (RX and TX) PD0 and PD1
I2C/TWI (SDA and SCL) PC4 and PC5
SPI inaccessable to user

Related Products

Orangutan SV-168 Robot Controller
Orangutan LV-168 Robot Controller
Orangutan SV-168 + USB Programmer Combo
Orangutan LV-168 + USB Programmer Combo
Orangutan SV-328 Robot Controller
Orangutan SV-328 + USB Programmer Combo
Orangutan SV-328 + USB Programmer Combo
Orangutan LV-168 + USB Programmer Combo
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors