close_btn
로그인, 회원가입후 더 많은 혜택을 누리세요 로그인 회원가입 닫기

전천 카메라

2021.02.27 03:19

별친구 조회 수:567

라즈베리파이 HQ 카메라를 이용한 전천카메라 홈페이지

https://github.com/RobboRob/allsky

 

기타 참고 문의 등은 https://www.raspberrypi.org/forums/viewtopic.php?t=275801

 

 

 

1. 라즈베리파이 4 구입 (또는 3.0 중고구입해도 작동 잘됨)

 

https://www.eleparts.co.kr/goods/view?no=8195636

 

파이용 HQ 카메라 구입

 

파이 카메라용 렌즈 구입

 

 

2. micro sd 64GB 메모리 구입

 

3. usb keyboard 준비 (초기 세팅시만 필요)

 

4. usb mouse 준비 (초기 세팅시만 필요)

 

5. HDMI cable mini (라즈베리파이와 모니터/tv 연결시 필요, 초기세팅시만 필요)

 

6, 보관 케이스 구입 :

 

7. 플라스틱 반구 구입

 

10. 파이카메라를 파이 보드에 연결

 

11. sd 메모리에 라즈베리파이 운영체제 설치파일 다운로드

 

https://www.raspberrypi.org/software/

윈도우버전 인스톨매니저 다운로드 받아 32비트 OS를 sd카드에 내려받기

ll Raspberry Pi OS using Raspberry Pi Imager

 

 

 

 

운영체제가 설치된 sd 카드를 파이에 넣고 부팅

 
 
12. 
설정
south  korea
Korean
Seoul
 
WIFI 연결
 
pi user password: new
 
 

메뉴의 환경설절

호스이름 allsky

interface : cameara enable, SSH VNC enable

GPU memory -> 256

WIFI country : US   

타임존 서울

제부팅

 

커맨드라인 열기

라즈베리 파이 업데이트(아래 명령어를 커맨드 라인에서 실행) 
sudo rpi-update

 

리부트

 

다시 아래 커맨드 실행

sudo apt update -y
sudo apt full-upgrade -y

 

마지막으로

sudo apt-get install unattended-upgrades -y

==============

이제 부터 카메라 설정

 

커맨드라인에서 아래 명령어 실행해서 카메라 잘 되는지 확인, 초점 확인 

 raspistill -v -o test.jpg

 

잘 보이면

 

아래 커멘드를 차례대로 실행하여 allsky 카메라 소프트웨어를 설치한다

cd ~
sudo apt-get install git
git clone https://github.com/RobboRob/allsky.git
cd allsky
sudo ./install_RPiHQ.sh

완료후 리부트!

 

 

웹서버 GUI 인스톨

cd ~/allsky
sudo gui/install_RPiHQ.sh

리부트

 

http://allsky

로 접속하여 테스트

초기 비번은 admin / secret 

 

 

 

 

GUI 가 안보일때는

create a file in /home/pi/allsky named autocam.sh and put in it:
export CAMERA=RPiHQ
change the settings of the file to 755:
chmod 755 autocam.sh
that should fix the issue...

 

이후 allsky 카메라의 IP를 외부에서 볼수 있도록 공유기 설정 (KT)

 

admin 이외 일반 유저젒곳은

http://allsky/public.php
 

 

 

mage width. 0 = max width
 
Image height. 0 = max height
 
Time in ms (1000ms = 1 sec, range 1 - 240000 ms)
 
Light sensitivity. Starts at 1 till 16. A high value returns a brighter image but more noise too
 
Activate to enable auto-gain
 
-100 to 100. Changes the difference between light and dark areas. A hight value increases contrast
 
0 to 100. Changes the amount of light in the image. Low value = dark. high value = bright
 
Auto White Balance
 
Red component for the White Balance, range 0 - 10
 
Blue component for the White Balance, range 0 - 10
 
1 = binning OFF (1x1), 2x2 binning, 4 = 4x4 binning
 
Delay between images in milliseconds. 1000ms = 1 sec.
 
Delay between images during daytime in milliseconds. 1000ms = 1 sec.
 
Wuality range for a JPG image, range 0% - 100%
 
No whitespaces in filename. Extensions allowed: .jpg
 
Set image rotation to enable proper orientation, range 0 - 359 degrees
 
Select a flipping option if you want to reverse the image along an axis
 
Auto Focus
 
Capture dark frames
 
Default text to position at the top center at the image
 
Show the current date and time at the top center at the image
 
Show image details at the top center at the image
 
Font size 6 - 160, default value 32
 
Annotation text font color in gray scale value 0 (black) - 255 (white)
 
Background annotation text color in gray scale value 0 (black) - 255 (white)
 
Latitude of the camera. Needs a number (0 to 90) and direction (N or S). Ex: 60.7N
 
Longitude of the camera. Needs a number (0 to 180) and direction (E or W). Ex: 135.05W
 

 

Altitude of the sun in degrees relative to the horizon at which to start/stop capture

 

번호 제목 글쓴이 날짜 조회 수
8 광해-가로등 갓 file 별친구 2021.07.12 3839
» 전천 카메라 [2] 별친구 2021.02.27 567
6 All sky camera v2 [2] file 별친구 2022.03.13 350
5 all sky camera에 잡힌 유성 file 별친구 2020.09.18 315
4 all sky camera에 잡힌 유성 file 별친구 2020.12.22 286
3 2021-04-11 file 별친구 2021.04.14 256
2 Arc7 가이드 성능 file 별친구 2022.01.19 226
1 All sky 유성 2022-04-03 file 별친구 2022.04.07 216