The iNose X6 is a high-precision environmental sensor capable of detecting formaldehyde (HCHO), total volatile organic compounds (TVOC), carbon monoxide (CO), air quality index (IAQ), temperature, and humidity. The sensor supports UART communication, LED control, sleep/wake functions, and is compatible with multiple platforms, including Arduino, ESP32, RP2040/RP2350, and Raspberry Pi.
The library supports UART port and baud rate configuration. Default settings:
- Baud rate: 9600
- Raspberry Pi 5 / CM5: /dev/ttyAMA0
- Other Raspberry Pi models: /dev/ttyS0
- Arduino / ESP32 / RP2040: Hardware UART
Supported features:
- Gas concentration detection: HCHO, TVOC, CO, IAQ
- Temperature and humidity measurement
- Reading sensor parameters (type, range, unit)
- LED control
- Sleep / wake functions
- Reading serial number and firmware version
Platform support table:
| Platform / MCU | Programming Language | Supported Features |
|---|---|---|
| ESP32 / RP2040 | Arduino (C++) | Full functionality |
| ESP32 | ESP-IDF (C) | Full functionality |
| ESP32 / RP2040 / Pi Pico | MicroPython | Full functionality |
| Raspberry Pi (all models) | Python | Full functionality |
| Raspberry Pi (all models) | C | Full functionality |
We welcome contributions! You can participate in the following ways:
- Fork this repository.
- Create a new branch for features or bug fixes.
- Commit your changes with clear descriptions.
- Submit a Pull Request for review.
If you encounter any issues:
- Check the Issues section.
- Create an Issue with detailed information.
- Refer to the documentation for troubleshooting tips.
- Contact the Waveshare team and provide your order number for technical support.
