Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
Need the latest SmartSDR, Power Genius, Tuner Genius and Antenna Genius Software?
SmartSDR v3.8.19 and the SmartSDR v3.8.19 Release Notes | SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.8.8 and the Power Genius XL Release Notes v3.8.8
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
SmartSDR v3.8.19 and the SmartSDR v3.8.19 Release Notes | SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.8.8 and the Power Genius XL Release Notes v3.8.8
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
USB cable from the 6700 directly to a USB port on the Raspberry PI 3
Mark - NU6X
Member
USB to USB port on a Raspberry PI 3
2
Answers
-
Is there a question lurking in there somewhere?0
-
I haven't posted in a long time.... it posted before I finished typing the question.
I will try this again....I want to connect the USB port on the 6700 rear panel directly to a Raspberry PI 3 USB port that is the controller of a linear. The Raspberry PI is programmed for the standard Kenwood and Flex commands. I have read the USB manual and other post and all I see is FTDI to serial or Parallel. This is USB to USB connection. Does it require a special cable?0 -
As far as I know from Alpha you must use an FTDI approved chipset device. I see where your going here, I think your gonna need a couple of serial interfaces, one for the flex and one for the Pi... then interpret the data coming into the Pi via serial... I think...
0 -
I suspect that the Pi could be programmed to act like a FTDI device and programmed to act like one of the devices that the Flex USB interface supports and then to take that data and control the amp, but I doubt that it would work as-is. A second possibility would be to have the Pi connected to the Ethernet network and to use the Flex network protocol to talk to the Flex and whatever interface to talk to the amp. Again this would require custom programming of the Pi.0
-
Mark, but maybe we can found a solution that Flex and PA can communicate via LAN. Then no need for a USB connection.
And still open question is: need a good Amp a interface connection to TRX - if PA always check the frequency , switch automatically Band and Auto Tune do his work alone ....0 -
I think that the new Flex Power Genius Amp monitors the Flex via LAN and adjusts the amp accordingly. For amps without a LAN interface, it should be possible to develop a program that runs on a small computer, such as the Raspberry Pi that monitors the Flex via LAN and controls the amp via whatever interface/prootocol the amp supports. Last year, I bought a Rasberry Pi with the intent of doing that for my SPE Amp, but before I got around to it, Flex added USB support for that amp.0
-
.... mark please buy onother Raspi now - maybe it push FRS again for new things :-)0
-
It's trivial to connect the radio via Ethernet on a pi using python.
VITA-49 Discovery using udp packets could be dumped into a python dict, struct or other object.
Slice frequency data can be read using tcp streams from the radio.
Put that in a loop and spit out to your B26-PA control app. You can even do T/R switching if you like.
Presto.
No need to wait on flex.0 -
Back of the napkin function for discovery (haven't tested this but it should work)
#!/bin/python
import select, socket
def discoverRadios():
"discovery"
port = 4992 # Flex VITA-49 port
bufferSize = 1024
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.bind(('', port))
s.setblocking(0)
result = select.select([s],[],[])
msg = result[0][0].recv(bufferSize)
radio = dict(s.split('=',1) for s in msg.split(" "))
return radio
How you call it:
while radio is None :
radio = discoverRadios();
radio will be a dict object, for example if you want the radio's IP it will be:
print radio ['ip']
Similarly you can use tcp streams to get the per slice frequency.
Ria Edit: oops, looks like GS destroyed my indentation. Oh well, if you know python you can figure it out0
Leave a Comment
Categories
- All Categories
- 289 Community Topics
- 2.1K New Ideas
- 530 The Flea Market
- 7.5K Software
- 6K SmartSDR for Windows
- 146 SmartSDR for Maestro and M models
- 359 SmartSDR for Mac
- 249 SmartSDR for iOS
- 230 SmartSDR CAT
- 172 DAX
- 352 SmartSDR API
- 8.7K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 20 FLEX-8000 Signature Series
- 841 Maestro
- 43 FlexControl
- 847 FLEX Series (Legacy) Radios
- 793 Genius Products
- 415 Power Genius XL Amplifier
- 277 Tuner Genius XL
- 101 Antenna Genius
- 243 Shack Infrastructure
- 166 Networking
- 404 Remote Operation (SmartLink)
- 130 Contesting
- 630 Peripherals & Station Integration
- 125 Amateur Radio Interests
- 869 Third-Party Software