02 · HARDWARE
Hardware inventory and pinout
Every part lists its package, role, and source. Official Nano 3.x specs follow the Arduino A000005 schematic; clone-board differences are listed separately so common practice is not mistaken for the official specification.
On-board components
Official vs. clone board differences
30-pin assignment (top view, USB at the top)
The left row runs 16→30 from top to bottom; the right row runs 15→1. Colors match the 3D pads and the 2D wiring diagram.Power Ground Digital Analog Communication Control
BOM: real part numbers + current
The current column shows typical / peak values on the supply rail. The 5 V rail and the 6 V motor rail are separate; 3V3 feeds only I²C sensors, never servos.
Wiring table
Power architecture
2S 18650 → BMS → 4 A PTC → master switch, then split three ways:
- LM2596S-5.0 → 5 V: Nano, TB6612 logic, SG90, HC-SR04, TCRT5000, LM393.
- LM2596S-ADJ → 6.0 V: TB6612 VM → TT motors. Keeps the 8.4 V peak off motors rated for 6 V.
- 20k/10k → A6: 8.4 V → 2.80 V at 0.28 mA.
Nano 3V3 (FT232RL, ≤50 mA) → MPU-6050 + SSD1306, 3.3 V I²C bus with 2.2 kΩ pull-ups. That keeps the 5 V logic, 3.3 V communication, and 6 V motors all within their device ratings.
Debug note: with USB only, the 5 V rail is fed through the Nano's D1, and a stalled servo can exceed the USB 500 mA PTC. For servo or motor work, connect the battery or disconnect servo power first.
How the ESP32 differs from Arduino
DevKit V1 on-board components
3.3 V electrical red lines
- No 5 V tolerance: GPIO absolute maximum is about 3.6 V. 5 V sensors need a divider or level shifter.
- ADC2 conflicts with Wi-Fi: with Wi-Fi enabled, only ADC1 (GPIO32–39) is usable.
- GPIO34–39 are input-only: no output driver and no internal pull-up/pull-down.
- Strapping: GPIO0/2/5/12/15 are sampled at reset. GPIO12 must be low; GPIO15 must be high.
- GPIO6–11 are unavailable: connected to internal SPI flash on the module.
30-pin assignment (top view, Micro-USB at the bottom)
The left row runs EN→VIN from top to bottom; the right row runs GPIO23→3V3. Hover 3D pins for ADC, touch, strapping, and alternate functions.
11 common development boards side by side
One table for MCU, logic level, I/O, wireless, power, and the most common pitfalls. Choosing a board is less about raw specs and more about the voltage and interface your sensors and actuators need.
Pick by project
- 5 V sensors + breadboard: Nano / Uno. Easiest wiring, but 3V3 supplies only tens of mA.
- Wi-Fi / BLE / phone control: ESP32 DevKit V1; choose ESP32-S3 for camera/PSRAM/USB OTG.
- Tiny / low power: XIAO ESP32S3, ESP32-C3; few pins, so count them first.
- Many I/O / multiple UARTs: Mega 2560 or ESP32-S3; don't pile on software serial.
- Precise PWM / PIO: Raspberry Pi Pico; 3.3 V, no wireless.
- CAN / timers: STM32 Blue Pill; needs an ST-Link, and watch for counterfeit chips.
Level and power quick reference
- 5 V → 3.3 V input: resistor divider (unidirectional, low speed) or BSS138/TXS0108E (bidirectional).
- 3.3 V → 5 V TTL input: many 5 V devices have VIH=2.0 V, so a direct connection works; 5 V CMOS (VIH=3.5 V) does not.
- I²C: open-drain bus, with pull-ups to each side's own supply; a 5 V device's pull-up will back-feed 3.3 V, so level shifting is mandatory.
- Analog: ESP32 ADC is 0–3.3 V (linear from roughly 0–3.1 V); 5 V analog outputs must be divided.
- Motors/servos/relays: always external power plus a driver; never draw from GPIO or 3V3.