The DIY controller and a question for designers

  • 9
  • Idea
  • Updated 2 years ago
  • (Edited)
Now that my controller is completed I am thinking about the best way to key the rig in remote mode.

Probably my idea is stupid, but I am wondering if the CWX APIs will provide, in the next future, two new commands like KEY_LEFT_UP/KEY_LEFT_DOWN and KEY_RIGHT_UP/KEY_RIGHT_DOW. In this way a client could use this two commands to key the Flex rig using either a straight key or a paddle connected in some way to a PC or tablet. I only have some doubts about possible delays but it could works.

In the meanwhile, if you are interested in a DIY project, here is a link where you can find all the building notes

Below are some pictures and a list of the functions I have already implemented.

The encoder functions I mostly prefer are:

E3-E4 filter bandwidth - they works toghether in HIGH/LOW - SHIFT/WIDTH mode. A long click on one of the two knobs can normalize (reset) the bandwidth to a default value (400 Hz for cw, 2700 fro SSB, etc.).

E7-E8 in display mode: they can set panadapter zoom and min/max magnitude. Much better then equivalent mouse functionality.

VFO in display mode: it set the panadapter center frequency but doesn't change the current VFO frequency. In this way you can go up and down the band without loosing the current qso frequency. I hope this function will be implemented in the new Maestro as I find it really helpful.

I used my it in the last WPX contest and in some DX contacts and, really, it changes the way you can interact with the rig.
Thank you Flex for giving us a great open Api system. 

73 'Enzo

Photo of IW7DMH, Enzo

IW7DMH, Enzo

  • 331 Posts
  • 81 Reply Likes

Posted 3 years ago

  • 9
Photo of James Whiteway

James Whiteway

  • 826 Posts
  • 173 Reply Likes
Enzo, it is very impressive the work you have done. Thank you for sharing with the community.
Photo of Lee - N2LEE

Lee - N2LEE

  • 268 Posts
  • 138 Reply Likes
Excellent Work !!!
Photo of Lyndy Brannen

Lyndy Brannen

  • 8 Posts
  • 2 Reply Likes
Thank you Enzo  
Gathering the parts  to build my own. 
You have answered so many questions in just a few pages.
Thank you for sharing your work. 
Photo of Kevin LaFata / K0KEV

Kevin LaFata / K0KEV

  • 39 Posts
  • 12 Reply Likes
Wow, that is VERY impressive. I love the look and design of the display too. And great job on finding the parts (like the encoder knob).  It's nice to know where to get one of those for projects like this!
Photo of IW7DMH, Enzo

IW7DMH, Enzo

  • 331 Posts
  • 81 Reply Likes
You'll find infos on each component I have used in the hardware page.
The main knob is a weighted aluminium one like this

73' Enzo
Photo of Barry N1EU

Barry N1EU

  • 495 Posts
  • 120 Reply Likes
Beautiful.  Somebody should make a kit out of this and sell it to the rest of us, perhaps also providing a way to customize which settings are accessible.

Barry N1EU
Photo of Steve - KD8QWT

Steve - KD8QWT

  • 74 Posts
  • 14 Reply Likes
Enzo, any chance that you would release the source code for the controller?  Maybe I missed it somewhere, but all I could find is the bin file.

Photo of IW7DMH, Enzo

IW7DMH, Enzo

  • 331 Posts
  • 81 Reply Likes
Hello Steve,

I'll release new updates of my libraries I refactored in the last weeks. Mostly after the WPX constest, when I tested on the field the controller.
With the new libraries you can attach an event handler for each property in the main objects (Radio, Transmit, Slices, etc.) and you'll find the whole method set I used to send commands to the rig.
You'll find also an array of "ready to use" meters (only 5 implemented) so you could display each value whithout having to deal with metering protocol. In my code it happens about 10 times per second.
Libraries are about 50% of the entire project and the remaining code is specific to graphic display and knobs event handlers. Really I am not very "proud" of it. Even if it works I am sure you'll find better code around the web.

I hope this can help you and other friends the would like to experiment with Flexrig and microcontrollers.

73' Enzo

Edit: Steve can you send me an email? I can't find your address anywhere.
        Thank you very much.
Photo of Eduardo Carvalho - KC8R

Eduardo Carvalho - KC8R

  • 70 Posts
  • 6 Reply Likes

Great design work here. Thank you so much for sharing it with the community. This is a great DYI project.

Has anybody else ordered the parts and have an approximate cost for the project?

Thank you,
Eduardo Carvalho, KC8R
Photo of IW7DMH, Enzo

IW7DMH, Enzo

  • 331 Posts
  • 81 Reply Likes
Really I don't know, as I am non involved in any commercial activity.
I don't sell anything and I am only interested in technology.
You have to look at the hardware page to have an idea of parts you need and find related costs on the web.

73' Enzo
Photo of IW7DMH, Enzo

IW7DMH, Enzo

  • 331 Posts
  • 81 Reply Likes

in the meanwhile, my tests go on and I would like to show you a (not full planned) feature offered by Windows 7 (and later os).
As you can see in the pictures below I created a bridged network between wired and wi-fi ethernet cards.

In this way the controller is connected to the pc via the ethernet cable and can connect the Flex 6300 through its wi-fi connection.

An additional bonus is offered by the USB port that can power the whole Arduino set. In this way you can have and hybrid, portable and no-compromise ham station.
Anyway I have to redesign the startup procedure, because, it seems that the controller can't get the IP address from the DHCP server when it uses a bridged connection. For the moment I solved this issue setting a fixed IP via software.
73' Enzo
Photo of IW7DMH, Enzo

IW7DMH, Enzo

  • 331 Posts
  • 81 Reply Likes
Another little addition.

Waiting for the official "remote cw" release I got from the junk an unused Arduino UNO board and an ethernet  Enc28j60 shield. I used both in my very first attempts to build my controller.
So I implemented a client/server cw key using some kind of UDP protocol.
Looking at the result I am still a bit astonished as now I have a real "take away" station and I am wondering if it could work over an Internet connection as well.

Anyway the key parts are:

- on remote side I used an optocoupler 4N35 to key, in a safe way, my 6300.

- on client side I used an hacked RS232 connector following the schema you can see below. I also wrote a simple piece of code that can monitor com port status and sends UDP packets over the network.

- on both sides I used the UDP protocol and I am wondering if it is reasonable. I run other tests using a tcp/ip connection but had no success, even in my small intranet. 

Here is video where you can see my semi-serious remote station at work.

73' Enzo

Photo of Aivars


  • 1 Post
  • 0 Reply Likes
 Hello Enzo! Very nice project. Is it going to work with PowerSDR soft? Any plans on bigger screen(7" TFT) or more powerfull board?

 73!                                                                                          Aivars.YL2GVC