Hi Guys,
My first post in this fab forum!!
Rather than use float switches for ATO, I would like to use these optical sensors - see data sheet attached.
My question is, where can I find the pin out info so I can find how to connect to the float switch inputs?
Also, I will need to find 5 -12v to drive them, so where could I pick that up from?
Look forward to your replies!!
Optical level sensor
Optical level sensor
- Attachments
-
- 109069.pdf
- data sheet
- (93.17 KiB) Downloaded 608 times
Re: Optical level sensor
Think I have figured this out - I connect the ground from sensor to pin 2 of X8 - Signal out from sensor goes to pin 1 of X8 and I can pick up 5v from pin 1 of either X5 - X7.
Is this correct?
Also, I think my signal will be reversed compared to float switch? for ATO on, I think float switch gives a logic 0, but the optical sensor will give a logic 1 output.
Can i invert the code somehow to read correctly?
thanks..
Is this correct?
Also, I think my signal will be reversed compared to float switch? for ATO on, I think float switch gives a logic 0, but the optical sensor will give a logic 1 output.
Can i invert the code somehow to read correctly?
thanks..
Re: Optical level sensor
Yes, you got it
I also think that your sensor will be inverted.
We can always create a custom function for your code though
After all, this is open source and we can mold it to fit
I also think that your sensor will be inverted.
We can always create a custom function for your code though
After all, this is open source and we can mold it to fit
Roberto.
Re: Optical level sensor
Thanks roberto!!
Yes, when the sensor is in water - it is a low signal and when out of water (ATO needs to operate) it is a high signal.
What do I need to do to the code to "invert" compared to float switch which I think is opposite?
Yes, when the sensor is in water - it is a low signal and when out of water (ATO needs to operate) it is a high signal.
What do I need to do to the code to "invert" compared to float switch which I think is opposite?
Re: Optical level sensor
Hi Roberto, Yes I am sure - high state in air.
These are quite cheap too - only about $34!
These are quite cheap too - only about $34!
Re: Optical level sensor
Hey, this is an old thread, but I'm looking to do the same thing if possible. I have no idea what dazza was talking about though nor how it translates to the star. I'm wondering how I could power the sensor and read it. I'm hoping to convert to replace the controller for the Klir roller filter I'm using. If I could read the optical sensor then I can work on controlling the motor and get more information, put more controls, etc. on the filter roller.
Re: Optical level sensor
Looking at a sensor like this: https://www.ebay.com/itm/400934780805?_ ... rmvSB=true