Introduction: A Wonderful Olfactory Journey from Baking to Technology
Do you know the joy of baking? The aroma of freshly baked bread, the rich scent of coffee… But sometimes, judging the freshness of ingredients and timing the baking process perfectly can be a challenge. This open-source project shares all the necessary information to create and train your own AI electronic nose, let’s embark on this wonderful olfactory journey together!

What is an AI Electronic Nose?
An AI electronic nose is not a real nose, but an intelligent system composed of micro gas sensors, microcontrollers, and machine learning algorithms. It mimics the workings of the human olfactory system, capable of recognizing and distinguishing different odors. By analyzing the gas data collected by the sensors, the AI electronic nose can accurately identify and determine the composition of environmental gases. Its compact size and low power consumption make it applicable in a wider range of scenarios.

The Powerful Functions of AI Electronic Nose
The functions of the AI electronic nose go beyond your imagination; it is not just a simple “smelling” tool but a smart system with strong data analysis capabilities. It can be applied in various fields:
- Food Safety Testing: Detecting food spoilage to ensure food safety;
- Environmental Monitoring: Monitoring air quality and identifying pollution sources;
- Healthcare: Assisting in diagnosing diseases, such as helping patients with olfactory disorders;
- Industrial Production: Monitoring production processes to ensure product quality;
- Safety Monitoring: Detecting gas leaks to prevent safety accidents;

DIY Your AI Electronic Nose: Material List and Production Steps
You don’t need to be an electronics engineer to easily have your own AI electronic nose! Here is the list of materials needed for production:
| Part Name | SKU/Product ID | Quantity |
|---|---|---|
| Wio Terminal | 102991299 | 1 |
| Grove Multi-Channel Gas Sensor v2 | 101020820 | 1 |
| Grove MOSFET | 103020008 | 1 |
| Fan Guard | FG-2 | 1 |
| 25x25x10mm DC Fan | 02510SS-05P-AT-00 | 1 |
| Grove 4-Pin Male Jumper Wire to Grove 4-Pin Conversion Cable | 110990210 | 1 |
| USB-C Data Cable (Right Angle) | 1 |
Additionally, a 3D printed case is required. This project provides complete 3D model files.
Software and Algorithms: Making Your Electronic Nose “Think”
Hardware is just the foundation; software and algorithms are the soul of the AI electronic nose. This project provides complete firmware source code and training instructions, you only need to compile and flash it according to the guide. This project will use TinyML technology, which is a machine learning technology based on microcontrollers that can run complex machine learning models on resource-constrained devices.
Training Your AI Electronic Nose: Teaching It to “Smell”
The key to training the AI electronic nose is to collect enough data. You need to collect gas sensor data from different gas samples and label them according to their respective categories. Then, you can use machine learning algorithms to train the model, enabling it to recognize different odors based on the sensor data.
Conclusion: Start Your AI Electronic Nose Journey
Through this project, you will create a powerful AI electronic nose and experience the joy of technological innovation. It is not only a fun little project but also a great opportunity to learn about TinyML and machine learning.
Project Address: https://github.com/kartben/artificial-nose