Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Leica M7
- Rollei35s
- 2019 유럽여행
- 4870
- Germany
- 2018 미국출장
- fujifilm velvia 50
- Kodak 400TX
- Nikon 28Ti
- ZeissIkon ZI
- M-Rokkor 40/2
- kodak t-max 400
- Minolta CLE
- cs50/2.5
- FujiFilm GFX50s
- cf50/4 fle
- GRD2
- Hasselblad 500cm
- Kodak 5222
- Mamiya 7
- SONY A7
- cf80/2.8
- G28/2.8
- Kodak T-Max 100
- FujiFilm C200
- Kodak Ektar 100
- N80/4
- Minolta TC-1
- Contax G2
- Kentmere 400
Archives
- Today
- Total
J 창고
[Arduino] LM35 온도센서 본문
http://www.ti.com/lit/ds/symlink/lm35.pdf
LM35 Datasheet
http://blog.naver.com/lgiclee?Redirect=Log&logNo=40112342040
또 다른 방식으로 수치를 재는 방식
LM35
온도 센서를 이용하여 아두이노에서 온도 측정
ps. 핀 구분할 때 Buttom View를 조심하자
int temp = A5;
int tempValue = 0;
int data=0;
void setup(){
Serial.begin(9600);
}
void loop(){
tempValue = analogRead(temp);
data = (500*tempValue)>>10; // LM35DZ Converting Function
Serial.print("Temp = ");
Serial.println(data);
delay(500);
}
Comments