Tuesday, 9 February 2021

Allstar Link Node Build - Part 6

Welcome to part 6 of my Allstar Link node build. 

In this installment the project finally comes together with the boxing up of all the various modules and parts that I covered in my previous blog posts
 

Choice of enclosure

To enclose the project I decided that I wanted to keep everything screened to minimize the possibility of unwanted interference in the shack, you may remember in part 4 of my build I commented that there's a reason computers are built into metal boxes!

I sense that some readers of the blog maybe thinking "my laptop case is plastic"  therefore my comment or argument is not a valid one! 
 
Well, having stripped down many laptops for repair I can substantiate my point due to the fact that the internal electronics of a laptop are shielded either by tin sheeting or a screened coating on the inside of the plastic shell, the same can also be said for tablet computers and mobile phones.

The enclosure I chose is a split body extruded aluminum type as shown below.

Allstar Link Node Box

The dimensions of the case are 54*145*150mm. I purchased mine from ebay and paid just under £15 for it delivered.

Here is a web link for the seller I bought mine from in the UK: 

I have also seen the enclosure on AliExpress at the following web link:

AliExpress link for aluminium enclosure

Lastly the enclosure can also be purchased from Amazon at the following web link:

If the above web links are no longer valid just search on google with the following "Aluminum Enclosure 54x145x150mm" and you should find a few suppliers listed.

Options for high or low RF output power

Before proceeding any further a decision needs to be made regarding what the final RF output power from the node will be. By default the radio is capable of producing around 4 watts of RF output, however the node operates with a high transmit duty cycle so it is necessary to reduce the RF output to a safer level to avoid damage.

Option 1: For low power 20 to 40 mW you do not need to fit the Buck Converter module or drill the associated mounting holes however a further modification is required to the Baofeng BF888 to reduce the RF output to low level. The modification involves the removal of the main RF output transistor which is then bypassed using a capacitor or wire link.  For further information on this modification please take a look at the following web link:  888 Low Power Modification

Option 2: For high power 100mW and above you will need to fit the Buck Converter module and drill the associated mounting holes.


For now I will continue with the casing up based on using option 2.  I will cover the transmit output power in more detail later on once everything is mounted in the enclosure and wired up.


Template for drilling the bottom of the case

All of the main electronics is mounted on one half of the case and from now on I will refer to it as the base.

I produced a drilling template for the base in CorelDRAW, this allows me to replicate the drilling process and share my layout as an aid for other node builders.

Below is an image of the template I created but please note it is not to size.

 
Allstar Link Node Drill Template
Click to enlarge to full size!


If you want to print a template from the above image click it so it displays full size,  then save it to your computer and use your favourite graphics program to print a copy out.  The file is a standard PNG type and should be printed at 100% size resulting in an image that is 129mm by 150mm. If you would like a copy of the template in PDF format please message me using the contact form at the top of the web page.

Cut out the template and make sure it sits flat in the bottom of the case as per the illustration below.

Allstar Link Node Drill Template In Case

If the template fits correctly there should be no side play movement. To avoid the template sliding in a front to back direction secure it in place with sellotape or masking tape along the front and back edges.  I recommend that you use a center punch to make shallow indentations in the aluminium and remove the template prior to drilling.

Drill the fixing holes as per the template and your preferred rf power option. Start off with a small 1mm drill bit and increase the drill bit size gradually to get the needed hole sizes. The drilled base (option 2) should look like the one in the image below.

Allstar Link Node Base Drilled

Mounting the modules

For mounting the modules you will need some PCB standoffs

8 of M3 thread type - female to female - 8 to 10mm in length

2 of M2.5 thread type - female to female - 8 to 10mm in length

I used brass types but you could also use the steel nickel plated variety, I would however avoid using the nylon non conductive type as these could cause issues with PCB grounding.

The two M2.5 PCB standoffs were used on the LM317 module and the M3 size on the rest of the modules.

Offer the PCB standoffs to the respective module mounting holes and check to see if the standoffs have clearance from nearby PCB tracks or components,  if needed use insulating washers between the standoffs and module mounting holes.

All the modules in place

Here is an image showing all of the modules in place,  securely mounted and ready for wiring up.  Note the USB sound module is not shown in this image, it simply plugs into one of the Raspberry PI USB ports.

Allstar Link Node Modules In Place

Wiring the modules

