Menu

Tree [0da7c7] master /
 History

HTTPS access


File Date Author Commit
 Arduino-8-Relay.jpg 2020-11-06 Stephen Ireland Stephen Ireland [b017c4] Add Arduino Fritzing Model
 Base 70cm.cal 2021-11-05 hamlibdk hamlibdk [0da8ad] Minor Maintenance - Fix Apple Specifics
 MFJ-993B-Web-Remote.ino 2021-11-06 hamlibdk hamlibdk [0da7c7] To Release v3.2 - Better Documentation and gene...
 MFJ-993B-Web-Remote.ino.mega.hex 2021-11-06 hamlibdk hamlibdk [0da7c7] To Release v3.2 - Better Documentation and gene...
 MFJ-993B-Web-Remote.ino.with_bootloader.mega.hex 2021-11-06 hamlibdk hamlibdk [0da7c7] To Release v3.2 - Better Documentation and gene...
 MFJ-993b-Web-Remote.fzz 2020-11-06 Stephen Ireland Stephen Ireland [5b47a5] Add Fritzing Diagram
 MFJ-993b-Web-Remote.jpg 2021-11-05 hamlibdk hamlibdk [0da8ad] Minor Maintenance - Fix Apple Specifics
 README.md 2021-11-06 hamlibdk hamlibdk [0da7c7] To Release v3.2 - Better Documentation and gene...

Read Me

MFJ-993b-Web-Remote

This project details basic code to web control a MFJ-993b (any of the MFJ-99x line) Auto Tuner.

Requirements

Setup

Set The IP Address

For Static IP addresses:

...
// Ethernet and IP settings

// #define _DHCP                           // Define for DHCP IP - Comment for Static IP
// Note that these still need to be left defined if _DHCP is enabled for initialisation
#define IPADD { 192, 168, 1, 177 }       // IP Address
#define GWADD { 192, 168, 1, 255 }       // Gateway
#define SUBADD { 255, 255, 255, 0 };     // Subnet
#define MACADD { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };    // Specified MAC Address
#define WEBSERVERPORT 80
...

For DHCP :

...
// Ethernet and IP settings 

#define _DHCP                           // Define for DHCP IP - Comment for Static IP
// Note that these still need to be left defined if _DHCP is enabled for initialisation
#define IPADD { 192, 168, 1, 177 }       // IP Address
#define GWADD { 192, 168, 1, 255 }       // Gateway
#define SUBADD { 255, 255, 255, 0 };     // Subnet
#define MACADD { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };    // Specified MAC Address
#define WEBSERVERPORT 80
...

Compile and Upload

  • Compile and upload to your Arduino 2560

General Notes

Be aware that this application uses NEGATIVE LOGIC to mimic that of what is necessary for the MFJ-993RC to work !

i.e. Relay 8 - Is ENERGISED when the button is OFF

This provides added proctection for your radio should this application fail in any way (i.e. the tuner's power is on if power fails).

Operation

For this to work:

  • Tuner ANT button must be IN (i.e. Ant 2 Selected)
  • Tuner AUTO button must be IN (i.e. Manual Selected)

The default setting is for IP address 192.168.1.177/24 at MAC: 0xDE:AD:BE:EF:FE:ED .

Connecting to Tuner

Relay # Arduino IO Function
1 3 Antenna 1/2
2 5 C Up
3 6 C Down
4 7 L Up
5 8 L Down
6 9 Auto On/Off
7 14 Tune Short/Long
8 15 Power On/Off

Refer to the MFJ-993b Schematic and MFJ-993RC Manual on how to connect relays to the MFJ-993B.

Issues

There are also reports (that authors cannot replicate) that the generated HTML/CSS script will not load in web browser. If this happens then try removing all the following lines from the Arduino sketch:

client.println("");

References

Disclaimer

All rights and credits here go to the Amateur Radio focussed contributors.

This is not of merchantable quality; licenses of many tools preclude commercial
use and insist on code released open-source. There is no warranty nor claims
possible - nor will be accepted - against any contributor.

Use of this resource is at your own risk.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.