How to make Soldering Fume Extractor using Arduino?

Programming, Tutorial, Coding, New Design, and/or any project for your Arduino and Raspberry Pi can post your topic /suggestion here.
User avatar
Location: Philippines
Posts: 187
Joined: Sat Apr 23, 2016 10:32 pm

How to make Soldering Fume Extractor using Arduino?

Sat Mar 03, 2018 10:44 am

Automatic soldering fume Extractor

This is a breadboard prototype of an automatic soldering fume extractor. It is supposed to turn on the fans, when an MQ-2 gas sensor detects fumes and turn the fans off, when the air is clean again.

Wiring diagram (Click the Image to Inlarge):
Here is the .ino source code:

Code: Select all

// Digital pin 4 will be called 'fe' (short version of 'fume extractor')
int fe = 4;
// Analog pin 1 will be called 'sensor'
int sensor = A1;
// Set the initial sensorValue to 0
int sensorValue = 0;

// The setup routine runs once when you press reset
void setup() {
  // Initialize the digital pin 4 (named 'fe') as output
  pinMode(fe, OUTPUT);

// The loop routine runs over and over again forever
void loop() {
  // Read the input from analog pin 0 (named 'sensor')
  sensorValue = analogRead(sensor);
  // If sensorValue is greater than 570
  if (sensorValue > 570) {
    // Activate the 'fe' pin - the fume extractor will turn on and the blue LED will light up
    digitalWrite(fe, HIGH);
  else {
    // Deactivate the 'fe' pin - the fume extractor and the blue LED will turn off
    digitalWrite(fe, LOW);
    delay (500);



In total there are 8 users online :: 0 registered, 0 hidden and 8 guests
Registered users: No registered users
Most users ever online was 156 on Sun Jun 17, 2018 7:42 am
Total posts 471
Total topics 355
Total members 69
Our newest member svetikvow
No birthdays today