ASIAIR

Z Hujer.Net
(Rozdíly mezi verzemi)
Přejít na: navigace, hledání
(Configure SkySafari)
m
 
(Není zobrazeno 22 mezilehlých verzí od 1 uživatele.)

Aktuální verze z 24. 8. 2021, 06:01

Obsah

[editovat] HOWTO Enable SkySafari in ASIAIR with EQMod mount

[editovat] Enable indi_skysafari diriver - Modify ASIAIR SD card

[editovat] Install Raspbian

  • First, backup your ASIAIR SD card !!! Recommend use Win32DiskImager.exe
  • Install Raspbian Buster Lite on another SD card to download here
  • Insert the Rasbinan SD card into the Raspberry Pi3 and switch power on
  • Connect to Rasbina use hdmi display or TV and USB keyboard

login: pi
password: raspberry
Linux raspberrypi 4.19.57-v7+ #1244 SMP Thu Jul 4 18:45:25 BST 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Aug 18 09:08:20 2019 from 10.104.11.10

SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.

pi@raspberrypi:~ $

[editovat] Mount ASIAIR SD card in Raspbian

  • Insert the ASIAIR SD card into the card reader and connect to your Raspberry Pi3

pi@raspberrypi:~ $ sudo -s
root@raspberrypi:/home/pi# blkid
/dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="F661-303B" TYPE="vfat" PARTUUID="89dc697a-01"
/dev/mmcblk0p2: LABEL="rootfs" UUID="8d008fde-f12a-47f7-8519-197ea707d3d4" TYPE="ext4" PARTUUID="89dc697a-02"
/dev/mmcblk0: PTUUID="89dc697a" PTTYPE="dos"
/dev/sdb1: LABEL_FATBOOT="BOOT" LABEL="BOOT" UUID="0CD4-7D08" TYPE="vfat" PARTUUID="b52378d8-01"
/dev/sdb2: UUID="a0bd121f-e707-49e3-bca9-192889365de2" TYPE="ext4" PARTUUID="b52378d8-02"
/dev/sdb3: UUID="e6f5b65e-9211-4e9d-b5bd-a5160a672c2e" TYPE="ext4" PARTUUID="b52378d8-03"
/dev/sdb4: UUID="fc33a407-e610-4e36-97fe-e7cfc522864f" TYPE="swap" PARTUUID="b52378d8-04"

root@raspberrypi:/home/pi# mount /dev/sdb3 /mnt

root@raspberrypi:/home/pi# cd /mnt

root@raspberrypi:/mnt# ls
AP_2.4G.conf  AP_5G.conf  ASIAIR  ASIAIR_old  bridgeAP  cpuinfo  lost+found  samba  wlan0.conf  wpa_supplicant.conf

root@raspberrypi:/mnt# cd /mnt/ASIAIR/bin

root@raspberrypi:/mnt/ASIAIR/bin# ls
auto_shutdown.sh  polar_align.py   run_update_pack.sh  start_INDI.sh    zwoair_ap_led.sh  zwoair_guider  zwoair_updater
get_ap_ssid.sh    polar_align.pyc  set_timezone.sh     station_mode.sh  zwoair_daemon.sh  zwoair_imager

[editovat] Edit start_INDI.sh script

  • now edit start_INDI.sh use vi or nano text editor
#!/bin/bash

# $1=indi_lx200zeq25

