Setup i2c on the RPI:
Install required packages:
sudo apt-get install python-smbus
sudo apt-get install i2c-tools
sudo apt-get install python-pip
sudo pip install adafruit-ads1x15
Enable in raspi-config:
sudo raspi-config
Verify Its Working:
sudo i2cdetect -y 1
Hardware:
Raspberry Pi - 35$
https://amzn.to/2NtAAIY
Analog to Digital Convert - 7$
https://amzn.to/2tXi6bM
Gas Sensor (MQ4) - 7$
https://amzn.to/2lZ1L20
On this page of the site you can watch the video online Raspberry Pi Smoke Sensor in Python with a duration of hours minute second in good quality, which was uploaded by the user C4's Workshop 30 May 2016, share the link with friends and acquaintances, this video has already been watched 12,426 times on youtube and it was liked by 77 viewers. Enjoy your viewing!