Apex DOS DIY level switch?

CuseReefer

Active Member
View Badges
Joined
Apr 11, 2016
Messages
140
Reaction score
155
Location
Upstate NY
Has anyone made a DIY harness that attaches to the 6 pin connector on the DOS unit? The optical sensors used by the DDR are a simple 3 wire switch (GND, +12V, Switch Status). I assume if you know the pinout of the 6 pin connector it would be easy to add level monitoring to any container.
 
Top Shelf Aquatics
OP
CuseReefer

CuseReefer

Active Member
View Badges
Joined
Apr 11, 2016
Messages
140
Reaction score
155
Location
Upstate NY
ImageUploadedByREEF2REEF1461817423.503595.jpg
yeah this is the port I'm talking about.

Anyone have a ddr? Do the switches show up after you plug in the ddr or they present after hooking up the dos? My dos comes Friday so I haven't looked yet.
 

Lobstergrabber

Member
View Badges
Joined
Oct 25, 2014
Messages
7
Reaction score
3
Location
Fort Walton Beach Florida
CuseReefer, I don't have one yet but I am almost positive the ddr does not attach to anything but the dos and cannot be used stand alone. So you would have to have the dose plugged in with the ddr plugged into the dose for the switches to show up.

My interest is still if we can buy three wire optical switches, which are available, and then plug them into the dos to use in our own set up. So basically creating my own DDR with 55 gallon reservoirs.

Richard
 
OP
CuseReefer

CuseReefer

Active Member
View Badges
Joined
Apr 11, 2016
Messages
140
Reaction score
155
Location
Upstate NY
CuseReefer, I don't have one yet but I am almost positive the ddr does not attach to anything but the dos and cannot be used stand alone. So you would have to have the dose plugged in with the ddr plugged into the dose for the switches to show up.

My interest is still if we can buy three wire optical switches, which are available, and then plug them into the dos to use in our own set up. So basically creating my own DDR with 55 gallon reservoirs.

Richard
Yeah I understand the DDR can't be used alone. I didn't know if the DOS had a special way of knowing if the DDR was connected or not. Or if the switches just appeared when the DOS was added. When my unit comes tomorrow I will be poking around for sure.
 

Lobstergrabber

Member
View Badges
Joined
Oct 25, 2014
Messages
7
Reaction score
3
Location
Fort Walton Beach Florida
You just got the dos itself right? No DDR? Either way I am looking forward to seeing what you figure out once your unit comes in. I have to believe it's just a matter of figuring out the pin layout for a diy option though. The three wires on the optical switches should be easy enough to figure out I would think. I wonder how hard it would be to find a matching plug.

Richard
 
OP
CuseReefer

CuseReefer

Active Member
View Badges
Joined
Apr 11, 2016
Messages
140
Reaction score
155
Location
Upstate NY
You just got the dos itself right? No DDR? Either way I am looking forward to seeing what you figure out once your unit comes in. I have to believe it's just a matter of figuring out the pin layout for a diy option though. The three wires on the optical switches should be easy enough to figure out I would think. I wonder how hard it would be to find a matching plug.

Richard
Yeah I am going to open it up and probe around. See what pins are ground, which are power (assume +12v), and such. The connector will be simple, its a standard mini-fit jr from molex. We use them all the time at work.
 
Top Shelf Aquatics
OP
CuseReefer

CuseReefer

Active Member
View Badges
Joined
Apr 11, 2016
Messages
140
Reaction score
155
Location
Upstate NY
Got my DOS today and did some poking around. Here is what I have found out so far:
- One pin is a 5V source
- One pin is GND
- Two pins have a 4.7K ohm resistor to GND
- Two pins have a 560 ohm resistor to 5V

I think I know how they have this configured. The two pins with 4.7K resistors are most likely the switch inputs. And the 560 ohm pins are most likely the driver source for the LED that the optical sensors use. The following is the typical connections that an optical sensor uses, and typical resistors. They match very close to what I am seeing built into the DOS.

