Footswitch PTT adapter for FT-450d, FT-857

Here’s a really simple footswitch PTT adapter for at least the Yaesu FT-450d and the FT-857d. Any rig compatible with the Yaesu MH-31 fist mic with modular 8 pin (RJ45) connector.

Buy a 0.5m Ethernet extension lead, like this:

(they are all over eBay).

Buy a tattooist foot pedal – about £7, again eBay.

Buy a quarter inch in line jack socket.

Cut the outer insulation of the Ethernet extension lead half way along.

Cut a piece of two core wire the same length as from your cut to the Ethernet plug. Solder to quarter inch socket.

Strip back a bit of insulation from the brown and white lead. Connect to the shield of the quarter inch socket via its wire.

At this point you can cut the green lead in the Ethernet cable to disable the fist mic PTT, or you can leave the green lead in place to allow both the foot switch and the fist mic PTT to control the radio.

If you cut the green lead, connect the rig side of the green wire to the other side of the quarter inch socket. If you left the green lead intact, strip back a bit of insulation and make the same connection.

Long way of saying, the green wire in a standard Ethernet cable is the PTT pin, and the brown and white wire is the ground pin. Ground the PTT pin to key up.

State of charge vs voltage – SLA / AGM batteries

Here is a table of the rough state of charge of a 12V sealed lead acid / AGM battery at different open circuit / no load voltages.

State of charge 12V battery Volts per cell
100% 12.7 2.12
90% 12.5 2.08
80% 12.42 2.07
70% 12.32 2.05
60% 12.20 2.03
50% 12.06 2.01
40% 11.90 1.98
30% 11.75 1.96
20% 11.58 1.93
10% 11.31 1.89
0% 10.5 1.75

Categorised under “things I Google repeatedly”.

12V radio PSU from Xbox 360 PSU

Really quick hack. I was about to chuck out a broken Xbox 360 (already brought back from the dead 3/4 times) when I noticed its power supply was fairly beefy – rated 14.2A at 12V.

Turns out these are really easy to hack and work great as radio power supplies, so long as you don’t need more than 14A.

Chop off the plug, connect the red and blue wire together, then solder the three yellow wires to the positive side of your chosen power connector [1], and the three black wires to the negative side of your connector.

My big radio draws 15.6A transmitting 100W into a dummy load, which is above the rating on the label of the PSU, but it didn’t seem to mind! No heat detected even after quite a bit of testing – voltage dropped only to 11.93V. Safest to keep within the rating of course.

No detectable QRM showing up on the SDR, so they seem to be pretty quiet. While not small, these power supplies are certainly smaller and lighter than the vast majority of 12V power supplies you see out there for ham radio / bench use.

Not bad for £0 and about 10 minutes work. These power supplies are readily available on eBay for £10 to £15. Easy mod!

 

[1] I use 30A Anderson Powerpoles for all my 12V connectors – including replacing all the non-standard connectors on all of my rigs. Sotabeams sells them for the best price I’ve been able to find in the UK.

2m FM SSTV with literally just a Raspberry Pi

Stumbled upon this write-up- SSTV from the Raspberry Pi camera, with direct RF synthesis, i.e. no outboard radio required, complete with motion detection and callsign overlay. Neat!

Low pass filter mandatory.

Nothing stopping this being adapted for HF SSB, in fact it would probably work better.

http://www.instructables.com/id/Raspberry-Pi-security-Slow-Scan-Television-Camera/

Wouxun KG-UV950P / KG-UV950PL DIY hands free pinout

I have a lovely Wouxun KG-UV950PL 6/4/2/70 mobile radio, but a hands free kit doesn’t seem to be available. So I set about working out the connections required to build one. Here they are:

KG-UV950P - KG-UV950PL mic handsfree pinout

