Pin mapping
Pin mapping between microcontroller, Bioreactor, and Arduino.
Port | Pin | Arduino Mask | Alternative functions | Bertha V6.1.0 |
---|---|---|---|---|
B | 7 | D11 (PWM) | OC0A OC1C PCINT7 /RTS | Fan control |
B | 6 | D10 (PWM) | OC1B PCINT6 OC.4B ADC13 | Pin for Input/Ouput 1 (PWM food in) |
B | 5 | D9 (PWM) | OC1A PCINT5 /OC.4B ADC12 | Pin for stepper steps |
B | 4 | D8 | PCINT4 ADC11 | Pin for stepper direction |
B | 3 | MISO | PDO MISO PCINT3 | |
B | 2 | MOSI | PDI MOSI PCINT2 | |
B | 1 | SCK | SCK PCINT1 | |
B | 0 | /SS | /SS PCINT0 | Serial communication reception LED |
C | 7 | D13 (PWM) | ICP3 CLK0 OC4A | LED for check bioreactor code run correctly |
C | 6 | D5 (PWM) | OC.3A /OC4A | Pin for Input/Ouput 2 (PWM food out) |
D | 7 | D6 (PWM) | T0 OC.4D ADC10 | Pin for PID control |
D | 6 | D12 | T1 /OC.4D ADC9 | Pin for Input/Ouput 4 |
D | 5 | XCK1 /CTS | Serial communication transmission LED | |
D | 4 | D4 | ICP1 ADC8 | Pin for Input/Ouput 3 |
D | 3 | D3 | /INT3 TXD1 | |
D | 2 | D0 | /INT2 RXD1 | |
D | 1 | D2 SDA | /INT1 SDA | |
D | 0 | D3 (PWM) SCL | /INT0 SCL OC0B | |
E | 7 | A3 / D21 | ADC4/TCK | |
E | 6 | D7 | INT6 /AIN0 | Ext. OneWire 1 |
E | 2 | /HWB | /HWB | /HWB |
F | 7 | A0 | ADC7 TDI | Clock for HX711 |
F | 6 | A1 | ADC6 TDO | Data for HX711 |
F | 5 | A2 | ADC5 TMS | PCB temp. OneWire |
F | 4 | A3 | ADC4 TCK | |
F | 1 | A4 | ADC0 | ON/OFF error LED |
F | 0 | A5 | ADC0 | Ext. OneWire 2 |