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 |
Tags
- N80/4
- FujiFilm GFX50s
- cf80/2.8
- ZeissIkon ZI
- Mamiya 7
- 4870
- 2018 미국출장
- Minolta CLE
- GRD2
- Kodak Ektar 100
- Nikon 28Ti
- Rollei35s
- SONY A7
- Leica M7
- FujiFilm C200
- Kodak T-Max 100
- Minolta TC-1
- G28/2.8
- Germany
- Kentmere 400
- cs50/2.5
- fujifilm velvia 50
- Kodak 5222
- Hasselblad 500cm
- cf50/4 fle
- Contax G2
- M-Rokkor 40/2
- 2019 유럽여행
- Kodak 400TX
- kodak t-max 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