Skip to content

Commit c1f7917

Browse files
committed
docs : 적외선 센서
1 parent 3b24220 commit c1f7917

8 files changed

+243
-1
lines changed

README.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
### 📖 [데이터 처리 함수](https://github.com/jeonghye-choi/LAB-Elementary-computer/blob/master/docs/%EB%8D%B0%EC%9D%B4%ED%84%B0%EC%B2%98%EB%A6%AC%ED%95%A8%EC%88%98.md)
2121

22-
### 📖 []()
22+
### 📖 [Serial 통신]()
2323

2424
<br>
2525

@@ -31,5 +31,24 @@
3131

3232
### 💎 [오실로코프&함수발생기](https://github.com/jeonghye-choi/LAB-Elementary-computer/blob/master/%EB%B6%80%ED%92%88%26%EC%97%B0%EA%B2%B0%EB%B0%A9%EB%B2%95/%EC%98%A4%EC%8B%A4%EB%A1%9C%EC%BD%94%ED%94%84%26%ED%95%A8%EC%88%98%EB%B0%9C%EC%83%9D%EA%B8%B0.md)
3333

34+
### 💎 [스피커]()
35+
36+
### 💎 [온도 센서]()
37+
38+
### 💎 [조도 센서]()
39+
40+
### 💎 [7세그먼트]()
41+
42+
### 💎 [text LCD]()
43+
44+
### 💎 [모터]()
45+
46+
### 💎 [적외선 센서]()
47+
48+
### 💎 [초음파 센서]()
49+
50+
### 💎 [가속도 센서]()
51+
52+
3453

3554

docs/Serial통신.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# 📙 Serial통신
2+
3+
UART, SPI, I2C
4+
5+
###

부품&연결방법/7세그먼트.md

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# 📌 7세그먼트
2+
3+
### ✔ 연결방법
4+
5+
6+
<br><br>
7+
8+
### ✔ 7세그먼트
9+
10+
- 표시장치
11+
12+
- 내부 구조
13+
14+
- 숫자 표시
15+
16+
- 제어 데이터
17+
18+
- 4자리
19+
20+
- 제어핀 수
21+
22+
- 잔상 효과 사용
23+
24+
- 구조
25+
26+
- 3자리
27+
28+
- 제어핀 수
29+
30+
- 잔상 효과 사용
31+
32+
33+
34+
<br><br>
35+
36+
### ✔ LAB
37+
38+
- 1자리 숫자 표시
39+
40+
- 모든 자리 표시 및 0.1초 카운터
41+
42+
- 시계 구현
43+
44+
- 가변저항 값 표시
45+
46+
<br><br>
47+
48+
### 🔎 정리
49+
50+
- 7세그먼트 표시 장치
51+
52+
- 8개 LED
53+
54+
- 한 자리 = 8개 제어핀
55+
56+
- 공통핀 VCC/GND를 가하는 공통 양극/음극 방식으로 구별
57+
58+
- 3/4자리 7세그먼트 표시 장치
59+
60+
- 잔상효과

부품&연결방법/text_LCD.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# 📌
2+
3+
### ✔ 연결방법
4+
5+
6+
<br><br>
7+
8+
###
9+
10+
11+
<br><br>
12+
13+
### ✔ LAB
14+
15+
16+
17+
<br><br>
18+
19+
### 🔎 정리
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# 📌 가속도 센서
2+
3+
### ✔ 연결방법
4+
5+
6+
<br><br>
7+
8+
###
9+
10+
11+
<br><br>
12+
13+
### ✔ LAB
14+
15+
16+
17+
<br><br>
18+
19+
### 🔎 정리

부품&연결방법/모터.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# 📌
2+
3+
### ✔ 연결방법
4+
5+
6+
<br><br>
7+
8+
###
9+
10+
11+
<br><br>
12+
13+
### ✔ LAB
14+
15+
16+
17+
<br><br>
18+
19+
### 🔎 정리
+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# 📌 적외선 센서
2+
3+
- 사람: 36.5도 적외선 방출
4+
5+
- 적외선 -> F-lens통과 -> 적외선 센서
6+
7+
- 적외선 센서에 닿은 적외선 -> 전압으로 출력
8+
9+
### ✔ HC-SR501 PIR Motion Sensor
10+
11+
![image](https://user-images.githubusercontent.com/54584063/84300179-e9880c80-ab8c-11ea-8f45-a92894df6198.png)
12+
13+
- Time Delay Adjust
14+
15+
: 한 번 움직임을 감지했을 때 몇 초후에 다시 감지를 준비할 건지 조절
16+
17+
- Sensitivity Adjust
18+
19+
: 움직임 감지 범위
20+
21+
![image](https://user-images.githubusercontent.com/54584063/84300457-471c5900-ab8d-11ea-8f74-2b28f6cb303a.png)
22+
23+
- 초기화하는데 1분정도 소요
24+
25+
- Time Delay Adjustment
26+
27+
- 시계방향: 지연시간 늘림 (약5분)
28+
29+
- 반시계방향: 지연시간 줄임 (약 3초)
30+
31+
- 감지 거리
32+
33+
- 시계방향 : 범위 줄음 (약3m)
34+
35+
- 반시계방향 : 범위 늘음 (약7m)
36+
37+
- Trigger Mode Selection Jumper
38+
39+
![image](https://user-images.githubusercontent.com/54584063/84300857-ce69cc80-ab8d-11ea-98db-5ac808511ad3.png)
40+
41+
42+
43+
### ✔ 연결방법
44+
45+
![image](https://user-images.githubusercontent.com/54584063/84300956-f5c09980-ab8d-11ea-8796-be2c8df96501.png)
46+
47+
<br><br>
48+
49+
### ✔ LAB
50+
51+
- 적외선 센서 값 출력
52+
53+
```js
54+
int motionPin = 8;
55+
56+
void setup() {
57+
Serial.begin(9600);
58+
pinMode(motionPin, INPUT);
59+
}
60+
61+
void loop() {
62+
int motion = digitalRead(motionPin);
63+
if(motion == 1) {
64+
Serial.println("Motion detected");
65+
}
66+
delay(500);
67+
}
68+
```
69+
70+
71+
72+
<br><br>
73+
74+
### 🔎 정리
75+
76+
- PIR 적외선 센서
77+
78+
- 사람, 동물 등의 움직임 감지
79+
80+
- Digital Input 으로 감지 결과 얻음
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# 📌 초음파 센서
2+
3+
거리센서
4+
5+
### ✔ 연결방법
6+
7+
8+
<br><br>
9+
10+
###
11+
12+
13+
<br><br>
14+
15+
### ✔ LAB
16+
17+
18+
19+
<br><br>
20+
21+
### 🔎 정리

0 commit comments

Comments
 (0)