Thursday, 2 January 2014

Arduino, WSPR and AD9850 DDS experiments

Happy New Year!

Christmas is thankfully behind us so I can get back to what I enjoy doing once I have reorganised my workshop.

As you know I am currently developing a potential High Altitude Balloon (HAB) project and have been experimenting with the Arduino microprocessor platform and have constructed a basic prototype.

With the arrival of the GPS module(s) I have had it successfully working and even took it out for a test walk in the local area, receiving the data and uploading it to the UKHAS habitat system.


This project has revitalised my interest in 'hobby electronics' and I have ideas for a number of other Arduino based projects and have been splashing out on components from eBay. Just before Christmas I purchased an Arduino Mega board, this has more I/O pins than the current Uno and specifically some extra hardware serial ports.

Do any internet search for Arduino based amateur radio projects and it will results in numerous mentions of projects using ultra cheap DDS modules based on the Analog Devices AD9850/AD9851 chipsets.

DDS means Direct digital synthesiser and is a type of frequency generation which can be used for creating arbitrary waveforms from a single, fixed-frequency reference clock. Read the Wikipedia page for more details.

In a nutshell the AD9850 is a chip that under microprocessor control can produce a sinusoidal wave from about 1hz to 40mhz. In other words it is an accurate microprocessor controlled VFO (Variable Frequency Oscillator) or signal generator.

VFOs are the main building blocks of radio receivers and transmitters, so not surprisingly a lot of projects have utilised these modules, rather than the traditional means. Intrigued I ordered a couple of these modules for the pricey sum of £3.50 each!

Using information on George Smart's (M1GEO) website and Simon Kennedy's (G0FCU) blog  I quickly had a simple WSPR beacon running!

The Arduino uses the GPS module borrowed from NERD-1 for accurate time and then controls the output of the AD9850 DDS to generate the WSPR signal.

Before anyone panics I know at the moment I only hold a Foundation Amateur Licence so the construction of homebrew transmitters isn't allowed. This 'beacon' has no power amplifier and the antenna consisted of an inch or so of wire on the DDS output. I was able to verify the operation using my SDR receiver in the same room.

Construction of commercial kits is allowed under my licence so I have ordered a Ultimate3 QRSS kit from Hans Summers for the pricely sum of £17.50! This uses the same DDS module and same microcontroller as the Arduino.

In the meantime there is also more information and ideas on Eugenr Marcus' (W3PM) webpage about the use of these DDS modules, including making frequency reference sources and calibration using the GPS module.

My new year resolution is to get my Intermediate Licence as soon as possible..  but it has been great to get down to some proper experimenting...

1 comment:

Unknown said...

i am new to ad9850 and i want know the hardware and software connections and c code for this.i am using 89c55wd with ad9850.it would be helpful if you give code