Closed

outdoor light home automation webserver controller programming codes - repost

I want a C/C++ programming code that can be able to switch the light in my home on when it senses motion at about 10feet

The block diagram that shows how the operation of the process and components are interfaced together is attached below

. The Infrared motion sensor which has a supply voltage of 3.3/5v is interfaced with the Mbed [url removed, login to view] input GPI/O and when the there is a motion, the PIR produces an output of logic level 1 and this output is read by the input GPI/O. The Mbed output GPI/O control the power Cord by sending a logic level 1 to the power cord to switch on the light. When there is no motion, the output of the PIR is idle and the Mbed controller cannot be able to trigger the switch to bring the light on.

Finally, since we want to control the light over a network, the Mbed is connected to a computer with a web browser in order to have access to the Mbed servers which gives access to the Mbed libraries and online C/C++ IDE compiler. In this environment, the preconfigured IDE is written, compiled, and downloaded into the Mbed microcontroller which controls the entire process via the Mbed HTML homepage on the computer web browser.

Mbed LPC 1768 Microcontroller: is a single board NXP microcontroller and its function in this project is to read the output from the motion sensor(PIR) via its GPI/O input and activate the switching Cord that powers the light using its GPI/O output ports. It is also interfaced to a web browser using a USB lead in order to access the Mbed web servers where the online light weight C/C++codes that will control the process will be configured

Parrallax Passive Infrared (PIR) Motion sensor: is pyroelectric motion sensor device that detects motion by measuring the changes in the infrared levels emitted by surrounding object. Since the PIR does not emit signals and the human body generates infrared signature in the form of heat therefore in this project, the PIR is used to sense motion and measure the changes in infrared spectrum when someone approaches my home to produce an output that will be read by the LPC 1768 Mbed microcontroller.

It has a supply voltage of 3.3/5v with less than 100uA current draw and it can sense motion up to 20 feet.

Power Cord (Switch tail II): Is a DC power cord with voltage 3/12v operating at 3/30mA use for switching 120VAC (up to 15amps) appliances with microcontrollers and other low voltage circuits thereby eliminating exposure to hazardous voltages. In this project it is activated by the Mbed microcontroller to switch on the light when it reads the output from the Microcontroller.

Computer Web Browser: This could be any computer or laptop connected to the internet. It will be used to hookup the Mbed microcontroller via a USB lead to the Mbed servers in order to have access to the Mbed libraries and online compiler environment where the Pre-configured C/C++ IDE will be written compiled and downloaded to the Mbed controller to control the process. The Mbed HTML home page on the web browser is used to control the light switching process.

Lights: This is the outdoor light to be controlled. It could be bulbs or Christmas lights in the in my home walk way.

Skills: C Programming, C++ Programming, Engineering

See more: code home automation, mbed home automation, home automation code, html code light home automation, programming control light home automation, home automation webserver, home control code, home automation webserver project, html code home automation, code pir sensor, home control, code light automation, home automation programming, home automation light control sensor code, home automation programming codes, home automation project programming, programming home automation, web programming ide, switch c programming, programming via web, programming process, programming on the web, programming on internet, programming object, programming logic controller

About the Employer:
( 0 reviews ) Canada

Project ID: #4163797

6 freelancers are bidding on average $517 for this job

Embedder

Hi, i can do this job for you. i worked on dozens of similar boards. please check PMB.

$400 USD in 15 days
(4 Reviews)
3.5
sandyiscool

Have added more info in the private message board. Please have a look at it.

$200 USD in 5 days
(4 Reviews)
3.2
basicos

hi, please see message

$700 USD in 15 days
(1 Review)
3.0
codymonkey

Hi there, I have experience with coding for ARM in C++, particularly on a beagle board. If you accept my bid, I get an Mbed and an identical configuration here to make sure once you get the code (to compile) and the More

$500 USD in 7 days
(1 Review)
0.7
theenggprojects

I am ready to start the job

$200 USD in 5 days
(1 Review)
0.4
secureitee

Software company located in Estonia

$1100 USD in 30 days
(1 Review)
0.0