Use your forum account to login.


TOP Contributors

  1. MikroElektronika Team (778 codes)
  2. Shawon Shahryiar (263 codes)
  3. Alcides Ramos Zambrano (172 codes)
  4. S P (67 codes)
  5. Dany (66 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. Armstrong Subero (27 codes)
  9. Roman Toropov (26 codes)
  10. FOURNET Olivier (25 codes)

Most Downloaded

  1. Timer Calculator (96896 times)
  2. FAT32 Library (51075 times)
  3. Network Ethernet Library (45503 times)
  4. USB Device Library (35602 times)
  5. Network WiFi Library (32617 times)
  6. FT800 Library (28641 times)
  7. GSM click (22015 times)
  8. PID Library (21794 times)
  9. microSD click (18237 times)
  10. GSM 2 click (15090 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back

MQ Sensor Library Project



Author: Michael Havenga

Last Updated: 2019-01-12

Category: Measurement

Downloaded: 60 times

Not followed.

License: MIT license  

This project demonstrates the use of a few MQ Sensors. It enables the user to program a device once, thereafter the COM Port is used to change between devices. This provides some degree of convenience when testing and using the devices.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "MQ Sensor Library Project" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "MQ Sensor Library Project" changes.

Do you want to report abuse regarding "MQ Sensor Library Project".

  • Information
  • Comments (0)

Download Example [133.60KB]


mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

To the users,

The MQ Sensor library project takes the following libraries AirQuality click, CO Click, LPG Click, Alcohol Click, and combines them into a single project. We claim no ownership of the code, as we have used the existing code provided by Mikroe.

By default, the EasyPIC v7 will need an LCD and atleast one of the Mikroe Click boards inserted into slot 1. The code preseumes 5Vdc, but you can change this to 3v3 if required. You will need a a MikroC for PIC license to be able to compile the code if you make any changes.

To change the device, you then send a value over the comport to the PCB and it changes the device that it is reading.

0 - AirQuality click, 1 - CO Click, 2 - LPG Click, 3 - Alcohol Click

Any problems, please use the forum to request assistance.


Article: The DS18(S)20, DS18B20, DS1820 Lib and OW_Utilities Lib usage


The DS18(S)20, DS18B20 device usage plus the DS1820 Lib and OW_Utilities Lib usage. Also some errors in the mE example (compiler help) are stated.

[Learn More]



this library allow you to use the GY951 9DOF, and read data From the sensor "Accelerometer ADXL345, Magnetometer HMC5883L and Gyroscope ITG3205"

[Learn More]

L3G4200D Triple Axis Gyroscope Demo


This is a demo of L3G4200D triple axis gyroscope library written with MikroC for AVR. Though Arduino hardware is used, it is not an Arduino-based project. One ATMega8 was used as the microcontroller.

[Learn More]