Skip to content

Yaesu radio TX/RX timer in a OLED display controlled by an Arduino

License

Notifications You must be signed in to change notification settings

rfrht/Yaesu-OLED-TX-Timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Amateur Radio OLED TX and RX Timer

An TX/RX timer in a OLED display controlled by an Arduino

Compatible with Yaesu, Icom, Kenwood and other brands

Video demo

What?

This is a under $10 OLED on-air (TX) timer and RX (AF out), counting for how long you are transmitting, squelched or receiving a signal. It is compatible with every recent (in ham radio lingo, recent mean 20 last years) HF transceiver. It also prints for how long is your equipment turned on (uptime) in HH:MM format when not in transmit mode.

Audio squelched Playing audio (AF out)
Timer - Squelched mode Timer - AF receive mode
Transmit mode Transmit mode - exceeded TX time threshold
Transmit mode Timer - Transmit mode - exceeded time threshold
Audio squelched + Temperature Monitor Playing audio (AF out) + Temperature Monitor
Timer - Squelched mode plus Temperature monitor Timer - AF receive mode plus Temperature monitor

How?

It is controlled by the transceiver's Linear signaling port for the TX state, and the Squelch pin present in some radios to detect the RX AF out or squelched state.

When the radio enters transmit mode, the TX GND signal will bring the Arduino's GPIO line down to GND level, triggering the clock.

When the radio is receiving a signal (open squelch), the SQL line goes high to +5V and triggers the RX timer at the top right corner.

With no transmit and RX squelched, a squelch counter starts starts at the bottom left of the screen.

There's also a configuration that turns the screen dark in squelch mode and a small dot blinks at the right bottom corner of the display, as a watchdog.

A splashscreen is shown with your callsign (or your favourite text) on power-up.

FT-991A and TX Timer

The OLED timer - 6 seconds of TX time in a FT-991A

Why?

As a ragchewer, I miss a TX timer. I'm not talking about a TOT; but just to know how long have I been transmitting. And I'm now amused gauging how long are the 40m QSOs, heh.

Since Yaesu won't be providing me this anytime soon in their firmwares, I decided to give use to a Arduino sleeping in the drawer.

What do I need?

How do I?

This is dead simple and any Arduino-compatible board should be up to the task - If you are using other Arduino variants, just remember to fix the pin numbers in the source code.

Below is a simplified schematic of the entire enterprise. Notice the resistors between GPIOs 2 & 13 and GND & 4. This is important.

Yaesu Transceivers

In the TUN/LIN port use the TX GND pin for the TX and DATA/RTTY port SQL pin for RX. In older Yaesu radios look for the BAND DATA, LINEAR, ACC, DATA, RTTY/PKT ports and check for the TX GND and SQL outputs and respective pinouts.

Yaesu Arduino OLED timer Connection Diagram

Yaesu equipment Connection diagram - click to enlarge

NOTE: I found that my FT-710 pinout of TUN/LIN port is different!!! Double-check your transceiver's pinout.

Icom Transceivers

If your radio has the ACC or ACC1 socket, Use the SEND port for the TX signaling - Connect it to GPIO 1, and SQL S for RX signaling: Connect it to GPIO 4.

If your radio only has ACC2 ports, tap only the SEND signal.

Icom Arduino OLED timer Connection Diagram

Icom equipment Connection diagram - click to enlarge

Kenwood Transceivers

Kenwood equipments does not provide a 13.8V port for powering the board - Tap it from your radio's power supply. Do not use an external wall wart for it; will add noise and ground loop funny business. No.

In ACC2 port, use the PSQ line and connect it to GPIO 4, since this is the Squelch signal. From the REMOTE port, use the LKY pin and connect it to GPIO 1 - this is the TX line.

Kenwood Arduino OLED timer Connection Diagram

Kenwood equipment Connection diagram - click to enlarge

Others...

  • Remember to put the arduino board in the same ground reference. Preferentially, use the radio's 13.8V output if available. Otherwise, tap from the power supply. Do not use an external power supply - Will surely just add noise to your radio and you don't want that.

  • For the TX timer, look for your Linear connection - there's a standard that the transceiver drive a pin to ground during TX. Tap this pin to GPIO 1.

  • Now for the RX, look for the squelch pin - not every radio provides it. Be sure to check the level as well; some signals the squelch open in a +5V (Yaesu), others (Kenwood and Icom) signals squelch open as GND level. DOUBLE CHECK THE VOLTAGE LEVEL - Your arduino will release the magic smoke if you drive more than 5 volt in the GPIO line!

Bonus points: A temperature sensor.

The code provides support to the LM35 temperature sensor. In my usage, I have it attached to my transceiver chassis to monitor its temperature. Wiring it is super simple:

LM-35 Arduino Wiring Diagram

That's it. Just wiring the leads straight to the Arduino connector.

In order to sense target temperature in a bit longer distance, consider using headphone cable: Wire the copper mesh to ground, the red wire to +5V and the sensor output to the white wire. Wrap everything with thermal retractible isolator. Mine is one foot long and I have no problems with RF. See the below image:

LM-35 wired in headphone cable

Configurable stuff

There are a few configurable stuff in source code. Namely:

  • The GPIO lines:
    • TX_GND - INPUT - The GPIO port receiving the radio's TX_GND
    • PULLUP - OUTPUT - The GPIO port that will provide the +5V pull-up to TX_GND
    • RX_ON - INPUT - The GPIO port receiving the radio's SQL signal. Can be commented out to disable the RX counter.
  • The threshold timer (TIME_ALERT), can be commented out to disable
  • The callsign/text to be shown at power on (CALLSIGN), can be commented out to disable
  • The temperature monitor is enabled by default. If you are not going to use it, ensure to comment out the line #define TEMP_SENS

Whistles and bells

  • It features a splash screen on power-on;
  • Features a RX timer (smaller font size, in hh:mm:ss format). Only counts when squelch is open.
  • The current system uptime is also printed during RX/Squelch time, at the top right of the screen (can be disabled)
  • It also counts the squelched time (can be disabled).
  • You can also configure a alert threshold - when your TX exceeds this transmission time, the display inverts color schema for extra warning.

Any gotchas?

Just don't forget the pull-up and pull-down resistors!!!

But you use the 13.8V output of the radio to power the arduino?

Yup. This line is rated 1.5A and is more than enough to power your Arduino. The Arduino Uno voltage regulator takes up to 15V. Use a choked cable, just in case, for bonus points. If using other Arduino variants, check the voltage regulator if can it take 13.8V.

About

Yaesu radio TX/RX timer in a OLED display controlled by an Arduino

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages