Radio Preppers

General Category => Technical Corner => Topic started by: gil on April 24, 2017, 12:32:12 PM

Title: Armored BitX40.
Post by: gil on April 24, 2017, 12:32:12 PM
Hello,

I have been playing with military radios this year (PRC-320 & PRC-351), which gave me a new appreciation of what ruggedness really means. I won't duplicate the toughness of those radios, but I think we can do better than off-the-shelf amateur gear. Ray did it with his "up-armored" KX1:

http://radiopreppers.com/index.php/topic,897.msg8887.html#msg8887 (http://radiopreppers.com/index.php/topic,897.msg8887.html#msg8887)

I want to do something similar with the BitX40. Hopefully I can also modify it to do USB and CW.

The case will be the cast aluminum Hammond 1550G. It has a gasket for water resistance. I have used these Hammond cases for numerous projects and they are awesome and very though.

I will use DDS for the VFO but no screen and no rotary encoder; too many holes... I want the case to be watertight. So I opted for this military surplus (NOS) keypad:

(http://radiopreppers.com/images/keypad.jpg)

I will also get a U-183/U audio socket to plug in an H-250/U military handset. The microphone has an impedance of 150-Ohm, 1KOhm for the speaker, so some modifications will be needed.

The difficulty will be to find the pin-out schematic of the keypad and program the Arduino board to update the DDS chip. I want to use direct frequency entry but also up/down scanning of the band. There are enough keys there to do everything, though of course, the markings will be off.

The only connectors on the case will be the BNC antenna socket and U-183/U audio socket. I want to use one pin out of five to turn the radio on so that it will be on when the handset is plugged in. Batteries will be three, four or six 18650 cells. I might add a charging socket but it would have to be a watertight military model, otherwise all my other efforts would be for naught.

The BitX40 and keypad are on the way but I am broke now, so you will have to wait a little for the next post :)

Gil.
Title: Re: Armored BitX40.
Post by: gil on May 02, 2017, 12:59:23 PM
Thanks to Rescue9 I have a military keypad now! I have seen those on SINCGARS radios... Didn't take me long to map the pins to the keys:

