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.20 and the SmartSDR v3.8.20 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
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.20 and the SmartSDR v3.8.20 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
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 PTT foot-switch
Marc Lalonde
Member ✭✭
that something i have in my brain for some time to build a USB PTT foot-switch
i operate remote and already have USB studio mike and not like to rely on third party application
only for handle my "CTS" serial port foot-switch
so i take Arduino nano and fit it inside on treadlite II switch
that beta code
//on next version will add a time-out timer by polling ZZTX; status and force RX if TX stay on for //longer that 180 second (JT-65 and meteor-scatter friendly)
#include <Bounce2.h>
#define PTT 2
int PTT_State = 0;
Bounce debouncer = Bounce();
void setup() {
// put your setup code here, to run once:
Serial.begin(57600);
pinMode(PTT, INPUT_PULLUP);
debouncer.attach(PTT);
debouncer.interval(5); // interval in ms
}
void loop() {
// put your main code here, to run repeatedly:
debouncer.update();
if (debouncer.read() != PTT_State){
if (digitalRead(PTT) == LOW) {
Serial.println("ZZTX1;");
PTT_State = 0;
delay(100); }
else {
Serial.println("ZZTX0;");
PTT_State = 1;
delay(100);
Serial.println("ZZTX0;"); } // just in case radio missing it
}
}
Next on my todo list was Native USB radioSport RS60CF headset
by put mini external USB sound card inside the headset shell
so keep analog audio line as short as possible ;-)
73! Marc VE2OLM
i operate remote and already have USB studio mike and not like to rely on third party application
only for handle my "CTS" serial port foot-switch
so i take Arduino nano and fit it inside on treadlite II switch
that beta code
//on next version will add a time-out timer by polling ZZTX; status and force RX if TX stay on for //longer that 180 second (JT-65 and meteor-scatter friendly)
#include <Bounce2.h>
#define PTT 2
int PTT_State = 0;
Bounce debouncer = Bounce();
void setup() {
// put your setup code here, to run once:
Serial.begin(57600);
pinMode(PTT, INPUT_PULLUP);
debouncer.attach(PTT);
debouncer.interval(5); // interval in ms
}
void loop() {
// put your main code here, to run repeatedly:
debouncer.update();
if (debouncer.read() != PTT_State){
if (digitalRead(PTT) == LOW) {
Serial.println("ZZTX1;");
PTT_State = 0;
delay(100); }
else {
Serial.println("ZZTX0;");
PTT_State = 1;
delay(100);
Serial.println("ZZTX0;"); } // just in case radio missing it
}
}
Next on my todo list was Native USB radioSport RS60CF headset
by put mini external USB sound card inside the headset shell
so keep analog audio line as short as possible ;-)
73! Marc VE2OLM
5
Comments
-
Very cool! Thanks for sharing!0
-
I did something similar a while back but I used a serial port instead of USB. You might find this: https://community.flexradio.com/flexradio/topics/push-to-vox-version-1-0-0-is-now-available interesting. With it you can can toggle either VOX or MOX.0
-
Nice work Marc! I too have been integrating the Arduino with my 6500. I use the Arduino to debounce my old Vibroplex keyers and massage the dit/dash timing, and use the new USB support to decode frequency and control bandswitching, antenna switching, SteppIR configuration, and utilize i2C bus devices to perform just about anything I desire (e.g. analog voltages for old Icom antenna tuners). Great fun ...
W7NGA dan
Seaside, Oregon0 -
Nice work Marc, this is a good idea.. let me know if you ever come down to Amos so we can meet somewere0
-
Serial.println("ZZTX1;");
I can find no reference that states the TX command is supported.
Does this actually work on a Flex Signature radio?
W7NGA dan
Seaside, Oregon0 -
HI that native cat command for SmartSDR ,at least it work on my 6700 whit last software
page 32 of SmartSDR-CAT-User-Guide.pdf
but may use kenwood ts-2000 if what to
73 Marc l. VE2OLM0 -
hmmm ... I can't find a SmartSDR CAT User-Guide
I am using the new USB cable interface and this command doesn't appear to be supported.
I think that is the issue ... it supports a very limited subset of CAT commands.
0 -
Outstanding. I am going to try it.0
-
i take it here www.flexradio.com/downloads/smartsdr-cat-user-guide-pdf/
since it a FTDI chip i assume it may work directly on radio USB port
but for now i only try on my Desktop PC
for kenwood CAT emulation it TX; or RX;
that may tested on CAT log.. windows whit the test Button0 -
Thanks Marc.
0 -
HI bit of reading and "CAT" USB cable plug on radio not handle ZZTX; command or TX; RX;
but i also not a issue since it have PTT on accessory connector (DB15)
and on mic connector on front of radio
on my case i what to use laptop / Desktop and my radio was remote in cabinet in the basement
so have USB PTT take sense ;-) same whit USB headset0 -
ok got my RadioSport headset from Flex today
so i turn it into a USB headset for use on my remote radio
Think it the first USB RS-60
so i take a small external USB sound card on ebay and remove all connector
then solder head phone wire to it ,and use 4 pin of mini XLR for USB
noting to complex about 45 min of work , i lost the use of build PTT but who use it really ?
first test look really good , this week-end Winter-Field day will be the real test ;-)1 -
Just built one of the foot switches this week with a cheap Chinese nano-clone. Works great! Thanks for sharing the code.1
-
Building one of these now with a nano-clone off Amazon. I notice there is a 3v3 pullup resistor to D2 in the first photo, but the value is hidden. Is it even required, since the internal pullup resistor is already enabled?0
-
HI value is not critical 1K is good , internal pull-up is very weak so it like ti rely on external one
0 -
0
-
HI normally code work and have never change
but cannot test i since i no longer have flex ,sine none of the radio seem to work
on my un-heated remote site during cold Canadian whiner0 -
Thanks Marc...0
-
0
-
You can also do it without the Arduino. It is discussed here:
https://community.flexradio.com/flexradio/topics/remote-footswitch-how-to-lan-vpn-solution
Mike0 -
0
-
I wish there was CAT command to disable DAX.
ZZDX0;1 -
Ask and you shall receive. I did not see it in the manual . Thanks Tim.. Going to mod the code and give her a whirl...
0 -
0
-
0
-
You're very welcome. I am glad I was able to help out.0
-
0
-
0
-
So I tried it again and the errors came back. I have 2 options in my head now:
Throttle the usb port down to 9600 or add a delay after the daxoff cat command.
I tried both and they seem to work. I set the day to 15ms before sending the pttOn cat command.
Btw I am testing this on 2 different 6400's so I don't think the issue is related to radio hardware.
I will report back in a couple of days with more testing results.
Regards
0 -
Mike
If this isn't working, you can actually do the same thing by creating a SmartSDR CAT/PTT port that uses on RTS. You pair that with a local Com port on your PC and then use a foot switch to toggle RTS high and low. It is documented in the communtiy.
Don't get me wrong, I love the ingenuity of using the Nano to send a CAT command.
The baud rate should not matter as long as it matches, but I have found that keeping the baud rate in the 4800-9600 area is a bit more reliable and less impacted by any noise since you need less bandwidth.
The errors in the log do look like framing errors. Might it be RF related?
Mike
0
Leave a Comment
Categories
- All Categories
- 260 Community Topics
- 2.1K New Ideas
- 538 The Flea Market
- 7.6K Software
- 5.9K SmartSDR for Windows
- 139 SmartSDR for Maestro and M models
- 368 SmartSDR for Mac
- 251 SmartSDR for iOS
- 226 SmartSDR CAT
- 175 DAX
- 345 SmartSDR API
- 8.6K Radios and Accessories
- 6.9K FLEX-6000 Signature Series
- 45 FLEX-8000 Signature Series
- 803 Maestro
- 43 FlexControl
- 838 FLEX Series (Legacy) Radios
- 753 Genius Products
- 424 Power Genius XL Amplifier
- 280 Tuner Genius XL
- 89 Antenna Genius
- 227 Shack Infrastructure
- 168 Networking
- 410 Remote Operation (SmartLink)
- 119 Contesting
- 642 Peripherals & Station Integration
- 116 Amateur Radio Interests
- 879 Third-Party Software