Showing posts with label Raspberry Pi. Show all posts
Showing posts with label Raspberry Pi. Show all posts

Wednesday, February 4, 2026

Dedicated 5v Power Supply Distribution Board Project for your Raspberry Pi's

I have several Raspberry Pi's running in my shack on a daily basis.  Well some use the factory wall-warts you buy for the Pi and others run from cheap DC-DC Buck Converters.  It is always a schlep to find the correct wall-wart or converter lying somewhere underneath  a desk or on the floor.  I decided to build a dedicated 5v Power Distribution Board from items that I had lying around.

I found a switch mode power supply which I salvaged from and industrial appliance.  When I tested the output I found that it delivers 5v, 2v and -4v DC.  Unfortunately I could not find the amount of amperes it provides.  This will be tested under real operating conditions.  Looking at the construction of the power supply and the cooling fan, this unit is no small power unit and will work for my intended purpose. I decided to add a fan for cooling as in the original industrial cabinet the fan was built into the cabinet.  I removed the fan and install it on-top of the power supply.  Next I needed some means of distributing the output power.  I could add connection points to each 5v wire but decided to 3 D Print a "Bus-Bar" type  positive and negative feed point. I joined all the red positive wires and black negative wires to heavy duty lugs which I then added to each bus-bar.  The copper bus-bar is made of 20 mm copper pipe which I flattened in my bench vice.  Added brass-bolts and nuts which I had lying around and bolted both bus-bars to a piece of cutting board.  

That's it project nearly completed.  I just need to fit some acrylic covers to ensure that no short-circuits occur between the two bus-bars.  Once again a very cheap project with items that I had lying around.  Hopefully this distribution board will work much better than the wall-warts and DC-DC buck converters.  One could just as easily use the copper bus bars for building a 12 v distribution board.  Who knows might just do that one day.

Images:  (Click on images for larger view.)

 









Thursday, September 18, 2025

How to setup Dynamic DNS on Rasberry Pi (HamVoip) using Arch Linux


 In 2017 when I setup my first AllStar Node I needed a Dynamic DNS provider as my dynamic IP address keep changing regularly.  At the time there were quite a few providers available. I opted for the No-IP provider but I needed software to enable the service.  After many days of searching the Internet I found software to be used with Arch Linux.  Allstar Node 49355 has since been running from 2017 using No-IP.  Recently I wanted to setup a "new" HamVoip installation from scratch.  I do have a back-up of the 2017 installation but wanted a different setup for the direct ZS RF Link.  I tried to install the  noip-duc-linux firmware but it would not install on Arch Linux.

Well searching my backup printed files I found a cryptic note of how I installed ddclient firmware using Arch Linux for HamVoip way back then.

I decided to compile a "How to" for those who would like to setup Dynamic DNS for HamVoip using Arch Linux.  I trust that this will be of use to other amateur radio operators still using HamVoip and yes I know that HamVoip has its own DNS server but I prefer to use No-IP for various reasons.

Herewith the setup that worked for me: 


Setup Dynamic DNS on Raspberry Pi (HamVoip) using Arch Linux

Before you begin, you will need:

  • A domain name and an account with a Dynamic DNS provider (e.g., DuckDNS, No-IP, or Cloudflare. I use No-IP.com)

  • The API key or credentials from your provider for automated updates.

Step 1: Install ddclient

sudo pacman -S ddclient

Step 2: Configure ddclient

