A-Star 32U4 Robot Controller with Raspberry Pi Bridge ... · with Raspberry Pi Bridge Pinout and...
Transcript of A-Star 32U4 Robot Controller with Raspberry Pi Bridge ... · with Raspberry Pi Bridge Pinout and...
Ground (0 V)AVR I/O pin names
Power distribution
Arduino digital pin numbersAVR ADC channels
Arduino analog pin numbersUSART
I2CSPI
Interrupts
JTAG
Other peripheral functionsOn-board hardware
PWM outputs (Arduino analogWrite)
OC3A / OC4AOC4D
OC4A
PB3PB1PB2PB0PD5
PF0PF1PF4PF5PF6PF7PE2
14151617
232221201918
012345678910111213
PD2PD3PD1PD0PD4PC6PD7PE6PB4PB5PB6PB7PD6PC7
RXD1TXD1SDASCL
ADC8
ADC10AIN0
ADC11ADC12ADC13
RTSADC9
SDA to RPiSCL to RPi
Yellow LED
INT2INT3INT1INT0
Motor 1 direction
MISOSCKMOSI
SSXCK1 / CTS
Button A
Button CButton B
Motor 2 direction
Red LED (RXL)Green LED (TXL)
Motor 1 PWMMotor 2 PWM
A6
A7
A8A9A10
A11
OC0B
OC1A / OC4BOC1B / OC4BOC0A / OC1C
OC4D
ICP1
T0
T1
INT6PCINT4PCINT5PCINT6PCINT7
ICP3 / CLKO
RESET
AREFADC0ADC1ADC4ADC5ADC6ADC7HWB
A5A4A3A2A1A0
PCINT3PCINT1PCINT2PCINT0
TCKTMSTDOTDI
RPI5VRPI3V3AVR3V3
RPISHDN (RPi 5 V supply shutdown)
Motor 1outputs
Motor 2outputs
USB Micro-B Powerswitch
ISP
REGSHDN (5 V regulator shutdown)STAT (power selection status) OC4D PD76
Buzzer control BATLEVADC6A1 PF619
Not connectedPower control
GNDVIN
VREG5V
PB3PB1
RESET
5VPB2GND
MISO / PDOSCK MOSI / PDI
ISP
A-Star 32U4 Robot Controllerwith Raspberry Pi BridgePinout and peripherals
Page 1
Power input
Robot Controller LV: 2.7 V to 11 V
Robot Controller SV: 5.5 V to 36 V
Raspberry Pi UARTRaspberry Pi I2C
Raspberry Pi GPIO pin numbers
Raspberry Pi SPIPWM outputs
On-board hardwarePower distribution
Level shifter 1 Level shifter 2Level shifter 3
GPIO2GPIO3GPIO14GPIO15GPIO4GPIO17GPIO18GPIO27GPIO22GPIO23GPIO24GPIO25GPIO10GPIO9GPIO11GPIO8GPIO7GPIO5GPIO6GPIO12GPIO13GPIO16GPIO19GPIO20GPIO21GPIO26
HA (5 V input A)HB (5 V input B)
LA (3.3 V output A)LB (3.3 V output B) IN
OE (output enable, inverted) VCC for level shifterOUT
SDA1SCL1TXD0RXD0
PWM0PWM1
SPI0_MOSISPI0_MISOSPI0_SCLKSPI0_CE0_NSPI0_CE1_N
SDA to AVRSCL to AVR
SCL to EEPROMSDA to EEPROM
ID_SCID_SD
A-Star 32U4 Robot Controllerwith Raspberry Pi BridgePinout and peripheralsRaspberry Pi and level shifters
Page 2
Ground (0 V)
VIN (after switch)Power input
5V (VCC access)VREG (5 V regulator output)
RPI5V (RPi 5 V access)RPI3V3 (RPi 3.3 V output)
AVR3V3 (AVR 3.3 V output)Optional power bus 1
Optional power bus 4
Optional power bus 2Optional power bus 3
Remappable to VIN with surface-mount jumper on reverse
A-Star 32U4 Robot Controllerwith Raspberry Pi BridgePower distribution
Page 3
Power input
A-Star 32U4 RobotController SV: 5.5 V to 36 V
A-Star 32U4 Robot Controller LV: 2.7 V to 11 V