Re: PiDV, AMBEserver and Buster


Here are short instructions.

Quick Build on Linux

If you cannot find an AMBEserver package for your architecture and distribution. Try this:

select "RAW"
Copy and past the source code into AMBEserver.  Or just use the attached copy.

gcc -o AMBEserver AMBEserver.c
Place the executable in an appropriate place, and create configuration and autostart files.  On Raspbian/Debian this would be
sudo cp AMBEserver /usr/sbin
sudo chmod +x /usr/sbin/AMBEserver
A set of files for systemd management are located in the files section: ambesupport.tgz (

Download this file to the target computer's filesystem and run 
mv ambesupport.tgz /tmp &&  cd / && sudo tar -xzvf /tmp/ambesupport.tgz

Use the above instructions to manage the server.  (From the WIKI article)
The test programs (python) can be obtained here 
Open go to raw and copy and paste to similarly named file (Attached)
  Open go to raw and copy and paste to similarly named file  or download this one from  

Run the tests I mentioned earlier

On Wed, Apr 22, 2020 at 7:57 PM John D Hays - K7VE via <> wrote:
You probably need to build AMBEserver it is not on the standard repositories. 

On Wed, Apr 22, 2020, 19:25 Mechanical_Mac <c.g.macarthur@...> wrote:
Thanks John, I really appreciate your assistance.

The PIDV is definitely installed correctly on the Raspberry Pi, starting at PIN 1.
I always start with a fresh install of the latest version of Raspbian, now Buster.
I didn't get very far. The following steps were done sequentially.

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ambeserver
e:  unable to locate package ambeserver

I searched the raspbian package list for ambeserver without success. 

Any suggestions?
Colin G. MacArthur B.A., LL.B.

On Wed, Apr 22, 2020 at 1:01 AM John D Hays - K7VE <john@...> wrote:
You need to take a step wise approach to debug:

1. Make sure the HAT is properly seated.  

Orient it so that it is sitting on pins 1-26, here is an illustration on a 40 pin GPIO Raspberry Pi

Use a current version of Raspbian (Compass Linux is deprecated)
Build/Install ambeserver
Do Not Start amberserver until you confirm that the PiDV is communicating with the Raspberry Pi

Use the test program from 
sudo python -i /dev/ttyS0

If this fails, then you may have a hardware problem.  On success, then test in foreground (not as daemon, don't use systemctl yet)

sudo AMBEserver -i /dev/ttyS0

Watch for errors, and then open a second terminal window and use:


If the ambesocktest works, then you can kill the AMBEserver and restart it with systemctl.
My lab is down at the moment so I am unable to do hands on build and document.  

John D. Hays
Kingston, WA


John D. Hays
Kingston, WA


Join to automatically receive all group messages.