Table of Contents
Introduction
This blog post discusses how to generate signals from around 10 kHz to over 500 MHz*, with high granularity (sub-1 Hz). The finished project will be usable in at least two ways.
(a) As a single board project, controlled from a serial terminal over USB
(b) With a second PCB, that contains a rotary control/buttons/TFT screen
The source code for both will be the same, so there’s no need to build the buttons/TFT board until later, if the USB interface method is sufficient.
In fact, to be able to test this project incrementally, nothing is needed apart from a Pi Pico at the start. The code will still function, it just won’t output any signals since there is no hardware for that. As more hardware is added, more of the project features will work.
In future, maybe the project could be controlled via Bluetooth or WiFi too, since the Pi Pico that is being used could be changed to a Pi Pico W (Wireless) model.
This project will be useful for whenever a stable but adjustable frequency is needed. I was keen to use it to drive an RF mixer circuit, in order to receive radio signals.
A Variable Frequency Oscillator (VFO) is literally what the words suggest, and at least traditionally the circuitry would have been purely analog, adjusted using a variable capacitor, and could drift. Nowadays the VFO function would be done inside radio ICs and kept from drifting by using a phase-locked loop most likely, all on the same part, using an external crystal as the stable reference.
This blog post documents the proposed circuit, and I’ll update it over time as the final PCB is built and tested.
* Note there are a few gaps: 169-190 MHz and 339-380 MHz are not supported.
Block Diagram and Circuit
A Pi Pico microcontroller board is used, powered either from USB, or from a 7805 regulator, so the project can be used with a 12V supply if desired.
As you can see, the actual signal generation comes from two separate parts, a Si5351A clock generator, and a CMT2300A radio module.
The Si5351A is a nice 8-pin part that just needs a crystal, and then the output frequency can be controlled via I2C. There is a ready-built Si5351A Adafruit breakout board, I decided to use that, to make the project a fraction easier to assemble.

The CMT2300A is a full transceiver chip, and it will be very underused for this project. However, the part is very low cost, so I didn’t feel bad about not getting my money’s worth out of that IC : ) Again, I used a module rather than assemble the circuitry. Note that if you're purchasing a CMT2300A module, closely examine the description (not just the title!) to ensure it uses the CMT2300A chip, because some boards use a different part. Also, ensure it is the 433 MHz board, not the 868/915 MHz one (the 433 MHz one can work from 127 MHz to 509 MHz).
For this project, there are a total of three separate outputs called CH0/1/3 (CH2 is unused):
CH0: Si5451A Channel 0; this will be used for the 10 kHz to (approx.) 127 MHz range, although it could be configurable if higher frequency output is desired. The output will be buffered, to be able to drive passive RF mixers if required.
CH1: Si5351A Channel 1; this will be used as a lower-power aux output, that could be set by the user to a fixed frequency (10 kHz to about 160 MHz, maybe a bit higher).
CH3: CMT2300A; this will be used for 127-169, 190-339, and 380-509 MHz. The missing sections are not supported by the IC. There’s no need for a buffer, because the CMT2300A already outputs at sufficient power level to drive most mixers, and might need external attenuation.
The "Aux Port" will be used to remotely command some of the VFO functions. For instance, one may wish to switch frequencies (this is very common when using the VFO with a transceiver; the required frequencies for transmit and receive could be different, and it would be good to automate the switching of that using the Aux Port).
Here’s the circuit (I’ll place the project files on GitHub after a few days, in case anyone has any comments or spots issues); the items in pink only need to be soldered up if the TFT/buttons board will be used later. As mentioned earlier, the project can be soldered in parts, so, if say only the CMT2300A is available, or only the Si5351A, then it will work, just the bands supported by the missing part won’t be available.

Printed Circuit Board
The PCB is still a work-in-progress, I’ve not done any trace routing yet.

The project should fit a Hammond 1593W plastic case, which is really ample for the circuit, except that the Pi Pico occupies a lot of space at the board edge where all the connectors will be, so everything is very squashed there.

Some Quick Tests
I’ve progressed quite far with the Pi Pico software. Things are working in isolation, although I have yet to try out the buttons and encoder, I will wait for the front panel PCB before I give that a go.
Here’s the testbed!

Example output from the Si5351A, without the buffer currently:

For the CMT2300A, I already know that can be controlled well from the Pi Pico, because of an earlier experiment – see that for example output spectrum traces.
Summary
With little hardware effort, ready-made modules will be connected together onto a PCB and controlled from a Pi Pico, to make a signal generator/VFO. If you spot any issues, or have suggestions, please let me know! This is still a work-in-progress.
Thanks for reading.