Posts

Showing posts from 2019

How to Connect Raspberry pi to PC via Ethernet Cable and Router

Image

How to update your Raspberry Pi, Raspbian update , Updating Your OS/ Ove...

Image

Environment Pollution Monitoring system using Internet of Things-IoT✔United International University

Image
Environment Pollution Measurement using Internet of Things By 1. Mahamudul Karim Khondaker 2. Mohammed Junayed 3. S.M Farhan Sadique 4. Noore Juned Environment pollution is one of the most important concerns nowadays in the modern world. Pollution causes serious health hazards to most of the people on earth and is a vital reason behind death of majority of the people. This project based on “Environment Pollution Measurement using Internet of Things” is solely attempted to collect the various types of environment pollutants data from nature and store them in a “Cloud Server” and help the concerned authorities to take the necessary steps in restricting them to a minimum. Data in different areas of Dhaka city was collected using the developed kit and based on the results a categorization of pollution level in different areas was identified. To begin with, we are going to have a unique description regarding the internet of Things (IoT) and how crucial it is in monitoring the every

Environment Pollution Measurement,IOT Project update for Pre defence United International University

Image
//Soumd and Temperature and Air sensor MQ135 Arduino Code: #include <LiquidCrystal.h> const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; LiquidCrystal lcd(rs, en, d4, d5, d6, d7); float temp; int tempPin = 1; int sensorValue; void setup(){ lcd.begin(16, 2); Serial.begin(9600); // open serial port, set the baud rate to 9600 bps } void loop(){int Snd; Snd=analogRead(0); //connect mic sensor to Analog 0 temp = analogRead(tempPin); temp = temp * 0.12828125; Serial.print("Sound="); Serial.println(Snd,DEC);//print the sound value to serial lcd.setCursor(0, 0); //sound 1st lcd.print("Snd="); lcd.print(Snd); lcd.print(" "); sensorValue = analogRead(2); // read analog input pin 2 Serial.print("AirQua="); Serial.print(sensorValue, DEC); // prints the value read Serial.println(" PPM"); lcd.setCursor(9,0); //airQ 2nd lcd.print(&q

Arduino and MQ 2 gas sensor

Image
Gas Sensor MQ2 Arduino code : #define MQ_PIN (0) //define which analog input channel you are going to use #define RL_VALUE (5) //define the load resistance on the board, in kilo ohms #define RO_CLEAN_AIR_FACTOR (9.83) //RO_CLEAR_AIR_FACTOR=(Sensor resistance in clean air)/RO, //which is derived from the chart in datasheet / **********************Software Related Macros*********************************** / #define CALIBARAION_SAMPLE_TIMES (50) //define how many samples you are going to take in the calibration phase #define CALIBRATION_SAMPLE_INTERVAL (500) //define the time interal(in milisecond) between each samples in the //cablibration phase #define READ_SAMPLE_INTERVAL (50) //define how many samples you are going to take in normal operation #