Now one thing you will notice is that the DDR doesn't show up, nor do any switches show up in Fusion (but they do show in Apex Dashboard). Off one of the pins where the 560 Ohm resister resides is a line that goes back to the MCU controller inside the DOS. I think they use this point as a "DDR detect" to signal the software that a DDR is connected. With nothing connected the MCU is reading in 5V but after an LED (from the optical sensor) is connected to ground, it will cause a voltage drop on that sense pin. This is how I think they are detecting the presence of a DDR. Going to have to put this project down for a week or so, but I will try some things when I get back, but things look promising. I'll post full details when I figure it out, but please do not start poking and connecting things up to your DOS just yet. I'd hate to see anyone ruin their DOS.
 
OP
CuseReefer

CuseReefer

Active Member
View Badges
Joined
Apr 11, 2016
Messages
140
Reaction score
155
Location
Upstate NY
Awesome work so far. Really look forward to your total findings.

Does the DDR actually measure the amount left in container or is it just a fill now type of thing?

Richard
The DDR only senses when you are low. BUT when the DOS senses a DDR it enables fluid usage monitoring. So if this works and enables the DDR software it will give you that functionality I assume.
 
OP
CuseReefer

CuseReefer

Active Member
View Badges
Joined
Apr 11, 2016
Messages
140
Reaction score
155
Location
Upstate NY
FIGURED IT OUT! And it works! Hooked up a optical sensor I had and it 1) enabled fluid monitoring and 2) detected the switch change (dry/wet). I'm going to do more testing but this looks VERY promising. So for $25-30 you can add 2 optical switches to your DOS and make it basically the DDR.

ImageUploadedByREEF2REEF1461978577.651112.jpg
 
OP
CuseReefer

CuseReefer

Active Member
View Badges
Joined
Apr 11, 2016
Messages
140
Reaction score
155
Location
Upstate NY
Also I think I have a way for you to enable fluid monitoring without the optical sensors too. So if you want to just enable the software feature but not have the low fluid sense switches its possible to do with just a resistor jumper between two pins to trick the DOS into thinking you have a DDR connected. Or a single optical sensor will do it too.
 
OP
CuseReefer

CuseReefer

Active Member
View Badges
Joined
Apr 11, 2016
Messages
140
Reaction score
155
Location
Upstate NY
Ok here it is. This is what I got working tonight using 1 optical sensor but should work with 2 with no problems. Do this at your own risk.

DIY DOS DDR Optical Cable How To:



Apex DOS detailed internal 6 pin DDR Pinout:
Pin 1 - +5V Supply
Pin 2 - 560 Ohm pullup to +5V (Switch 2 LED driver source)
Pin 3 - 4.7K Ohm pulldown to GND (Switch 2 input)
Pin 4 - 560 Ohm pullup to +5V (DDR Detect Pin*) (Switch 1 LED driver source)
Pin 5 - 4.7K Ohm pulldown to GND (Switch 1 input)
Pin 6 - GND
(If you have a multimeter, measure from pin 1 to 6 to verify 5V and verify pinout before proceeding)

Special note about pin 4: The DOS/Apex uses this pin to detect connection and enable the DDR software features in Apex Fusion. When connected to the LED port of an optical sensor this pin is pulled down to about 1.14V from 5V when nothing is connected. If you only want to connect 1 optical sensor up, it MUST be connected to this pin.

Cable Supplies:

