Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pi general code 1.0 ~ Alpa 2.0 (Update 2018/06/08 18:21) #58

Open
ras120 opened this issue May 26, 2018 · 6 comments
Open

Pi general code 1.0 ~ Alpa 2.0 (Update 2018/06/08 18:21) #58

ras120 opened this issue May 26, 2018 · 6 comments
Assignees
Labels

Comments

@ras120
Copy link
Collaborator

ras120 commented May 26, 2018

1.0

general.zip

1.1

General.zip
image

2.0 스레드 관련 변경점 적용 (Vi 미적용)

General2.0.zip

image

Info 출력 문자열 변경
image

2.1 vi 클래스 업데이트

General2.1.zip

2.2 - 2.1확인사항
vi클래스가 존이탈이 감지될때 까지 무한루프를 돌기 때문에 popRQ를 주기적으로 하지 않고 있음
샘플업로드좀 2.2의 test2.mp4는 구동확인용 관계없는 영상

Vo는 요청받는 게 없다고 해서
Push의 run에서 Vo클래스에 대한 요청 주석처리
Vo에서도 popRQ 주석처리

General2.2.zip




2.3 - Vo, Info 최신화(Vo구동확인, Info는 센서 미연결로 확인안됨, Vi미적용)
push.py의 27번 줄 임시 주석처리 - Info스레드 리스트 추가하는 부분

Run.zip

wav파일 재생 - 어디다 넣어야 되는 몰라서 일단 올려둠
play.zip


2.4 vi클래스 최신화
Run.zip

바꾼 알고리즘 테스트용
opfw.zip

2.5 Vo 리퀘스트 받을경우 재생
Run.zip

3.0 최신

0601G.zip
위에꺼에 vi 추가
0601.zip


Alpa 1.000

General_V1.000.zip

new_sample.zip



Alpa 1.001
Vo, Info, Server
-메세지 변경, try/except 추가 , 새로운 재생파일(voice.wav, music.wav)
V1.001.zip
new_sample.zip

Alpa 1.002
vi
-메세지 변경 ,try/except 추가
V1.002.zip


Alpa 1.100
Info 메세지 수정, 재생파일 포함
V1.100.zip


Alpa 1.200
Vi class complete
V1.200.zip


V1.300.zip


V2.0.zip

@ras120 ras120 self-assigned this May 26, 2018
@ras120 ras120 added the info label May 26, 2018
@ras120 ras120 changed the title Pi general code 1.0 Pi general code 1.1 May 26, 2018
@ras120 ras120 changed the title Pi general code 1.1 Pi general code 1.0 ~ 2.0 May 28, 2018
@HaebinKim HaebinKim changed the title Pi general code 1.0 ~ 2.0 Pi general code 1.0 ~ 2.1 May 28, 2018
@ras120 ras120 changed the title Pi general code 1.0 ~ 2.1 Pi general code 1.0 ~ 2.2 Coment is manual May 29, 2018
@ras120
Copy link
Collaborator Author

ras120 commented May 29, 2018

라즈베리파이 코드 시작 전 메뉴얼

터미널에서
sudo pigpiod
실행 이것은 라즈베리파이의 핀에 대한 set up임

들어있는 check.py 실행하여 USB Audio Device 인덱스 확인
Vo.py에 Device_INDEX 값 변경
부팅 때 마다 index가 바뀜
대부분 0, 2 둘중 하나였음

센서 연결
색깔에 맞춰 연결하면됨
테이브로 묶어둔 3개 선(녹적흑)이 온습도 센서
그 외 3개 선 (황적흑)이 먼지 센서(먼지 센서 선이 2개 남는데 안쓰는 선임)

@HaebinKim
Copy link
Collaborator

sample.zip
동영상 샘플

@ras120 ras120 changed the title Pi general code 1.0 ~ 2.2 Coment is manual Pi general code 1.0 ~ 2.3 Coment is manual May 30, 2018
@HaebinKim HaebinKim changed the title Pi general code 1.0 ~ 2.3 Coment is manual Pi general code 1.0 ~ 2.4 Coment is manual May 31, 2018
@HaebinKim HaebinKim changed the title Pi general code 1.0 ~ 2.4 Coment is manual Pi general code 1.0 ~ 3.0 Coment is manual May 31, 2018
@HaebinKim HaebinKim changed the title Pi general code 1.0 ~ 3.0 Coment is manual Pi general code 1.0 ~ 2.4 Coment is manual May 31, 2018
@HaebinKim
Copy link
Collaborator

SMPS.zip

@ras120
Copy link
Collaborator Author

ras120 commented Jun 1, 2018

SMPS.zip

@ras120 ras120 changed the title Pi general code 1.0 ~ 2.4 Coment is manual Pi general code 1.0 ~ 2.5 Coment is manual Jun 1, 2018
@ras120 ras120 changed the title Pi general code 1.0 ~ 2.5 Coment is manual Pi general code 1.0 ~ 3.0 Coment is manual Jun 1, 2018
@ras120 ras120 changed the title Pi general code 1.0 ~ 3.0 Coment is manual Pi general code 1.0 ~ Alpa 1.001 Coment is manual Jun 3, 2018
@ras120 ras120 changed the title Pi general code 1.0 ~ Alpa 1.001 Coment is manual Pi general code 1.0 ~ Alpa 1.001 (Update 2018/06/04 01:30) Jun 3, 2018
@ras120 ras120 closed this as completed Jun 4, 2018
@ras120 ras120 reopened this Jun 4, 2018
@ras120
Copy link
Collaborator Author

ras120 commented Jun 4, 2018

@ras120 ras120 changed the title Pi general code 1.0 ~ Alpa 1.001 (Update 2018/06/04 01:30) Pi general code 1.0 ~ Alpa 1.100 (Update 2018/06/04 22:21) Jun 4, 2018
@ras120 ras120 changed the title Pi general code 1.0 ~ Alpa 1.100 (Update 2018/06/04 22:21) Pi general code 1.0 ~ Alpa 1.200 (Update 2018/06/06 21:38) Jun 6, 2018
@ras120 ras120 changed the title Pi general code 1.0 ~ Alpa 1.200 (Update 2018/06/06 21:38) Pi general code 1.0 ~ Alpa 1.300 (Update 2018/06/08 01:42) Jun 7, 2018
@ras120 ras120 changed the title Pi general code 1.0 ~ Alpa 1.300 (Update 2018/06/08 01:42) Pi general code 1.0 ~ Alpa 2.0 (Update 2018/06/08 18:21) Jun 8, 2018
@Kownby
Copy link
Collaborator

Kownby commented Aug 12, 2018

Vo.zip

vo 수정.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants