LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help

hello everyone,

i need your help, i am doing my FYP  which is a smart house. i need to control the light through DAQ 6008, i have a motion sensor that give me a momentary high when there is an object in the room according to this the light should turn on,the system should check if there is no movement for like 15 mins the light has to turn off  any idea ?!!

0 Kudos
Message 1 of 3
(2,245 Views)

Alawy,

 

Yes, I have some ideas. But this is your school project so you are required to come up with the ideas.

 

What you have described is a reasonable approach and should work.

 

What parts of the project have you designed so far? What parts are giving you trouble?

 

I recommend starting by defining the project on paper first.  Take each of the requirements you have mentioned and break them down into smaller tasks until you get to simple things you know how to do.  You also should consider how the user can interact with the program or the house.  For example the user may need to turn off the light while someone is in the room to change bulbs. Or they may want the light to stay on until manually turned off.  The design requirements will list all these items also.  What about error handling?

 

Participants in this Forum will not do your project for you but we will try to answer specific questions.

 

Lynn

Message 2 of 3
(2,239 Views)

Once you get that mometary high from your sensor, record the timestamp of the event, and start your time counter. You wait until 15 minutes, if the event of momentery high happens again reset the counter and sart counting fresh for 15 minute countdown, and after 15 minutes elapsed, generate analog/digital output to turn off the switch. 



------------------------------------------------------------------------------------------------------
Kudos are (always) welcome for the good post. 🙂
0 Kudos
Message 3 of 3
(2,235 Views)