Raspberry Pi 2 and Pi 3 for Autoguiding+DSLR+GOTO

用 Raspberry Pi 設置一個輕便和便宜的 auto guider
sampson
紅巨星
文章: 404
註冊時間: 週二 16 7月, 2013 20:31

Raspberry Pi 2 and Pi 3 for Autoguiding+DSLR+GOTO

文章 sampson » 週二 14 4月, 2015 02:29

Information would be updated regularly :wink:

INDIGO Astronomy (Active development)
http://www.indigo-astronomy.org

Ekos/Kstars, INDI Library (Active development)
http://www.indilib.org/

Stellar mate INDI Library (Active development)
https://www.stellarmate.com

ASIAIR (Active development) is a smart WiFi device that allows you to control all ASI USB 3.0 cameras, ASI Mini series cameras, and an equatorial mount to do plate solving and imaging with your phone or tablet/iPad when connected to ASIAIR via WiFi.
https://astronomy-imaging-camera.com/product/zwo-asiair

AiGo (Inactive):
Fackbook page
Download AiGo 2017.v1
Dowload Readme

Astroberry Server is a ready to use astronomy desktop system for Raspberry Pi 3 It is a standalone system for controlling astronomy equipment supported by INDI server.
http://indilib.org/devices/rasbperry-pi ... erver.html

PiAstroHub (Inactive):
http://www.cloudynights.com/topic/38571 ... gdslrgoto/
Installation image for installation on Pi 2
http://www.cloudynights.com/topic/38571 ... ?p=6457105
Installation image for installation on Pi 3
http://www.cloudynights.com/topic/38571 ... try7093282

TinyAstro (Inactive) is an ARM Linux system with Kstars and INDI installed. With your mobile phone or tablet, you can control your gears without a computer.
http://tinyastro.org/
http://www.cloudynights.com/topic/50326 ... starsindi/
https://github.com/trlsmax/TinyAstro

AstroEX (Inactive)
http://www.hkastroforum.net/viewtopic.php?f=68&t=34371

StarsPi (Orphan) will connect to your Raspberry Pi via WiFi and guide your telescope, control your DSLR from your Android devices
http://starspi.com/
https://play.google.com/store/apps/deta ... om.starspi
http://www.cloudynights.com/topic/49369 ... id-device/

---------------------------------------------------------------------------------------------------
Lin gudier is an astronomical autoguiding program for Linux.
http://sourceforge.net/projects/linguider/
Compilation of Ling guider on for ASI cam.
https://www.eastmidlandsstargazers.org. ... r-project/

借用 TinyAstro 作者 Max Chen 和一日文網站的 Lin Guider 教學文章
http://tinyastro.org/doc/lg
http://blogs.yahoo.co.jp/ryu_02801/39660917.html

Open PHD/PHD2 is an astronomical autoguiding program.
http://openphdguiding.org/
Install Open PHD by using "deb package manager" (ARMHF build ppa)
https://launchpad.net/~pch/+archive/ubuntu/phd2

---------------------------------------------------------------------------------------------------
Ubuntu MATE for the Raspberry Pi
https://ubuntu-mate.org/raspberry-pi/
附加檔案
Manuel_iAH_ENG_160514.pdf
PiAstroHub user manual from THX59 on Cloudy Nights
http://www.cloudynights.com/topic/385710-piastrohub-raspberrypi-for-autoguidingdslrgoto/page-26#entry7093282
(1.16 MiB) 已下載 370 次
最後由 sampson 於 週三 05 12月, 2018 22:59 編輯,總共編輯了 16 次。

頭像
bbyaya
中子星
文章: 1215
註冊時間: 週五 26 8月, 2005 09:49

文章 bbyaya » 週二 14 4月, 2015 09:22

好有用, 謝謝

sampson
紅巨星
文章: 404
註冊時間: 週二 16 7月, 2013 20:31

文章 sampson » 週日 17 5月, 2015 00:16

小弟今個夏季想學習用 guiding, 由於想攝星的器材盡量輕便,於是自己就嘗試 rapberry pi2 方案。

