Bitcoin donations to: 1CE9UfWJcHBYkWPns7iqBqZgKhd5xfqEaM thanks!
Buy Bitcoins easily by clicking HERE and get $10 in free bitcoins!

Author Topic: Armored BitX40.  (Read 9463 times)

gil

  • Administrator
  • Hero Member
  • *****
  • Posts: 2634
  • SMeter: +69/-3
    • View Profile
    • Radio Preppers
Armored BitX40.
« 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

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:



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.

gil

  • Administrator
  • Hero Member
  • *****
  • Posts: 2634
  • SMeter: +69/-3
    • View Profile
    • Radio Preppers
Re: Armored BitX40.
« Reply #1 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:



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.

cockpitbob

  • Administrator
  • Hero Member
  • *****
  • Posts: 1160
  • SMeter: +39/-0
    • View Profile
Re: Armored BitX40.
« Reply #2 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

Rescue9

  • Jr. Member
  • **
  • Posts: 62
  • SMeter: +2/-0
    • View Profile
Re: Armored BitX40.
« Reply #3 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


gil

  • Administrator
  • Hero Member
  • *****
  • Posts: 2634
  • SMeter: +69/-3
    • View Profile
    • Radio Preppers
Re: Armored BitX40.
« Reply #4 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.

cockpitbob

  • Administrator
  • Hero Member
  • *****
  • Posts: 1160
  • SMeter: +39/-0
    • View Profile
Re: Armored BitX40.
« Reply #5 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.


gil

  • Administrator
  • Hero Member
  • *****
  • Posts: 2634
  • SMeter: +69/-3
    • View Profile
    • Radio Preppers
Re: Armored BitX40.
« Reply #6 on: May 03, 2017, 04:54:13 PM »
Thanks Bob, simple way to do it!

Gil

Sent from my SM-G928F using Tapatalk


gil

  • Administrator
  • Hero Member
  • *****
  • Posts: 2634
  • SMeter: +69/-3
    • View Profile
    • Radio Preppers
Re: Armored BitX40.
« Reply #7 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:

  • Hammond 1550G cast aluminum case.
  • Thales military speaker microphone RA480/1019.
  • Military audio connector GC283/U.
  • Amphenol military watertight BNC.

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

I can probably use pin F to turn the radio on...


Gil.
« Last Edit: May 07, 2017, 05:48:22 AM by gil »

scarr

  • Newbie
  • *
  • Posts: 29
  • SMeter: +3/-0
    • View Profile
Re: Armored BitX40.
« Reply #8 on: May 07, 2017, 08:30:22 AM »
Great stuff Gil, I'm really looking forward to see how this project develops!


gil

  • Administrator
  • Hero Member
  • *****
  • Posts: 2634
  • SMeter: +69/-3
    • View Profile
    • Radio Preppers
Re: Armored BitX40.
« Reply #9 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... ???



Gil.

RadioRay

  • Administrator
  • Hero Member
  • *****
  • Posts: 754
  • SMeter: +40/-2
    • View Profile
Re: Armored BitX40.
« Reply #10 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.
"When we cannot do the good we would, we must be ready to do the good we can."  ~ Matthew Henry

gil

  • Administrator
  • Hero Member
  • *****
  • Posts: 2634
  • SMeter: +69/-3
    • View Profile
    • Radio Preppers
Re: Armored BitX40.
« Reply #11 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


RadioRay

  • Administrator
  • Hero Member
  • *****
  • Posts: 754
  • SMeter: +40/-2
    • View Profile
Re: Armored BitX40.
« Reply #12 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.

"When we cannot do the good we would, we must be ready to do the good we can."  ~ Matthew Henry

gil

  • Administrator
  • Hero Member
  • *****
  • Posts: 2634
  • SMeter: +69/-3
    • View Profile
    • Radio Preppers
Re: Armored BitX40.
« Reply #13 on: May 17, 2017, 03:16:31 AM »
Quote
Your 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.