A. Pair the drone's raspberry pi bluetooth module and the fire detector bluetooth module hc-06.
B. run each code on RPi
-
Drone RPi
-
aBLE.py
-
func.py
-
Fire Alarm RPi:
A. The fire detector continuously sends the detected result to the server.
B. The drones monitor the database of the server where the user's rescue request, fire detection, and presence of obstacles are stored.
C. If the user's rescue request is made, the drones will fly to that location and evacuate the user through fire and obstacle free roads.
-
Drone RPi
-
BlueWay.py
-
func.py
-
iBeacon-scanner
-
Fire Alarm RPi:
python3 버전 중 자신의 컴퓨터 환경에 맞게 설치 (Windows/OS X/Ubuntu 등)
https://www.anaconda.com/download/
진행하다 "Insatll for"에서 All Users 선택
더 진행하다가 선택하는 거에서 Add anaconda to the system PATH environment variable도 같이 선택
자신의 랩탑 환경에 맞게 설치 (professional 버전은 1달 무료지만 학교 이메일로 등록하면 1년 라이센스로 사용 가능(그리고 카톡 친구에 사용 인증하면 스타벅스 줌/community 버전은 쭉 무료)
https://www.jetbrains.com/pycharm/download/#section=windows
아래 명령어 입력 (python 패키지 관리툴 설치)
conda install -c anaconda pip
그리고 아래 명령어 입력 (opencv 중 python꺼를 다운로드 및 설치)
pip install opencv-python
python 언어는 c언어의 컴파일러와 달리 interpreter가 조금 다르지만 비슷한 역할을 하는데 만약 interpreter가 없다고 알림이 뜨면 anaconda prompt를 실행하고 conda info --envs 명령어를 치면 환경과 경로가 나오는데 그 경로를 기억하고 pycharm에서 setting에서 interpreter 설정에 들어가서 기억한 경로로 들어가서 (Anaconda3 폴더 내) python.exe를 선택하면 됨
import cv2