Question on optical sensors

Neptune

kelleymc

Community Member
Review score
+0 /0 /-0
View Badges
Joined
Oct 19, 2019
Messages
85
Reaction score
21
Review score
+0 /0 /-0
Rating - 0%
0   0   0
How long does an optical sensor need to be submerged to trigger a closed state? Is there a way to extend the time before the alarm is triggered?

In other words, if it triggers immediately when submerged, could I code the alarm to trigger once it’s been submerged for 5 seconds?
 
www.dinkinsaquaticgardens.com

gbroadbridge

2500 Club Member
Review score
+0 /0 /-0
View Badges
Joined
Mar 25, 2021
Messages
2,814
Reaction score
2,804
Review score
+0 /0 /-0
Location
Sydney, Australia
Rating - 0%
0   0   0
How long does an optical sensor need to be submerged to trigger a closed state? Is there a way to extend the time before the alarm is triggered?

In other words, if it triggers immediately when submerged, could I code the alarm to trigger once it’s been submerged for 5 seconds?
They change state as soon as they detect a fluid.

It's up to software to delay any action.
How you would do that depends on which controller system you are using
 

piranhaman00

2500 Club Member
Review score
+1 /0 /-0
View Badges
Joined
Jun 24, 2019
Messages
4,310
Reaction score
4,225
Review score
+1 /0 /-0
Rating - 0%
0   0   0
If you are using apex then it is immediately. Use defer statement to state how long the sensor needs to be activated Before turning on/off

If Sense1 = Closed Then On
Defer 0:00:05 Then On

5 seconds before it will activate
 
Orphek OR3 reef aquarium LED bar
OP
OP
kelleymc

kelleymc

Community Member
Review score
+0 /0 /-0
View Badges
Joined
Oct 19, 2019
Messages
85
Reaction score
21
Review score
+0 /0 /-0
Rating - 0%
0   0   0
They change state as soon as they detect a fluid.

It's up to software to delay any action.
How you would do that depends on which controller system you are using
Using Apex Fusion


If you are using apex then it is immediately. Use defer statement to state how long the sensor needs to be activated Before turning on/off

If Sense1 = Closed Then On
Defer 0:00:05 Then On

5 seconds before it will activate
Thanks. I’m trying to slow down how often the alarm triggers on one sensor, not turn anything on or off. Sometimes water movement trips one sensor so I want it to be submerged for a certain period of time before notifying me.
 

Attachments

  • 2B6EEDBD-1200-4B15-BED4-A29B75B251A5.jpeg
    2B6EEDBD-1200-4B15-BED4-A29B75B251A5.jpeg
    91.5 KB · Views: 9
Neptune

Polyp polynomial: How many heads do you start with when buying zoas?

  • One head is enough to get started.

    Votes: 27 10.6%
  • 2 to 4 heads.

    Votes: 145 57.1%
  • 5 heads or more.

    Votes: 65 25.6%
  • Full colony.

    Votes: 10 3.9%
  • Other.

    Votes: 7 2.8%
Frag Farm
Back
Top