Web Based Room Monitoring System Using Arduino




Introduction: Web Based Room Monitoring System Using Arduino

As a part of college project, me and my teammates were assigned the project of detection of Human activity by the use of PIR(Passive Infrared) sensors, and that's not all the information has to be transmitted to a remote client, Ethernet shield was used for the purpose.

All this with the help of ARDUINO.

A very security measure, that's the aim of this instructable.

Its cheap to make, within budget( of course, nothing's more precious than your security ), with a little knowledge of working with Arduino, you will achieve great results.

So, let your brain greased and your hands working.

and Yup, please do vote for me... :-)

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Collect All the Necessary Equipments...

The System requires you to be a bit familiar on working with Arduino...

Assemble all the below mentioned:


-Arduino Uno Microcontroller

-Arduino Ethernet Shield



-10 kOhm resistor

-Jumper Wires/Connecting Wires

-Bread Board

-An active LAN connection(if you intend to remotely test the working of the system)

Step 2: Knowing the Basics...

Before beginning we should know what we are going to do.

The two images will make you understand about How the system works.

when the door is initially closed there is no human presence hence no infrared radiation. also the light intensity is low, so no unusual activity.

But when the thief actually opens the door, there is a spurt in the light intensity(caught by LDR), and change in infrared radiation(the PIR sensor knows) and this information is sent to a remote client.

Step 3: About the Components

PIR Sensor:

PIR sensor senses the infrared radiation emitted by human beings thereby sending an equivalent signal to the arduino microcontroller.There are three pins on
the PIR sensor: voltage (a), digital out (b), and ground (c). For this project, the PIR sensor’s
digital out pin will be connected to PIN2, which is a digital PIN that reads a signal of 1 or 0. The
voltage pin and the ground pin will be connected to the 5V and GND pin slots, respectively

You can take the help of jumper wire to connects those pins, like I soldered in my case.


Light Dependent Resistor, the resistance hence voltage varies according to the variable which is Light in this case.

The LDR used in this project determines the light intensity in the room, say when the room door is closed with no light source active, will have darkness(so the intensity shown will be less) and when one opens the door Light intensity increases.

The LED(which is pointed towards the LDR) simulates the lighting conditions in a room.

Ethernet Shield:

The Ethernet Shield is very crucial component in transmitting the results obtained via a network(here a LAN). This component acts as a server. And should be stacked upon the ARDUINO board(so that you can use the pin slots). You can find that out in the picture clearly.

Step 4: How to Make the Connections

Connecting the wires may be a little bit tricky at times, I have used an LDR and LED for serving up as light detector and source of light respectively, in one go...

But for simplicity sake, I would suggest you to make it one after another, then summing them up will be child's play(those who know working with Arduino won't find it trickier).

Connect the GND wire to GND pin slot.

Connect the VCC wire to the 5 V pin slot.

Connect the output wire to PIN 2 slot with a 10 Kohm resistor.

I have shown the required connection in the diagram, you can find more convenient to follow it from there.

Step 5: Complete Connections

Here's the diagram involving all the components(the PIR sensor, LDR and LED)

There's no hard and fast rule that you should connect it in this way, I did my project few days ago, and the diagram later so, you should ensure connecting them in proper manner for the correct measurement.

Step 6: Coding

I have included the code here, you can take it.

But it wont function unless your pin connection matches with those mentioned in the code.

If you have made connection pattern other then what I did, make sure you make necessary changes in the code before, you compile and upload on your device.

*I don't take any responsibility if the code or anything(procedure) results in any kind of damage either to you or devices.

Step 7: Final Results

The project is tested what it was intended for, yup I am happy person... :-)

You can see the images when the PIR detects any activity and the LDR any light changes.

You can also attach an alarm system by including a buzzer when any motion or light activity is detected, connect and code it accordingly.

So all you intruders, watch out and be careful, a PIR sensor may be sensing your presence and reporting it someone at remote location.


-You can cover the portion of the white hemisphere of the PIR sensor, with a black tape if you want to concentrate the field of detection.

-and there are two pots on the PIR sensor one for sensitivity, and the other for time delay, you can adjust them according to your desired application.

Hope, you find this informative and useful.

Thanks for having a look at this.

Suggestions awaited, comments will be liked, and queries will be answered.

Please vote for me in the contests.

Bye for now.

On a Budget Contest

Participated in the
On a Budget Contest

Protected Contest

Participated in the
Protected Contest

Be the First to Share


    • Backyard Contest

      Backyard Contest
    • Silly Hats Speed Challenge

      Silly Hats Speed Challenge
    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge

    34 Discussions


    5 years ago on Introduction

    Great Item!!!

    I want to make this project~!!!


    Reply 5 years ago on Introduction

    Thank u ma'm...

    Plz PM the link after u make it...


    Reply 4 years ago

    Thank u, ma'm. I saw it just now. Very Happy to see my project there.

    That's what I thought, thank you for the confirmation. Anyone else..?


    Reply 5 years ago on Introduction

    Yes, got the same message too.....:D

    Ganesh Selvaraj
    Ganesh Selvaraj

    Reply 5 years ago on Introduction

    lol ... I too got the same. The best part is that I've published only 2 instructables (1 I made neatly and other one quite bad) and yet I got the message saying "Would say they are all superb. Nicely done and compiled."

    andrea biffi
    andrea biffi

    Reply 5 years ago on Introduction

    It seems that Bithal is inviting people via personal messages to visit its ible, a bit too near to a spammy behavior imho. Since its messages are all equal I could think that he didn't really saw our ibles...


    Reply 5 years ago on Introduction

    Hope you like it, thank u... :)

    guys, dont be so mean :) i thought it was a bot at first, but he is not, he just wanted some traffic. still awkward on a site thats meant to share knowledge. The users that want to build an arduino room monitoring system will find him anyway and he ones that didnt search for it wont care about it, invite or not. ..., like me.


    Reply 5 years ago on Introduction

    I don't think anyone is being mean here, but just the same. What if everyone spammed messages like this..?

    Our Inboxes would fill up a thousand times over in a day alone... That is why there are rules established against this type of behagvoir...