其實第一代 rapberry pi 已有 Linux 的 auto guider 方案,但受制於效能和 usb port 數量,因此未有購入,但看見近日新出第二代 pi 的硬件已提升不少,加上 iAstroHub 的開發者 (Anat) 亦嘗試於 pi2 開發其攝星套件 (PiAstroHub), 我就嘗試為自己設置一個輕便和便宜的 PiAstroHub。

以下是我購買的設備,不計QHY5, Powerbank 和 sd card, 只須5百多元。

1. Raspberry pi2
2. Raspberry 保護膠盒
3. Micro SD card (Class 10, 8G 或以上)
4. Edimax EW 7811un (usb wifi 手指)
5. 供電手機用的 powerbank
6. QHY5 L II
7. Guide scope

安裝 PiAstroHub 非常容,只須下載 PiAstroHub image file, 然後於 Windows 用一個軟件(win32diskimager) 將這個 image file 寫入張 sd card 就完成並可以使用。 就係咁簡單 (⊙o⊙)

將sd card 和 network cable 插入 pi2 後再插上電源, 不到半分鐘已經可以使用,當然還要插上 qhy5 或 DSLR, 只要透過任何一種備有瀏覽器的流動電話或平板電腦,輸入pi2 的 ip 便可使用其天文攝影軟件如 Linguider, OpenSkyImager 等等

由於唔想帶個 portable router, 所以參考了 cloudynight 上所教的方法,將 EDIMAX wifi dongle 轉成 Access Point (AP), 因此每次 boot 起 PiAstrohub 都不須 router 就能夠透過 wifi 直接用手機或平板電腦連接 PiAstrohub 。轉 AP 須要少許 Linux 知識,但亦不算困難。

由於小弟現時完全不懂怎樣使用 guiding program ,又未曾出外試驗,因此未能在此分享使用心得和成果,只能分享設置 PiAstrohub 的經驗,希望幫助那些想輕便和便宜方案的同好。

如果有同好對 Pi2 有興趣,等我真正外出試驗後,可再報告是否成功 autoguiding 。 :)
最後由 sampson 於 週三 21 10月, 2015 11:10 編輯,總共編輯了 3 次。

sampson
紅巨星
文章: 404
註冊時間: 週二 16 7月, 2013 20:31

文章 sampson » 週日 17 5月, 2015 00:23

delete
最後由 sampson 於 週二 11 8月, 2015 19:49 編輯,總共編輯了 1 次。

sampson
紅巨星
文章: 404
註冊時間: 週二 16 7月, 2013 20:31

文章 sampson » 週日 17 5月, 2015 00:52

同一時間,我亦嘗試安裝有 graphical interface 的 Linux (Raspbian) 於另一張 sd card, 並成功安裝最新版 Lin guider, Oacapture 和 OpenSkyImager 。我這種安裝方法須要有較多 Linux 的知識,亦只有 auto guiding 和 planetary imaging program 可用,但勝在有完整的graphical interface。

Raspberry PI2 自動導星安裝步驟如下 (take your own risk):

Download and install Raspbian first and then follow the guide for installation.

Download Raspbian at https://www.raspberrypi.org/downloads/
Download Win32DiskImager at http://sourceforge.net/projects/win32diskimager/

Write the image file into a 16G or above (class 10) micro SD card using the Windows tool “Win32DiskImager”

Boot up the Raspberry pi2 and open the terminal to install the programs by following the guide.
Update the apt packages
################################################
sudo apt-get update

Install oacapture
################################################
#Goto http://www.openastroproject.org/wp-cont ... an.tar.bz2
#Download and extract oacapture-0.4.0-raspbian.tar.bz2

cd /home/pi
wget http://www.openastroproject.org/wp-cont ... an.tar.bz2
sudo tar -vxf oacapture-0.5.0-raspbian.tar.bz2
sudo apt-get install libqtcore4 libqtgui4 libv4l-0 libv4lconvert0 fxload libcfitsio3 libdc1394-22

cd oacapture-0.5.0-raspbian
sudo ./install-binaries.sh

