PiDV™/ThumbDV™ – AMBEServer

Installing AMBEserver on Linux

Please use the documentation at
https://github.com/nwdigitalradio/ambeserver-install

Note: Starting 13 July 2015 new ThumbDV™ devices are set to a baud rate of 460800 and the latest AMBEserver source implements a new parameter to support the new baud rate.  To activate the higher speed set the parameter of -n, e.g. AMBEserver -n

AMBEserver on Windows

David, PA7LIM offers a Windows AMBEserver

 

Install the PiDV™ to the Raspberry Pi

  1. The PiDV™ board is pre-set to run at 230400 baud over the UART interface in “packet mode”. This is the minimum speed for successful operation.
  2. Prepare the Raspberry Pi. This consists of (a) increasing the clock to the RPi UART, (b) disabling the getty (to allow terminal login) running on the RPi serial port, and (c) disable the console on the serial port.Halt and remove power from the Raspberry Pi, fit thePiDV™ board, reconnect power, and reboot
    1. Edit the file /boot/config.txt and add the line:
      init_uart_clock=3686400
      Note:
      a higher value is needed on RPi 2 (50000000 has been suggested by VK4TUX)
    2. Edit the file /etc/inittab and replace or comment the line:
      T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
      with:
      #T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
      or delete the line entirely.
    3. Edit the file /boot/cmdline.txt and replace or comment the line (these lines are wrapped in this article, they should appear as a single line in the file):
      dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
      with:
      dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwaitNote: If the value for ‘root’ is different than /dev/mmcblkop2, preserve your current root=/dev/… and simply remove ‘console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty‘ from the line. (Thanks to DL5DI)

Preinstall needed libraries and tools

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libusb-1.0-0-dev libwxgtk2.8-dev portaudio19-dev git-core
sudo apt-get install build-essential g++ python-serial

Install and build the wiringPi library from source

The wiringPi library may be pre-installed on the latest Raspbian images.  If not, then:

cd
git clone git://git.drogon.net/wiringPi
cd wiringPi
./build