ATmegaxx8
Pin
3pi Function
Notes/Alternate Functions
PD0
free digital I/O
USART input pin (RXD)
PD1
free digital I/O
connected to red user LED
(high turns LED on)
USART output pin (TXD)
PD2
LCD control line RS
external interrupt 0 (INT0)
PD3
M2 control line
Timer2 PWM output B (OC2B)
PD4
LCD control line E
USART external clock input/output (XCK)
Timer0 external counter (T0)
PD5
M1 control line
Timer0 PWM output B (OC0B)
PD6
M1 control line
Timer0 PWM output A (OC0A)
PD7
LCD data line DB7
connected to green user LED
(high turns LED on)
PB0
LCD control line R/W
Timer1 input capture (ICP1)
divided system clock output (CLK0)
PB1
LCD data line DB4
user pushbutton
(pressing pulls pin low)
Timer1 PWM output A (OC1A)
PB2
buzzer
Timer1 PWM output B (OC1B)
PB3
M2 control line
Timer2 PWM output A (OC2A)
ISP programming line
PB4
LCD data line DB5
user pushbutton
(pressing pulls pin low)
Caution: also an ISP programming line
PB5
LCD data line DB6
user pushbutton
(pressing pulls pin low)
Caution: also an ISP programming line
PC0
QTR-RC reflectance
sensor
(drive high for 10 us, then wait for line input to go low) sensor labeled
PC0 (leftmost sensor)
PC1
QTR-RC reflectance
sensor
(drive high for 10 us, then wait for line input to go low) sensor labeled
PC1
PC2
QTR-RC reflectance
sensor
(drive high for 10 us, then wait for line input to go low) sensor labeled
PC2 (center sensor)
PC3
QTR-RC reflectance
sensor
(drive high for 10 us, then wait for line input to go low) sensor labeled
PC3
PC4
QTR-RC reflectance
sensor
(drive high for 10 us, then wait for line input to go low) sensor labeled
PC4 (rightmost sensor)
Pololu 3pi Robot User’s Guide
© 2001–2019 Pololu Corporation
9. Pin Assignment Tables
Page 59 of 85
Содержание 0J5840
Страница 24: ...Pololu 3pi Robot User s Guide 2001 2019 Pololu Corporation 5 How Your 3pi Works Page 24 of 85...
Страница 67: ...Source code Pololu 3pi Robot User s Guide 2001 2019 Pololu Corporation 10 Expansion Information Page 67 of 85...
Страница 77: ...Source code Pololu 3pi Robot User s Guide 2001 2019 Pololu Corporation 10 Expansion Information Page 77 of 85...