#Create a Launcher on the desktop that runs /usr/local/bin/oacapture
sudo ln -s /usr/local/bin/oacapture /home/pi/Desktop/Oacapture

Compile/Install LinGuider
################################################
#Goto http://sourceforge.net/projects/linguider/
#http://ncu.dl.sourceforge.net/project/l ... .0.tar.bz2
#Download and extract lin_guider-3.1.0.tar.bz2

#Goto http://sourceforge.net/projects/cccd/files/firmware/
#http://jaist.dl.sourceforge.net/project ... .2_all.deb
#Download firmware-ccd_1.2_all.deb

cd /home/pi
wget http://ncu.dl.sourceforge.net/project/l ... .0.tar.bz2
wget http://jaist.dl.sourceforge.net/project ... .2_all.deb
sudo dpkg -i firmware-ccd_1.2_all.deb

sudo tar -xvf lin_guider-3.1.0.tar.bz2
cd lin_guider_pack/io_ftdi/
sudo apt-get install libftdi-dev g++
./build.sh

cd /home/pi/lin_guider_pack/lin_guider/
sudo apt-get install fxload libusb-dev libqt4-dev libusb-1.0
./configure
make
sudo cp ./lin_guider /usr/local/bin/

#Create a Launcher on the desktop that runs /usr/local/bin/lin_guider
sudo ln -s /usr/local/bin/lin_guider /home/pi/Desktop/LinGuider

Install OpenSkyImager
################################################
#Goto https://github.com/OpenSkyProject/OpenS ... master.zip
#Download and extract master.zip

cd /home/pi
wget https://github.com/OpenSkyProject/OpenS ... master.zip
unzip master.zip
cd OpenSkyImager-master

#install_OSI.bash will install all that is needed to use QHY camera series
#install_OSI_full.bash will add SBIG (unidrv) support

#sudo ./install_OSI_full.bash
sudo ./install_OSI.bash

Install x11vnc
################################################
sudo apt-get install x11vnc
x11vnc -forever -display :0

#x11vnc auto start up on boot
cd /home/pi/.config
sudo mkdir autostart
cd autostart
sudo nano x11vnc.desktop

### Paste the following text into the file #####

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=X11VNC
Comment=
Exec=x11vnc -forever -display :0
StartupNotify=false
Terminal=false
Hidden=false

################################################
### Save the file and logout
### Reboot the pi
### Connecting to the Raspberry Pi with Real VNC Viewer on Andriod or Windows

#Setup AP mode using Edimax EW 7811un
wget https://github.com/jenssegers/RTL8188-h ... 2.0.tar.gz
tar -zxvf v2.0.tar.gz
cd RTL8188-hostapd-2.0/hostapd
sudo make
sudo make install
sudo service hostapd restart


sudo nano /etc/hostapd/hostapd.conf

### Paste the following text into the file #####
interface=wlan0
ssid=RPi2
channel=1

macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
rsn_pairwise=CCMP
wpa_passphrase=1234512345123

driver=rtl871xdrv
ieee80211n=1
hw_mode=g
device_name=RTL8192CU
manufacturer=Realtek
################################################

sudo apt-get install dnsmasq
sudo nano /etc/dnsmasq.conf
############# ADD #############
interface=wlan0
expand-hosts
domain=local
dhcp-range=10.0.0.10,10.0.0.20,24h
dhcp-option=3,10.0.0.1
###############################

sudo nano /etc/network/interfaces
###############################
auto lo

iface lo inet loopback
iface eth0 inet dhcp


iface wlan0 inet static
address 10.0.0.1
network 10.0.0.0
netmask 255.255.255.0
broadcast 10.0.0.255
###############################


sudo nano /etc/rc.local
######### ADD #################
ifup wlan0
sudo service dnsmasq restart
sudo service hostapd restart
echo 1 > /proc/sys/net/ipv4/ip_forward
###############################

Reboot the PI and you would find the Wifi access point "RPi2".
Connecting RPi2 using the password "1234512345123"
Now you could connect the remote desktop by using VNC Viewer. The IP of your Pi2 would be 10.0.0.1
最後由 sampson 於 週三 21 10月, 2015 11:11 編輯,總共編輯了 7 次。