(http://radiopreppers.com/images/Sincgars-keypad.jpg)

Now I need to connect an Arduino with a DDS module and the keypad. That won't be easy and neither will be the programming since I have no experience with Arduino and little with C.

Gil.
Title: Re: Armored BitX40.
Post by: cockpitbob on May 02, 2017, 03:55:34 PM
What a great project.  You get gear customized just the way you want, and you learn a ton in the process. :D
Title: Re: Armored BitX40.
Post by: Rescue9 on May 03, 2017, 09:55:47 AM
I can help with programming a bit. Set up a GitHub repository of your code so we can work on it together.

Sent from my m8 using Tapatalk

Title: Re: Armored BitX40.
Post by: gil on May 03, 2017, 12:32:43 PM
Thank you!

My first concern will be to connect the eight pins of the keyboard to the Arduino. I just found out the Nano doesn't have a DC input plug so I need another model, no idea which one. Maybe the one that will come with the BitX. The problem is that each time a key is pressed two pins are connected together, from the left-four group to the right-four group. I can only think of having A,B,C,D output 1,2,3,4V respectively, and detect a key press on E,F,G,H, if that's even possible. The extent of my Arduino experience is making the LED blink with a provided sketch... But hey, it's a good opportunity to learn.

Then the Arduino needs to control the DDS module, either the provided Si5351 or the AD9850 I already have... I'm not even sure an Arduino will have enough input/output pins to do it all...

My goal is that someone can press say: Freq | 7 | 1 | 8 | 5 | 5 | ENT to have the DDS output the correct frequency. Then I want to use two keys to scan up and down, probably Send & Time. I might think of adding more options...

Gil.
Title: Re: Armored BitX40.
Post by: cockpitbob on May 03, 2017, 03:28:49 PM
Hi Gil.  Forgive me if this is something you already know.  I couldn't quite tell.

Your keyboard has the standard row/column scanned-multiplexed arrangement similar to the schematic below.  What's usually done is the 3 "B" pins are connected to Arduino outputs and the 4 "A" pins are connected to inputs.  Software will set B1 to a "1" then look for a "1" on the four A pins.  Then it will move the "1" to B2 and scan the A pins.  Then B3, then back to B1.  So it is continually scanning the keyboard when it is idle.  When it finds a "1" on an "A" pin the program goes off and does whatever it's supposed to do then goes back and continues the scanning.

This is pretty basic stuff for processor programmers.  I bet there's routines someone else has done you can download, or I'm sure Rescue9 can help with this.

(http://i120.photobucket.com/albums/o170/cockpitbob/36a74f36_zpsbk6poz6a.jpg)
Title: Re: Armored BitX40.
Post by: gil on May 03, 2017, 04:54:13 PM
Thanks Bob, simple way to do it!

Gil

Sent from my SM-G928F using Tapatalk

Title: Re: Armored BitX40.
Post by: gil on May 07, 2017, 05:00:59 AM
The BitX40 arrived! I haven't messed with it yet, no need until I get all the components. I have on order:

(http://radiopreppers.com/images/RA480.jpg)
The Thales microphone is an electret type so I won't have to match impedance. It's also watertight!
Theoretically, the completed BitX40 should be submersible :o
(http://radiopreppers.com/images/GC-283-U.jpg)
I can probably use pin F to turn the radio on...
(http://radiopreppers.com/images/milBNC.jpg)

Gil.
Title: Re: Armored BitX40.
Post by: scarr on May 07, 2017, 08:30:22 AM
Great stuff Gil, I'm really looking forward to see how this project develops!

Title: Re: Armored BitX40.
Post by: gil on May 16, 2017, 04:02:09 AM
Thanks Scarr.

I got the case today. It looks to be just the right size with room to spare for batteries and the DDS/Arduino combo.
I also got the BNC and audio connector but they sent me a 5-pin instead of the 6-pin I ordered. The replacement supposedly will go out today, and it seems I get to keep the 5-pin one ;D I might use it for other functions, maybe charging... The Thales microphone is on its way. Time to look into programming... ???

(http://radiopreppers.com/images/1550G.jpg)

Gil.
Title: Re: Armored BitX40.
Post by: RadioRay on May 16, 2017, 02:53:30 PM
The 6th pin
on those 'New Family' mil connectors is power.  For anything NOT requiring power, like headsets, external key or digital, that 5 pin will work fine as a 'second connector.  Should you later decide that you NEED a powered connector, it's the same mounting hole diameter and you can replace it in no time.
Title: Re: Armored BitX40.
Post by: gil on May 16, 2017, 03:00:26 PM
Thanks Ray. I am hoping to use one on two extra pins to turn the radio on, to avoid drilling an extra hole for a switch. That way the radio would turn on when the mic is plugged in...

Gil

Sent from my SM-G928F using Tapatalk

Title: Re: Armored BitX40.
Post by: RadioRay on May 16, 2017, 09:18:07 PM
oh  :)  I am used to the standard configuration.  Your project is making me want to find and finish my 80 meter SURVIVOR. for camping.

Title: Re: Armored BitX40.
Post by: gil on May 17, 2017, 03:16:31 AM
QuoteYour project is making me want to find and finish my 80 meter SURVIVOR. for camping.

Excellent!

They are sending me a return label for the 5-pin, darn :( Oh well... Waiting for the 6-pin now and the microphone...

My 80m 1-Watter has a transmit issue... I hate troubleshooting...

Gil.
Title: Re: Armored BitX40.
Post by: Andywragg on November 22, 2017, 07:54:52 AM
Hi Gil, Hope you are well,

Have you figured out what size arduino you need yet, to accommodate the keypad IO connectivity?


Best regards

Andy
Title: Re: Armored BitX40.
Post by: gil on November 22, 2017, 01:22:34 PM
Hi, no, I haven't gotten that far...

Gil.
Title: Re: Armored BitX40.
Post by: Andywragg on November 25, 2017, 02:11:32 PM
Well looking at the circuit schematic, if you aren't going to use the supplied 10K pot to tune the VFO, then pins A0-A3 and A6 and A7 that are tracked to the CONTROLS header will be unused.

On the OSCILLATORS Header there are a number of pins unassigned already, D2 to D7 this should give you enough pins to map using the schema that Cockpitbob came up with.

Title: Re: Armored BitX40.
Post by: gil on January 20, 2018, 03:23:33 AM
Quote from: Andywragg on November 25, 2017, 02:11:32 PM
Well looking at the circuit schematic, if you aren't going to use the supplied 10K pot to tune the VFO, then pins A0-A3 and A6 and A7 that are tracked to the CONTROLS header will be unused.

On the OSCILLATORS Header there are a number of pins unassigned already, D2 to D7 this should give you enough pins to map using the schema that Cockpitbob came up with.
Thanks Andy. I need to get back to it... But then there is the new uBitX... And I have been building other kits...

Gil

Sent from my SM-G928F using Tapatalk

Title: Re: Armored BitX40.
Post by: Andywragg on May 02, 2018, 08:47:01 AM
I've had the uBITX for some time now (just over a month) and have yet to make a start on it. I bought a pair of those plastic Banggood enclosures dirt cheap and started to mark out ready for cutting the face and rear plates but have had a change of heart and ordered one of those custom uBITX cases from India. $60 inc shipping for a pre-cut/drilled, painted grey aluminium case (note the correct spelling folks LOL) with a few extra connectivity bits included. Hopefully it should be here within a fortnight.
Title: Re: Armored BitX40.
Post by: gil on August 09, 2018, 09:27:56 AM
Back to work!

Actually, thanks to ELK here, Stan, this project just might see the light of day.

Stan is working on the Arduino code to drive the DDS, the Si5351A, to output from 4750 to 5250kHz, which translates to 6950 to 7450kHz for the BitX40.

Here is the list of the keys to be used on the keyboard:


Also planned are a confirmation beep and an out-of-range beep, maybe a battery low every-5-sec beep below a certain voltage to be determined.
I will let him post about his progress here  :)

Stay tuned...

Gil.
Title: Re: Armored BitX40.
Post by: ELK on August 09, 2018, 10:24:31 AM
Hi everyone !

I have ordered 2 different kinds of 4x4 and 4x5 membrane matrix keyboards to simulate Gil's military keyboard and work on the corresponding Arduino code.

While waiting for them to come from China (with a bunch of other thingies for my Arduino ecosystem), I am working on adding morse code "talking" capacities to report useful data without any display to the original BitX40 Raduino code.

My main issue is to find enough free pins to connect the keyboard, a buzzer (passive if a pwm pin is available, active if not) for morse rendition and a pin to read battery voltage via a voltage divider (or a specific voltage/current sensor like INA169 and its successors).

I'll get you in touch of my progression...


73! de Stan.