decorative bevel

A.2 Electrical Specifications

The Cerebellum allocates the PIC16F877 datasheet I/O pins to various Mappings, broken down by Mapping in the following tables.



Signal NamePin Mapping
RA0A0 Analog Input Pin
RA1A1 Analog Input Pin
RA2A2 Analog Input Pin and Vref-
RA3A3 Analog Input Pin and Vref+
RA5A5 Analog Input Pin
RE0E0 Analog Input Pin
RE1E1 Analog Input Pin
RE2E2 Analog Input Pin
Analog I/O Pins



Signal NamePin Mapping
RD0D0 Digital I/O and Servo Port 0
RD1D1 Digital I/O and Servo Port 1
RD2D2 Digital I/O and Servo Port 2
RD3D3 Digital I/O and Servo Port 3
RD4D4 Digital I/O and Servo Port 4
RD5D5 Digital I/O and Servo Port 5
RD6D6 Digital I/O and Servo Port 6
RD7D7 Digital I/O and Servo Port 7
RC2PWM1 port, also used for controlling motor 1
RC1PWM2 port, also used for controlling motor 2
Digital I/O pins and Servo pins



Signal NamePin Mapping
RB0B0 Digital I/O and Green LED
RB2B2 Digital I/O and Yellow LED
RB4B4 Digital I/O and Button A
RB5B5 Digital I/O and Button B
Overloaded Button and LED Digital I/O pins



Signal NamePin Mapping
RA4Direction bit 1 for motor 1
RC0Direction bit 2 for motor 1
RC2PWM1 signal for motor 1
RB1Direction bit 1 for motor 1
RC5Direction bit 2 for motor 1
RC1PWM2 signal for motor 2
Motor Control pins



Signal NamePin Mapping
RC3I2C clock line "SCL"
RC4I2C data line "SDA"
RC6Serial transmit line "Tx"
RC7Serial receive line "Rx"
Serial and I2C communications pins



Signal NamePin Mapping
RB3Low voltage program line
RB6Program clock line
RB7Program data line
Programming pins



Signal NamePin Mapping
MCLRMaster program line - not used, pulled up to 5V
NCNot used
VSSElectrical Ground
VDDElectrical Power (+5V)
OSC1Oscillator Input
OSC2Oscillator Output
Power and Ground pins



Absolute Maximum Ratings
ParameterMaximum
Input Voltage26 Volts
Input Current5 Amps
5V Regulated Output Current1 Amp
Servo Bus VoltageUser-Defined
Servo Bus Current5 Amps
Motor Bus Voltage46 Volts
Motor Bus Current4 Amps
I/O pin sink/source current25 Milliamps




Recommended operating conditions
ParameterMinTypMaxUnits
Input Voltage4.85615Volts
Input Current20505000*Milliamps
5V Regulated Output Current-5001000Milliamps
Servo Bus Voltage-6-Volts
Servo Bus Current--5Amps
Motor Bus Voltage81230Volts
Motor Bus Current-5002000Milliamps
I/O pin sink/source current--25Milliamps
Output Low Voltage0-0.6Volts
Output High Voltage4.3-5Volts
Total PortA, PortE, and PortB source current (combined)--200Milliamps
Total PortC and PortD source current (combined)--200Milliamps
Total PortA, PortE, and PortB sink current (combined)--200Milliamps
Total PortC and PortD sink current (combined)--200Milliamps