Using a standard RJ45 Ethernet cable:

  • Orange+white / pin 1: RX audio – NC for this application
  • Orange / pin 2: +5V on receive (unverified) – NC for this application
  • Green+white / pin 3: PTT – wire to one side of switch
  • Blue / pin 4: unknown, probably buttons – NC for this application
  • Blue+white / pin 5: unknown, probably buttons – NC for this application
  • Green / pin 6: +8V constant – wire to 2.2k resistor, then to positive side of mic
  • Brown+white / pin 7: ground – wire to ground side of mic and to other side of PTT switch
  • Brown / pin 8: – TX audio – wire to negative side of 100μF capacitor, then positive side of the cap to positive side of mic

Looking forward to building a version for the car and seeing how it is for road noise etc.

According to this, increase resistor size to increase mic output level (sounds counter-intuitive, but hey).

Update: that 2.2k resistor should be a 47k. That seems to produce clean audio and keeps the current through the mic element down. I’ve ordered a MAX9812 module to see whether a pre-amp brings the punchiness of the audio up a bit, since it’s a bit quiet as-is.

Considering a radio

Considering the TH-9800 (4m version) from Sinotel. Looks perfect for Raynet stuff.

Diplexer plans: Make yourself a diplexer courtesy VK3ZAV

Questions posed to the vendor:

  1. Recommend a diplexer to split the 2m+70cm side from the 4m side
  2. Recommend a diplexer to split 2m and 70cm – assuming the rig can’t handle this itself
  3. Can the cross-band repeat function be locked down to only transmit on receipt of a specific CTCSS tone?
  4. Can the TX power be set independently on the two sides of the radio?

New radio for me, if they come back with the right answers…

FT-450d post-reset

Things that need changing on FT-450d immediately after factory reset:

  • SQL/RFG -> RF GAIN
  • PNL-C.S -> SWR
  • SELDIAL -> RFPOWER
  • P M-FST -> VM1TX
  • P M-UP -> VM1REC
  • Step -> 1 (step/split button, not menu)
  • Add GB3FX – 50.81 tx, 51.31 rx (+0.5MHz offset), 82.5Hz tone

to be updated as I recover from a factory reset 🙁

Baofeng UV-5RA Carrier Detect/squelch open pin

 

For a project, I need to get a reliable Carrier Detect (or “my squelch is open, I am receiving”) signal out of a cheap and nasty Baofeng UV-5RA.

I’ve succeeded, and have done so by pulling together a few people’s work from around the web. I thought I’d pull it all together here.

This guy has done basically the same thing, using a Baofeng BF-888. Basically you take advantage of the fact the Baofeng powers on its audio amplifier only when the squelch is open. The radio applies 7.6V to pin 2 of the TDA2282 amplifier chip just under the LCD when the squelch is open. (Pin 4 is ground.) Take a feed from pin 2, to a 5k resistor, to the base (centre pin) of a BC547 NPN transistor. Ground the emitter (right pin, looking at the flat side). When the squelch opens, there is continuity between the collector (left pin) and the emitter – that’s your output.

Here’s the chip. Pin two is bottom row, second from the left. Pin 4 is bottom right. I ran very thin insulated wires around the edge of the board and up above the battery clip, behind the plastic cover.

credit: http://alaskareflector.org/zl1nc/UV-COS.html

I’ve stuck a tiny socket up where the belt clip was:

and I’ve shoved my transistor and resistor up behind the outer plastic cover above the battery on the right, dead bug style, hot glued on top of some insulating tape. Quite a bodge, but with some Dremel trimming of the case, it’s all held together fine by the top cover screws.

Multimeter reads continuity between the two output wires (red wire=collector, black wire=emitter) whenever the squelch is open, and open circuit when no signal is being received. Current should flow from the red wire to the black wire in any downstream interface.

Arduino Mobilinkd breadboard KISS TNC

Partly working… documenting my work so far towards a truly inexpensive, standalone, reliable APRS tracker.

I’ve moved away from the Pi and back over to microcontrollers. This is based on practical experience using the Pi at an event. Too much complexity / unknowns. The Pi worked okay, but could have been better.

So this below is based on http://www.mobilinkd.com/2014/09/11/arduino-kiss-tnc/
Which in turn seems to be based on https://sites.google.com/site/ki4mcw/Home/arduino-tnc

