Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Tad McAllister
Published © CC BY-NC-ND

Automatic Fume Extractor

Hack a cheap smoke detector to automatically extract smoke, carbon monoxide and solder fumes!

BeginnerFull instructions provided4 hours2,343
Automatic Fume Extractor

Things used in this project

Hardware components

SparkFun Solder-able Breadboard
SparkFun Solder-able Breadboard
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Custom parts and enclosures

Gerber file

CAD file for PCB manufacturing

Schematic_updated

Gerber_updated

CAD file

Schematics

Schematic

Bill of Materials (BOM)

Parts list

Schematic_updated

BOM_updated

Parts list
File missing, please reupload.

PCB_pdf

Code

fan_ctrl_pwm.ino

C/C++
/*
Simple sketch to maintain a set speed, reading tachometer input and setting fan speed using pulse width modulation output from MCU.
*/

#define TACH 18; 
#define PWM  19; 

void setup(){
  
pinMode(PWM, OUTPUT);
pinMode(TACH, INPUT); 

digitalWrite(TACH,HIGH);
}

void setFanSpeed (uint_8t dutyCycle) {
  analogWrite(PWM, dutyCycle);
}
 
void loop(){
 targetSpeed = analogRead(PWM)/4; 
 analogWrite(speed);          
 delay(500);
}

Credits

Tad McAllister

Tad McAllister

3 projects • 14 followers
Working as an IoT developer, I'm interested in embedded electronics, software and computer vision challenges!

Comments