interface kit 2/2/2, 1127 light sensor and ssr relay 3052

Supporting Visual Studio on Windows
foei
Fresh meat
Posts: 3
Joined: Sat Sep 08, 2012 3:28 pm
Contact:

interface kit 2/2/2, 1127 light sensor and ssr relay 3052

Postby foei » Sun Sep 09, 2012 9:39 am

I am new to programming (totally clueless), but willing to learn.
I have purchased the interface 2/2/2 with a 1127 precision light senor and ssr 3052.

I need to built a program that:

When one of the digital input (0) of the interface kit is "on" (being that the yellow wire is attached to the black ground wire though a on-off switch), then I want the interface kit to use the light sensor to detect the amount of lights available (semi dark environment). I want a trigger event: that when the light sensor detects a sudden increase in light level (lights being turned on), then it will instruct the interface kit to activate the digital output through the ssr 3052. I want to be able to adjust the trigger value in order to activate the ssr 3052.

Lets say:
I activate the digital input (0) of the interface 2/2/2 with the on-off switch. Then the interface must detect the amount of light present via the 1127 sensor. When there is a sudden increase in light level, then the interface 2/2/2 will activate the digital output connected to a SSR 3052 relay. The trigger value (amount of light) I must be able to change the value easily.

Is something like this possible?

Return to “C#.NET”

Who is online

Users browsing this forum: No registered users and 2 guests