DIY Optical Sensor help

ellisz

Community Member
View Badges
Joined
Jan 5, 2017
Messages
99
Reaction score
18
Location
S. Indiana
Rating - 0%
0   0   0
I have been trying to DIY an optical sensor for my FMMs. I have the sensor and the TRRS jack and trying to test the wire configuration. I have been able to get the sensor to open and close but not consistently. The sensor identifies the wire config - Blue & White is +5v. Red & Yellow output/sensor. The TRRS jack has red(tip), white, green, and black(base). I am seeing 4.67v from the Black and Green as well as Red and Green off the jack when plugged into the FMM. Any help as to what wire goes where? I have tested with different configurations but can't seem to get a consistent switching with the sensor.

Optical sensors -

TRRS jack -

Any words of wisdom or is this a fools errand? I have some Neptune optical sensors in use as well but thought I would do a little DIY for back ups.

Thanks
 

WVNed

The fish are staring at me with hungry eyes.
View Badges
Joined
Apr 11, 2018
Messages
10,206
Reaction score
43,616
Location
Hurricane, WV
Rating - 0%
0   0   0
Do understand how it works and are wiring diagrams meaningful to you?

This is what I found

The sensor has 2 circuits
One lights a LED
The other has a phototransistor the sees the light from the LED based on how it refracts. Since it refracts differently when wet and dry that is how it senses a water level.

R1 is a current limiting resistor for a LED
R2 is a pull down resistor so the output goes to 0 if the sensor is off. It goes to 5v when the transistor is on
R1 & R2 should be inside the FMM and not the sensor. So is the output.

SO what you are working with are the 4 wires at the point where the circled numbers 1 to 4 are on the diagram.


The sensors are colored differently but have the same functions


51onINEu8AL._AC_SL1000_.jpg

images



The Neptune end
image-jpg.652599

Then you need to wire the optical sensor into the male connector with the proper pinout. Here is the pinout of the neptune optical sensor:

Pin one (closest to base of plug) Red
Pin two Green
Pin three Black
Pin four White

The generic optical sensors will probably have different colors on them, but generally Green is the Blue wire, and the Black is the Yellow



I hope this helps and is not just enough to be dangerous.
 
OP
OP
ellisz

ellisz

Community Member
View Badges
Joined
Jan 5, 2017
Messages
99
Reaction score
18
Location
S. Indiana
Rating - 0%
0   0   0
I know enough to be dangerous - I think. I was pretty sure it was really just getting the the 4 wires from the sensor connected to the 4 wires on the jack in the right order. Expected it to be easier than it turned out. I am testing by putting the sensor in water and watching for it to open on the dashboard(not Fusion). The Neptune sensor works as expected.

Let me double check my connections and see if I missed something. Thanks for the detail.
 
OP
OP
ellisz

ellisz

Community Member
View Badges
Joined
Jan 5, 2017
Messages
99
Reaction score
18
Location
S. Indiana
Rating - 0%
0   0   0
Went and tested again. I put white to white, red to red, yellow to black, and blue to green.

This gives me a closed switch no matter what. If I swap the black and green, I get an open switch all of the time.
 

WVNed

The fish are staring at me with hungry eyes.
View Badges
Joined
Apr 11, 2018
Messages
10,206
Reaction score
43,616
Location
Hurricane, WV
Rating - 0%
0   0   0
Look into this. Ignore the colors. There is no standard. Pay attention to what color comes out where on each end

61kWZruOMhL._SL1000_.jpg
image-jpg.652599



so
Tip - Red on plug to white on sensor
Ring 1 - White on plug to yellow on sensor
Ring 2 - Green on plug to blue on sensor
Ring 3 - Black on plug to red on sensor

With one of the pigtails plugged in you should see 5 volts more or less green to black and red to white
 
Last edited:
OP
OP
ellisz

ellisz

Community Member
View Badges
Joined
Jan 5, 2017
Messages
99
Reaction score
18
Location
S. Indiana
Rating - 0%
0   0   0
Thanks for calling out captain obvious! Sorry I took things a little too literal. I got one soldered up and working. Just have to figure out how I want to lay out the FMM's.

Thanks for all of the help.
 

bozo

Active Member
View Badges
Joined
Nov 19, 2015
Messages
478
Reaction score
143
Rating - 100%
2   0   0
also wondering which combination ended up working for you

I just wired these up.


You have to use the connectivity option on the multimeter to test which color wire goes to which TRRS pin.

Once you match the color of the wires to the pin number, you can solder your wires to the optical switch wires

You also have to ask the vendor who you bought the optical sensor from for a wire color diagram.

For me (could be different colors for you):

Pin 1 on the TRRS jack (Green Wire) -> Solders to Red Wire on the Optical Sensor

Pin 2 on the TRRS jack (Yellow Wire ) -> Solders to Blue Wire on the Optical Sensor

Pin 3 on the TRRS jack (Red Wire ) -> Solders to Yellow Wire on the Optical Sensor

Pin 4 on the TRRS jack (wHITE Wire ) -> Solders to White Wire on the Optical Sensor
 

Randyp79

Well-Known Member
View Badges
Joined
Sep 11, 2014
Messages
554
Reaction score
319
Rating - 0%
0   0   0
Just ordered this guy on Amazon and soldered it up to existing Neptune optical sensor jack.

White to white
Red to red
Yellow to black
Green to blue

Works perfectly.
 

Attachments

  • Screenshot_20240206_180741_Amazon Shopping.jpg
    Screenshot_20240206_180741_Amazon Shopping.jpg
    84.1 KB · Views: 11

Fusion in reefing: How do you feel about grafted corals?

  • I strongly prefer grafted corals and I seek them out to put in my tank.

    Votes: 3 4.8%
  • I find grafted corals appealing and would be open to having them in my tank.

    Votes: 37 59.7%
  • I am indifferent about grafted corals and am not enthusiastic about having them in my tank.

    Votes: 16 25.8%
  • I have reservations about grafted corals and would generally avoid having them in my tank.

    Votes: 5 8.1%
  • I have a negative perception and would avoid having grafted corals in my tank.

    Votes: 1 1.6%
Back
Top