Canreef Aquatics Bulletin Board  

Go Back   Canreef Aquatics Bulletin Board > General > Product Review and Equipment Forum > Controller and Monitoring Specific

Reply
 
Thread Tools Display Modes
  #1  
Old 06-28-2013, 03:14 AM
noy noy is offline
Member
 
Join Date: Feb 2013
Location: Toronto
Posts: 98
noy is on a distinguished road
Default Programming External Switches on Apex Controller

Just thought I'd share how I set up a set of external switches for my APEX system

This is the project box that I configured the switches with:


IMG_0469

Its essentially a project box with different switches attached to it.

The red and black switches are plunge switches and I programmed these to be external feed buttons. The red one is for a 15 minute feed cycle and the black one is for a 30 minute water change/maintenance cycle. The advantage of an external button is that sometime I have people feed the fish and its a lot easier having them push a button.

The 3 toggle switches are programmed right now to turn on/off the power to the return pump, skimmer and powerheads. For example if you just want to turn off the skimmer to empty out the collection cup you can do that with a toggle switch. It allows for quick access in cases of emergencies too.

The box is a $8 project box from thesource and switches are a couple of bucks or so. You can get them from any active electronics place.

You will need a drill bit for drilling holes - 5/8" and a dremel to open up the holes a bit.


IMG_0474


IMG_0472

I used a I/O Breakout box to connect everything but in theory I could have just spliced a mini-DIN 8 pin cable and connected the switches to the APEX directly. Having the breakout box allows me to easily re-configure everything without having to de-solder.


IMG_0470


IMG_0471


Here is the switch box attached to the side of my tank.


IMG_0477

As for the coding in APEX
I set up virtual outlets for the different switches
The feed switches have the following code

<V_Feed1>

Set OFF
Defer 015:00 Then OFF
If Switch1 CLOSED Then ON

and in the outlets that need to be turned off if the feed button is on you need the following line

If Outlet V_Feed1 = ON Then OFF

For the toggle switches I have the following

<V_Tgl_1>
Set ON
If Switch3 CLOSED Then ON
If Switch3 OPEN Then OFF

and in the device that the toggle switch turns on/off you need the following line

If Outlet V_Tgl_1 = OFF Then OFF

Right now the toggle switches just turn on/off specific devices but I can think of all kinds things to do with them. Since the hardware is setup all I have to do is change the programming around.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 01:38 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.