CYD Digital VFO — from bench parts to radio installation.
A detailed guide to assembling, programming, testing, configuring, and safely integrating the ESP32-2432S028R + Si5351 programmable crystal-radio VFO.
1. Scope and project status
The CYD Digital VFO uses an ESP32-2432S028R “Cheap Yellow Display” as the user interface and controller for an Si5351A clock-generator module. The goal is to replace or emulate crystal/channel-element oscillator frequencies used by older crystal-controlled radios, while allowing the operator to enter the desired radio operating frequency directly.
The firmware performs the radio-specific IF and multiplier/divider math, then programs the Si5351 with the oscillator frequency the radio would otherwise obtain from a crystal or channel element.
2. Parts and test equipment
Required project hardware
| Item | Requirement / notes |
|---|---|
| CYD controller | ESP32-2432S028R, 2.8-inch 320×240 resistive-touch version. |
| Clock generator | Si5351A module, normally using I²C address 0x60. |
| USB cable | Data-capable USB cable for firmware installation and power during bench setup. |
| Hookup wiring | Short wiring for power, ground, SDA, SCL, and the selected CLK output(s). |
| Radio service information | Strongly recommended. You need the oscillator/channel-element circuit, IF, multiplier chain, and operating voltages for the exact model. |
Strongly recommended test equipment
- Frequency counter or service monitor covering the expected Si5351 output frequency.
- Oscilloscope with a high-impedance probe; an active probe is helpful around oscillator circuits.
- Digital multimeter for DC bias and continuity checks.
- 50-ohm dummy load rated for the transmitter power when testing TX.
- RF wattmeter / service monitor for transmitter verification.
- Signal generator and SINAD/quieting measurement capability for serious receiver alignment work.
3. Identify the CYD display variant
Boards sold under the ESP32-2432S028R / “Cheap Yellow Display” name are not guaranteed to contain the same LCD controller.
| Variant | Project status | What to do |
|---|---|---|
| ST7789 | Bench tested | Use the current public Beta 0.3 installer. The current bench unit requires an unusual empirical color mapping that is already built into this firmware. |
| ILI9341 | Compile verified, not bench tested | A separate firmware target now exists, but it should not be treated as verified until tested on actual ILI9341 hardware for orientation, colors, and touch mapping. |
If your display remains blank, has incorrect colors, is mirrored, or touch locations do not correspond to the screen, stop and identify the actual LCD/touch hardware before assuming the Si5351 or radio math is at fault.
4. CYD to Si5351 wiring
The current firmware uses these connections:
| Function | CYD / ESP32 | Si5351 module |
|---|---|---|
| I²C data | GPIO 27 | SDA |
| I²C clock | GPIO 22 | SCL |
| Ground | GND | GND |
| Clock output A | — | CLK0 |
| Clock output B | — | CLK2 |
Power the Si5351 module according to the requirements of the module you actually purchased. Many breakout boards include their own regulator and level shifting; others do not. Check the board documentation before assuming a supply voltage.
5. Assemble and test on the bench first
- Keep the radio disconnected. Assemble only the CYD, Si5351, USB cable, and test equipment.
- Wire GPIO27 to SDA, GPIO22 to SCL, and connect a common ground.
- Connect the Si5351 supply appropriate for your module.
- Leave CLK0 and CLK2 disconnected from the radio.
- Install the firmware and confirm the CYD boots normally.
- Select a known radio profile or Custom Radio setting and enter an operating frequency.
- Measure CLK0 or CLK2 with a frequency counter or oscilloscope and compare the measured output with the displayed CALC CLK value.
- Do not proceed to the radio until the measured clock is correct and stable.
6. Install the firmware
Browser installer
- Open the CYD Digital VFO page in a Chromium-based browser such as Chrome or Edge.
- Connect the CYD with a data-capable USB cable.
- Choose the current tested ST7789 installer unless you know you have another supported display variant.
- Click the install button and select the CYD serial port when prompted.
- Allow the installer to finish before disconnecting USB power.
The current browser package is a complete ESP32 image. A fresh installation may erase existing CYD settings.
Manual binary
The merged Beta 0.3 binary is also available from the project page for users who prefer their own ESP32 flashing workflow.
7. First boot and touch calibration
On first boot, the firmware initializes the display, touch controller, I²C bus, Si5351, saved state, and both clock outputs.
- The ST7789 build uses display rotation 1.
- The XPT2046 touch controller uses its own SPI bus and touch rotation 0.
- Touch calibration is saved in nonvolatile memory.
- If calibration is absent or cleared, follow the on-screen calibration targets carefully.
- The firmware checks for the Si5351 at address 0x60.
8. Using the main interface
| Control | Function |
|---|---|
| Large red frequency | The requested radio operating frequency, not necessarily the physical Si5351 output frequency. |
| Up / Down arrows | Adjust the selected digit/step of the operating frequency. |
| DIRECT | Enter an operating frequency directly. |
| RADIO | Select the radio/profile formula used to calculate the required oscillator frequency. |
| SIMPLEX / DUPLEX | Choose whether RX and TX use one operating frequency or separate frequencies. |
| RX EDIT / TX EDIT | In duplex mode, selects which side is being edited. |
| CLK0 / CLK2 | Select which independent Si5351 output/profile state you are viewing and editing. |
| CAL | Adjust stored oscillator trim in 1, 10, 100, or 1000 Hz steps. |
The firmware accepts radio operating frequencies from approximately 1 MHz through 470 MHz, but the physical Si5351 output is guarded to approximately 8 kHz through 160 MHz. The selected radio profile translates operating frequency into the required oscillator frequency.
9. Current radio profiles and crystal math
The following table describes the current Beta 0.3 calculations. Fo means the requested radio operating frequency. “RX” and “TX” are the clock frequencies the CYD calculates for the radio oscillator/channel-element path.
| Current profile | RX calculation | TX calculation |
|---|---|---|
| Mitrek / MSR VHF | (Fo − 10.7 MHz) / 3 | Fo / 12 |
| Mitrek / MSR UHF | (Fo − 10.7 MHz) / 9 | Fo / 36 |
| MICOR Low Band K1003/4 | (Fo − 5.26 MHz) / 3 in the current preset | Fo / 6 |
| MICOR VHF HI | (Fo + 11.7 MHz) / 9 | Fo / 12 |
| MICOR VHF LOW | (Fo − 11.7 MHz) / 9 | Fo / 12 |
| MICOR 220 modification | (Fo − 11.7 MHz) / 12 | Fo / 18 |
| GE MASTR II VHF | (Fo − 11.2 MHz) / 9 | Fo / 12 |
| GE MASTR II VHF high-side | (Fo + 11.2 MHz) / 9 | Fo / 12 |
| GE MASTR II UHF | (Fo − 11.2 MHz) / 27 | Fo / 36 |
| GE MASTR II UHF high-side | (Fo + 11.2 MHz) / 27 | Fo / 36 |
| GE Executive II VHF | (Fo − 11.2 MHz) / 9 | Fo / 12 |
| GE Executive II UHF | (Fo − 11.2 MHz) / 27 | Fo / 36 |
| GE MVP VHF | (Fo − 11.2 MHz) / 9 | Fo / 12 |
| GE MVP UHF | (Fo − 11.2 MHz) / 27 | Fo / 36 |
| GE Delta VHF | (Fo − 10.7 MHz) / 3 | Fo / 3 |
| GE Delta UHF | (Fo − 10.8 MHz) / 9 | Fo / 9 |
| GE Phoenix VHF | (Fo − 10.7 MHz) / 3 | Fo / 3 |
| GE Phoenix UHF | (Fo − 21.4 MHz) / 9 | Fo / 9 |
| Maxon DM-0530 | (Fo − 21.4 MHz) / 9 | Fo / 27 |
| MAXAR / FLEXAR VHF | (Fo − 10.7 MHz) / 3 | Fo / 9 |
| MAXAR / FLEXAR UHF | (Fo − 10.7 MHz) / 9 | Fo / 27 |
10. Custom Radio calculator
Custom Radio mode is for a radio that is not yet in the preset database or for an experiment that requires a different IF/injection relationship.
The Custom screen provides:
- Operating frequency.
- IF / offset entry in MHz.
- Multiplier/divisor entry.
- High-side or low-side injection selection.
- Separate RX and TX plans in duplex mode.
- A live CALC CLK result before saving.
Typical formula
For a conventional low-side receiver where the radio multiplies the crystal oscillator by N before mixing:
CLK = (Operating Frequency − IF) / N
For high-side injection:
CLK = (Operating Frequency + IF) / N
For a transmitter where the crystal frequency is multiplied directly:
CLK = Operating Frequency / N
11. Using CLK0 and CLK2
CLK0 and CLK2 are intentionally independent. Each clock can retain its own:
This allows one CYD/Si5351 assembly to support experiments such as separate receive/transmit oscillator paths, two radios, or two independent channel-element functions.
12. Prepare the radio before connecting the CYD
- Obtain the service manual or schematic for the exact radio model and band split.
- Identify whether RX and TX use separate crystals/channel elements or share one oscillator architecture.
- Record the original crystal/channel-element number and marked frequency if present.
- Determine the radio’s IF and multiplication chain from the service information.
- Measure DC voltage at the intended oscillator connection point with the original hardware installed and then removed, if safe to do so.
- Measure the original oscillator signal with a high-impedance probe when possible. Record approximate frequency and amplitude.
- Verify the CYD calculation independently by hand before making a connection.
This preparation is especially important on Motorola channel-element radios because two radios that look similar externally can use different oscillator architectures.
13. Find the correct oscillator/injection point
The safe connection point is not simply “where the crystal was” in every radio. A channel element may contain an oscillator transistor, temperature compensation, modulation circuitry, or buffering in addition to the crystal itself.
What you are trying to locate
Ideally, inject the synthesized clock at a point that normally carries the oscillator signal after the crystal-controlled oscillator stage but before the multiplier/mixer chain. That often lets the radio keep its designed buffering and multiplication stages while removing the need for the crystal resonance itself.
Questions to answer from the schematic
- Is the crystal connected directly in a transistor oscillator?
- Does the channel element output a buffered RF signal to the radio?
- Is modulation applied by pulling the crystal/oscillator frequency?
- Does the oscillator node carry DC bias?
- What impedance/load did the original oscillator expect to drive?
- Is the radio using low-side or high-side injection?
14. Signal level and conditioning
The Si5351 produces a digital clock waveform. A crystal oscillator or channel element may have produced a much smaller, approximately sinusoidal RF signal. Direct connection can therefore overdrive the radio, disturb bias conditions, create extra harmonics, or damage the Si5351 if the radio feeds DC back into the output.
Possible interface elements
- Series resistor: useful for limiting drive and reducing ringing.
- AC-coupling capacitor: blocks DC between the radio oscillator node and the Si5351.
- Resistive attenuator: reduces a strong CMOS clock to a level closer to the original oscillator.
- Buffer stage: isolates the Si5351 from an unknown or heavily loaded radio node.
- Low-pass or band-pass filtering: may reduce square-wave harmonics where appropriate.
There is no universal resistor/capacitor/attenuator value for every radio. Choose the interface based on the measured original signal, the service schematic, and the oscillator node impedance.
15. Receiver installation and test
- Select the correct receiver profile or enter the verified Custom Radio formula.
- Set the desired receive operating frequency.
- Confirm the displayed calculated CLK frequency by hand.
- Measure the physical Si5351 output before connecting the radio.
- Connect the clock through the planned coupling/interface network.
- Power the radio and confirm that the receiver behaves normally.
- Inject a known RF test signal at the desired operating frequency.
- Verify sensitivity, quieting/SINAD, and alignment. Do not judge success only by hearing a strong local signal.
- If receiver sensitivity is poor, verify oscillator level, mixer injection, front-end alignment, and image/injection-side assumptions.
16. Transmitter installation and test
- Connect the transmitter to a correctly rated 50-ohm dummy load.
- Select the correct TX profile and desired operating frequency.
- Measure the Si5351 clock frequency before connecting it to the radio.
- Connect the clock using the appropriate coupling/conditioning network.
- Key the transmitter only briefly at first.
- Verify final carrier frequency with a frequency counter/service monitor.
- Check transmitter power, current, spectral cleanliness, and modulation/deviation as appropriate for the radio.
- Confirm that changing RX settings cannot unintentionally move TX to an unsafe frequency.
17. Duplex and repeater installations
Duplex mode stores independent RX and TX operating frequencies. Use RX EDIT and TX EDIT to configure each side.
For radios with separate RX and TX channel elements, CLK0 and CLK2 may be useful as independent sources. For radios that derive both paths from one channel element or use an offset oscillator, the architecture may require a different approach.
Examples of architecture differences
- Some station/repeater radios use physically separate receive and transmit channel elements.
- Some mobile radios use one channel element plus an offset oscillator to derive transmit from receive.
- Some radios expect crystal pulling for FM modulation, while others apply modulation later in the chain.
Do not force a two-clock installation onto a radio that was designed around one oscillator/offset architecture without understanding the consequences.
18. Final validation checklist
19. Troubleshooting
| Symptom | Check first |
|---|---|
| Blank or scrambled CYD display | Confirm ST7789 vs ILI9341 variant and correct firmware build. |
| Touch is offset or reversed | Clear/re-run touch calibration; verify display/touch variant. |
| Si5351 not found | Power, ground, GPIO27 SDA, GPIO22 SCL, and I²C address 0x60. |
| CALC CLK says invalid / output disabled | The calculated oscillator frequency is outside the firmware’s supported Si5351 range or the profile input is invalid. |
| Frequency counter shows wrong value | Confirm correct CLK output, profile, RX/TX edit state, and calibration trim. |
| Radio receives but sensitivity is poor | Wrong injection side, inadequate/excessive oscillator level, front-end alignment, or loading of oscillator/mixer node. |
| TX is off frequency | Wrong multiplier/profile, wrong TX edit frequency, trim error, or radio multiplier chain not aligned. |
| TX power is low after frequency change | Multiplier/exciter/final stages may require alignment for the new frequency; do not assume the oscillator is the only tuned circuit. |
| Radio works on RX but not TX | Many radios use separate RX and TX oscillator paths. Confirm the TX channel element architecture and source. |
| Unexpected spurs or noise | Clock level too high, square-wave harmonics, grounding, long wiring, poor shielding, or insufficient filtering/isolation. |
20. Report your results and help improve the project
This project is intentionally being released while it is still growing. Real bench results are valuable because they tell us which radio profiles work as expected, which models need different formulas, which display variants need support, and where the instructions need improvement.
Please submit the radio model, band/frequency, selected profile, CLK output, what worked, what did not, and any measurements you made.
Submit CYD Beta Feedback Download This Guide as PDF Back to CYD Digital VFO