if [ $# == 0 ];then
        echo "no argument"
        exit 1
fi

echo "driver:$1"

server_running=$(ps -ef|grep -v grep|grep indiserver|grep $1|awk '{print $2}')

if [ ! -z $server_running ];then
echo "server is already running"
exit 0
fi

killall -9 indiserver
indiserver $1 > /dev/null 2>&1 &

cnt=0
while [ $cnt -lt 50 ]
do
        indi_running=$(netstat -lp|grep -w indiserver|awk '{print $1}')
        if [ ! -z $indi_running ];then
        echo "indi is running"
        break
        fi
        sleep 0.05
        cnt=$[$cnt+1]
done

Search and modify line 20:
indiserver $1 > /dev/null 2>&1 &
to
indiserver $1 indi_skysafari > /dev/null 2>&1 &

Final version on this script is:

#!/bin/bash

# $1=indi_lx200zeq25

if [ $# == 0 ];then
        echo "no argument"
        exit 1
fi

echo "driver:$1"

server_running=$(ps -ef|grep -v grep|grep indiserver|grep $1|awk '{print $2}')

if [ ! -z $server_running ];then
echo "server is already running"
exit 0
fi

killall -9 indiserver
indiserver $1 indi_skysafari > /dev/null 2>&1 &

cnt=0
while [ $cnt -lt 50 ]
do
        indi_running=$(netstat -lp|grep -w indiserver|awk '{print $1}')
        if [ ! -z $indi_running ];then
        echo "indi is running"
        break
        fi
        sleep 0.05
        cnt=$[$cnt+1]
done
  • unmout ASIARI SD card and swich off your Raspberry
root@raspberrypi:/mnt/ASIAIR/bin# cd /
root@raspberrypi:/# sync
root@raspberrypi:/# umount /mnt
root@raspberrypi:/# halt
  • remove raspbian SD card and insert modify ASIAIR SD card to your Raspberry
  • connect your ASIAIR to EQmod compatible mount use EQDirect USB cable (my DIY is here or SynScan WiFi adapter

[editovat] Connectig to EQmod in ASIAIR App

[editovat] Use USB EQDirect cable

EQ mod direc .PNG

[editovat] SynScan Wifi Adapter

SynScan WiFi adapter configuration is here

EQ mod SynScanWiFi.PNG


[editovat] Configure SkySafari indi driver

[editovat] On iPad or iPhone

In your iPad or iPhone install iINDI control panel


  • Connect to your ASIAIR IP 10.0.0.1 port 7624


Indi control panel.PNG


  • Select SkySafari -> Options -> ACTIVE DEVICES -> set Telescope to "EQmod Mount" and Save


Indi setup SkySafari.PNG


  • Select SkySafari -> Main Control -> CONNECTION -> enable Connect


Indi enable SkySafasri.PNG

[editovat] On Android device

On your Android device install IPARCOS app


  • Connect to your ASIAIR IP 10.0.0.1 port 7624


IPARCOS.png


  • Click to setup icon and select SKYSAFARI card


IPARCOS Setup.png


  • Set Active devices to "EQmod Mount"


IPARCOS set device.png


  • Save config


IPARCOS save config.png


  • Enable SkySafari indi drver


IPARCOS enable skysafari.png


  • Final result is


IPARCOS final.png


[editovat] Kstars Linux/Windows and Kstarts lite alterntative on Android device

[editovat] Firsttime setup on Linux/Windows

Setup KStarts

K1.png


Add and Connect to ASIAIR IP 10.0.0.1 Port 7624

K2.png


Set Telescope name to "EQMod Mount" on SkySafari driver and save

K3.png

[editovat] Enable SkySafari driver on Linux/Windows

Click to Connecet button

K4.png

[editovat] Enable SkySafari driver in KStars Lite on Android

Setup KStarts Lite - select INDI control panel

Kl1.png


Connect to ASIAIR IP 10.0.0.1 port 7624

Kl2.png


Enable SkySafari driver - click to Connect button

Kl3.png

[editovat] Configure SkySafari

  • Select mount type "LX200 Classic"

SkySafariLX200.PNG


  • Set IP 10.0.0.1 and Port 9624


SkySafariSetup.PNG


  • Connect to telescope


SkySafari.PNG


That's all, now I have a large catalog of comets, atheroids, and other DSO :-)

Osobní nástroje
Jmenné prostory

Varianty
Akce
Navigace
Nástroje