A sensor that can recognize human breath is produced using Arduino and MQ150. The code is as follows.
Codes for Breath data( 숨 정보를 받아드리는 코드)
MQ135 = A0; int SensorVal = 0; int setup void ) { (
Serialbegin . 9600); (
}loop void ) { (
mq135); (
delay 500); (
}mq135 void ( { )
valor = int analogRead MQ135); (
Serial. println "Breath Tester"); (
Serial. valor); (
Serial. println "ppm"); (
delay 500); (
}
No comments:
Post a Comment