The configuration file is located at /etc/ddclient/ddclient.conf.

  1. Open the configuration file for editing:

    sudo nano /etc/ddclient/ddclient.conf

    Part of the ddclient.conf file below:
    #####################################################
    ##
    ## $Id: sample-etc_ddclient.conf 171 2015-01-20 11:57:13Z wimpunk $
    ##
    ## Define default global variables with lines like:
    ## var=value [, var=value]*
    ## These values will be used for each following host unless overridden
    ## with a local variable definition.
    ##
    ## Define local variables for one or more hosts with:
    ## var=value [, var=value]* host.and.domain[,host2.and.domain...]
    ##
    ## Lines can be continued on the following line by ending the line
    ## with a \
    ##
    ##
    ## Warning: not all supported routers or dynamic DNS services
    ## are mentioned here.
    ##
    ######################################################################
    daemon=300 # check every 300 seconds
    syslog=yes # log update msgs to syslog
    mail=root # mail all msgs to root
    mail-failure=root # mail failed update msgs to root
    pid=/var/run/ddclient.pid # record PID in file.
    ssl=yes # use ssl-support. Works with
    # ssl-library
    # postscript=script # run script after updating. The
    # new IP is added as argument.
    #
    #use=watchguard-soho, fw=192.168.111.1:80 # via Watchguard's SOHO FW
    #use=netopia-r910, fw=192.168.111.1:80 # via Netopia R910 FW
    #use=smc-barricade, fw=192.168.123.254:80 # via SMC's Barricade FW
    #use=netgear-rt3xx, fw=192.168.0.1:80 # via Netgear's internet FW
    #use=linksys, fw=192.168.1.1:80 # via Linksys's internet FW
    #use=maxgate-ugate3x00, fw=192.168.0.1:80 # via MaxGate's UGATE-3x00 FW
    #use=elsa-lancom-dsl10, fw=10.0.0.254:80 # via ELSA LanCom DSL/10 DSL Router
    #use=elsa-lancom-dsl10-ch01, fw=10.0.0.254:80 # via ELSA LanCom DSL/10 DSL Router
    #use=elsa-lancom-dsl10-ch02, fw=10.0.0.254:80 # via ELSA LanCom DSL/10 DSL Router
    #use=alcatel-stp, fw=10.0.0.138:80 # via Alcatel Speed Touch Pro
    #use=xsense-aero, fw=192.168.1.1:80 # via Xsense Aero Router
    #use=allnet-1298, fw=192.168.1.1:80 # via AllNet 1298 DSL Router
    #use=3com-oc-remote812, fw=192.168.0.254:80 # via 3com OfficeConnect Remote 812
    #use=e-tech, fw=192.168.1.1:80 # via E-tech Router
    #use=cayman-3220h, fw=192.168.0.1:1080 # via Cayman 3220-H DSL Router
    #
    #fw-login=admin, fw-password=XXXXXX # FW login and password
    #
    ## To obtain an IP address from FW status page (using fw-login, fw-password)
    #use=fw, fw=192.168.1.254/status.htm, fw-skip='IP Address' # found after IP Address
    #
    ## To obtain an IP address from Web status page (using the proxy if defined)
    ## by default, checkip.dyndns.org is used if you use the dyndns protocol.
    ## Using use=web is enough to get it working.
    ## WARNING: set deamon at least to 600 seconds if you use checkip or you could
    ## get banned from their service.
    #use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP Address
    #
    #use=ip, ip=127.0.0.1 # via static IP's
    #use=if, if=eth0 # via interfaces
    use=web,web=checkip.dyndns.com/, web-skip='IP Address' # via web
    #
    protocol=dyndns2 # default protocol
    #proxy=fasthttp.sympatico.ca:80 # default proxy
    server=dynupdate.no-ip.com # default server
    #server=members.dyndns.org:8245 # default server (bypassing proxies)
    login=xxxxxxx # your default login user name
    password=xxxxxxxx # you default password
    zs1iallstar1.ddns.net #yourhostname
    #mx.for.your.host # default MX
    #backupmx=yes|no # host is primary MX?
    #wildcard=yes|no
  1. Save the file and exit the editor by pressing Ctrl + X, then Y, and then Enter

Step 3: Test the configuration

You can run ddclient in a debug mode to test if your configuration is correct and that it can successfully update your IP address. 

sudo ddclient -daemon=0 -noquiet -debug
sudo systemctl status ddclient.service

You should see output indicating that ddclient has successfully connected to your provider and updated your DNS record. 

Step 4: Enable and start the ddclient service

Once you have a working configuration, you can enable and start the ddclient systemd service to have it run automatically. 

sudo systemctl enable ddclient.service
sudo systemctl start ddclient.service

ddclient will now check for and update your public IP address on a regular basis. 

Step 5: Configure port forwarding

For your Raspberry Pi to be accessible from outside your local network, you must configure port forwarding on your router.

  1. Find your Raspberry Pi's local IP address by running ip a on the terminal.

    #ip a

  2. Log in to your router's administration page. The IP address is usually 192.168.1.1 or 192.168.8.1.

  3. Navigate to the Port Forwarding section. The name and location of this setting vary by router, but it is often under "Advanced," "WAN," or "Network" settings.

  4. Create a new rule to forward the desired external port to your Raspberry Pi's internal IP address and corresponding port.

    • For SSH: Forward port 222 on the Raspberry Pi's internal IP.

    • For a web server: Forward ports 80 and 443 to your Raspberry Pi's internal IP. 

