Posts

Showing posts from January, 2020

Temperature Sensor Using Arduino Uno

Image
Temperature Sensor Using Arduino Uno This project is used to detect the temperature of the surroundings. LM35 sensor output is passed to analog pin A2 of Arduino UNO. Finally, the analog voltage is converted to digital form for display. Components required  Hardware Arduino UNO  LM35 sensor (PIR sensor) Jumper/Connecting Wires 5 V DC Adapter Software Arduino IDE Circuit and Working The circuit is built using Arduino Uno and LM35 sensor  The step-wise working is as follows:       Step1:  Upload the sketch in Arduino Uno. A Sample sketch is shown below:  int lm35_sensor = A2; void setup() {   Serial.begin(9600); } void loop() {   int temp_adc_value;   float temp_value;   temp_adc_value = analogRead(lm35_sensor); // Reading temperature from lm35   temp_value = (temp_adc_value * 4.88); // Convert adc value to voltage   tem...

PIR Motion Sensor Using Arduino Uno

Image
PIR Motion Sensor Using Arduino Uno This project  is used to sense motion. When a warm body like a human or animal has moved in or out of the sensors range. A light bulb will light up when movement is detected. Components required  Hardware Arduino UNO  Passive infrared sensor (PIR sensor) 5 V 1 channel Relay Module Light bulb Jumper/Connecting Wires 5 V DC Adapter Software Arduino IDE Warning: - AC is very risky and accidental shock could be fetal, so be sure to pursue appropriate safety precautions.  Predictable Designs assumes no accountability for any injury that may happen by following this tutorial. Circuit and Working The circuit is built using Arduino Uno, PIR sensor and a 1-channel relay The step-wise working is as follows:       Step1:  Upload the sketch in Arduino Uno. A Sample sketch is shown below:  int bulb = 7;      ...