Projects / Ideas / Carbon monoxide alarm for a generator room

Carbon monoxide alarm for a generator room

IntermediateEnvironmentIdeaReviewed
In short

How do you build a carbon monoxide alarm for a generator room?

An MQ-7 sensor runs its high-low heater cycle and warns when CO builds up near a diesel generator or inverter room. You need Arduino Uno R3, MQ-7 carbon monoxide sensor module, MOSFET IRLZ44N, Resistor 10 kΩ, Active buzzer 5 V, LED 5 mm red, Resistor 220 Ω and 5 V 2 A USB adapter.

Level
Intermediate
Time
About 150 min
Parts
8
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Drive a sensor heater with the timed cycle its datasheet asks for, using a MOSFET and PWM.

Parts list

How to build it

  1. Read the MQ-7 datasheet heater cycle: 5 V for 60 s, 1.4 V for 90 s
  2. Drive the heater through a MOSFET, using PWM for the low phase
  3. Read the sensor only at the end of the low phase
  4. Set a threshold from clean outdoor air
  5. Sound the alarm and keep a certified CO alarm too

Related projects

Common questions

What parts do I need for the carbon monoxide alarm for a generator room?

Arduino Uno R3, MQ-7 carbon monoxide sensor module, MOSFET IRLZ44N, Resistor 10 kΩ, Active buzzer 5 V, LED 5 mm red, Resistor 220 Ω and 5 V 2 A USB adapter.

How long does the carbon monoxide alarm for a generator room take to build?

About 150 minutes for a intermediate maker.