Help needed configuring optical sensor and switch (for a roller mat)

Macca_75

Active Member
View Badges
Joined
Jan 31, 2019
Messages
371
Reaction score
167
Rating - 0%
0   0   0
Hi all,

What I am trying to acheive is

If the optical sensor is not active (ie dry) everything is normal

If the Optical sensor is wet, switch a power outlet on (start the motor to roll the mat).

The power outlet can run for a max of 1 minute (and everything is OK). If the optical sensor is dry during this minute run for 15 seconds more before turning off.

If the power outlet runs for > 1 min AND the optical sensor is still wet
1) Turn off power outlet (stop roller mat)
2) Set an alarm condition (so I can check what is wrong)

(The use case would be controlling the motor off a Filter roller mat so I can send alarms if the mat continues to run for to long).

Also while at it is there any way to count/monitor total "on time" for an outlet. My initial "work around" would be setting up a virtual dosing pump, activating dosing according to the status of the switch port and monitoring the ml's of the virtual container. ie. figure out how long it takes to roll a complete mat through in time, "calibrate" the dosing pump to 1 ml/min and set a volume container according - alerting when the container is empty.
 
Hi all,

What I am trying to acheive is

If the optical sensor is not active (ie dry) everything is normal

If the Optical sensor is wet, switch a power outlet on (start the motor to roll the mat).

The power outlet can run for a max of 1 minute (and everything is OK). If the optical sensor is dry during this minute run for 15 seconds more before turning off.

If the power outlet runs for > 1 min AND the optical sensor is still wet
1) Turn off power outlet (stop roller mat)
2) Set an alarm condition (so I can check what is wrong)

(The use case would be controlling the motor off a Filter roller mat so I can send alarms if the mat continues to run for to long).

Also while at it is there any way to count/monitor total "on time" for an outlet. My initial "work around" would be setting up a virtual dosing pump, activating dosing according to the status of the switch port and monitoring the ml's of the virtual container. ie. figure out how long it takes to roll a complete mat through in time, "calibrate" the dosing pump to 1 ml/min and set a volume container according - alerting when the container is empty.

Socket on time logging is coming in a future update.

NOTE: I have not tested this, but in theory it should work as you want.

Set up a level control and set it to ATO. You can set Max on time. And since your optical sensor is "dry" until you need the mat to rotate, which is the opposite of an ATO (wet until dry then turn on) you will need to invert the function of the sensor.
Then assign the level to the socket you want to use for the roller mat.

It's all explained here.
 
Socket on time logging is coming in a future update.

NOTE: I have not tested this, but in theory it should work as you want.

Set up a level control and set it to ATO. You can set Max on time. And since your optical sensor is "dry" until you need the mat to rotate, which is the opposite of an ATO (wet until dry then turn on) you will need to invert the function of the sensor.
Then assign the level to the socket you want to use for the roller mat.

It's all explained here.
Although labelled "ATO" function (geezz I wish we could assign names/descriptions other than these) I think it will do exactly what I want. Thanks @Member No 1
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top