First steps on 3cm band

Posted in VHF on 16 September 2016 by iw0ffk

Two years ago in 2014 I bought from an Israeli surplus store an Eyal-Gal unit, model 6075 with range 10.0 – 10.85 GHz. This module has a LNA and a mixer for the RX path and an amplifier with huge gain and discrete power for the TX. It needs few other parts to become a complete transverter: local oscillator, mixer, bp filter and two relays for the TX/RX changeover. For the local oscillator I used a 100 MHz OCXO with a crystal at 99.36 MHz, manufactured by Eisch-Kafka Electronics, as a reference for a PLL-DRO to obtain 9936 MHz. This permits to convert 10368 MHz to 432 MHz and use the FT817 as IF.

Here the module tested in RX and TX in the LTG lab:


Finally this summer I had the time to install the dish on the roof, an old tv-sat 85cm dish and a feedhorn.

I still need some parts to complete the TX section, but at least I can receive and testing the band.

For now I received 4 beacons directly IQ0RM/B JN61fw, IW0REF/B JN62hj, IQ0AH/B JN40qw, IT9CIT/B JM67lx and IQ5FI/B in rain scatter.

Kenwood TS-590 official ALC mod

Posted in Electronics with tags on 12 September 2016 by iw0ffk


Thanks to the yahoogroup of this transceiver, finally is available the mod to eliminate the dangerous power spike generated at the start of every transmission. The power spike can reach two times the power selected for few milliseconds, in the best-case this can trigger the input protections of several linear amplifiers.

Kenwood performs the mod for free also on the units out of warranty, but here in Italy the official Kenwood lab has asked me the purchase bill. I don’t have that bill because my rig was bought used from another OM and it already was out of warranty.

Here the doc: ts590-alc-fix

Picture from DK5TX website



Sporadic-E summer 2016

Posted in VHF on 17 July 2016 by iw0ffk


Till now this summer is a bit short of multi-hop openings on 6m for my location especially toward USA and Caribbean area. Fortunately there was a good opening to Asia during the CQ WW VHF contest. The Thai hams are allowed to transmit on 50 MHz only during this contest, 16 and 17 July, so working the Thailand was a good shot.

Remarkable 50 MHz QSOs:

E2X in OK06 DXCC #196

HS0AC in OK04
E21EIC in OK03
E20QVD in NK99

DU7/PA0HIP in PK10

Worked also a new country distant only 1000 km to my station, so I had to wait a short ES skip:
5A1AL in JM62 DXCC #195

I was not much active on 144 MHz this year, but thanks to the great Android application ESsense  by PE1NWL linked to the DXrobot, I was warned promptly for the funny 18 June ES opening.

I had QSO with about 25 Ukrainian OMs on SSB and CW but the nice part was when the few kHz around 144.300 became crowded by neighbors callers so moved to 145.550 on FM mode and worked a good number of OMs transmitting with a vertical antennas and mobile transceivers.

Another USB controlled 230V socket

Posted in Electronics on 16 May 2016 by iw0ffk

The easiest way to switch on-off a 230V socket using an USB port is to buy an already made device, but if one has some hardware in the drawer and some spare time in a rainy Sunday, he can try to build it by himself.

The scope of this job is remotely switch on and off some instrument in the hamradio shack when I’m away, using the USB port of  an always-powered pc server.

Disclaimer: be careful, here we play with the main voltage. Proceed at your own risk and try to don’t kill anyone or burn something.

I used an USB-TTL adapter with the PL2303 chip, 0.65 euro included shipping on a web store (how they can do that?).


The pins on the right side are +3.3V, +5V,  TXData,  RXData, Ground.
TXData and RXData are useless for this project, but their tracks on the PCB can be used to route different signals, on their path there are also two surface mounted bonus leds to monitor the status of the lines.
A little mod is needed. By using a magnifying glass and a cutter, the TXD and RXD pins have to be cut on the PL2303 chip. I have cut them from the top, keeping the blade close to the body of the chip then, with the soldering iron, it’s easy to remove the pins from the pads and connect 1-2 and 3-5.


After this mod, on the output plug  with the labels “TXD” and “RXD”, there will be two RS232 control signals, DTR and RTS, that can be raised/lowered at will.

This project uses only the RTS signal.

A mosfet (BSS138) is used to drive an opto-isolator to energize the 24V coil of a 2×8 amps relay.
The 24V are obtained directly from the mains, well I don’t like it so much, but this voltage is needed only for the relay’s coil, it isn’t worth a transformer, anyway in the little junction box there was not room for anything else…
This circuit is *LIVE*, no one  must be able to touch it when powered, it has to be placed in a plastic box or carefully isolated.Danger-Live-Electrical-equischematic_powusb

Most of the parts (capacitors, zener, resistors etc.) have been recycled from an old steam iron control board.

When connected to my Linux server, the PL2303 adapter is mapped as /dev/ttyUSBx, where x is a number depending the inserting order in the USB hub. I have a number of PL2303 connected to the pc, so it’s  highly recommended to create a static link to the port, whatever be the first PL2303 connected. The file /etc/udev/rules.d/serusb.rules has to be edited/created to contain a string like:

SUBSYSTEMS==”usb”, KERNEL==”ttyUSB*”, KERNELS==”1-2.1″, SYMLINK+=”ttyPOW”

This maps the port always to /dev/ttyPOW .
The number 1-2.1 is the position of the serial adapter on the USB hub. These RS232 converters have all the same serial number, so the only way to identify them is to insert always in the same USB port, easy. The hub position of /dev/ttyUSB0 can be obtained with the command:

udevadm info –attribute-walk –path=/sys/bus/usb-serial/devices/ttyUSB0

