Wiki usb ptt artduino nano every - w8be/usb-ptt-arduino-nano-every GitHub Wiki

The usb-ptt-arduino-every sketch is configured to work with Flex Radio Systems SmartCAT application. It was initially developed by VE2OLM as an idea to have a ptt switch embedded in a foot switch that could be used to trigger MOX on SmartSDR.

I have modified the sketch to use an ISR to detect 'high' or 'low' state of the PTT switch.

A 1K Ohm resistor is used as a pullup resistor from the 3.3v pin to the D2 pin. This pin will connect to the normally open switch on your switch. Wire the ground pin on the Nano to the ground or common terminal on your switch

Compile the sketch and load into the Nano. Note the comm port. This will be the port your Nano communicates to the pc with.

Create a new CAT port on SmartCAT. Use the same port you used to load the sketch with.

Use the log function on SmartCAT comm port to see radio / foot switch communication.

See ReadMe for more information