Subscribe to Our Channel

Monday, February 27, 2017

Beginner Level Tutorial: Starting a Web Hosting Business-Udemy

This course will teach you how to create your own business setting up a web hosting server.

WordPress: Design, Develop & Test - Without A Webhost

How to do WordPress design, development, and testing offline on your own local computer using XAMPP for PC, Mac, & Linux

Bestseller- Create an eCommerce Website with WordPress- 2017

Learn how to start an online business & sell your own custom products using WordPress, WooCommerce, without any coding!

Lose Body Fat, Kick Those Plateaus and Heal from Chronic Disease with the help of Water Fasting.


Learn the fundamentals of electronic circuit analysis -Udemy

Introduction to Electronic Circuit Analysis

Break Through your Boundaries Enroll in Top Courses for 10$ -Udemy

Sitewide-Feb4of4640x480

Top Courses in Design-Udemy

Udemy

Tuesday, February 14, 2017

How to build Gas Leakage using gas leak detector in your home kitchen doing Arduino Projects in pakistan


How to build Gas Leakage using gas leak detector in your home kitchen doing Arduino Projects
I selected 2 Projects related to gas leak detector in Kitchen using arduino language using MQ5 gas sensor and GSM Module.
 
http://www.cityelectronics.pk/index.php/product-category/on-demand-items/

List of Arduino Projects

A actual interesting gas leak detector arduino project using MQ5 gas sensor and GSM Module. This project – named as – Gas Leakage Detector using Arduino has the following objectives:-
Sense the existence of LPG or other types of gases like CH4, Butane etc with help of MQ5 gas sensor and Arduino. Send 3 SMS Alerts (with a message like ‘Gas Leaking at Kitchen’) to listed mobile numbers in the program with the assistance of GSM Module and  Arduino  Produce a Sound Alarm upon gas leak with help of Arduino and Buzzer. Turn the Relay ON with help of Arduino to activate a certain function – say cut off electrical supply to kitchen!

The package in this project also checks for shutdown process – that is – if the gas leak problem has been lectured and eliminated properly using this gas leak detector. When the gas leak problem has been eliminated totally and the room is completely back to normal conditions, the project will reactivate its “gas leakage scanning mode”.  This unique is a very useful arduino project – which finds lots of application in home and industry.
A very power burglar alarm or intruder alarm system using PIR Sensor and Arduino – with SMS Alert (using GSM Module) and Sound Alarm.
Objectives of this project are as described below:- 
§  Detect a wave – an intruder or a burglar using PIR sensor
§  Trigger the signal alarm upon detection of burglar/intruder – Alarm should sound until Reset switch is pressed
§  Send 3 SMS to a predefined mobile number set intimate the program.
§  Stop the alarm when reset switch is pressed. Also reactivate the SMS alert facility upon reset.
This apparently simple but feature rich projects is extremely appropriate for engineering course contentment and to install in home/office premises as a hobby setup.
Click here to purchase these items my recommended electronics circuit store in Pakistan.
I also purchased lot of items related to different projects using home shop delivery.

SHOP - City ElectronicsPK - Pakistan's Online Electronics Store

URL: www.cityelectronics.pk/


LPG sensor using arduino

 

LPG sensor using arduino with alarm and cutoff.

A simple LPG sensor using arduino is shown in this article. This circuit indicates the amount of LPG in the air. The circuit sounds an alarm and trips a relay  when the concentration is above a predetermined level. MQ2 is the gas sensor used in this project. MQ2 is an SnO2 based gas sensor which can sense gases like methane, propane, butane, alcohol, smoke, hydrogen etc. Since LPG primarily contains propane and butane, MQ2 sensor can be used for sensing LPG. The figure below shows the schematic and arrangement of an MQ2 gas sensor.

http://www.cityelectronics.pk/index.php/product-category/on-demand-items/

MQ2 sensor senses the flammable gases by the increase in temperature when they are corroded by the heating element. Consider the figure given above. If there is any flammable gas present in the sample, the oxidization of the same gas results in increased temperature and the resistance of the sensor resistor will drop. That worth more current will flow through the load resistor and so the voltage across it will shoot up.
At normal conditions (no LPG in the air), the sensor resistor will be very high around 850K. So the voltage drop Volt across the load resistor will be around zero. When the sensor is fully exposed to LPG the sensor resistance drops to around 800 ohms and the voltage drop across the load resistance will be around 4.62 volts.  After conversion by the ADC, the digital equivalent of  4.62 volt will be 948 and it is stored in the variable “d” (refer the program ). Figure below shows a graph plotted from the observed parameters.
http://www.cityelectronics.pk/index.php/product-category/on-demand-items/

Really the graph may not be a straight line. But here we have to assume it to be a straight line since it is not possible to simulate LPG concentrations other than 0% and 100% with our limited lab facilities. For accurate calibration of the sensor, we need some means to know the precise concentration of the gas in the given environment. Anyway what we have is somewhat enough for our purpose.
The concentration percentage for a given digital output of the ADC can be determined using the following equation. p=d/9.48 where d is the digital output of the ADC and p is the percentage. The equation is obtained by finding the equation of the above graph in the general form y=mx+c. Where m is the slope and c is the y intercept. The full circuit diagram of the LPG sensor using arduino is shown below.

Circuit diagram.

http://www.cityelectronics.pk/index.php/product-category/on-demand-items/

Output of the gas sensor is linked to the analog input pin A0 of the arduino. Digital pin 10 of the arduino is used for controlling the buzzer and digital pin 13 used for controlling the relay. The relay used here is a SPDT relay and so it can be used for switching ON or OFF the target device when there is a gas leak. Here the TRIP threshold is set to be 30%. You can set your threshold point in the program to stop gas leak while selecting the threshold point, temperature and humidity effects have to be also considered because MQ2 sensor has good dependency on both. Refer the datasheet of MQ2 gas sensor for extra idea. 

Program.

#include<LiquidCrystal.h>                   
int mq2=A0;
int rel=13;
int buz=10;
int d;
float p;
 
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
 
void setup()
{
pinMode(rel,OUTPUT);
pinMode(buz,OUTPUT);
digitalWrite(rel,LOW);
digitalWrite(buz,LOW);
lcd.begin(16,2);
}
void loop()
{
d=analogRead(mq2);
lcd.setCursor(0,0);
lcd.print("LPG SENSOR");
 
if(d<60)
{
p=0;
}
else
{
p=(d-60)/9.64;
}
lcd.setCursor(0,1);
lcd.print(p);
lcd.setCursor(5,1);
lcd.print("%");
if(p>=30)
{
digitalWrite(rel,LOW);
digitalWrite(buz,HIGH);
lcd.setCursor(9,1);
lcd.print("TRIP");
}
else
{
digitalWrite(rel,HIGH);
digitalWrite(buz,LOW);
}
delay(500);
lcd.clear();
}

Notes.

§  MQ2 sensor needs a 24 hour preheat for steady operation.
§   The warming coil of the MQ2consumes around150mA and so it is wise to power the coil from a separate source.
§  5V required at other parts of the circuit can be selected from the arduino board.
§  The arduino board can be powered through the 9V power supply jack.




Click here to purchase these items my recommended electronics circuit store in Pakistan.

SHOP - City ElectronicsPK - Pakistan's Online Electronics Store

URL: www.cityelectronics.pk/