Step 5: Test your setup

You can test your dynamic DNS configuration and connectivity by using another device outside your network.

  1. Check the DDNS record: Log in to your DDNS provider's website and verify that your domain is now pointing to your current public IP address.

  2. Attempt a connection: Try to SSH into your Raspberry Pi using the hostname you configured with your DDNS provider.

 

Tuesday, July 15, 2025

Raspberry Pi and the Elements of Nature


Image:  Field used Raspberry Pi with completely dust covered PCB, rusted and grass-embedded RJ45 and HDMI sockets, and other debris. Real time clock module features cobwebs and more grass. Recently disconnected Ethernet plug and cable  ......  still working!

Friday, March 14, 2025

Let's fix the USB Ports of a Raspberry Pi Model B+ V1.2 (2014)

 

Image:  Raspberry Pi Model B+ V1.2 (2014)  (Click on image for larger view.)

I own a Raspberry Pi Model B+ V1.2 manufactured in 2014.  In 2024 I noticed that if I plug a USB Sound Card Adapter in any of the ports it would not recognize the adapter.  None of the four USB Ports were working! I noticed that the green led was blinking and that component U13, gets abnormally hot.  The Ethernet port is working fine.  U13 was identified as a AP2553 a single channel precision adjustable current-limited switch.  I needed to find a solution or the PI would become a static ornament against the wall in my shack.   After searching the Internet I had the following options to solve the issue:

1.  Replace the "faulty"  AP2553 with a new one.

2.  Modify (bypass) the AP2553 to solve the problem.

3.  Check the Power Supply that it puts out enough voltage and amps.

4.  Check capacitor C97 and if faulty replace it.

Well you guess correctly I started fault finding with the easiest option to check capacitor C97.  I used a multi-meter.  While the Pi is Off, try using the buzzer of the multi-meter and check the 2 pins of C97. If you hear the beep sound then the problem is with the capacitor, remove it from the PCB and check it again.  If it beep again then C97 is toast.  This was the case with capacitor C97 in my Pi. The next step was to check the voltage and amps of the power supply.  It was more than adequate and there was no red flickering led or messages that there is a power problem.  I then decided to first check if removing C97 solved my USB issue.  Low and behold the USB ports came back to life after removing C97.  Thankfully the AP2553 was not damaged and all four USB ports are now working again.  I need not replace the AP2553 or do the bypass modification to solve my issue.  I will install a new capacitor at C97 and hopefully use this Raspberry Pi still for many years to come.

Herewith the links I used:  

1.  https://forums.raspberrypi.com/viewtopic.php?t=110164

2.  https://forums.raspberrypi.com/viewtopic.php?f=28&t=162103

Images:  (Click on images for larger view.)


  

Tuesday, March 11, 2025

NEW - Emergency VHF RF Radio Link installed via the Aasvoëlkop Repeater in the Southern Cape


Image:  Flow Chart RF Radio Link  (Click on image for larger view.)

For a while now I have been thinking about a KISS method to link the Aasvoëlkop Repeater near Albertinia to the ZS-HUB in Mossel Bay when the Internet is down due to loadshedding or any other outage.  Instead of complaining or sitting around waiting for the re-connection of  links when the Internet is down I decided to establish a VHF RF Radio Link to the Aasvoëlkop Repeater near Albertinia.  This link is not a replacement for any other Internet connected links to the Aasvoëlkop Repeater but will serve as an emergency radio link.  We must remember that when the Internet is down Echolink will also fail but this is not the case with AllStar.  Although we still lose long distance link connections when the Internet is down, AllStar will still be functional locally.  We use to lose all connections to the Aasvoëlkop Repeater during Internet outages.  This left many stations in the cold until the Internet connections are re-established.  This will not be the case anymore.  

The establishing of the VHF RF Radio Link in Mossel Bay has the following advantages and disadvantages:

Advantages:

1.  During Power or Internet outages we will still have a fully functional connection to the Aasvoëlkop Repeater.

2.  The RF Link provides a wider coverage area in the Southern Cape.  We can now reach areas in  Mossel Bay that previously did not have repeater coverage due to topographic obstacles.

