PDA

View Full Version : MQ-7 Sensor



chipmaker
- 4th June 2017, 07:55
Looking for a Code Example to use with a MQ-7 (Carbon Monoxide Sensor) to control the heater. Vh should be at 1.5V + or - 0.1v low voltage when detecting CO and at 5v + or - 0.1v when not detecting.
I am using PBP v3.1 and using both a analog input to read the level of CO and a Dig. output for a warning indicator. Thank you for any help. :confused:

Dave
- 5th June 2017, 11:56
Chipmaker, I am using a MQ-8 HYDROGEN SENSOR for my battery containment chamber and it is very similar. The only thing I would make sure of is to filter the analog readings over a period of time so as to eliminate any noise problems. I use mine to control the PWM and hence forth the speed of the exhaust blower and a alarm limit. It's been working flawlessly for about 5 years.

chipmaker
- 6th June 2017, 04:24
Dave, Thank you for that info. I did not think about filtering the analog reading. That may be the answer to my problem with the MQ-7. A noise problem. Me not thinking right so I
I am thinking left. :)

chipmaker
- 9th June 2017, 00:05
Dave

Thank you with that filter idea. Problem was noise. IT'S WORKING :D