K7MDL2 / RF-Power-Meter-V1

RF wattmeter and Band Decoder on Arduino or PSoC5 modules with Python desktop monitoring and control app. Remote operation via USB Serial or Ethernet (new).
MIT License
27 stars 1 forks source link

Add OTRSP Protocol support for N1MM Antenna Switch Integration and Band decode output #8

Closed K7MDL2 closed 4 years ago

K7MDL2 commented 4 years ago

Allows N1MM+ logger to control radio and transverter and antenna selection by interpreting the OTRSP serial port messages from N1MM (configure->antennas tab) and converting to GPIO pin outputs. Also handle PTT routing with Key in port and several PTT outputs. Use SPI or I2C IO drivers for higher voltage and higher current handling.

K7MDL2 commented 4 years ago

N1MM can output a value 0-15 based on antenna rules. It is sent via serial port using the OTRSP protocol. This change uses UART2 to receive and parse the message and output the the number as BCD on 4 pins of Port 0. Easily changed to parallel ports if needed. There is Radio number in the message (as 1 or 2), this code is only acting on Radio 1. A second Port could easily be enabled for Radio 2.