- 2 Optical Sensors from eBay(http://www.ebay.com/itm/400934780805?_trksid=p2057872.m2749.l2649&ssPageName=STRK:MEBIDX:IT&afsrc=1&rmvSB=true) This is the one I have used and tested to work. Other options may exist but I will refer to this part in this tutorial. If you use something else DO NOT use my pinout/color references.

Two options for the connector:
Option 1 - Crimp method (for the skilled only)

- 6-pin Molex Nano-fit receptical (http://www.digikey.com/scripts/DkSearch/dksus.dll?Detail&itemSeq=195971922&uq=635975683447627144)
- 6 crimp pins for Molex connector (http://www.digikey.com/product-detail/en/molex-llc/0462350001/WM7082CT-ND/3045001)

Option 2 - Premade assembly (easier)
http://data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxEHEBUUEBMVFhITFhMXFRYYEhoZFhcTFhcWGBUaExYYHighGRslGxcWITEhJSkrLi4uFx8zODUsOjQuLisBCgoKDg0OGhAQGy0mICUtLS0rLS0tLS0tLS0vLS0tLS0tLS0tLS0tLS4uKy0tLS0tLS4tKy03LysvLS0tLS0tLf/AABEIAOEA4QMBEQACEQEDEQH/xAAcAAEAAQUBAQAAAAAAAAAAAAAABQIDBAYHAQj/xABDEAACAQMBBQUEBgYIBwAAAAAAAQIDBBEhBQYSMUEHIlFhkRMycYFCUnKhsdEUI2KCwfAVFiQzY5KiwkNEU4PS0+H/xAAaAQEAAwEBAQAAAAAAAAAAAAAAAQMEAgUG/8QANhEBAAEDAgIHBwMCBwAAAAAAAAECAxEEMRIhBRNBUXHR8BQyUmGBkcEiobFCUyMzQ5LS4eL/2gAMAwEAAhEDEQA/AO4gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPG+HmRM43GPVv6dPnL0/PkZ7mss0RmallNqudoYlTbUF7sZS+C/LJir6Xsx7sTPgujS1dvJjVN4HHlRl6v8AIy19N1R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fsGrZ28613bRhUcl7GrLPtJUnHXuv3Vnro5ZfTBA6iSAAAAAAAAAABblQhPnGL+MUBalYUpfQj6Y/AYFp7Kov6OPmyMJyuW9hC3eVn5jCMsokAAAAAAAAAFNSmqsXGSTjJNNNZTT0aa6oDina/ujtPad5QVnSdSzjTjCnTptKnSkniXHB4UU01r4LyA5VtjZ0tiV6lKUqc50+7mD4o8SSzFTWOLHLx0ZIu7JlK+4adOEp1ZvhhThHMpv8AZX4vpqQO2dm3ZXHYn9ovlGdeTUo0U+KlSfTP15+fJdM6MDqIAAAAAAAAAAAAAAAAAAAAAAAAAAAAFu5pfpEJQy1xRlHK5rKxleYHCLLsNvIusp3FFRjF+wac3xzTbh7RYXs14tcT10z1Dp+4m4ltuhTzFKpcyWKldrvPq40/qQz0XPCzkDbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//2Q==

- 6 pin Molex PCI Express Power Cable (http://www.ebay.com/itm/4-Pin-Molex-to-6-Pin-PCI-Express-PCIE-Video-Card-Power-Converter-Adapter-Cable-/201306508346?hash=item2edecd8c3a:g:n9kAAOSwNSxVAdh6)

Schematic:
Note: this uses the color/pinout for the optical sensor listed above. If you use a different sensor adjust accordingly.


Disclaimer, try this on your own accord. I am not associated with Apex nor is this endorsed or supported by them. Do this mod at your own risk!
 
Last edited:

ngvu1

Valuable Member
View Badges
Joined
Mar 5, 2014
Messages
2,231
Reaction score
990
Location
Orange County, CA, USA
Very interesting @CuseReefer.
I guess your next project will be ATO using the optical sensors? yeah? :); The most reliable tunze 3155 ATO strength is in the optical sensor. Now it can be done in $40 budget right? Well almost Hahahahahaha
 
Top Shelf Aquatics

Have you ever had an algae outbreak so bad that you had to break the tank down and start over?

  • Yes

    Votes: 7 17.9%
  • No

    Votes: 30 76.9%
  • Having a major outbreak right now and I'm considering it

    Votes: 0 0.0%
  • I've never had algae and my name is Pinocchio

    Votes: 2 5.1%

Online statistics

Members online
1,817
Guests online
4,019
Total visitors
5,836
Boom Corals
Top