PCB Design for Arduino Mega
VIN queda intencionalmente sin usar.Table
| Function | Arduino Mega Pin | Net |
|---|---|---|
| Left motor PWM | D46 | PWM_LEFT_MOTOR |
| Left motor DIR | D52 | DIR_LEFT_MOTOR |
| Left motor BRAKE | D50 | BRAKE_LEFT_MOTOR |
| Left motor STOP | D48 | STOP_LEFT_MOTOR |
| Right motor PWM | D44 | PWM_RIGHT_MOTOR |
| Right motor DIR | D30 | DIR_RIGHT_MOTOR |
| Right motor BRAKE | D28 | BRAKE_RIGHT_MOTOR |
| Right motor STOP | D26 | STOP_RIGHT_MOTOR |
| Hall left | D18 / INT5 | HALL_LEFT_MOTOR |
| Hall right | D19 / INT4 | HALL_RIGHT_MOTOR |
| MPU SDA | D20 / SDA | I2C_SDA |
| MPU SCL | D21 / SCL | I2C_SCL |
| MPU INT | D2 | MPU_INT |
| GPS TX to Mega RX2 | D17 | GPS_TX_TO_MEGA_RX2 |
| Mega TX2 to GPS RX | D16 | MEGA_TX2_RAW → divider → GPS_RX_3V3 |
| ACS712 right output | A3 | CURRENT_RIGHT |
| ACS712 left output | A4 | CURRENT_LEFT |
Table
| Rail | Source | Loads | Notes |
|---|---|---|---|
| USB 5V | Arduino Mega USB connector | Arduino Mega onboard power path | Primary input power comes from USB connected to the Mega. |
| 5V | Arduino Mega 5V header, derived from USB | ACS712 modules | Shield must not inject external power into VIN; it receives 5V from the Mega header. |
| 3V3 | Arduino Mega 3.3V header | MPU-9250, NEO-6M module, I2C pull-ups | Keep within Mega 3.3V current capability; verify GPS module current. |
| GND | Arduino Mega GND header | all modules/connectors | Common ground to ZS-X11H control connector required. |
Project Overview
Main Features
Pin Mapping
Power Tree
Important Design Decisions
Open Assumptions