HF multimode beacon v1 (english version)

board4

By Anthony F4GOH and Christophe F4GOJ.

Caracteristics :

  • Modular.
  • Programmable on amateur bands : 80m to 10m.
  • Power : 20 to 37dbm depending of bands.
  • Modes : BPSK ,QPSK, RTTY, Hellschreiber, CW, WSPR.
  • Tranmission on 3 bands alternatively.
  • Synchronization by real time clock.
  • LCD 4×20 display.
  • SWR meter.
  • Optional automatic tuning unit.
  • Dedicated beacon programmation software.
  • Cost 50€ max without the tuning unit.

balise V2ad_en

The beacon is based on modular cards :

  • Arduino and DDS main card
  • Power amplifier, low pass filters and SWRmeter card
  • I²C daughter board and real time clock
  • 4×20 LCD display
  • 5V switching power supply
  • Tuning unit (described in another article)

The beacon is based on an arduino nano, it drives an AD9850 module by hardware serial communication (SPI).

The supply of the AD9850 is controlled by the arduino allowing to reduce energy consumpsion when the beacon is battery operated.

A pulse width modulation output of the microcontroler is used to set the gain of the power amplifier made with 4 mosfets BS170 in parallel.

The arduino controls the switching of low pass filters relays.
The I²C bus allows to control the LCD display, the real time clock and the tuning unit if it is connected.

Two analog digital converters of the arduino are used to measure the direct and reflected powers needed to control the tuning unit.

A switching power supply module based on a LM2596 is used for its high efficiency.

The arduino nano as a built-in USB converter used to upload the sketch and configure the beacon with the dedicated software.

All the schematics and PCB layouts are available here : HF Beacon v1 PCB zip


Arduino and DDS card

balise V1 nano

The main board is essentially composed of the arduino nano and DDS AD9850 modules.

There is also the DDS power switch with Q1 transistor, the LF low pass filter to average the power amplifier PWM gain command.

The J4 connector gathers the PA command lines and the J3 connector is dedicated to communication (I²C bus, serial link)

The potentiometer is not used in the software actual version.

A LM385-2.5V is essential to have the best possible precision in direct and reflected powers measures.


PA, filters card

balise V1pa

The power amplifier is made with 4 bs170 in parallel. The gain can be set manually or by the arduino gain command. Selection is done with J32 jumper.

There are 4 filters slots with 3 relay switchable.

The user has to make his own 3rd or 5th order filters according to his prefered bands.

The tandem coupler used to measure the direct and reflected powers is made with a binocular toroïd BN-43-202 (2×25 turns). The HF transmitted powers are relatively low, so instead of using rectifier diodes, two logarithmic amplifiers AD8307 provide two variables DC voltages to the arduino analog digital converters, images of these powers.


I/O card

beacon_IO

For not overloading the main card, an extension card allows to connect all the peripherals.
The RTC DS3231 module is directly plugged in this card.
This module has been chosen because of temperature compensation and giving a 2ppm accuracy from -40 à 85°C

The other I²C connectors are used to connect the LCD display and the tuning unit.

The 4×20 alphanumerical LCD display has a I²C PCF8574 backpack.
This allows to free many pins on the microcontroller.

lcd wspr


Softwares

The arduino sketch is available here : hfbeaconv1.ino
These libraries are needed :

AD9850SPI : https://github.com/F4GOJ/AD9850SPI/archive/master.zip
HFBEACON : https://github.com/F4GOJ/HFBEACON/archive/master.zip
RTC3232 : https://github.com/JChristensen/DS3232RTC/archive/master.zip
Liquidcrystal_i2c : https://github.com/jenschr/Arduino-libraries/archive/master.zip

Libraries installation :

  • Download the libraries.
  • Uncompress the downloaded files. This will result in a folder containing all the files for the library, that has a name that includes the branch name, usually nameofthelibrary-master.
  • Rename the folder by removing « -master »
  • Copy the renamed folder to the Arduino sketchbook\libraries folder.

A dedicated configuration software (written in visual basic) is available here : HF beacon configuration

hfbeaconconfig


Building and verifications

Arduino DDS card :

Start by building the arduino main card.
Check the supplies without the modules then plug the arduino nano.
Upload sketch using Arduino 1.0.6 IDE using hf beacon v1.ino file.

By default the program is in debug mode or set it as such.

Use serial monitor to verify communication (57600 bauds)

Press h for help, debug commands and Test

Now insert the AD9850 DDS module.
Return to the debug menu, then « a » key to switch on the DDS.

« 2 » key to select 40m band.
Position the J2 jumper in position 1-2 (TTL output) and set the DDS module potentiometer to have a 7,100MHz square signal on the SMA output.

Check gain control voltage C8 terminals (key « e » increment, key « d » decrement).
The voltage must not exceed 3V for a max set of 255.

Insert PA filters:

Start with soldering the 4 BS170 transistors, relays, connectors and discrete components.
Replace L21 inductor by a 1 kΩ resistor.
Using the potentiometer J32 jumper in position 2-3, check the transistors drain switching.
Connect the card to the Arduino board and check relays switching (w, x, c and v keys).

Remove 1 kΩ resistor and solder the L21 inductor
Insert 40m filter on the location LP1
Put a strap between the filters output and the SMA connector. (Before the tandem coupler)
Connect a 50Ω load
Return to the debug menu

« A » key switch on dds
« 2 » key band 1
« A » key switch on dds
Key « e » several times to increase gain

Measure the power output according to your measurement devices
Finish with soldering AD8307 and the tandem coupler
Start the debug process, measuring the SWR using the « y » key
With a 50Ω load the SWR should be close to 1.0

HF multimode beacon v1 (english version)

Laisser un commentaire