3.  The RF Link can now be used by radio amateurs who previously had marginal access to the repeater with scratchy or "rain" on their TX or RX signal.

4.  The RF Link is using the KISS method.  It is simple and easy to use the link and you have two ways to access the Link.

5.  No extra equipment was needed to setup the VHF RF Radio Link.  The current ZS1I 145.550 Mhz RF Link equipment was used.  Software changes however had to be made.

6.  With the press of a button I can change to either the ZS1I 145.550 Mhz RF Link or the 145.625 Mhz Aasvoëlkop Repeater RF Link.  

7.  It will be quite simple to add a UHF RF Radio Link to the current setup if there is a need for such a link.

8.  Radio Amateurs can now use lower radio power output to excess the Aasvoëlkop Repeater through the VHF RF Radio Link.

9.  All the other broadcasting options is still available as before using the KISS method.  I did however disconnect telemetry and courtesy tone options to prevent the Ping-Pong effect between the repeater and the RF link.

10.  You will not hear the Aasvoëlkop repeater "tail" on the RF Radio Link.  I setup AllStar to eliminate the repeaters squelch tail.

11.  There is very little latency if any between the ZS1I HUB and the Aasvoëlkop Repeater.  However there will still be latency issues if connected to the other nodes when the Internet is up and running.

12.  The RF Link is open for use by any radio amateur.  Please note that although there is no indication on AllStar or Echolink that the link is active, the only way is to put out a call on the HUB, 145.625 Mhz or the DMR Bridge.  I am currently looking at a possible announcement when the RF link is active.

Disadvantages:

1.  Not all areas in the Southern Cape will be covered by the VHF RF Radio Link as is the case with any repeater.

2.  Certain telemetry announcements will not be active when the RF link is active.

3.  This VHF RF Radio Link is working but it is not the most ideal way to setup a direct RF Radio Link.  Obviously the most ideal situation would be to have an AllStar Node and Internet connection at the repeater site, but due to road and terrain access issues this is not possible.

4.  This VHF RF Radio Link will not be active 24/7.  It will only be available during Emergencies, Internet Outages,  Power Failures and when the need arise to use the link for some kind of event or purpose.

5.  Currently there is no method to remotely disconnect the link via DTMF, or Wi-Fi.  I am working on a solution in this regard.  Update to follow soon.


Image:  RF Radio Link and backup power (Click on image for large view.)

How do I use the Aasvoelkop RF Radio Link?

Using the RF Radio Link to the repeater becomes nothing more than a normal user of the repeater.  You use the RF Radio Link as you would when you use the Aasvoëlkop repeater.  You use your radio to transmit and receive as if the RF Radio Link is the repeater.  Option 1 underneath is the frequencies you use.

Refer to the SCP ZS-Link Network Flow Chart above to get a clearer understanding.

We need to make a few minor changes to our HT, Mobile or Base Station radio frequencies.  Lets first look at the frequencies used by the repeater and then to frequencies use by radio amateurs that would like to access the Aasvoëlkop Repeater.

Aasvoelkop Repeater Frequencies

RX = 145.625 Mhz  88.5 Hz CTCSS
TX = 145.025 Mhz 88.5 Hz CTCSS
 
Radio User (Option 1):  Radio Frequencies (Program these frequencies in your HT, Mobile or Base Station radios)
 
RX = 145.625 Mhz  88.5 Hz CTCSS
TX = 145.025 Mhz 88.5 Hz CTCSS
 
Radio User (Option 2):  Radio Frequencies (Program these frequencies in your HT, Mobile or Base Station radios)
 
RX = 145.025 Mhz  88.5 Hz CTCSS
TX = 145.625 Mhz 88.5 Hz CTCSS
 
Note:  Option 2 must only be used if you are in reach of the ZS1I QTH / Tower. To setup CTCSS refer to your radio's users manual.
 
For those who would like to setup a VHF RF Radio Link to a repeater, this is how I did it.
 
I am not going to explain how to setup/connect the AllStar software and radio hardware using a Raspberry Pi and a Motorola Radio. Google and YouTube are your friends here.  From here-on I will provide the changes I made to some AllStar files to get the link to work properly.

Important Note:  I used the HAMVOIP Firmware.  I do not know if the ASL3 Firmware will work to setup a remote RF link.  A Motorola Radios M100  is used as the link radio.
 

