How to use mq gas sensor with atmega8 using ADC | Proteus Simulation

Описание к видео How to use mq gas sensor with atmega8 using ADC | Proteus Simulation

MQ-2 is an analog gas sensor that can detect smoke and measure its quantity in the air. This sensor is mostly used in Arduino/Avr projects. This video is about interfacing MQ-2 with an atmega8 Avr microcontroller.

Though mq-2 is an analog sensor, the proteus version is a digital sensor. So, the output
generated by the sensor is either 5v or zero volt. Which means it can only be used to detect if there is smoke or not. You can not measure the density in the air.

However, if you implement the code in the physical project, it will work fine. Also, you don't need to use the inductor and capacitor.

The code is available on my telegram channel: https://t.me/ucexplained
Hire me on fiverr for your projects: https://www.fiverr.com/share/Xm02em

Комментарии

Информация по комментариям в разработке