-
Notifications
You must be signed in to change notification settings - Fork 3
Software
pimoco software is made available under GNU General Public License v3.
Pimoco was developed and tested on a Raspberry Pi 4 running 32-bit Raspberry Pi OS. Here's how to get started.
Install the Indi driver development environment and Nova library with sudo apt-get install libindi-dev libnova-dev
.
The WiringPi binaries in Raspbian currently don't support the Pi4B. To remediate this, git clone [email protected]:WiringPi/WiringPi.git && cd WiringPi && ./build
. This will prompt for your sudo password for installing the rebuilt binaries.
Clone the pimoco repository with git clone https://github.com/mlnoga/pimoco
, change into the directory with cd pimoco
and build with make install
. You will be prompted for a root password to install.
Besides the pimoco Indi drivers, this also installs a custom device tree overlay for SPI port 0 with 4 client select lines. Edit the boot configuration with sudo nano /boot/config.txt
like this, then restart the Pi for the changes to take effect:
dtparam=spi=off # Deactivate standard SPI0 with client select lines 0,1
dtoverlay=spi0-4cs # Activate custom SPI0 with 4 client select lines
Open KStars, open Ekos and add a hardware profile for your new pimoco devices.
For GPS, first get the serial port working. Open sudo raspi-config
, go to the interfaces section, and enable the serial port but disable the serial console. Reboot. Set the speed with stty -F /dev/ttyS0 9600
. Verify you are getting some data with minicom -b -D /dev/ttyS0
.
Then stop virtualgps, which comes preinstalled on Astroberry. sudo systemctl disable virtualgps
and sudo systemctl stop virtualgps
.
Finally get the gps daemon in shape. On Astroberry, the programs are preinstalled. If they are missing, do sudo apt-get install gpsd gpsd-clients
. Edit /etc/default/gpsd
and set DEVICES="/dev/ttyS0
. Restart gpsd with sudo /etc/init.d/gpsd restart
. Check everything works with cgps
.