# FunHouse IoT Fume Extractor and Air Quality Sensor

## Overview

https://youtu.be/3rwHkWDBnlA

https://youtu.be/B5svMzlKLrY

## Smart Fume Extractor

Build a smart DIY fume extractor with an Adafruit FunHouse and CircuitPython. Use a PWM fan and the EMC2101 controller to change the speed based on readings from an SPG30 air quality sensor.

![3d_printing_hero-desk-angle.jpg](https://cdn-learn.adafruit.com/assets/assets/000/102/563/medium640/3d_printing_hero-desk-angle.jpg?1622732218)

## Adafruit IO & Data Logging

Use CircuitPython libraries and ESP32-S2 to connect to WiFi and log sensor data to a feed and display it on a dashboard with Adafruit IO. Use the FunHouse's built-in TFT to display bitmap graphics with fan speed and air quality. Use the built-in buttons to select options like choosing to log data. CircuitPython makes it easy to customize features, experiment with other hardware and quickly iterate.

![3d_printing_hero-display.jpg](https://cdn-learn.adafruit.com/assets/assets/000/102/564/medium640/3d_printing_hero-display.jpg?1622732238)

![3d_printing_hero-sensor.jpg](https://cdn-learn.adafruit.com/assets/assets/000/102/654/medium640/3d_printing_hero-sensor.jpg?1622852104)

## Fun Features

The electronics are housed in a 3D printed enclosure that snap fits together. Use a carbon activated filter to adsorb smoke from solder fumes. The fan controller and air quality sensor are connect with STEMMA QT cables for a plug-and-play circuit. A mini fan mounted in front of the air quality sensor directs fumes for sampling and measuring. The ports on the FunHouse make it easy to power 5V peripheral.

![3d_printing_hero-side.jpg](https://cdn-learn.adafruit.com/assets/assets/000/102/653/medium640/3d_printing_hero-side.jpg?1622852035)

![3d_printing_hero-back.jpg](https://cdn-learn.adafruit.com/assets/assets/000/102/655/medium640/3d_printing_hero-back.jpg?1622852134)

![](https://cdn-learn.adafruit.com/assets/assets/000/102/562/medium800/3d_printing_hero-desk.jpg?1622732184)

## Parts
Parts to build this project.

- [FunHouse ESP32-S2](https://www.adafruit.com/product/4985)
- [Noctua PWM Fan - 140mm](https://www.amazon.com/dp/B07DXR1Y73)
- [5V Mini Fan](https://www.adafruit.com/product/3368)
- [EMC12101 PWM Fan Controller](https://www.adafruit.com/product/4808)
- [SGP30 Air Quality Sensor](https://www.adafruit.com/product/3709)
- [STEMMA QT Cable - 200mm](https://www.adafruit.com/product/4401)
- [STEMMA QT Cable - 100mm](https://www.adafruit.com/product/4210)
- [Carbon Filter](https://www.adafruit.com/product/3836)
- [M2.5 Hardware Kit](https://www.adafruit.com/product/3299)
- [M3 Hardware Kit](https://www.adafruit.com/product/4685)

![3d_printing_parts.jpg](https://cdn-learn.adafruit.com/assets/assets/000/102/581/medium640/3d_printing_parts.jpg?1622747324)

### Adafruit FunHouse - WiFi Home Automation Development Board

[Adafruit FunHouse - WiFi Home Automation Development Board](https://www.adafruit.com/product/4985)
Home is where the heart is...it's also where we keep all our electronic bits. So why not wire it up with sensors and actuators to turn our house into an electronic wonderland. Whether it's tracking the environmental temperature and humidity in your laundry room, or notifying you when...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4985)
[Related Guides to the Product](https://learn.adafruit.com/products/4985/guides)
![Top-down video of Adafruit Funhouse PCB. The TFT display shows a data readout, and the NeoPixel LEDs glow rainbow colors.](https://cdn-shop.adafruit.com/product-videos/640x480/4985-00.jpg)

### Miniature 5V Cooling Fan for Raspberry Pi (and Other Computers)

[Miniature 5V Cooling Fan for Raspberry Pi (and Other Computers)](https://www.adafruit.com/product/3368)
Looking for another way to keep your [Raspberry Pi](https://www.adafruit.com/products/3055)&nbsp;_cool_? Hook up this&nbsp; **5V Mini Cooling Fan** &nbsp;and prevent your hard-working Pi from overheating! Of course, it's also great for use with any small...

In Stock
[Buy Now](https://www.adafruit.com/product/3368)
[Related Guides to the Product](https://learn.adafruit.com/products/3368/guides)
![Miniature 5V Cooling Fan for Raspberry Pi and Other Computers](https://cdn-shop.adafruit.com/640x480/3368-00.jpg)

### Adafruit EMC2101 I2C PC Fan Controller and Temperature Sensor

[Adafruit EMC2101 I2C PC Fan Controller and Temperature Sensor](https://www.adafruit.com/product/4808)
Cooling fans...They're everywhere, and they serve the important purpose of keeping things cool, generally electronics. One might rightfully think: "these fans are pretty good at moving air to keep things cool; maybe I can use one of these neat computer fans to keep my widget...

In Stock
[Buy Now](https://www.adafruit.com/product/4808)
[Related Guides to the Product](https://learn.adafruit.com/products/4808/guides)
![Adafruit EMC2101 I2C PC Fan Controller and Temperature Sensor wired up to Feather with OLED wing and a PC fan. A hand slows down the fan and the RPM display decreases. ](https://cdn-shop.adafruit.com/product-videos/640x480/4808-05.jpg)

### Adafruit SGP30 Air Quality Sensor Breakout - VOC and eCO2

[Adafruit SGP30 Air Quality Sensor Breakout - VOC and eCO2](https://www.adafruit.com/product/3709)
Breathe easy with the SGP30 Multi-Pixel Gas Sensor, a fully integrated MOX gas sensor. This is a very fine air quality sensor from the sensor experts at Sensirion, with I2C interfacing and fully calibrated output signals with a typical accuracy of 15% within...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3709)
[Related Guides to the Product](https://learn.adafruit.com/products/3709/guides)
![Angled shot of a Adafruit SGP30 Air Quality Sensor Breakout.](https://cdn-shop.adafruit.com/640x480/3709-07.jpg)

### Carbon Filter for Solder Smoke Absorption

[Carbon Filter for Solder Smoke Absorption](https://www.adafruit.com/product/3836)
If you do a lot of soldering&nbsp;indoors, a **Carbon Filter** is essential for absorbing that solder smoke and leaving your air smelling fresh.

These measure about 13 x 13cm but are easy to trim&nbsp;with scissors or a utility knife. It took us no time to crop one to fit...

In Stock
[Buy Now](https://www.adafruit.com/product/3836)
[Related Guides to the Product](https://learn.adafruit.com/products/3836/guides)
![Black spongy Carbon Filter](https://cdn-shop.adafruit.com/640x480/3836-00.jpg)

### Black Nylon Machine Screw and Stand-off Set – M3 Thread

[Black Nylon Machine Screw and Stand-off Set – M3 Thread](https://www.adafruit.com/product/4685)
Totaling **420 pieces** , this **M3 Screw Set** &nbsp;is a must-have for your workstation.&nbsp;You'll have enough screws, nuts, and hex standoffs to fuel your maker tendencies&nbsp;for days on end! M3 size screws fit a number of&nbsp;Adafruit breakout/dev board...

In Stock
[Buy Now](https://www.adafruit.com/product/4685)
[Related Guides to the Product](https://learn.adafruit.com/products/4685/guides)
![Opened box showing many nylon screws](https://cdn-shop.adafruit.com/640x480/4685-01.jpg)

### Black Nylon Machine Screw and Stand-off Set – M2.5 Thread

[Black Nylon Machine Screw and Stand-off Set – M2.5 Thread](https://www.adafruit.com/product/3299)
Totaling 380 pieces, this **M2.5 Screw Set** &nbsp;is a must-have for your workstation.&nbsp;You'll have enough screws, nuts, and hex standoffs to fuel your maker tendencies&nbsp;for days on end! M2.5 size screws fit almost all of the Adafruit breakout/dev board mounting holes...

In Stock
[Buy Now](https://www.adafruit.com/product/3299)
[Related Guides to the Product](https://learn.adafruit.com/products/3299/guides)
![Black Nylon Screw and Stand-off Set with M2.5 Threads, kit box](https://cdn-shop.adafruit.com/640x480/3299-00.jpg)

### STEMMA QT / Qwiic JST SH 4-Pin Cable - 200mm Long

[STEMMA QT / Qwiic JST SH 4-Pin Cable - 200mm Long](https://www.adafruit.com/product/4401)
This 4-wire cable is a little over 200mm / 7.8" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/4401)
[Related Guides to the Product](https://learn.adafruit.com/products/4401/guides)
![Angled shot of JST SH 4-Pin Cable - 200mm Long.](https://cdn-shop.adafruit.com/640x480/4401-04.jpg)

### STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long

[STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long](https://www.adafruit.com/product/4210)
This 4-wire cable is a little over 100mm / 4" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/4210)
[Related Guides to the Product](https://learn.adafruit.com/products/4210/guides)
![Angled shot of STEMMA QT / Qwiic JST SH 4-pin Cable.](https://cdn-shop.adafruit.com/640x480/4210-00.jpg)

### Part: Noctua PWM Fan
quantity: 1
140mm Noctua PWM Fan
[Noctua PWM Fan](https://www.amazon.com/dp/B07DXR1Y73)

- [Next Page](https://learn.adafruit.com/funhouse-fume-extractor-iot-air-quality-sensor/circuitpython.md)

## Featured Products

### Adafruit FunHouse - WiFi Home Automation Development Board

[Adafruit FunHouse - WiFi Home Automation Development Board](https://www.adafruit.com/product/4985)
Home is where the heart is...it's also where we keep all our electronic bits. So why not wire it up with sensors and actuators to turn our house into an electronic wonderland. Whether it's tracking the environmental temperature and humidity in your laundry room, or notifying you when...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4985)
[Related Guides to the Product](https://learn.adafruit.com/products/4985/guides)
### Adafruit EMC2101 I2C PC Fan Controller and Temperature Sensor

[Adafruit EMC2101 I2C PC Fan Controller and Temperature Sensor](https://www.adafruit.com/product/4808)
Cooling fans...They're everywhere, and they serve the important purpose of keeping things cool, generally electronics. One might rightfully think: "these fans are pretty good at moving air to keep things cool; maybe I can use one of these neat computer fans to keep my widget...

In Stock
[Buy Now](https://www.adafruit.com/product/4808)
[Related Guides to the Product](https://learn.adafruit.com/products/4808/guides)
### Adafruit SGP30 Air Quality Sensor Breakout - VOC and eCO2

[Adafruit SGP30 Air Quality Sensor Breakout - VOC and eCO2](https://www.adafruit.com/product/3709)
Breathe easy with the SGP30 Multi-Pixel Gas Sensor, a fully integrated MOX gas sensor. This is a very fine air quality sensor from the sensor experts at Sensirion, with I2C interfacing and fully calibrated output signals with a typical accuracy of 15% within...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3709)
[Related Guides to the Product](https://learn.adafruit.com/products/3709/guides)
### Carbon Filter for Solder Smoke Absorption

[Carbon Filter for Solder Smoke Absorption](https://www.adafruit.com/product/3836)
If you do a lot of soldering&nbsp;indoors, a **Carbon Filter** is essential for absorbing that solder smoke and leaving your air smelling fresh.

These measure about 13 x 13cm but are easy to trim&nbsp;with scissors or a utility knife. It took us no time to crop one to fit...

In Stock
[Buy Now](https://www.adafruit.com/product/3836)
[Related Guides to the Product](https://learn.adafruit.com/products/3836/guides)
### Black Nylon Machine Screw and Stand-off Set – M3 Thread

[Black Nylon Machine Screw and Stand-off Set – M3 Thread](https://www.adafruit.com/product/4685)
Totaling **420 pieces** , this **M3 Screw Set** &nbsp;is a must-have for your workstation.&nbsp;You'll have enough screws, nuts, and hex standoffs to fuel your maker tendencies&nbsp;for days on end! M3 size screws fit a number of&nbsp;Adafruit breakout/dev board...

In Stock
[Buy Now](https://www.adafruit.com/product/4685)
[Related Guides to the Product](https://learn.adafruit.com/products/4685/guides)
### Black Nylon Machine Screw and Stand-off Set – M2.5 Thread

[Black Nylon Machine Screw and Stand-off Set – M2.5 Thread](https://www.adafruit.com/product/3299)
Totaling 380 pieces, this **M2.5 Screw Set** &nbsp;is a must-have for your workstation.&nbsp;You'll have enough screws, nuts, and hex standoffs to fuel your maker tendencies&nbsp;for days on end! M2.5 size screws fit almost all of the Adafruit breakout/dev board mounting holes...

In Stock
[Buy Now](https://www.adafruit.com/product/3299)
[Related Guides to the Product](https://learn.adafruit.com/products/3299/guides)
### STEMMA QT / Qwiic JST SH 4-Pin Cable - 200mm Long

[STEMMA QT / Qwiic JST SH 4-Pin Cable - 200mm Long](https://www.adafruit.com/product/4401)
This 4-wire cable is a little over 200mm / 7.8" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/4401)
[Related Guides to the Product](https://learn.adafruit.com/products/4401/guides)
### STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long

[STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long](https://www.adafruit.com/product/4210)
This 4-wire cable is a little over 100mm / 4" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/4210)
[Related Guides to the Product](https://learn.adafruit.com/products/4210/guides)

## Related Guides

- [EMC2101 Fan Controller and Temperature sensor](https://learn.adafruit.com/emc2101-fan-controller-and-temperature-sensor.md)
- [Adafruit FunHouse](https://learn.adafruit.com/adafruit-funhouse.md)
- [PyPortal Case](https://learn.adafruit.com/pyportal-case.md)
- [Pico W HTTP Server with CircuitPython](https://learn.adafruit.com/pico-w-http-server-with-circuitpython.md)
- [MatrixPortal CircuitPython Animated Message Board](https://learn.adafruit.com/matrixportal-circuitpython-animated-message-board.md)
- [CircuitPython OLED Watch Clock](https://learn.adafruit.com/circuitpython-oled-watch.md)
- [Ambient Color Control Pad](https://learn.adafruit.com/ambient-color-controller.md)
- [EPCOT Spaceship Earth with WLED](https://learn.adafruit.com/epcot-spaceship-earth-with-wled.md)
- [HalloWing Magic 9 Ball](https://learn.adafruit.com/hallowing-magic-9-ball.md)
- [CircuitPython MIDI to CV Skull](https://learn.adafruit.com/circuitpython-midi-to-cv-skull.md)
- [ESP32-S3 BLE RS-232 Controller](https://learn.adafruit.com/esp32-s3-ble-rs232-controller.md)
- [Prop-Maker Feather Talking Adabot Clock](https://learn.adafruit.com/prop-maker-feather-talking-adabot-clock.md)
- [No-Code WipperSnapper Water Detection](https://learn.adafruit.com/water-detection-with-wippersnapper.md)
- [Stepper Motor Turntable](https://learn.adafruit.com/stepper-motor-turntable.md)
- [Chilled Drinkibot](https://learn.adafruit.com/chilled-drinkibot.md)
- [Adafruit IO Home: Security ](https://learn.adafruit.com/adafruit-io-home-security.md)
- [How to Make Animated Graphics for Hologram Displays](https://learn.adafruit.com/how-to-make-animated-graphics-for-hologram-displays.md)
