졸업작품/블랙박스(=BlackBox)

1.차량블랙박스 ㄱㅇㅎ(ㅎㅇㄷ)

ElectricShock 2016. 12. 20. 02:44

1. Piezo Disk Vibration (설명은 아래 링크 참고해주세요)

http://instructables.tistory.com/546

2. Photo Interrupt (=포토인터럽트, 포토커플러) (SG-23FF)

https://www.auk.co.kr/Common/DownloadFile?option=inline&option2=productPdfByPartNo&partNo=SG23FF

P=VI = 200mA * 1.4 = 0.28W = 1/4W


회로도

우선 ▼아래 GPIO를 기반으로 연결해야한다.

Auto_running_python...2.py

Auto_running_python...2(+Alarm).py

Auto_running_python...2(Stop_Streaming_button).py

Auto_running_python_by_pressing_PushButton.py

DoubleCondition.py

LED_Blink.py

LED_Control_using_Button.py

LED_Control_using_Button_2.py

PiCam_Capture.py

PiCam_Streaming.py


코드상에서 False일때를 감지하게끔 코딩했으므로

NOT Gate를 써서 반전시킨 상태로 RPi의 입력으로 들어가게된다.

▲충격센서의 원리에 관련해서는 아래 링크를 참고하면 된다.

http://instructables.tistory.com/546