Name
|
:
|
Sandeep Jagannath More
|
Section
|
:
|
Electrical and
FABLAB
|
Project Name
|
:
|
Fab Switch
(Display the bulb on motion (PIR) Sensor
|
Target /Object
|
:
|
If we go to the
dream house bulb will automatically switch on for 10 seconds.
|
Assembled Location
|
:
|
At Dream House, Vidnyan
Ashram Pabal.
|
Guidance
|
:
|
Suyog sir and
Suhas sir
|
Planning: Identified the
need of this motion sensor (which is sensing motions), location and find out the benefits of this project.
Benefits:
1. Electricity Saving
2. Different and more uses of PIR sensor (f.g. we can use for
thief protection etc.)
Achievement/Experience: First of all I have learned and understood
the project from Mr. Suhas sir, who is the Fablab In-charge. Then same I have
explained this project to workshop and electrical students. So My confidence
has increased, understood the connectivity of Ardiuno board (Input-Output),
relay circuit and more uses of motion
PIR sensor and Ardiuno board.
Material and
costing.
Sr. No.
|
Material Name
|
Qty.
|
Details of Material
|
Cost Rs.
|
1.
|
Arduino board
|
1
|
350
|
|
2.
|
PIR sensor
|
1
|
Motion Sensor
|
150
|
3.
|
Adaptor-12 V
|
1
|
Mobile charger
|
150
|
4.
|
Relay driving circuit
|
1
|
200
|
|
5.
|
7805 voltage regulator
|
1
|
015
|
|
6.
|
Jumper Wires
|
10
|
At 1 Rs-05/-
|
050
|
7.
|
Connector
|
1
|
005
|
|
8.
|
MDF sheet
|
1
|
For box cut on laser machine
|
050
|
Total
|
970
|
Tools: Stripper, Soldering gun, Soldering metal wire, Insulation tape, and glue
gun etc
Testing programming code
We have taken trial of PIR on ardunio
board and LED bulb with programming code. I have found the particular
programming code (arduino) in software but I did not get the particular code.
Then I find out two codes over the internet and four to five times took trial
& errors. Following code matched the project.
Code
const int ledPin= 13;
const int inputPin= 7;
void setup(){
pinMode(ledPin, OUTPUT);
pinMode(inputPin, INPUT);
pinMode(5,OUTPUT);
digitalWrite(5,HIGH);
}
void loop(){
int value= digitalRead(inputPin);
if (value == HIGH)
{
digitalWrite(ledPin, HIGH);
delay(10000);
}
else
{
digitalWrite(ledPin, LOW);
}
}
This code tested on arduino board with LED and PIR sensor.
Program complied successfully.
Relay Driving Circuit connectivity.
For this project we need a Relay Driving Circuit. This
circuit is working for switching.
I have understood the relay driving circuit and its
connections (VCC, GRND, IN1, IN2 & COM GRND, and GRND). But its need to 12
volt power supply. So we have provided power supply through the 12 volt adapter
(mobile charger it convert to DC current from AC). We have used also 7805
voltage regulator for this connection. From this connection we could provide 12
volt power supply for Relay circuit and 5 volt ardiuno board.
Connectivity- Motion Sensor, Ardinuo board & Relay
circuit.
We have connected and provided proper connection
for motion sensor to ardiuno board and Relay circuit to ardiuno board with
jumper wires. We have defined 5 number pin modes in programming code for PIR
power supply.
Used of
Laser cutter machine and box maker/design software
For assemble, we have made box on ‘online
box designer software’. This is very useful software for making box. In this
software we should mention dimensions /sizes of box (Length x breadth x height) and we should click
on the design it, then automatically box will create in PDF file format. We can
do many changes and additions in this box. But for these changes we have to
Inkscape software (it is free online software). As per our box design we created
box for fab switch. We have assembled the project.
Fab Switch assembled successfully in
proper box.
After the final connections of all components,
we have assembled all components in box.
Also we have connected connector (output) for bulb. (From relay to bulb connection)
Fab switch implemented successfully
at Dream House with the help of Electrical and Workshop Students.
A lot of thanks to Mr. Suhas sir who
guided and helped me to make this project.
I have explained purpose
of this project to DBRT Principal Mr. Vishal Jagtap sir and Workshop Teacher Vishwas
Shinde sir.
Faced problems
while making this project:
1.
Firstly
I could not find out the motion sensor wires of plus, mines and ground. Then I
have received diagram on internet and connected properly.
2.
Because
of the loosed connection of voltage regulator, the regulator has damaged. So
replaced the regulator.
3.
We
were facing the proper soldering.
Observations:
1. I can use ardiuno board, motion
sensor (PIR) and relay circuit properly.
2. A lot of uses of ardiuno board.
3. My confidence has increased.
4. I can do different activity with
ardiuno board.
t
Thanks.