Image:  AllStar Admin Menu List  (Click on image for larger view.)
 

Image:  simpleusb-tune-menu  (Click on image for larger view.)

ALLSTAR Settings / Changes:
 
1.  Simple-Tune-Menu Settings
 
Log in via Putty or MobiXterm
In the Admin Menu List go down to Run simpleusb-tune-menu Application
Click on it.
Simpleusb-tune-menu will open
Go down to M) Change RXONDELAY value (currently "-100")
Enter M and set this value to -100
 
Rxondelay delays the valid COS signal and is used to stop cyclic keying or ping-pong which can sometime happen.  If you bring up simpleusb-tune-menu and select the "V" view mode.  You can see both the COS input and COS composite displays.  To understand how rxondelay works set it to some high value like 20 or 400ms.  When you transmit to your node you will see the COS input immediately go keyed and the 400ms delay of the composite.  Setting this value to high would cutoff the beginning of a transmission as it delays the actual COS beyond the real COS signal.  The default is 0 and this would be appropriate in most all cases except in the case of the Aasvoëlkop Repeater with a fairly long squelch tail.  In my case -100 did the trick. 
 
After entering the value go to N) Change RXAUDIODELAY value (currently "10")
Enter N and set this value to 10

Rxaudiodelay is primarily used for squelch tail elimination. It delays the audio in a buffer so that a drop of COS can cutoff a portion of the audio before the COS drops thus eliminating the tail of the transmission where a squelch crash would take place. Since all radios are different this value is adjustable. Valid values are from 0-24 in 20ms increments. Typical values in most cases would range from 5-10 or 100-200 ms. If is obviously not mandatory to use this, some people actually like squelch tails. The default is 0. If you have a way to monitor your node through another node or maybe iaxrpt you can listen when you drop TX on the node you want to adjust and move this value up until the tail is gone. Unless the tail is unusually long you should be able to eliminate it.

Now lets write the changes to the simpleusb.conf
Select W) Write (Save) Current Parameter Values
Enter
When "please enter your selection now appears" select 0 Exit Menu and Enter
Settings in the menu is now complete.
 

Image:  rpt.conf file (Click on image for larger view.)

2.  Repeater / Simplex Settings (rpt.conf)

Go back to the Admin Menu List screen
Select 9  Start Bash Shell interface
Enter
# cd /etc/asterisk
Enter
[root@allnode asterisk]# sudo nano rpt.conf 
Enter

Go to Repeater / Simplex Node Settings
Look for duplex = 1
Change the 1 to 0
duplex 0

This means half duplex with no telemetry tones or hang time. Special Case: Full duplex if linktolink is set to yes. This mode is preferred when interfacing with an external multiport repeater controller.

We are done!
Press Ctrl +X
Yes
Enter 
 
Changes will now be saved
Restart Asterisk Server in Admin Menu List
 

Image:  rpt.config file - turn off connect and disconnect announcements.
 
Time to turn off link connect and disconnect announcements
 
When running a link network we need to turn off those ridiculous connect and disconnect announcements which can last a long time and also interrupt the use of the link system.
 
The following commands need to be edited to get rid of the annoying connect/disconnect telemetry messages.

Go back to the Admin Menu List screen
Select 9  Start Bash Shell interface
Enter
# cd /etc/asterisk
Enter
[root@allnode asterisk]# sudo nano rpt.conf
Enter

Now look for:

holdofftelem=1  (Disable courtesy tones) ( 0 = default, 1=Disable)
telemdefault=0  (Do not make announcements)

; 0=voice telemetry off
; 1=voice telemetry on
; 2=only your telemetry actions

Press Ctrl +X
Yes
Enter
 
Changes will now be saved
Restart Asterisk Server in Admin Menu List
 
Your RF Radio Link will now be up and running!

Now back to the SCP VHF RF Radio Link.  Whow what a name for a single rf radio link but we need to differentiate between the links running in this area on the ZS Link Network.
 
Summary:
 
1.  The link is currently active on a test basis daily from 08h30 to 16h25 until further notice.
2.  The link will not be active 24/7 in the future.
3.  This link will be active during Emergencies,  Internet and Power outages.
4.  This link is not a substitute for any of the other links currently active in the Southern Cape Area.
5.  If you get no response on the ZS1I 145.550 Mhz RF Link then switch to the 145.625 Mhz Aasvoëlkop Repeater RF Link and call.
6.  Updates to follow in a future posting regarding the working and feedback relating to the RF Radio Link.

