Table of contents
(Please note that this program will not run without a valid GPS signal)
The FST4W transmitter program makes the RFzero capable of transmitting on any frequency from 2289 Hz and t o 230 MHz using the fundamental frequency. Between 230 MHz and to 1,5 GHz a harmonic frequency is used automatically taking the tone spacing into account.
The transmission takes place in either 6 x 5, 3 x 10 or 2 x 15 two minutes timeslots per hour for FST4W-120, 12 timeslots per hour for FST4W-300, 12 timeslots per three hours for FST4W-900 or 12 timeslots per six hours for FST4W-1800. There are two different transmission sequences that can be used in straight order, randomly or in a day-and-night sequence.
Up to 15 frequency, control bits and power combinations can be used. The combinations can be made either manually, for each of the up to 15 combinations, or filled in one go using an audio offset frequency from 1400 Hz to 1600 Hz. The filter bits can control external antennas, filters, relays, matching, … via the ULN2803A driver IC on D6 to D0 or an analog voltage on A0.
The transmitted message is Type 1 (call sign, square and power, e.g. OZ0RF JO65 13) or Type 2 (compounded call sign and power).
The configuration is done via the USB port. The square used can be updated either manually or automatically. It is possible to wait for the RFzero to warm up for up to 255 s before starting to transmit.
When transmitting the TX LED will flash at half the symbol rate.
When GPS signals are received the PPS LED flashes ones per second and when the status of the GPS signal is valid the Valid LED is lit.
A PA can be controlled on/off on D7, i.e. off during no transmission to save power.
Block schematic presentation of the FST4W transmitter functionality.
OZ0RF
From time to time OZ0RF is active from Copenhagen in JO65FR. The equipment is an RFzero directly into a 1:9 UNUN connected to a 16,2 m longwire antenna. Sometimes the output is boosted to 27 dBm/500 mW. The actual location is nothing to brag about.
The RFzero running as OZ0RF during the development of the FST4W transmitter program. The picture shows the RFzero, LCD and low pass filter bank.
You can see the latest spots of OZ0RF on WSPRnet.org here.
It is easy to make an HF all-band antenna using e.g. a 16,2 m long wire, an Amidon FT-114-43 as the 1:9 UNUN and Amidon FT-114-177 as choke that are good for 25 W even into a bad SWR.
Example of a 1:9 UNUN and choke for an HF longwire antenna.
Display
To setup the type of display used please use the “wr display” command see details in the configuration. If you want to change what is shown on the display please edit the display.cpp file.
Please see the display page for more information.
LCD 16×2
The display shows the GPS status, the number of satellites, the HDOP, the UTC minutes and seconds, the transmission status (frequency, waiting or skipped), the sequence number and the transmission mode.
Example of an LCD 16×2.
LCD 20×4
The display shows the UTC, the transmit frequency/skip and sequence, the transmitted message, the GPS status, the number of satellites and the HDOP.
The LCD showing the UTC, sent message, the frequency and sequence, N = night, S = straight sequence, the GPS status, number of satellites in use and the HDOP.
The LCD while waiting and not transmitting using sequence0 in straight sequence.
The LCD when skipping a timeslot and randomly using the data from sequence1.
Configuration
The configuration of the program is done via the USB port, 9600 Baud, 8 bits, no parity and one stop bit, using a terminal program (e.g. Arduino IDE Serial Monitor, Termite Terminal (Windows), CuteCom (Linux) or Terminal (Mac OS) or the RFzero Manager (Windows)). Please connect the RFzero via a USB data cable to your computer and connect the terminal program to the right COM port in the terminal program. The RFzero identifies itself as an Arduino Zero (Windows Device Manager).
If you don’t see the RFzero> or RFzero config> prompts please press the enter key. When you want to execute a command you don’t have to enter the prompt but only the command and parameters after the >.
All input to the RFzero must be in lowercase.
Changes to the configuration does not take effect before leaving the configuration mode.
To enter the configuration mode please enter config at the RFzero> prompt, i.e.
RFzero> config
To see the available commands please enter ? at the RFzero config> prompt, i.e.
RFzero config> ?
To leave the configuration mode please enter exit at the RFzero config> prompt, i.e.
RFzero config> exit
When in configuration mode, i.e. when you see the RFzero config> prompt, the most frequent commands are
rd cfg
to see the configuration that will be used after exiting the configuration mode.
wr defaults
to set most of parameters to their default values. Please see the actual program for the specific default values.
wr t1 MODE
to set the T1 H/W mode where MODE is
- 0: Transformer (default)
- 1: Combiner
- 2: None
wr display MODE
to set the display mode where MODE is
- 0: None
- 1: LCD 16 characters and two lines, HD44780 interface
- 2: LCD 20 characters and four lines, HD44780 interface
- 3: LCD 16 characters and two lines, HD44780 via I2C PCF8574 interface
- 4: LCD 20 characters and four lines, HD44780 via I2C PCF8574 interface
- 5: Graphics display, ILI9341 SPI interface
- 6: Graphics display, ILI9488 SPI interface
wr pcf8574 ADDR
to set the I2C address of a PCF8574 series, if used, where ADDR is
- 0: if not used
- PCF8574 and PCK8574T: 0x20-0x27
- PCF8574A: 0x38-0x3F
wr warmup SECONDS
where SECONDS is the number of seconds to wait for the RFzero to warm up.
wr level LEVEL
where LEVEL is the drive strength current in the output stages. This effectively changes the output power by up to 10 dB, but varies somewhat with frequency. Valid LEVEL values are
- 0: 2 mA
- 1: 4 mA
- 2: 6 mA
- 3: 8 mA, default level
To read more about the drive strength current please consult the Si5351A datasheet.
wr bcn CALL
where CALL is the beacon call sign. The maximum length for the call sign in a Type 1 messages (call sign, square and power) is six characters and it must include a number, e.g. OZ0RF. The maximum length for the call sign in a Type 2 messages (compounded call sign and power) is ten characters and it must include a number, e.g. OH0/OZ0RF.
Please see the FST4W specification for more details about the message types.
wr loc LOCATOR
where LOCATOR is the locator up to eight characters, however, only four i.e. the square is transmitted and only for FST4W type 1 messages.
wr locator
to automatically let the GPS data set the locator, however, only four i.e. the square is transmitted and only for FST4W type 1 messages.
wr locauto ONOFF
to turn on or off the manual or automatic locator updating where ONOFF is either 0: for off/manual updating or 1: for on/automatic updating.
wr data INDEX FREQ CONTROL POWER
to fill one record in the transmitter data array with frequency, control bits and power, where
- INDEX is the transmitter array index 0 to 14
- FREQ is the frequency in Hz from 2289 Hz to 1,5 GHz. The frequencies don’t have to be in increasing order, and the same frequency can be used more than ones
- CONTROL is the bit pattern on D6 to D0 in hex, without the 0x preamble. D6 is the same as bit 6 … D0 is the same as bit 0.
E.g. 0101011 => 2B (bin to hex table), where D6/bit 6 is 0, D5/bit 5 is 1, … D1/bit 1 is 1 and D0/bit 0 is 1 - POWER is the total system power level in dBm, i.e. after further amplification and cable loss etc. The RFzero doesn’t change power. Only the values below are valid. If you can’t find an exact match pick the closest one
- 0 dBm = 1 mW
- 3 dBm = 2 mW
- 7 dBm = 5 mW
- 10 dBm = 10 mW
- 13 dBm = 20 mW
- 17 dBm = 50 mW
- 20 dBm = 100 mW
- 23 dBm = 200 mW
- 27 dBm = 500 mW
- 30 dBm = 1 W
- 33 dBm = 2 W
- 37 dBm = 5 W
- 40 dBm = 10 W
- 43 dBm = 20 W
- 47 dBm = 50 W
- 50 dBm = 100 W
- 53 dBm = 200 W
- 57 dBm = 500 W
- 60 dBm = 1 kW
e.g. to fill index 7 with 14 097 123 Hz, 0101010 control bits (bin to hex table) and 40 dBm as the power level
wr data 7 14097123 2a 40
will make a single entry in the transmitter data array like below.
Example of the transmitter data array after using the wr data 7 14097123 2a 40 command. The gray cells are not affected.
It is possible to fill the transmitter data array with the same frequency more than ones, e.g. if you want to test different antennas or power levels. This can be managed by using different control bits for the same frequency.
Example of the transmitter data array with the same frequency and power twice but with different control bits for index 7 and index 8.
The control bits (bin to hex table) are connected to D6 to D0, i.e. D6 to bit 6 … D0 to bit 0, are also connected to the ULN2803A, that can be used for controlling e.g. a low pass filter bank. See more about the ULN2803A in the tutorials.
For more information on how to use the control bits to control e.g. a filter bank please see the “Control mode and control bits” section below.
wr auto OFFSET POWER
to automatically fill the transmitter data array with the default FST4W HF frequencies and where OFFSET is the audio frequency (AF) offset from 1400 Hz to 1600 Hz and POWER is the total system power level in dBm, e.g.
wr auto 1456 13
will make the transmitter data array look like below. Only one frequency per band is filled into the array. If you need a more detailed transmitter data array please use the “wr data” command.
Example of the transmitter data array using the wr auto 1456 13 command.
The control bits (bin to hex table) are connected to D6 to D0, i.e. D6 to bit 6 … D0 to bit 0, are also connected to the ULN2803A, that can be used for controlling e.g. a low pass filter bank. See more about the ULN2803A in the tutorials.
For more information on how to use the control bits to control a filter bank please see the “Control mode and control bits” section below.
wr control MODE
to set the control MODE where:
- 0: no control
- 1-7: the number of bits to use from the control values in the transmitter data array
- 8: analog voltage on A0 in seven bits resolution taken from the control values in the transmitter data array
The control bits (bin to hex table) are connected to D6 to D0, i.e. D6 to bit 6 … D0 to bit 0, are also connected to the ULN2803A, that can be used for controlling e.g. a low pass filter bank. See more about the ULN2803A in the tutorials.
If using control mode 1 to 6 the unused D#-pins may be used for other purposes.
wr mode MODE
to select the FST4W sub mode where MODE is
- 0: FST4W-120
- 1: FST4W-300
- 2: FST4W-900
- 3: FST4W-1800
wr timeslots NUMBER
to set the NUMBER of FST4W-120 timeslots to either 5 (5 x 2 minutes), 10 (10 x 2 minutes) or 15 (15 x 2 minutes). The transmission takes place in either 6 x 5, 3 x 10 or 2 x 15 two minutes timeslots per hour. The value affects the number of available timeslots in the wr seq command.
This command is not available for FST4W-300, FST4W-900 and FST4W-1800, where the number of timeslots is always 12.
The sequence when the number of timeslots has been set to 5.
The sequence when the number of timeslots has been set to 10.
The sequence when the number of timeslots has been set to 15.
wr seq NUMBER INDEX# …
to set which INDEX to use from the transmitter data array. Use “s” to skip the timeslot/start minute. Values for all available timeslots, i.e. 5, 10, 12 or 15, have to be included in the sequence command.
Below are some examples where the number of timeslots is set to 15, i.e. 15 x 2 minutes.
The order of the index values and skip(s) in the sequences can be anyway you like. E.g. to configure sequence 0 with index values, in a nice and increasing order, from the transmitter data array and skip every third time lot:
wr seq 0 2 3 s 4 5 s 6 7 s 8 9 s 10 11 s
Example of sequence 0 using the wr seq 0 2 3 s 4 5 s 6 7 s 8 9 s 10 11 s command. The gray cells are not affected.
If you want to transmit using the same index, i.e. frequency, control bits and power level, all the time the command will look like
wr seq 0 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7
if you want to transmit using data from index 7 otherwise select a different index.
rd sec
Lists the complete commands for all the current sequences and transmitter data array. You may then copy these commands, modify the relevant one(s) and enter it back into the RFzero. This way it may be easier to get the syntax and correct numbers in place.
wr tx MODE
where MODE is the transmission mode number
- 0: transmit using sequence 0 in straight order
- 1: transmit using sequence 1 in straight order
- 2: transmit using sequence 0 in random order
- 3: transmit using sequence 1 in random order
- 4: transmit using sequence 0 during the day, and sequence 1 during the night both in straight order
- 5: transmit using sequence 0 in straight order from minute 00 to 30 and random order from minute 30 to 60 during the day, and sequence 1 in straight order from minute 00 to 30 and random order from minute 30 to 60 during the night
The day/night transitions happen when the sunrise or sunset occur, and is automatically calculated based on the time and location coming from the GPS.
wr gps MODE
- 0: hide all NMEA strings
- 1: show the $GPGGA and $GPZDA NMEA strings
- 2: show the $GPGGA, $GPGLL, $GPGRS, $GPGSA, $GPGST, $GPGSV, $GPRMC, $GPVTG and $GPZDA NMEA strings
Control mode and control bits
The FST4W transmitter has the possibility to control external devices such as PA(s), when to transmit with the selected PA, which antenna to use, matching network, relays and filter to select. There are three different ways to control the devices.
- Digital
- One bit per device. There are up to seven bits, D6 to D0, available resulting in max seven possible combinations
- Encoded bits that are converted at the devices’ end. There are up to seven bits, D6 to D0, available resulting in max 128 combinations
- Analog
- An analog voltage on A0, in seven bits resolution, resulting in max 128 possible combinations
The control mode manages which way is used, and how many bits are used in the digital modes. How the bits are used is entirely up to you. The bit are set using the
wr data INDEX FREQ CONTROL POWER
MMI command where CONTROL is the bit pattern/analog value (bin/analog to hex table).
Digital control
If digital control is used the ULN2803A, on the RFzero, may be ideal, because it can be used to control filter relays in a safe way.
Unless the ULN2083A is being used please remember that the RFzero operates on a 3,3 V level. Therefore some kind level translation, to increase the voltage to e.g. 5 V or 12 V, may be necessary.
Digital 3,3 V to 5 V level converter. The 5 V can safely be changed to 15 V if required. Q1-Q#: 2N7000 or equivalent.
In case the devices are controlled when “active low” you may have to invert the bit patters, i.e. 010 (active high) becomes 101 (active low).
A more advanced way to use the control bits is to use some for filter control and others for antenna control, even on the same band, e.g. three bits, D6 to D4 are used for antenna control, and four bits, D3 to D0, are used for amplifier band and filter control.
A little bit of a lesson
If you are not familiar with binary numbers and bits please remember, that they always start with the most significant bit first. This is not special to the RFzero or Arduino but a general principle. This is in fact similar to the decimal system, where we also start with the most significant digit first, e.g. 7042 is seven thousands, zero hundreds, four tens and two ones which is equal to 7 • 1000 + 0 • 100 + 4 • 10 + 2 • 1 = 7 • 103 + 0 • 102 + 4 • 101 + 2 • 100.
Please remember that xy is the same as x-value multiplied by itself y-number of times, e.g. 103 = 10 • 10 • 10 = 1000.
Bit numbering, and the control bits in the FST4W transmitter, always starts with the highest bit number, Most Significant Bit (MSB), first. D7 or bit 7 is used for the PA PTT.
If we have the binary number 1000101 we can do the same principle break down as we did with the 7042 decimal number above. But instead of the base being ten (10) in the decimal world, it is two (2) in the binary world, i.e. 1000101 can be expressed as 1 • 26 + 0 • 25 + 0 • 24 + 0 • 23 + 1 • 22 + 0 • 21 + 1 • 10 = one sixty-fours, zero thirty-twos, zero sixteens, zero eights, one fourths, zero twos and one ones, which is equal to 69 in decimal notation. For hexadecimal numbers the base is 16 instead, e.g. 1A2B can be expressed as 1 • 163 + 10 • 162 + 2 • 161 + 11 • 160 = 6699 in decimal notation, because A = 10, B = 11, C = 12, D = 13, E = 14 and F = 15.
Oh, please remember always to multiply/divide before adding/subtracting! Otherwise your old math teacher will be after you.
Binary, decimal and hexadecimal conversion table.
Bin | Dec | Hex | Bin | Dec | Hex | Bin | Dec | Hex | Bin | Dec | Hex | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0000 | 0 | 0 | 0100 | 4 | 4 | 1000 | 8 | 8 | 1100 | 12 | C | |||
0001 | 1 | 1 | 0101 | 5 | 5 | 1001 | 9 | 9 | 1101 | 13 | D | |||
0010 | 2 | 2 | 0110 | 6 | 6 | 1010 | 10 | A | 1110 | 14 | E | |||
0011 | 3 | 3 | 0111 | 7 | 7 | 1011 | 11 | B | 1111 | 15 | F |
Converting binary bits to hex is easier than you may think. Simply take four bits starting from the right, and convert them to hex, then take the next group of four bits moving left and so on, until there are no more bits left, see the table below.
Examples of converting binary numbers to hexadecimal.
Decimal | Binary | Groups of four | Hex | Hex notation |
---|---|---|---|---|
0 | 00000000 | 0000 0000 | 0 0 | 0x00 |
22 | 00010110 | 0001 0110 | 1 6 | 0x16 |
69 | 01000101 | 0100 0101 | 4 5 | 0x45 |
255 | 11111111 | 1111 1111 | F F | 0xFF |
If there is less than four bits just imagine that the missing bits to the left are zeros, e.g. 110100 => 00110100.
You may also use a program to do the conversion for you. In Windows and Mac OS there are programs called Calculator, that can be changed to Programmer mode. In Linux there is to many to mention.
Example of the Windows Calculator in Programmer mode (Menu | View | Programmer).
Generally when programming in C and variants
- Binary numbers must be prefixed 0b, e.g. 0b10101111
- Decimal numbers are often not prefixed but can be 0d, e.g. 0d7042
- Hexadecimal numbers must be prefixed 0x, e.g. 0x1F
- If a number begins with zero (0) it is an octal number, which is not used very often. But take care not to write e.g. 01011111, and think it is a binary number because it isn’t
One bit per control
The simplest way to control the filter bank is using one bit per filter. In this case the seven control (bin to hex table) values are:
- 0x00 (D6:D0 000000)
- 0x01 (D6:D0 000001)
- 0x02 (D6:D0 000010)
- 0x04 (D6:D0 000100)
- 0x08 (D6:D0 001000)
- 0x10 (D6:D0 010000)
- 0x20 (D6:D0 100000)
Example of a filter bank controlled using seven bits, i.e. one bit per filter. The filter mode is 7. The RF path is not shown.
Encoded bits control
The digitally encoded bits control is a bit more complex at the device(s) side. This is because the encoded bits need to be converted to control the right device(s). So a decoder is needed, e.g. the 74138 that can convert up to three bits into eight positions or the 74154 that can convert four bits to 16 positions.
Example of a filter bank controlled using three encoded bits. The filter mode is 3. The RF path is not shown.
If using three bits the control (bin to hex table) values are:
- 0x00 (D2:D0 000)
- 0x01 (D2:D0 001)
- 0x02 (D2:D0 010)
- 0x03 (D2:D0 011)
- 0x04 (D2:D0 100)
- 0x05 (D2:D0 101)
- 0x06 (D2:D0 110)
- 0x07 (D2:D0 111)
If using seven bits some of the 128 combinations of control (bin to hex table) values are:
- 0x00 (D6:D0 0000000)
- 0x01 (D6:D0 0000001)
- …
- 0x18 (D6:D0 0011000)
- …
- 0x7E (D6:D0 1111110)
- 0x7F (D6:D0 1111111)
Using Yaesu band data
If you want to use your RFzero together with a Yaesu four bits band data compatible devices you will have to set the control bits accordingly, and set the control mode to 4.
The Yaesu band data and the control bit values.
Band [m] | Control [hex] | Band D D3/bit 3 | Band C D2/bit 2 | Band B D1/bit 1 | Band A D0/bit 0 |
---|---|---|---|---|---|
None | 00 | 0 | 0 | 0 | 0 |
160 | 01 | 0 | 0 | 0 | 1 |
80 | 02 | 0 | 0 | 1 | 0 |
40 | 03 | 0 | 0 | 1 | 1 |
30 | 04 | 0 | 1 | 0 | 0 |
20 | 05 | 0 | 1 | 0 | 1 |
17 | 06 | 0 | 1 | 1 | 0 |
15 | 07 | 0 | 1 | 1 | 1 |
12 | 08 | 1 | 0 | 0 | 0 |
10 | 09 | 1 | 0 | 0 | 1 |
6 | 0A | 1 | 0 | 1 | 0 |
You may use D6:D4 for other purposes if you like.
Analog control
The analog way to control the filters requires a conversion of the analog voltage to a digital representation, e.g. using an ADC or LM3914 like done by ICOM.
Example of an analog control of a filter bank. The filter mode is 8. The RF path is not shown.
In the above example the voltage made by the RFzero should be in the middle of the voltage interval for each filter, i.e.
- 0 V to 0,4 V => 0,2 V => 0x08
- 0,5 V to 0,9 V => 0,7 V => 0x1B
- …
- 2,9 V to 3,3 V => 3,1 V => 0x77
To convert a target voltage (U) to the control value (analog to hex table) please use this formula
Control = 127 x U / 3,3
e.g. if the target voltage is 0,7 V
Control = 127 x 0,7 / 3,3 = 26,9 => 27 => 0x1B
If the analog voltage needs to be amplified an operational amplifier (Op Amp) implemented as a DC-coupled and non-inverting amplifier is a good solution, e.g. LM324 see section 8.2.1.
Example of a DC amplifier using an LM324 Op Amp in non-inverting configuration. Picture courtesy Texas Instruments and own work.
Output voltage range [V] | Amplification ratio | R1 (E96, 1%) [kΩ] | R2 [kΩ] | R2 (E96, 1%) [kΩ] |
---|---|---|---|---|
0,0 - 4,0 | 1,21 | 10 | 2,1 | 2,10 |
0,0 - 5,0 | 1,52 | 10 | 5,1 | 5,11 |
0,0 - 8,0 | 2,42 | 10 | 14,2 | 14,3 |
0,0 - 12,0 | 3,64 | 10 | 26,4 | 26,1 |
0,0 - 13,8 | 4,18 | 10 | 31,8 | 31,6 |
Ferenc, HA6QL, has made a solution using an LT1013 Op Amp, an LM3914 and using discrete components to switch the relays.
Using ICOM compatible devices
If you want to use your RFzero together with an ICOM band selection voltages compatible devices, such as a low pass filter, you will have to amplify the analog voltage from the RFzero to a 0 V to 8 V level as described above. You will also have to set the control values according to the table below.
Band [m] | ICOM ACC2-4 voltage [V] | RFzero voltage [V] | FILTER [hex] |
---|---|---|---|
10 | 3,5 | 1,4 | 38 |
15 | 4,3 | 1,8 | 44 |
20 | 5,0 | 2,1 | 4F |
30 | 0,0 | 0,0 | 00 |
40 | 6,0 | 2,5 | 5F |
80 | 6,6 | 2,7 | 69 |
160 | 7,5 | 3,1 | 77 |
Using Yaesu FT-817 band voltages
If you want to use your RFzero together with a Yaesu FT-817 band selection voltages compatible devices, above the 6 m band, you will have to amplify the analog voltage from the RFzero to s 0 V to 4 V level as described above.
A configuration example
OZ0RF from JO65FR has a 10 W/40 dBm PA that covers 1 MHz to 30 MHz. Unfortunately the power on 28 MHz is only 5 W/37 dBm.
OZ0RF also has five low pass filters that cutoff of at 2 MHz, 6 MHz, 11 MHz, 22 MHz and 32 MHz respectively. OZ0RF also has one antenna for bands below 14 MHz and one for all above 14 MHz. This means that five (filters) bits plus two (antennas) bits, in total seven bits on D6 to D0 can be used in a 1:1 control. Both filters and antennas are active when on, i.e. the control bit is 1. OZ0RF then decides that the seven control bits are mapped in this way: AAFFFFF, where A is an antenna bit and F is a filter bit. Remember that the eighth bit is already used for the PTT.
Schematic control principle for the filters, antennas and PA. The RF paths are not shown.
E.g. to enable filter 3 and antenna 1, control bit 2 (filter) and bit 5 (antenna) have to be active Ø0100100, which is the same as 0x24 in hex. The control bits are found on D6 to D0 and the PTT on D7. They can also be found buffered, but inverted, on the output of the ULN2803A.
OZ0RF will like to use 1567 Hz as the audio frequency on all frequencies.
Furthermore, will OZ0RF like to transmit using one sequence during the day, and only transmit on the bands above 7 MHz, and another sequence during the night where frequencies above 21 MHz are not used.
Below are the necessary commands. Please remember that you can enter commands into a .txt file, and send them from the RFzero Manager or manually copy-and-paste them into a terminal program.
To change the call sign enter
wr bcn oz0rf
To change the locator enter
wr loc jo65fr
To fill the transmitter data array for the frequency below 2 MHz, use filter 1 and antenna 1
wr data 2 1838167 21 40
To fill the transmitter data array for the frequencies above 2 MHz and below 6 MHz, use filter 2 and antenna 1
wr data 3 3570167 22 40
wr data 4 5288767 22 40
To fill the transmitter data array for the frequencies above 6 MHz and below 11 MHz, use filter 3 and antenna 1
wr data 5 7040167 24 40
wr data 6 10140267 24 40
To fill the transmitter data array for the frequencies above 11 MHz and below 22 MHz, use filter 4 and antenna 2
wr data 7 14097167 48 40
wr data 8 18106167 48 40
wr data 9 21096167 48 40
To fill the transmitter data array for the frequencies above 22 MHz and below 32 MHz, use filter 5 and antenna 2
wr data 10 24926167 50 40
wr data 11 28126167 50 37
To set up the way the control bits are used for both filters and antennas seven bits must be used
wr control 7
To set a 30 minutes cycle duration
wr cycle 30
To set up the day time sequence
wr seq 0 6 7 s 8 9 s 6 7 s 8 9 s 10 11 s
more pauses, transmissions or a different order could be used.
To set up the night time sequence
wr seq 1 2 3 4 5 s 6 7 s s 8 8 8 s s s
more pauses, transmissions or a different order could be used.
To enable day-and-night sequence
wr tx 4