09-19-2013 05:50 AM
I want to do a project in Labview which controls 5 light bulbs which lights in a room. The switching on of light bulbs depend on amount of sunlight falling on a LDR. Small intensity of sunlight should cause the lighting of one bulb after the other. I need some help in writing my program in Labview.
09-19-2013 05:59 AM
What you have done so far? Have you even tried this?
09-19-2013 06:07 AM
Actually this is the first time I came across this software, so have difficulty in writing the programme. So if someone could help me on how to start. I have been researching for weeks in the internet and came across nothing close to what i want to do.
09-19-2013 06:13 AM
@kasamaneka wrote:
I want to do a project in Labview which controls 5 light bulbs which lights in a room. The switching on of light bulbs depend on amount of sunlight falling on a LDR. Small intensity of sunlight should cause the lighting of one bulb after the other. I need some help in writing my program in Labview.
LDR is a resistor whose resistance decreases with increasing incident light intensity... I know, you are already aware of what LDR is...!!
--> Well what exactly you want a LabVIEW program to do in this setup of yours...??
--> If you want LabVIEW to take control and lit different bulbs, based on the light intensity, I would like to know, how exactly you planned to measure the resistance variation of LDR??
--> What DAQ are you using??
--> Are you aware that DAQ cards can measure the voltage across a shunt resistance (here LDR) and indirectly tell you the variation in the resistant, provided a constant current passing through the resistance.
09-19-2013 06:22 AM
I want the Labview programme to read the amount of light coming in the room in Lux, then decide on how many bulbs to switch on to maintain the room brightly lit. I am using NI 6221 card. On cloudy days more light bulbs need to be switched on and at night all bulbs need to be switched on. At certain Lux obtained by Labview programme via DAQ card decides how many bulbs to light.
09-19-2013 06:52 AM
@kasamaneka wrote:
I want the Labview programme to read the amount of light coming in the room in Lux, then decide on how many bulbs to switch on to maintain the room brightly lit. I am using NI 6221 card. On cloudy days more light bulbs need to be switched on and at night all bulbs need to be switched on. At certain Lux obtained by Labview programme via DAQ card decides how many bulbs to light.
Good to see, what to want....!! You want LabVIEW program to read the intensity of light, but have you given a thought on how that can be achieved in steps.
In my previous rpely, I've asked you four questions and you answered 1st and 3rd, what about 2nd and 4th...??
09-19-2013 07:03 AM
For Q4 I am aware that Daq card can read voltage across the resistor but for resistance variation of LDR ---I am not sure.
09-19-2013 07:28 AM
@kasamaneka wrote:
For Q4 I am aware that Daq card can read voltage across the resistor but for resistance variation of LDR ---I am not sure.
Closely refer to my question#4 again:
@moderator1983 wrote:
--> Are you aware that DAQ cards can measure the voltage across a shunt resistance (here LDR) and indirectly tell you the variation in the resistant, provided a constant current passing through the resistance.
I mentioned constant current, and if you can read voltage and considering constant current, using Ohm's law, you can always determine the resistance.
09-19-2013 08:15 AM
Do you already have data acquisition hardware? If so, what do you have?
09-19-2013 09:54 AM
@kasamaneka wrote:
I want to do a project in Labview which controls 5 light bulbs which lights in a room. The switching on of light bulbs depend on amount of sunlight falling on a LDR. Small intensity of sunlight should cause the lighting of one bulb after the other. I need some help in writing my program in Labview.
Do you even have an idea of how this should be accomplished without LabVIEW? If not, then maybe that's your first step...