TS-520S VFO using the Arduino Nano VFO board. Then a custom PCB.

VK3ZYZ

Moderator
Staff member
All my circuits and PCBs have a design error.
The line going to the port pin via the resistor divider should come from pin 8 of CN1, not the "transmit".
 
Last edited:

VK3ZYZ

Moderator
Staff member
While playing round with the code today, I found switching to the set's internal VFO, the count set the external VFO frequ, so that is now a feature selected by pushing the encoder button when in internal VFO mode. So the external VFO frequency can be set from the internal VFO if required. Also, the frequency for each band is now remembered.
Work on the code continues with more cleaning up to be done. Some functions do not update the display correctly as yet.
 
Last edited:

VK3ZYZ

Moderator
Staff member
As of 20240806, this is the board I think will be the production version.
There are some changes to port allocations and an extra input to sense all the modes.
1722942686613.png


1722942749670.png


When I hack an "old" version 2 board to be this one, and modify the code, I'll post the latest code version.
All going well, working boards and code will be available in time for the SADARC Ham Fest on Sept. 8th.
 

Attachments

VK3ZYZ

Moderator
Staff member
The version 3 board has been ordered. There is a mod to it (not shown above) that allows a second relay type to be used as the ones I have been using are a bit odd, some old stock I have.

EDIT: Sat. 20240810 The boards are on the way here :)
 
Last edited:

VK3ZYZ

Moderator
Staff member
Photo on 10-8-24 at 7.06 pm.jpg

Here is my attempt at making a 9 pin plug for the TS-520 external VFO.
No pins inserted as yet.
 

VK3ZYZ

Moderator
Staff member
I had a look at the FreqCount.h files to see if I could reset the count to zero after selecting the VFO or HET input but I cannot understand the code :(
Trying FreqCount.end(); then FreqCount.begin(); did not work for some reason, so I've been reading the count after switching and dropping that count to use the second read for an accurate count. All that delays a long time so that may be why the encoder is VERY slow.
 

VK3YNV

Administrator
Staff member
Had a quick look, where is the code for FreqCount.available, FreqCount.read I guess it's in a library somewhere?
 

VK3ZYZ

Moderator
Staff member
EDIT 20240823:
Here are updated files for 3D printing. There are 3 bases to hold pins of different sizes.
The 9 pin plugs are not that common now, so I have drawn up a plug for the radio and hope it fits ok. This has 10 holes for pins so it can be orientated in whatever way you want. A length of thin VGA cable will be put to use, maybe with a DB9 on the VFO end.
1724402469420.png

The link for the Tinkercad .... https://www.tinkercad.com/things/cJ1KYxEXHpU-ts520plug-set
And the small one suites the pins I took from a PCB mount DB25F.
Photo on 23-8-24 at 12.39 pm.jpg

The back pulls out and then the pins fall out of the housing.
 

Attachments

Last edited:

VK3ZYZ

Moderator
Staff member
The Version 3 board is alive :)
Photo on 16-8-24 at 6.13 pm.jpg

It still need the calibration stuff done but it is working!
 

VK3ZYZ

Moderator
Staff member
Finally, the TS520 VFO is installed in a die cast box!

TS520VFO_Front.JPG


Here is the Version 3 in operation. The counter function has not been calibrated yet. The software is ripe for the fixing up. Please do!.
TS520Int_VFO_S.jpg

Running as a counter for the internal VFO.

TS520Ext_VFO_S.jpg
As an external VFO.

TS520_VFOs Off_S.jpg
With the VFOs both off.

TS520PVFO_V3_Finished.JPG
The PCB assembled.

TS520VFO_InstalledJPG.JPG
In the case. I could not be bothered to shorten the leads from the DB9.

I found some shielded 8 wire cable so wired that up to the 3D printed 9pin plug.
9PinPlugWiring.JPG
9PinPlugPins.JPG
9PinPlugDone.JPG
It looks pretty good plugged in!

TS520_9PinPlug_S.jpg
The other end goes to a DB9F plug.

Current code version is here.
 

Attachments

VK3EB

Member
Well Done!
Those 9 pin plugs are brilliant, I meet a guy at Bendigo from Swan Hill he picked up a TS520s so I mentioned your little project I think he's coming to Shepp hamfest.
 

VK3ZYZ

Moderator
Staff member
I did it yet again! SMOKE!!!
To check a pin size, I unplugged the 9pin plug and as my plug is very wobbly because I have yet to glue the pins in well, it was plugged back in one pin out (one of the pins was bent over).
Photo on 19-8-24 at 3.14 pm.jpg

My new box smoked, literally!
I was lucky! the 12VAC wire was hooked to GND so only the wire smoked :)
 

VK3ZYZ

Moderator
Staff member
Photo on 23-8-24 at 12.39 pm.jpg

I found a stack of these DB25 plugs so the pins look to be quite suitable for the 9pin plug needed. A 3D printed plug body and 10 pins (one spare) will be included in the Ham Fest kit, along with the main and switch PCBs and the relay.
Post #50 has been updated for the latest 3D print files.
 
Last edited:

VK3ZYZ

Moderator
Staff member
Ray kindly gave me a length of neat cable. It is a little over 6mm in diameter but has an outside shield and then 8 individually shielded pairs!
Yes, 16 wires in it. The pairs shields are insulated from the others too.
Here are the steps I took to make the cable...
Cable1.JPG
Strip about 4cm.

Cable2.JPG
Separate the pairs.

Cable3.JPG
Remove the insulated layer from each pair, then the shield single wire (these are all later joined to signal gnd).

Cable4.JPG
If I was paying attention, I may have been able to make use of the pair's numbers. A short length of heat shrink was placed over the pair to keep them together.

Cable5.JPG
It starts to get a bit crowded. Here you can see the single shield wired twisted together.

Cable6.JPG
A green for the signal shields and black for the power ground (main shield).


Cable7.JPG
Heat shrink-ed.


Cable8.JPG
Decide on the orientation you want the plug to go and mark the unused pin.

Cable9.JPG
Use a spare 9pin socket to insert the pins (I had to ream out a couple of the holes in the 3D printed part) and seat them firmly into the socket. Then trim them off to about 3mm.

Cable10.JPG
Here I have soldered the wires on, and there is one spare.

Cable11.JPG
I found the lid has to be trimmed a bit foe the wires are a bit wide for the slot. Also, I drilled the hole out to 3mm.
Cable12.JPG

Cable13.JPG
The base part was tapped for M3 to suit the screw, but you may find a self tapper suitable.

Cable14.JPG
Similarly, the base strain release holes were drilled to 3mm and the clamp tapped M3.
Cable15.JPG

I still have to get some DB9H connectors, I have LOTS of DB9Ms.
This all went together pretty well, even though it is a bit fiddly.
Thanks Ray :)
 

VK3ZYZ

Moderator
Staff member
1725143486417.png

Parts layout to assist assembly.

OOPS!!!
I just noticed the transistors Q1 and Q2 are labeled "1N4007" but should be "BC547".
I'll have to fix that.
 
Last edited:
Top