There’s actually a bit on KI4MCW’s page about how deaf the ADC design below is, might be worth looking at his improvements which don’t seem to have made it into the Mobilinkd hacking page.

Others doing the same:

So, here’s what is working so far:

  • Arduino Pro mini 5V clone @ approx £3
  • USB – 5V TTL serial cable
  • Baofeng / Wouxun / probably anything with 3.5+2.5mm TRS connector
  • For PTT:
    • 1k resistor
    • BC547B
    • 5V relay
    • diode
  • For TX audio:
    • 100k preset
    • 100nF / 0.1uF capacitor
  • For RX audio:
    • 2x 10k resistors
    • 10nF capacitor

Download firmware file from here or here

WinAVR from here or here

avrdude -c arduino -p m328p -P COM3 -b 57600 -U mobilinkd-473-arduino.hex

Grab MobilinkdTncConfig-0.6.1-win32.msi from this page

Ignore the stuff about Bluetooth, fire it up, set delay to 80 (800ms – these radios are properly rubbish), expect no confirmation (there is no save button – the author says (and I have checked) that changes are saved into EEPROM as you click in the UI). Check transmit using 1200Hz tone + Execute button.

Fire up aprsisce/32 or similar

APRSISCE/32 wants a Simply(KISS) port set up, 38400 baud, 8-N-1, and sometimes wants you to disable and re-enable the port before it works. Sometimes have to reset the Arduino too.

Turn the radio volume up quite high.

I plan to use a second Arduino, running a GPS, to push APRS frames in to this unit over serial.

Even better, mod this firmware to talk to a GPS over serial, then format and send its own APRS frames.

Circuit:

(EDIT: the RX circuit above, marked as unverified, is now verified working.)

(Another edit: for better PTT reliability, change the transistor connections as follows:

Collector to relay coil and diode anode
Relay coil and diode cathode to +5V
Emitter to ground
Relay contacts across Baofeng PTT (bare wire / 3.5mm sleeve) and Baofeng ground (blue / 2.5mm sleeve)) – need to update the text below.

Connections, taken down from working (TX, RX and PTT) breadboard:

  1. Headset red -> 100nF cap
  2. cap -> one side of 100k pot
  3. mid pot -> D6
  4. other side of pot -> gnd
  5. Headset blue -> gnd
  6. Headset bare -> BC547B emitter
  7. BC547B base -> 1k resistor
  8. resistor -> D10
  9. BC547B collector -> gnd
  10. Arduino GND -> gnd
  11. Arduino VCC -> vcc
  12. Headset green -> 10nF cap
  13. potential divider: gnd -> 10k resistor -> 10k resistor -> VCC
  14. cap -> mid of potential divider (2.5v)
  15. mid of potential divider -> A10

Baofeng pin assignments are here.

Code.

Baofeng / Wouxun common headset wire colours / assignments / PTT control

Green  2.5mm tip     rx audio +
 Blue  2.5mm sleeve  rx audio gnd,  ptt GND, rig gnd
 Bare  3.5mm sleeve  tx audio gnd,  ptt +V, NB NOT rig ground
  Red  3.5mm ring    tx audio +

To key the PTT, current must be able to flow from Bare (3.5mm sleeve) to Blue (2.5mm sleeve).

That is, either short Bare and Blue (sleeve to sleeve), or a current should be able to flow from Bare (3.5mm sleeve) to NPN transistor collector, to emittor, to Blue (2.5mm sleeve). An NPN transistor conducts from collector to emitter when a voltage is applied between base (+v) and collector (gnd)) – 5V + 1k resistor.

In other words:
The radio puts 3.3V down the Bare (3.5mm sleeve) conductor.
To key up, this must be shorted to the Blue (2.5mm sleeve) conductor.

RX audio is present between Green (2.5mm tip) and Blue (2.5mm sleeve)

TX audio should be pushed in to Red (3.5mm ring) and Bare (3.5mm sleeve)