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
Diy
Admin
Admin
Contact:
Location: Philippines
Posts: 170
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):
fume_extractor_mini.png
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);
    delay(100);
  }
  else {
    // Deactivate the 'fe' pin - the fume extractor and the blue LED will turn off
    digitalWrite(fe, LOW);
    delay (500);
  }
}

Return to “ARDUINO AND RASPBERRY PI”

Links

In total there are 6 users online :: 1 registered, 0 hidden and 5 guests
Registered users: Bing [Bot]
Most users ever online was 156 on Sun Jun 17, 2018 7:42 am
Total posts 373
Total topics 270
Total members 54
Our newest member BrizkQuili
No birthdays today