To move  DTS and RTS, for now, I use a minimal Python script created to test the signals, I think I will insert it as a cgi in the local webserver to permit any browser  to power on the instruments.
Here the script: dtrrts



KKMoon P2P PTZ cam tips

Posted in Electronics on 15 May 2016 by iw0ffk


A new pan & tilt camera installed on the rooftop to monitor the antennas, it’s a chinese 720p “KKMoon P2P Cam”, hardware version = JH41E-V1.0, firmware version build 2015.06.09 02:51.
I bought it on Ebay and received a partial refund due the several bugs in the firmware which make the object to be used with caution and a number of declared functions does not work at all:

  • Sending email notification when a motion is detected does not work, at least with my SMTP servers.
  • FTP upload of the images does not work. I’ve tried with my local working server, no success.
  • There is not a plugin for Firefox or Chrome, the only browser capable to view the h264 streaming video is MS Internet Explorer with a proprietary plugin. The stream can be reproduced also by VLC but without the pan and tilt controls.
  • There is a security issue, the rtsp stream can be opened without inserting any password even if the password is correctly set.

On the other hand the Android app works quite well and the image have a good quality.
Googling around I’ve found few results about this cam, this one is the most interesting.

Summing up, to view the stream with VLC (without password) the address to open is


To catch a snapshot the http address is


Unfortunately the snapshot image has a very low resolution 320×240.
I like to save an image every some minutes to create a time-lapse video, this resolution is unacceptable, but there is a workaround to obtain snapshots with good quality. This command get some seconds of video then save an image with native resolution 1280×720

cvlc rtsp://user:pass@IPAddress/camera-media/profile0 –video-filter=scene –scene-prefix=$prefix –scene-format=jpg –scene-path=./ –scene-ratio 240 –sout-x264-lookahead=10 –sout-x264-tune=stillimage –vout=dummy –run-time 15 vlc://quit

To rotate the camera the sniffed commands are

Move to the preset x:
where x = 1 to 16, preset number

Move UP:
Move DOWN:
Move LEFT:
Stop Movement:

I prepared a simple Python script to be executed in a terminal ->

$ ptz 3 moves the cam to the preset number 3
$ ptz r 2 moves the cam to the right for 2 seconds



Playing with ESP8266

Posted in Electronics on 1 May 2016 by iw0ffk

I am always been interested in efficient ways to remote control via internet my hamradio station, mainly due to the fact that I’m away from the shack most of the time.
I use my fully controlled remote station since 2006, my first QSO from the workplace was YL2HA in 144MHz during a good E-sporadic opening on 13/06/2006. Over the years several improvements have been added to reduce the bandwidth, the delay of the link and, in the latest years, to be QRV and work some basic QSOs by using the smartphone.

Some months ago I heard about a wifi module that can be controlled via AT commands (like the old modems) and I immediately bought one for few euros. The plan was to give a TCP way to communicate with the world to all the microcontrollers without the need to fill them with the TCP-IP stack.


When I received the module, based on the ESP8266 v12E, I discovered that it can be flashed  with a different firmware that permits to use the onboard microcontroller to control some input/output ports and a 10bit ADC. So there is no need to add another microcontroller to send the AT commands.

The new firmware is called Nodemcu and, when flashed, removes the AT commands  and adds a Lua interpreter. Lua is a programming language used for generic scripting.
I wrote a simple script to connect my access-point and start a basic web-server to control the status of an output pin, this pin drives a relay that switches on-off a 220V socket.
When connected to the access point, a led blinks in Morse code the last number of the ip address, to easily identify the module in a DHCP network.

This “Wifi controlled 220V socket” was built in few hours, I will use it to switch on the power amplifier when needed (instead to leave it always powered on).

I think the ESP8266 can have in the future many interesting applications to the our hobby.
I already have some ideas about it and I ordered a good number of these modules :-)

Repairing the Kenwood TS-590 USB port after a surge

Posted in Electronics with tags , , , on 27 April 2016 by iw0ffk

Some years ago a lightning surge entered from the antenna’s rotator to the control box then to the personal computer’s usb hub and has broken all the peripherals connected: keyboard, mouse, webcam, all the usb ports of the PC and the port of the Kenwood TS-590 :-|

Fortunately (…) the transceiver was still usable because the USB features are redundant:  it’s possible to use the analog audio in/out on the ACC connector and the DB9 RS232 port to control the rig.

After a quick check the result was the fuse F901 blown, the USB Hub IC905 shorted to GND and the zener protection D901 destroyed. I’ve closed the transceiver and used it without USB for several months.


Now I’m improving my home station for remote use and I want to substitute the TS-2000 with the TS-590 expecially for 6m band, it has a noise filter much more efficient respect to the TS-2000 and the city noise here is growing up quickly!

So I’ve bought the replacement parts to restore the original functionality.
The work isn’t easy! The USB hub has 36pins in a footprint 4 x 7mm and it has around a good number of very tiny resistors capacitors etc.
To remove the component I used an hot air station by AOUYE and a preheater of the same producer, they are not professional tools, but can do the job.

After replacing the IC and the fuse I powered up the transceiver, connected the USB port but no new peripherals have been detected by the OS :-(

Further analysis showed that there was still a problem on the supply, result is two other tiny ICs to replace: the power switch Q902 just after the fuse and the AND port IC904. With a wire jumper both the switches are now bypassed and the peripherals (hub+codec+232 converter) finally appear in my USB list :-)


Now I’m looking for these parts to complete the work:
Q902 – HN7G01FU-F (Mouser code 757-HN7G01FU-AT5L,FT )
IC904 – TC7SH08FU-F (RS code 540-6863)

If anyone has the same problem with the TS590’s USB port, I will be happy to exchange the USB2512 and the protection zener RSB12JS2 with these components…I have them abundantly…RS sells minimum 5 parts and now I have 4 unused.