The custom I/O board

1. Validation status

PCB v1.2 is the current tested design. A board fabricated from the v1.2 Gerbers passed the current bring-up and functional tests and is used in Morse Scout. The editable KiCad sources and tested fabrication package are published in the Morse Scout hardware repository. Use the files in Gerbers/v1.2 when ordering the board.

2. Safety notice

  • The display board’s expansion header carries both 3.3 V and 5 V. The I/O board uses 3.3 V only; J1 pins 2, 4, and 6 are intentionally unconnected.
  • The cable must connect matching pin numbers at both ends: pin 1 to pin 1, pin 2 to pin 2, and so on. A reversed or mirrored connector can damage the display board. Before turning on power, confirm that pin 1 at one end of the cable connects to pin 1 at the other end.
  • The three TRS key jacks connect directly to ESP32-P4 GPIOs and do not have input-protection devices. They are for passive Morse keys and paddles only. Do not connect a transmitter’s keying or PTT output; external voltage or static discharge could damage Morse Scout.
  • The two speaker wires form a bridge-tied audio pair; neither is board ground. An adapter may route one wire to a speaker plug’s common contact, but that contact must remain isolated. Do not connect the speaker ground to board ground; doing so can create a ground loop and audible hum.
  • Before fitting a non-rechargeable CR2032 to the DS3231 module, remove its charging resistor R4 or otherwise disable the module’s charging circuit.

3. Required parts and tools

See Parts list.

4. What the board provides

  • Three TRS Morse-key inputs. Each tip and ring contact closes to ground.
  • A rotary encoder with a push switch.
  • A volume potentiometer with an R1/C1 ADC filter.
  • A sleep/wake button with an external pull-up.
  • A DS3231 real-time-clock module connected through I2C.
  • A switched mono speaker path from the Elecrow left speaker output to the internal speaker or the 3.5 mm audio jack.

Audio connection

J2 carries a mono bridge-tied-load (BTL) speaker signal, not a conventional ground-referenced stereo or line-level signal. The Elecrow amplifier drives both audio conductors in opposite directions, so the useful signal is the voltage difference between them. This is why neither conductor can be treated as ground.

Most headphones work when connected directly, although the same mono signal may not reach both earpieces with every plug arrangement. Some headphones or speakers may need an adapter cable that moves one audio conductor to the plug’s common contact. In this context, the common contact is the shared headphone return; it must remain part of the isolated two-wire BTL circuit and must not be tied to USB ground, chassis ground, cable shield, or any other electrical ground. Do not connect this output directly to grounded line-level equipment.

With no plug in J2, its switched contacts route the BTL pair to the internal speaker on J3. Inserting a plug disconnects the internal speaker and routes the signal to the external audio connection.

Connections

Connection diagram showing the Elecrow display board, custom I/O board, controls, key inputs, I2C clock connection and switched BTL audio path
Connection To
2 x 12-pin header J1 Display board expansion header J7, pin for pin
Two-pin header J4 Elecrow left BTL speaker output
Two-pin header J3 Internal speaker
Four-pin HY2.0 header J8 Display board I2C connector J13, using a straight-through latching cable
J2 Switched 3.5 mm audio connection
J5–J7 Key inputs 1-3

ENC1 is the Bourns PEC11R-4230F-S0024: a 24-pulse encoder with detents, push switch, and 30 mm x 6 mm flatted shaft. The exact mechanical variant is required so the shaft fits the enclosure and knob.

The I/O board has no battery charger, display, wireless module, or amplifier of its own.

J8 pin 1 is ground, pin 2 is intentionally unused, pin 3 is I2C SDA, and pin 4 is I2C SCL. The DS3231 receives 3.3 V through the main J1 connection, not through J8. Keep all four positions aligned pin for pin when making the cable, including the unused position.

5. Expected result

A v1.2 I/O board providing the controls, RTC, and switched speaker path above.

6. Inspection or test

Before connecting to the display board:

  • Check continuity from every used J1 pin to the corresponding circuit.
  • Confirm J1 pins 2, 4, and 6 are not connected.
  • Confirm neither J4 audio conductor is connected to ground.
  • Confirm the I2C cable is straight through and each position reaches the same position at the other end.

Then complete Bring-up tests.

7. Failure conditions

  • A mirrored cable or 5 V reaching the I/O board circuitry.
  • A grounded speaker conductor.
  • External voltage applied to a key-input contact.
  • Incorrect I2C pin order.
  • Swapped encoder or potentiometer connections.

8. Next step

PCB assembly