Connect Raspberry Pi to Flex 6K

  • 1
  • Question
  • Updated 4 months ago
I'm looking for some example code to connect a RPi 3B+ to my 6700 using either FlexLib or the Ethernet API. For the time being I want to use the RPi programming environment for generating the code (IDLE/NANO). Ultimately, I want to be able to read/set freq, mode, filter, etc.
Photo of Steve - K5FR

Steve - K5FR

  • 65 Posts
  • 9 Reply Likes

Posted 4 months ago

  • 1
Photo of AE0MW

AE0MW

  • 103 Posts
  • 27 Reply Likes
I started on a project like this a year or so ago, but it got pushed by the wayside. There's no FlexLib but the Ethernet API worked quite well.

My suggestion would be to skip discovery packets and hard code your IP to get things going quickly (I remember discovery frustrating me).
Photo of Steve - K5FR

Steve - K5FR

  • 65 Posts
  • 9 Reply Likes
Thanks for the reply. I want to do the discovery just for the challenge as this whole project is for learning/playing, not trying to accomplish anything in particular (yet).
Photo of Mark WS7M

Mark WS7M

  • 402 Posts
  • 113 Reply Likes
Steve,

You did not mention what OS you plan to run on your Pi?   I have several Pi doing various things.  All run the Raspian Linux.   

I have another Linux box that I am currently writing a flex connect system using standard ol C and C++.

I have a friend Linux pro who bought my flex 6500.  He will be writing some python stuff.

I do have some C stuff given to me by another ham that I have not extracted the pieces from but it was designed to read flex frequency an control some antennas and tuners.  I could probably get a zip of that to you.  Again it is destined for C and Linux
Photo of Steve - K5FR

Steve - K5FR

  • 65 Posts
  • 9 Reply Likes
Using Raspian with the Pixel desktop. I would also be interested in any sample code.
Photo of AE0MW

AE0MW

  • 103 Posts
  • 27 Reply Likes
Mark, I'd be very interested in that last part. What I did was just some perl scripts but it would be nice to get back into good ole C.
Photo of Mark WS7M

Mark WS7M

  • 402 Posts
  • 113 Reply Likes
Ok let me package it up and I'll get it put somewhere and post a download link
Photo of Wayne

Wayne

  • 614 Posts
  • 84 Reply Likes
Mark, Id be interested also I have an unused Pi3 sitting in the drawer just waiting to do something ....