Finally: 
 
Enjoy using the Aasvoëlkop VHF RF Radio Link another valued addition to the SCP Link Network, brought to you by the Southern Cape Link Network Group.

Friday, February 21, 2025

Zayn ZR3VO builds a new SHARI PiHat Hotspot for AllStar and Echolink


About a month ago Zayn ZR3VO of Orania decided to put his SHARI HAT together for the Raspberry Pi. Now what is the SHARI PI HAT?

A "Shari PiHat" is a small, self-contained radio interface board designed for amateur radio enthusiasts. 

The SHARI PiHat, developed by folks like N8AR (a known name in the ham community), is a plug-and-play solution for turning a Raspberry Pi into an Allstar node. Allstar, short for Allstar Link, is a VoIP system that connects amateur radio operators worldwide using software like Asterisk. The SHARI PiHat uses the SA818 radio module—a low-cost, embedded VHF/UHF transceiver—combined with a custom circuit board that fits onto the Raspberry Pi’s GPIO pins (hence "PiHat").

Here’s a quick rundown:

Versions: You can get it in VHF (144-148 MHz) or UHF (420-450 MHz), depending on your radio band preference.

Setup: Mount it on a Raspberry Pi, connect an antenna (it often comes with a basic one), plug in a USB cable for audio and power, and load software like HamVoIP (a popular Allstar image for Raspberry Pi).

Function: Once configured, it acts as a simplex node—transmitting and receiving on a single frequency—letting you connect to other nodes or repeaters on the Allstar network.

Power: It’s low-power (around 1 watt), so it’s best for local use or as a hotspot with limited range unless paired with an amplifier.

Construction:  Often sold as a kit, requiring some basic electronics assembly to solder components onto a printed circuit board.

Allstar Network:  To function, the Raspberry Pi needs to be loaded with Allstar software, which enables communication with other Allstar nodes on the network. 

Radio Amateurs use it for things like portable radio nodes, emergency communications, or just experimenting with digital ham radio. It’s DIY-friendly but requires some basic config—like setting your call sign and node number in the software.

I am not going to go into detail about the construction here as the images and video is self explanatory and you can find the complete construction manual by clicking HERE. 

Images:  (Click on images for larger view.)


 

 





















Tuesday, November 5, 2024

How I make a backup copy of an SDCard using Raspberry Pi OS


Switch on the Raspberry PI and let it boot.
Plug in a USB Hub Extender into one of the Raspberry Pi USB Ports
You need to know the name of the 2 x USB SD Card Readers you are going to use.

USB SD Card Reader  No 1 = Green FNK TECH  0100 Card Reader
USB SD Card Reader  No 2 = White Super Top Micro SD Card Reader

Now plug the No 1 Green card reader into the USB Hub Extender.
Type lsusb enter
Card will be listed as FNK TECH  0100 Card Reader
Remove the card reader from the USB Hub Extender
Now plug the No 2 White card reader into the USB Hub Extender.
Type lsusb enter
Card will be listed as Super Top MicroSD Card Reader
Remove the card reader from the USB Hub Extender
We now know the names of the 2 x USB SD Card Readers
This will help to prevent mishaps when you make a backup copy of a card.
One can easily select the wrong cards when copying on to the other.

Ensure that you have a “clean” new SD Card to which you want to copy to.
I format the new card with SD Card Formatter in Windows with one of the card reader.
I select which card to format and then add the Volume Label  Example:  svxlink bu
Once added you can now format the card.
Remove and keep the card and reader at hand.
First we going to plug in the Green SD Card Reader into the USB Hub Extender that is connected
to the Raspberry Pi.
Now go to Accessories and click on SD Card Copier
SD Card Copier window will open displaying:

Copy from Device
Copy to Device

Click on the down arrow of the Copy from Device and FNK Tech 0100 Card Reader (dev/sda) will be listed.  Select it.
Now add the White SD Card Reader into the USB Hub Extender that is connected to the PI
Click on the down arrow of the Copy to Device and Mass Storage Device (dev/sdb) will be listed
Select it.  Leave other settings as is.
Click on Start and the copy process will start.
Green SD Card Reader LED will flicker and partition 1 will be copied.  Later partition 2 will be copied.
Once the process is finish a screen will appear to say that copy has been finalized.
Click OK
Eject both SD Card Readers
You now have 2 x SD Cards.  One backup and one for use.