Chanlunlun
夸克星
文章: 3847
註冊時間: 週四 09 10月, 2003 21:06

文章 Chanlunlun » 週一 18 5月, 2015 09:31

Just curious to ask and please forgive my ignorance.

Could Arduino Nano do the same job ? It seems that the Arduino system is being more simple and easy to handle with.

DVD9
原恆星
文章: 61
註冊時間: 週三 12 1月, 2005 12:37

文章 DVD9 » 週二 19 5月, 2015 18:51

請問 IAstrohib 入面個Lin guider唔支持LXD75 mount,係咪要掛多個INDI先control到

sampson
紅巨星
文章: 404
註冊時間: 週二 16 7月, 2013 20:31

文章 sampson » 週三 20 5月, 2015 02:03

Chanlunlun 寫:Just curious to ask and please forgive my ignorance.

Could Arduino Nano do the same job ? It seems that the Arduino system is being more simple and easy to handle with.
Hi Mirror God :D
As I know that Arduino has a very limited processing power and I don't think it can manage to deal with the computing job for the guiding and imaging software.
Also, I don't find Linux guiding and imaging programs that could be run on this kind of cpu.

By the way, I am not a IT person and I might be wrong. It would be better for getting advices from some IT persons. :roll:

sampson
紅巨星
文章: 404
註冊時間: 週二 16 7月, 2013 20:31

文章 sampson » 週三 20 5月, 2015 02:50

DVD9 寫:請問 IAstrohib 入面個Lin guider唔支持LXD75 mount,係咪要掛多個INDI先control到
Hi DVD9,
以我所知 lxd75 係無 guide port, st4, 而 Lin guider 主要支援有 st4 的 ccd,也有LPT, 至於 Lin guider 能否透過 INDI 支援 ASCOM ,我都不太清楚。我只見 PiAstrohub 內的 Sky Chart 支援ASCOM去控 mount 和 goto system 。
我用的是備有 st4 的 QHY ccd , 不懂如何設置和使用電腦控LXD75,詳情要靠你 Google 吓。
:roll:

Reference:
http://sourceforge.net/p/linguider/wiki/Home/

http://www.hkastroforum.net/viewtopic.php?t=29224

http://lamhonkwong.edu.hk.hkastroforum. ... fc223187de

http://www.fourm.hkastroforum.net/viewt ... da2e5269af

http://wwe.hkastroforum.net/viewtopic.p ... 3c6fabede3

頭像
anthony168
紅巨星
文章: 588
註冊時間: 週日 15 8月, 2010 18:42
來自: 將軍澳

文章 anthony168 » 週三 20 5月, 2015 09:44

多謝sampson分享!

DVD9
原恆星
文章: 61
註冊時間: 週三 12 1月, 2005 12:37

文章 DVD9 » 週五 29 5月, 2015 16:26

sampson 寫:
DVD9 寫:請問 IAstrohib 入面個Lin guider唔支持LXD75 mount,係咪要掛多個INDI先control到
Hi DVD9,
以我所知 lxd75 係無 guide port, st4, 而 Lin guider 主要支援有 st4 的 ccd,也有LPT, 至於 Lin guider 能否透過 INDI 支援 ASCOM ,我都不太清楚。我只見 PiAstrohub 內的 Sky Chart 支援ASCOM去控 mount 和 goto system 。
我用的是備有 st4 的 QHY ccd , 不懂如何設置和使用電腦控LXD75,詳情要靠你 Google 吓。
:roll:

Reference:
http://sourceforge.net/p/linguider/wiki/Home/

http://www.hkastroforum.net/viewtopic.php?t=29224

http://lamhonkwong.edu.hk.hkastroforum. ... fc223187de

http://www.fourm.hkastroforum.net/viewt ... da2e5269af

