From BATC Wiki
Revision as of 20:00, 11 August 2018 by G4FRE (talk | contribs)
Jump to navigation Jump to search

The incredibly flexible ADF4351 VCO/PLL chip with a few external components forms a very wide range high stability signal source with a clean output which is programmable from 35 MHz to 4.4 GHz. Such a device would have been unthinkable 10 years and is ideal for user in the ATVers shack as a test signal generator or a local oscillator source for all bands up to 5.6 GHz.

Note: As well as the desired frequency, the boards have a high harmonic content and depending on the application will need filtering on the output.

Ready built and tested boards are readily available from a number of Far Eastern sources on eBay for around £20


Warning: A recent batch of Chinese boards have a 5V regulator fitted instead of the required 3v3 regulator. Please check your board before you apply power. Details here:

In CQ-TV253, Ron G7DOE described two PIC-based controllers for Chinese ADF435x boards to provide a configurable local oscillator suitable for DATV or narrow band operation. The PIC holds four frequencies selectable by two small switches, extendible to eight frequencies from three switches if required. It is easy to change the C source code for any appropriate frequencies and the circuit is very simple.

CQ-TV 259 had a step by step guide to generating the code and programming the PIC for any frequency.

There is also a ultra simple controller design for a set and forget a single frequency which can also be used as a microwave band local Oscillator.



A blank PCB for this project is now available from the BATC shop.

Piccon.JPG contains the Gerber files for the V2 pcb. These are bundled to suit OSH Park's naming conventions but should also suit various Chinese fabricators.

Source files contains four C source files:

  • fatcontrol.c is the PIC12LF1552 controller offering a choice of 4 frequencies
  • fat8sw.c is the PIC12LF1552 controller offering a choice of 8 frequencies
  • thincontrol.c is the PIC12F629 controller offering a single frequency
  • thin1552.c is the PIC12LF1552 controller offering a single frequency

These files can be edited in a text editor if required before compilation (see below).

Note that you cannot program a 12F629 ON the 3v board; it needs 5V to progam the chip, but it will run happily at 3V.


The software used was MPLABX\v3.51 downloaded free from Microchip. When compiled, the package directly programs the PIC using PICKit 3.

The compiler is XC8 which is also downloaded from the same site and integrates with MPLABX IDE:

Code Compilation and PIC Programming Guide

Following a request for help, Steve M0SKM has written a Compilation and Programming guide in .pdf format. Hopefully this guide will encourage others to build these very useful oscillators.

When Steve first tackled this project he looked around for software and learned it from scratch. Others will undoubtedly find alternative methods but this way worked for him. Thanks also to Claudio I2NDT who test ran the guide successfully.

The guide can be downloaded here File:7-band local oscillator.pdf.