Use your forum account to login.

LOGIN

TOP Contributors

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

Most Downloaded

  1. Timer Calculator (93259 times)
  2. FAT32 Library (48736 times)
  3. Network Ethernet Library (44253 times)
  4. USB Device Library (34436 times)
  5. Network WiFi Library (31748 times)
  6. FT800 Library (27419 times)
  7. GSM click (21483 times)
  8. PID Library (21335 times)
  9. microSD click - Example (17579 times)
  10. GSM 2 click (14511 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
Example

MQ Sensor Library Project

Rating:

1

Author: Michael Havenga

Last Updated: 2019-01-12

Category: Measurement

Downloaded: 41 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

Download Example [133.60KB]

Version 1.0.0.0

DOWNLOAD LINK RELATED COMPILER CONTAINS
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.

RELATED CODES

CO click

5

This example demonstrates usage of the CO click board in mikroBUS form factor. This CO sensor is suitable for gas detecting equipment for Carbon Monoxide (CO). LCD shows PPM value of Carbon Monoxide (CO) concentration.

[Learn More]

RTC I2C Library

8

This library provides functions for working with all RTC clicks which use i2c communication. Functions include getting and setting GMT time, as well as local time. Calculating UNIX timestamp for both local and GMT time, and many more. NOTE: Not all functions are provided for all RTCs. As some RTCs do not support square wave output or alarms.

[Learn More]

STM32F_Hall_Current_click_board

0

Essai du "Hall Current click board" avec la platine de test "EasyMx Pro v7 (STM32F107VC - EasyTFT 320x240 ILI9341 en mode 8Bits) + utilisation du convertisseur ADC et affichage des valeurs

[Learn More]