Introduction: How to Make a Fart Tracker

About: Empowering Creation for Future Innovators; Our mission is to form a community with easy access to whether hardware, software and ideas that allow makers and younger generation to achieve their goals and realiz…

1. Principle

Taking advantage of the ability to volatile harmful gases in CCS811air quality sensor, selecting Nano as the main control to receive values of harmful gas concentration from CCS811 sensor and map data to the LED brightness via the function map (). The closer the distance from the sensor to the releaser, the brighter the LED.

2.My Story
Hi, my old friend in my childhood, who has tried to find out the fart by smelling, how are you today?

It happened in my primary school. I remember that the class would always add transfer students every year. In the end, a small classroom was crowded with more than 50 students. And only two narrow aisles were left for one-way passing. One day, when I was too tired to stay awake during the class, loudly noise spread…with a strong fart smell.

Hold the breath and listened carefully, my 2 classmates were arguing that the counterpart farted. Our classroom is too crowded, this kind of thing happened occasionally. You blamed me, I blamed you, arguing and ended with no result. Well, that time, something different happened. There was a famous naughty boy set behind those 2 arguing students. He looked at them for a while, thinking, then clenched. It seemed like he was making a big decision. Suddenly, he stood up and worked straight to them. Without hesitation, he bent and put the nose to their button, oh my! My hero!

3. CCS811 Air Quality Sensor

I have just got a DFRobot CCS811 Air Quality Sensor that can measure volatile gas and CO2 concentrations. The test result shows its accuracy and sensitivity. And I want to make a fart tracker free the human nose from fart monitoring.

Since the fart has not appeared, I have to use the alcohol lamp to do the demonstration.

This CCS811 air quality sensor, which takes a very short time from start-up to normal operation. It enters the operational state quickly and has many advantages like low power consumption and threshold interrupt alerts. Its fast response and high sensitivity surprised me. Put it on the table and I was typing, the serial monitor can clearly reflect my current exhaled CO2 concentration. Amazing! It is my first time seeing the exhaled gas could pile up like a ball on the desktop. From its wiki introduction, I know that the CCS811 value would have a large fluctuation with elements such as breathing, gas, farting, alcohol, etc.


1. Gravity: CCS811 Air Quality Sensor x1

2. DFRduino Nano V3.1 (Arduino Nano Compatible) x1

3. Lithium Battery Charger x1

4. Gravity:Digital Piranha LED Module – Red x1

5. 3.7V Lithium Battery x1

6. Dial Switch x1

Step 1: Modeling and 3D Printing

Step 2: Uploading the Code

Step 3: Connect the Battery to the Charger Board

Step 4: Welding the Wires to Dial Switch and Put It to the Model

Step 5: Welding the Red Wire of the Dial Switch to Pad “+” of the Charger Board and Welding One Black Wire to Pad “-”.

Step 6: According to the Hardware Connection Diagram to Weld and Connect Nano, LED and CCS811.

Step 7: Take Gravity Ports of LED and CCS811 Out From the Inner Part of the Model.

Step 8: Plug the Black Wire and the Red Wire of the Charger Board to Nano, Black to GND and Red to Vin.

Step 9: Stick the Charger Board to Inner Part of the Module With Hot-melt, Fixing and Exposing the Micro-USB Charging Port.

Step 10: Fix LED and CCS811 Air Quality Sensor to the Module With Hot-melt.

Step 11: Organize All Parts and Wires and Prepare to Plug Them Inside the Handle:

Step 12: Bond the Two Parts of the Model With a Little Hot Melt:

Step 13: Accomplished!

Step 14: Charging

Thanks for your reading!