Use your forum account to login.


TOP Contributors

  1. MikroElektronika Team (662 codes)
  2. Shawon Shahryiar (258 codes)
  3. Alcides Ramos Zambrano (164 codes)
  4. Dany (66 codes)
  5. S P (63 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. FOURNET Olivier (25 codes)
  9. Alberto Trasimeni (25 codes)
  10. Roman Toropov (25 codes)

Most Downloaded

  1. Timer Calculator (91076 times)
  2. FAT32 Library (47113 times)
  3. Network Ethernet Library (43449 times)
  4. USB Device Library (33738 times)
  5. Network WiFi Library (31271 times)
  6. FT800 Library (26450 times)
  7. GSM click (21150 times)
  8. PID Library (21042 times)
  9. microSD click - Example (17346 times)
  10. GSM 2 click (14189 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: 12 times

Not followed.

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.


dac 3 click


A small example with the WaRP7 Board and the dac 3 click

[Learn More]

Microwave click


Microwave click detects movement, thanks to the PD-V11 a 24GHz microwave motion sensor. The typical use for Microwave click is a proximity detector in various applications and devices.

[Learn More]

Let's Make - Pedometer


We're proudly presenting the second Let's Make project from our Intern's lab. This Pedometer consists of a mikromedia for STM32-M4, a mikromedia Proto shield and LiPo battery. Let's measure how far you walked with this Let's make. A pedometer is a portable device that counts each step a person takes.

[Learn More]