Hackabot Nano pin assignments

The following table shows the pin assignments of Hackabot Nano

_MG_2239

Arduino Pins    Module Comments
Digital Pins 0 BT/WIFI connects to Bluetooth TX or WIFI TX after level shifting to 3.3V
1 BT/WIFI connects to Bluetooth RX or WIFI RX after level shifting to 3.3V
2 GYRO Connects to IRQ pin of Gyroscope (MPU-6050)
3 Motor (PWM) connects to L293D motor driver
4 GPS connects to GPS TX pin after level shifting to 3.3V
5 GPS connects to GPS RX pin after level shifting to 3.3V
6 Motor (PWM) connects to L293D motor driver
7 RF connects to CSN pin of RF module
8 RF connects to CE pin of RF module
9 Motor (PWM) connects to L293D motor driver
10 Motor (PWM) connects to L293D motor driver
11 RF/SD MOSI pin of SPI interface. Shared between RF and micro SD card module
12 RF/SD MISO pin of SPI interface. Shared between RF and micro SD card module
13 RF/SD SCK pin of SPI interface. Shared between RF and micro SD card module
Analog Pins A0 Ultrasonic Echo pin of HC-SR04 Ultrasonic Distance Sensor
A1 Ultrasonic Trig pin of HC-SR04 Ultrasonic Distance Sensor
A2 SD/Motor Enable pin of L293D motor driver (all 4 channels); CS pin of micro SD card module
A3 Audio jack connects to audio jack
A4 Gyro/I2C SDA pin of I2C interface as well as Gyroscope
A5 Gyro/I2C SCL pin of I2C interface as well as Gyroscope
A6 Analog in Input from analog sensor
A7 Analog in Input from analog sensor