Store the backup in a safe place and do not forget to label it so that you know what is on the card.
This backup process will save you a lot of time and frustration in the event of a corrupted or error card etc.

Enjoy!!



Sunday, September 22, 2024

A Cheap Switch Mode Power Supply Alternative ....... but BEWARE!!

With a few modifications and two additional resistors you are able to modify an old AT or ATX PC switch mode power supply unit to a stabilized 13.8 or 5v Volts / 20 Amps power supply.

WARNING: There are high voltages inside the housing, which can be lethal. Before opening the housing of the PC Switch Mode Power Supply unplug the power cable and turn off the switch on the back. Discharge the capacitors of the power supply by attaching a 100 ohm resistor between a black and red wire on the output side. However the high voltage capacitors on the input side can be still charged. The best way to discharge all capacitors is by letting the power supply sit unconnected for a few days. PLEASE NOTE: You do all modifications at your own risk!! I will not be held responsible for any mishaps, lethal shocks or damaged equipment by using the modified power supply. You have been WARNED!!

Now I am not going to "re-invent the wheel" here as there are many articles and videos that explain how one can modify a PC Switch Mode Power Supply for various uses.  I will however provide a pictorial view of how I modified a power supply to 5 volt DC 15 Amps.  I will also provide information about the spectacular end result of the modified power supply.

In the event that you would like to know more about the modifications,  I provide the following two links for further reading:

1.  A Cheap Power Supply - The "St. Louis Switcher" by Matt Kastiger N0XEU

2.  Building the "St Louis Switcher"  by George Heron N2APB

Download articles HERE

Compliments Radio ZS  March / April 2003

Construction:

The construction went well but I was doubtful if the used 2002 power supply was still in good conditions.  Time will tell!!

After all the modifications were made it was time to switch the power supply on, place a load on it and see if magic smoke escape.  First I did not put a load on the supply.  Well it switched on and no smoke escaped.  There was also no load on the output.  Using different 10 Watt resistors I started to test the load.  I increased the load as I went along testing the unit.  At 10 - 15 Amps the power supply was still happy even though it started to get rather hot.  The next test was rather ambitious.  I installed a resistor that drew 33  Amps for about 30 seconds.  Still no smoke and I decided not to push it any further.  The modified supply was working great.  I removed all the resistors switched the supply off.  After a while I switched the supply on with no load.  An instant "bang" was heard with the dreaded magic smoke coming out. I opened the supply but could not see where the smoke emanated from.  After unscrewing the PCB from the housing I saw that a PCB track was burned and the housing had a black burned mark on it.  Well being lazy I decided to "fix" the burned track by bridging it with a piece of copper wire.  Well this sloppy/silly fix resulted in a real Guy Fawkes display.  High voltage arc's running between the transformers and high voltage capacitors, clapping and booming so much so that my YL asked what am I doing in the Shack.  Funny it took quite a while before the original fuse blew.   Upon further investigation afterwards I found that there might have been a short created from the PCB track to the metal housing.  How I do not know.  Before starting the modifications I also found three electrolytic capacitors with broken safety valves on the top.  This must be replaced before final testing.  Moral of the story this power supply unit was not a good candidate to modify.  It was old and had an issue or two that resulted in it going silent key.  Some years ago I modified an old XT power supply which is still running flawlessly today.  

End result:  Rather look for a good condition PC switch mode power supply before commencing with any modifications.  Scratching in my junk room I found a next to new PC power supply which I am keeping for a spare for my desktop computers.  So I was not willing to modify it.  Scratching more I ran into the ideal 5v Switch Mode Power Supply (See photo.)  I forgot about this supply which was salvaged from a instrument that used 5v 20 Amps.  Now this find solved the need to modify any other PC power supply.  

Finally:  I had great fun with this project, However the danger that lies buried in a PC Switch Mode Power Supply was clearly demonstrated by this old supply.  Thankfully I applied all the safety measures in modifying the supply with only the supply going SK and not me.

Images  (Click on images for larger view.)
















Closure of this ZS Link Network Blog - 29 April 2026

This will be the final posting on the ZS Link Network Blog. This blog will no longer be updated but will remain available for research an...