Connect the red, orange & black wires from the Baofeng radio to the modules as shown, then fit additional wire links between the buck converter module & the LM317 voltage regulator module. If you prepared the radio with different coloured cables to the ones used in my example care should be taken to ensure the cables are connected to the correct points!

Allstar Link Node Module Wiring

If you have opted to build the low power version of the node and omitted the buck converter module wire as follows. 

Allstar Link Node Module Wiring

Here is an image of all the modules mounted to the base of the enclosure and wired up ready. Note the CM108 sound module is plugged into the bottom USB port (top left in the image), it is then secured in place with an end stop made from 1.5mm thick angled aluminium size 20mm by 20mm. Use the two remaining holes in the base of the enclosure to markup the angled aluminium ready for drilling. Drill the holes with a 3mm drill bit and secure in place with M3 fixing.

Allstar Link Node Internal view

Front Panel

I produced a front panel label in CorelDRAW then printed it onto photo quality paper  with my inkjet printer.

Below is an image of the label I created with the enclosure front panel.
 
 

The label is used as a template to mark the drill holes prior to drilling. Once all the holes are drilled the 4 corner screw holes on the label must be cut out carefully with a sharp craft knife, this is a tricky job as the holes are close to the edge of the paper.

The label is fixed to the front panel using "3M Spray On Display Mount Adhesive" available from the like of Amazon & Ebay.  Allow sufficient time for the adhesive to dry then trim out the holes for the LED's and switches.

Here is an image of the front panel with the label fixed in place and the LED's and switches mounted, the text placement under the switches could do with lowering a little but I am otherwise happy with the end result.

Allstar Link Node Front Panel

If you would like a printable copy of the front panel with your callsign on please message me using the contact form at the top of the web page and I will send you a copy via email in PDF format.

 

Wiring the front panel

Using the diagram below wire up the front panel controls and LED's. Care should be taken to ensure the cables are connected to the correct points especially if you have used different coloured cables to me!

NOTE The wiring points shown are correct for the Raspberry PI 3B Plus model, if you are using an earlier or later model of the PI the connections may be different!

Allstar Node Raspberry PI Wiring

Wiring the antenna socket

I decided to re-use the original rubber duck antenna and socket from the Baofeng BF888, the socket is mounted on the top half of the enclosure using a 150mm length of RG316 coax.  Here is a picture of the coax soldered to the socket and the free end prepared ready for connection to the radio.

Allstar Link Node Coax Preperation
 

Before the coax cable can be attached to the radio a small amount of the green solder mask must be removed from the PCB close to the antenna connection point, this forms a ground point for the coax.  

Allstar Link Node Coax Ground

The following image shows the coax cable soldered in place on the radio.


Allstar Link Node Coax In Place

Back panel

Before the wiring can be completed the enclosure back panel needs to be prepared with holes cut for the DC power and ethernet network socket.

I have produced a template for the back panel in CorelDRAW click the image below to make it full size, save it and then print to 100% size.

Allstar Link Node Back Panel
Click To Enlarge Full Size!

The square hole for the network socket can be formed by drilling a series of holes to remove most of the unwanted aluminium then finishing it off with a small file.

The network socket/extension cable that I used is branded iGreely and is 1ft/30cm in length. They are supplied in a pack of 2 and are available from Amazon at the following web link  

https://www.amazon.co.uk/iGreely-Female-Ethernet-Network-Extension/dp/B06Y4J9MZ4/

If you carry out a search on Google with the text "iGreely 2Pack RJ45 Male to Female Screw Panel Mount" you will find lots of suppliers for the cable.

Remaining Wiring

To complete the wiring connect the remaining power supply cables as shown in the diagram below.

NOTE The wiring points shown are correct for the Raspberry PI 3B Plus model, if you are using an earlier or later model of the PI the connections may be different!

Allstar Link Node Power Connections

I also soldered an additional ground wire from one of the Raspberry PI USB connectors to the Baofeng radio as can be seen on the next image.

Allstar Link Node Ground Point

Setting the regulator voltages

Before the top enclosure cover can be put in place the voltages must be set on the buck converter and LM317 modules.  

My node build is designed to run off 5V DC and as I mentioned previously I will be using a conservatively rated Raspberry PI 4 power supply to do the job. The PI 4 PSU is fitted with a USB C plug which must be chopped off and replaced with a 2.1mm DC power plug.

***** IMPORTANT *****

