Detailed Wiring Guide
Complete instructions for connecting the Arduino, MAX3232 level converter, Nextion display, and FTDX-10 radio.
Detailed Wiring Guide
Complete instructions for connecting the Arduino, MAX3232 level converter, Nextion display, and FTDX-10 radio.
Serial Ports Used:
Pin Assignments:
Pin 18 (TX1) - Transmit to MAX3232
Pin 19 (RX1) - Receive from MAX3232
Pin 16 (TX2) - Transmit to Nextion
Pin 17 (RX2) - Receive from Nextion
5V - Power for MAX3232 and Nextion
GND - Common ground
Purpose: Converts Arduino TTL levels (0-5V) to RS232 levels (+/-12V)
Typical Module Pinout:
VCC - 5V power input
GND - Ground
T1_IN - TTL input from Arduino TX
T1_OUT - RS232 output to radio RX
R1_IN - RS232 input from radio TX
R1_OUT - TTL output to Arduino RX
4-Wire Connection:
Red - +5V power
Black - Ground (GND)
Blue - RX (receives from Arduino TX2)
Yellow - TX (transmits to Arduino RX2)
DB9 Female Connector (rear panel):
Pin 1: Not connected
Pin 2: RXD (Input to radio)
Pin 3: TXD (Output from radio)
Pin 4: Not connected
Pin 5: GND (Signal ground)
Pins 6-9: Not connected
Computer USB → Arduino USB port
5V Power Supply (+) → Arduino VIN (or 5V pin)
5V Power Supply (-) → Arduino GND
7-12V Power Supply → Arduino DC barrel jack
Power Connections:
Arduino 5V → MAX3232 VCC
Arduino GND → MAX3232 GND
Data Connections:
Arduino Pin 18 (TX1) → MAX3232 T1_IN (or TXD)
Arduino Pin 19 (RX1) → MAX3232 R1_OUT (or RXD)
Wire Recommendations:
You'll need:
Cable Wiring:
MAX3232 T1_OUT → DB9 Pin 2 (Radio RXD)
MAX3232 R1_IN → DB9 Pin 3 (Radio TXD)
MAX3232 GND → DB9 Pin 5 (Radio GND)
DB9 Connector Numbering:
Looking at pins (solder side):
5 4 3 2 1
9 8 7 6
Looking at connector (front):
1 2 3 4 5
6 7 8 9
Direct Connection to Arduino:
Nextion Red (5V) → Arduino 5V
Nextion Black (GND) → Arduino GND
Nextion Blue (RX) → Arduino Pin 16 (TX2)
Nextion Yellow (TX) → Arduino Pin 17 (RX2)
Wire Length:
Display Mounting:
Arduino GND ─┬─ MAX3232 GND
├─ Nextion GND
├─ Radio GND (DB9 Pin 5)
└─ Power Supply GND
Ground Loop Prevention:
Before applying power:
Arduino IDE → Tools → Serial Monitor
Set baud rate to 115200
Should see: "FTDX-10 Controller Starting..."
Voltage Measurements (Power ON):
| Location | Expected | Tolerance |
|---|---|---|
| Arduino 5V pin | 5.0V | ±0.25V |
| MAX3232 VCC | 5.0V | ±0.25V |
| Nextion red wire | 5.0V | ±0.25V |
Continuity Tests (Power OFF):
| Between | Expected |
|---|---|
| Arduino GND ↔ MAX3232 GND | 0Ω |
| Arduino GND ↔ Nextion GND | 0Ω |
| Arduino GND ↔ Radio GND | 0Ω |
| Mistake | Symptom | Fix |
|---|---|---|
| Swapped TX/RX | No communication | Swap TX and RX connections |
| Wrong Baud Rate | Garbage data | Check baud rates in code and radio |
| Missing Ground | Erratic behavior | Connect all grounds together |
| Null-Modem Cable | Radio doesn't respond | Use straight-through cable |
| Wrong MAX3232 Pins | No RS232 communication | Verify T1_IN/T1_OUT, R1_IN/R1_OUT |
Panel Cutouts:
Component Mounting:
For HF radio use:
Ferrite Placement:
┌─────────────────────────────────────────────┐
│ FTDX-10 CONTROLLER │
│ │
│ ┌───────────────┐ ┌─────────────┐ │
│ │ NEXTION │ │ ARDUINO │ │
│ │ DISPLAY │◄───────►│ MEGA │ │
│ │ NX4832K035 │ 4-wire │ 2560 │ │
│ └───────────────┘ └─────────────┘ │
│ ▲ │ │
│ │ │ │
│ │ 5V/GND │ Serial │
│ │ ▼ │
│ ┌──────┴─────────────────┬──────────────┐ │
│ │ │ MAX3232 │ │
│ │ 5V POWER SUPPLY │ LEVEL │ │
│ │ │ CONVERTER │ │
│ └────────────────────────┴──────────────┘ │
│ │ │
│ │ RS232 │
└──────────────────────────────────┼──────────┘
│
▼
┌─────────────────┐
│ YAESU FTDX-10 │
│ DB9 RS232 │
└─────────────────┘