http://wwe.hkastroforum.net/viewtopic.p ... 3c6fabede3
個Lin guinder串口接Lxd75玩唔掂,只好硬攻拆手控加st4,
無咗串口 skysafari 同plate-solving無得玩,依家要等好天、
,試吓個system掂唔掂
附加檔案
Screenshot_2015-05-29-12-35-03.png
Screenshot_2015-05-29-12-35-03.png (4.19 MiB) 已瀏覽 21263 次
最後由 DVD9 於 週五 26 6月, 2015 07:37 編輯,總共編輯了 1 次。

sampson
紅巨星
文章: 404
註冊時間: 週二 16 7月, 2013 20:31

文章 sampson » 週六 30 5月, 2015 22:27

DVD9 寫:
sampson 寫:
DVD9 寫:請問 IAstrohib 入面個Lin guider唔支持LXD75 mount,係咪要掛多個INDI先control到
Hi DVD9,
以我所知 lxd75 係無 guide port, st4, 而 Lin guider 主要支援有 st4 的 ccd,也有LPT, 至於 Lin guider 能否透過 INDI 支援 ASCOM ,我都不太清楚。我只見 PiAstrohub 內的 Sky Chart 支援ASCOM去控 mount 和 goto system 。
我用的是備有 st4 的 QHY ccd , 不懂如何設置和使用電腦控LXD75,詳情要靠你 Google 吓。
:roll:

Reference:
http://sourceforge.net/p/linguider/wiki/Home/

http://www.hkastroforum.net/viewtopic.php?t=29224

http://lamhonkwong.edu.hk.hkastroforum. ... fc223187de

http://www.fourm.hkastroforum.net/viewt ... da2e5269af

http://wwe.hkastroforum.net/viewtopic.p ... 3c6fabede3
個Lin guinder串口接Lxd75玩唔掂,只好硬攻拆手控加st4,
無咗串口 skysafari 同plate-solving無得玩,依家要等好天、
,試吓個system掂唔掂
[Good Job] 預祝成功

sampson
紅巨星
文章: 404
註冊時間: 週二 16 7月, 2013 20:31

文章 sampson » 週三 24 6月, 2015 15:27

除了 Lin guider, PHD2 也可以於 Raspberry Pi2 上運行,但可惜暫時未支援我的 QHY5II L M
附加檔案
2015-06-24-15-17-04[1].png
2015-06-24-15-17-04[1].png (377.66 KiB) 已瀏覽 22197 次

sampson
紅巨星
文章: 404
註冊時間: 週二 16 7月, 2013 20:31

文章 sampson » 週六 08 8月, 2015 02:18

試過兩次測試失敗,終於在4/8於明月照耀下首次測試成功。
由於自己失誤而損壞了極軸鏡內的刻度板,只好草草地將北極星放置於鏡的中心進行 Pi2 autoguiding 測試 [印堂黑黑]

M31是當晚測試時唯一拍攝的 DSO, 於 300mm 焦距下作5分鍾曝光,星點有輕微拉線 :cry:
5 min x 17 @ 300mm, f5.6, iso100
4 dark, no flat, no bias with DSS and ps
GP2 with Lin guider autoguiding using Raspberry Pi2


Drift graphic 很不平滑 [無辜畫圈圈] ,但自己又不太明白 program 內的各項設定 :cry:
藍色代表 DEC, 紅色代表 RA,請問各前輩有何意見?

請問有誰知 Vixen DD3 Controller 能否顯示電量 ,以便我出外攝星前更換電池。 [跪拜禮]
附加檔案
m31.jpg
m31.jpg (323.65 KiB) 已瀏覽 20912 次
20150805_024215.jpg
20150805_024215.jpg (126.11 KiB) 已瀏覽 20912 次
最後由 sampson 於 週日 16 8月, 2015 11:50 編輯,總共編輯了 1 次。

LT
夸克星
文章: 2507
註冊時間: 週日 17 8月, 2003 23:20
來自: YL
聯繫:

文章 LT » 週六 08 8月, 2015 23:51

多謝分享。

應該是DEC軸的backlash累事。有空給我電話。

回覆文章

回到「Raspberry Pi 自動導星裝置 diy Autoguiding」

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 5 位訪客