Cooking Fumes Switch On a Fan | Arduino Nano, MQ-2 and Relay
An Arduino Nano uses an MQ-2 reading to switch a fan through a relay. Separate switching thresholds keep small fluctuations from repeatedly cycling the fan.
Watch & exploreExplore one engineering idea at a time. Watch a short lesson, read the key concepts and test your understanding before your next interview, project or class.
Video · Key ideas · Check your understanding
An Arduino Nano uses an MQ-2 reading to switch a fan through a relay. Separate switching thresholds keep small fluctuations from repeatedly cycling the fan.
Watch & exploreAn Arduino waits until an object remains within 40 cm of the distance sensor for two seconds before sending an infrared PAUSE command. It sends one command per approach.
Watch & exploreAn Arduino Nano uses a rain indication to command a servo that closes a miniature clothesline cover.
Watch & exploreAn Arduino model barrier can use vehicle detection to inhibit a closing command while the passage is occupied. The servo command and the occupancy signal describe different parts of the sequence.
Watch & exploreEncoder feedback lets an Arduino compare measured motor speed with the target and adjust drive after a load change.
Watch & exploreAn Arduino can use ultrasonic distance to a liquid surface to decide when a tank needs refilling. The air gap decreases as the tank fills.
Watch & exploreAn Arduino thermostat can read a DS18B20 temperature sensor and control a fan with separate switch-on and switch-off temperatures.
Watch & exploreAn Arduino honey filler can use a scale to target 500 g of net product and coordinate the weighing, filling and completion stages.
Watch & exploreAn Arduino and a PLC can both send step and direction commands to a suitable drive. Using the same NEMA 17 motor makes the controller’s role easier to isolate.
Watch & exploreAn Arduino can provide a speed request through a suitable 0–10 V interface to a variable-frequency drive. The drive supplies and controls the AC motor that turns the fan.
Watch & exploreBoth an Arduino and a PLC can compare measured brushless-motor speed with a reference and command a drive.
Watch & exploreA separate high-level switch provides an additional observation when routine level control fails.
Watch & explore