I’ve opened up a combination carbon-monoxide and natural gas alarm that was reaching its end of life. (First, I replaced it with a new alarm.)
Gas sensor add-in board.
At the bottom of the main board is a small daughterboard that contains the actual gas sensor and some interface electronics. Initially, I hypothesized that this board could be added or removed to change the detector model from a CO alarm to a combination CO/gas alarm. This would allow them to mass produce the main board (reducing cost), and they could easily vary the quantity of combination detectors produced based on consumer demand.
To test this hypothesis, I desoldered the methane gas board. The unit powered on just fine. It displayed 0 ppm and flashed a decimal point every second to show that it was operational. Then, after about a minute...
Gas detection displayed on LED.
The lack of the gas detector board causes this model to show an alert and blast my ears. Ouch.
Part of me is reassured that a non-functioning gas sensor would result in an alert from the detector. That’s a good design. On the other hand, it probably should display “Err” instead, so that the consumer won’t call the fire department.
The daughterboard is attached to the motherboard with a five-pin connector. Does the daughterboard have a microcontroller on it that communicates to the main microcontrollers via a serial interface? Or, is the sensor value buffered and transmitted via an analog value? No.
Gas detector board.
The circuit outputs only digital values (true or false) from the comparator. So, the main microcontroller is unable to display the gas PPM value since it can’t read it directly.
Why not have the gas sensor and thermistor analog signals go directly to a microcontroller for processing? In doing so...
Neither of the PIC microcontrollers used in the device have analog-to-digital converter pins. At the time the CO & gas detector was designed, someone probably computed the cost of a microcontroller with analog inputs versus the cost of the components on the daughterboard.
The Figaro datasheet indicates that the gas sensor is sensitive to methane, as well as hydrogen and ethanol. I’m pretty sure the electrolysis rust removal apparatus generates hydrogen gas. However, I’d need to set it up, and I might need to capture the hydrogen to trigger a response.
A more convenient gas is ethanol -- also known as ethyl alcohol. I suppose a glass of beer or wine might do, however I simply held the Nighthawk gas sensor to an open container of ethyl rubbing alcohol from the medicine cabinet. In about 15 seconds, the pin on the detector board flipped from high to low. (FYI: Ethanol won’t work for sensors that include a filter.)
So, it looks like I’ve salvaged a gas sensor out of the device. Let’s see what else I can get from it.