MQ135 Gas Sensor I2C and easyC communication

Customer:

How do I communicate with the MQ135 sensor via I2C and easyC interface? Which commands should I send, and is there demo code available?

Original message (Croatian)

Zanima me kako komunicirati sa MQ135 senzorom putem I2C odnosno easyC sučelja?(koje komande slati, postoji li nekakav demo kod?)

Hvala

[name removed]

Originally submitted via email support on 3 November 2023. Migrated to the forum for community visibility.

Soldered Support:

Here’s an example that should work with MQ135 using easyC: https://github.com/SolderedElectronics/Soldered-MQ-Gas-Sensor-Arduino-Library/blob/main/examples/easyC/MQ-135-ALL-easyC/MQ-135-ALL-easyC.ino

That repository is the library and you need to download and install it in documents/Arduino/Libraries. Here’s a more detailed tutorial: https://soldered.com/hr/learn/arduino-library/

Original message (Croatian)

evo primjera, trebalo bi raditi za MQ135 sa easyC-om: https://github.com/SolderedElectronics/Soldered-MQ-Gas-Sensor-Arduino-Library/blob/main/examples/easyC/MQ-135-ALL-easyC/MQ-135-ALL-easyC.ino

Taj repozitorij je biblioteka i potrebno ga je skinuti i instalirati u documents/Arduino/Libraries. Evo detaljnijeg tutoriala: https://soldered.com/hr/learn/arduino-library/