ATU-100 antenna tuner configuration
29 Nov 2023The N7DDC’s ATU-100 automatic antenna tuner is a great piece of hardware for any radio ham trying to adjust their SWR while transmitting. The ATU-100 is an inexpensive hardware unit and can be configured by writing the PIC16F1938’s EEPROM.
Why
My father has been using the ATU-100 on his projects for a while, but he complained more than once about the automatic SWR adjustment activation threshold, he was looking for the automatic routine to run whenever the SWR reaches 1.1:1 or higher, while by default, the ATU-100 does that when the SWR passes the 1.3:1 barrier.
How
At first, I thought that the SWR threshold could be configurable through the already-installed buttons. Turns out that that wasn’t the way.
Instead, you need to rewrite the PIC16F1938’s EEPROM in a specific memory pointer to reconfigure the ATU-100. Interesting. Luckily the ATU-100 user’s manual covers the configuration in extent.
During programming of the microprocessor, in addition to writing directly to the control code (program), it is also proposed to record a small number of cells of the rewritable memory EEPROM. The information in these cells can be changed by the user before programming. During each start of the processor, its program first reads data from the cells of long-term memory in order to further use this information for work. Thus, the user can easily change many parameters of the device without understanding the much more complex software development processes.
The ATU-100 provides a programming header that in normal operation is intended to drive a 128x64 OLED screen.
Bill of materials
We need just two things: A Microchip’s PIC programmer and a computer with the programmer’s software.
By checking on my drawers I found a VERY VERY VERY old PicKit2 clone called “THOR Programmer”, which is fully compatible with the PicKit2 software for Windows. I just had to connect the ATU-100 header to the programmer’s header and the software recognized it in a blaze.
Replacing the bit
The user manual states:
04 — cell to set the threshold settings in automatic mode. It is recorded in the format: the first number is the SWR integer part, the second number is the tenths. The default value is 13. That is, when the automatic mode is activated, the tuning process will be triggered when the SWR is above 1.3 and when it changes to (1.3 — 1).
So we just need to change the default 13
value for 11
, to make the automatic routine trigger when SWR > 1.1
First, we need to read the compiled code from the microcontroller, then modify the value, and last, upload the code again. And that’s it!
Testing
The tests were done with the Kenwood TL-922, and the ATU-100 hooked at its RF input. Tests were completed with success!