Before applying DC power to the node for the first time you must ensure that the Baofeng radio is turned off, this step is neccessary whilst the buck converter & LM317 modules are adjusted and set to the correct output voltages.

Using the illustration below power up the node and adjust the module output voltages.

Allstar Link Node Voltage Adjustments

Once the voltages have been set switch on the Baofeng radio and check the voltages again and make any fine adjustments if neccessary.

Adding a protection fuse

Following my concerns regarding the buck converter module, the fake LM2596 & the prospect of it failing short circuit I decided to add a protection fuse. To do this I cut a small strip of FR4 stripboard with a break in the copper PCB track that is bridged with either an SMD or wire ended PTC fuse. The PCB is conveniently soldered to the on/off toggle switch and if the fuse should trip power is isolated from the node.

The image below illustrates how I implemented the inclusion of a protection fuse. 

Allstar Link Node Protection Fuse

The rating of the fuse will depend on the overall current drawn from the node when in transmit mode. For now I have fitted a wire link while I wait for fuses to be delivered.


Adjustable Baofeng BF888S RF output mod by G6LBQ

In Part two of my node build blog I covered preparing the Baofeng radio and adding various cables.  Refering back to that post there is a section headed "Secondary power supply input" and another "A clean break",  the information outined forms what I can now reveal as my "adjustable RF output modification".

The break I cut in the PCB track isolates the transmit driver and output stages from the main radio's power supply rail.  The additional secondary power supply input (orange cable) provides an independant supply point for the transmit driver and output stages.

The buck converter is used soley to supply voltage to the Baofeng radio's transmit amplifiers. The variable voltage in essence provides a means to adust the RF output level from the radio.

The Baofeng 888's RF output stage appears to run in class AB mode and not class C as I expected, this gave me some cause for concern as any alteration to the supply voltage would inevitably change the transistor biasing.  In testing my concerns were unfounded and I was able to adjust the RF output down to a couple of hundred milliwatts and the monitered audio sounded clean and distortion free.

With the buck converter set to 1.6 volts the RF output from the radio is aproximately 500mW.  In operation the transmit duty cycle of the node can be very high so I would recommend that the RF output from the radio is not set to high.  Check your amateur radio licence conditions to ensure that the node is operated in compliance!


Final preperations

Before the top cover is put in place a hole must be drilled to mount the antenna socket, also a micro SD memory card with software must be prepared for the Raspberry PI. 

The image below shows you my completed node and illustrates the placement of the antenna socket. Appologies for the poor quality of this image :)

The software I recommend for the node is produced by David McGough - KB4FXC,  it is available as a free download from the Hamvoip Website.

Click here to go to the HamVoip website

I am not going to cover the installation and configuration of the software on the blog as that is well documented on the HamVoip website but once you have taken care of the software side your node will be operational and you can start having some fun!

EndNote

Please note that the status LED will not be functioning correctly yet. I will be doing a follow up blog post to cover the software configuration for the status LED next.

The project is all but complete and I hope my build notes provide some inspiration and can serve as a usefull guide to help other hams who may be interested in building an Allstar Link Node.

 

Until next time... 
 
73's From Andy G6LBQ
Its all About The Radio Ga Ga...

6 comments:

  1. As usual an excellent informative blog

    ReplyDelete
  2. Hi,
    did you ever post the follow, article enableing the LED status indicators?. excellent blog

    ReplyDelete
  3. Thanks for your comment on the blog, I will document the process of adding the status LED's soon.

    Regards

    Andy G6LBQ

    ReplyDelete
  4. Sorry Bill I have yet to do this but it is something I must do, I built a node for my good friend Frank G6YAQ and I need to add the LED software to his node so I will document it when I do that. You can wire the LED's direct to the sound module and that has been documented on various websites.

    Have you built the Allstar Node as per my blog?

    ReplyDelete
    Replies
    1. Hi, yes, but without the plug for the sound fob. I have indeed connected TX, RX and the heartbeat led's to the fob directly, but the GPIO4 connection to the chip is fiddly to say the least. I have finally managed to use the events section with some small scripts to get the TX and RX led's working from the gpio pins. So all is well. Just curious as to how you were going to do it hi. Here's wishing you a very happy Christmas and new year, regards Bill

      Delete

I appreciate your comments on the blog content, however the blog has been subject to idiots trying to use the comments facility as a means to post advertisements & spam so all comments are now approved and moderated.