Jebao wp40 and jebao dc6000 help with dimming expansion

Basic / Standard Reef Angel hardware
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

That's correct, they will only work on the main relay.
I didn't notice what relay they were on.



Sent from my HTC One VX using Tapatalk
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

It's the expansion relay which isn't working . I've got the actinic and the daylight on the main relay plugged in to control the dc pump and the wp40. If I plug the wp40 into another wall outlet it works .just not anything on the expansion relay . The wp40 just seems to be making a water steam stream and it doesn't seem to be pulsing or anything to make any wave patterns. I'm stumped the relay expansion module is showing a green light which makes me believe the expansion relay is sending power to it .
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

[attachment=-1]uploadfromtaptalk1391873107739.jpg[/attachment]
Attachments
uploadfromtaptalk1391873107739.jpg
uploadfromtaptalk1391873107739.jpg (148.94 KiB) Viewed 8939 times
ReEfnWrX
Posts: 232
Joined: Tue Nov 05, 2013 8:40 am
Location: Houston TX

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by ReEfnWrX »

A little confused here....

So you are plugging the Dimming cables into Day/Actinic channels on the primary relay?

The powerhead turns on when the power is plugged into primary relay?

the powerhead turns on when the power is plugged into expansion relay?

But it is only on a constant stream?
Image
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

Yes the day/actinic is plugged into the main relay.
Yes the power heads will turn on if plugged into a wall outlet or the main relay just not the expansion relay. I've plugged in other plugs into the expansion relay and they don't work either . I'm using : reef angel plus, ---> main relay ---> expansion module ----> expansion relay. The expansion module is showing a green light also .
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

And yes the power heads seem to only have a constant stream . Seems to be no fluctuating in the streams intensity
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by lnevo »

At this point you should try the controller test code to verify all the outlets on the relay expansion are working. From your code you are only turning on 1, 2, 7+8.
ReEfnWrX
Posts: 232
Joined: Tue Nov 05, 2013 8:40 am
Location: Houston TX

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by ReEfnWrX »

I cannot answer the Relay exp issue as I do not have one so I am not familiar.

How long have you watched the dcpump speed? Lagoon mode is a very very relaxed pattern and changes very slowly
Image
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

Just trying to understand things. There seems to be 2 different things going on, maybe related maybe not.

1st nothing plugged into the 2nd relay will not power on. Correct?

2nd the Jebao pumps will not change speeds they are just a constant flow.

Let's deal with the Jebao pumps first.

If the dimming leads for the WP-40 and DC-6000 are plugged into to actinic and daylight ports on the main relay and the power plugs plugged into the main relay or the wall can you change the flow speed from 100% to 30% in the code and see a difference?

To test the expansion relay. Load the expansion relay code like Lee suggested.

Sent from my HTC One VX using Tapatalk
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by rimai »

Yes, according to your code, you are running lagoon mode, which will never make waves.
Try short pulse with 400ms duration.
Roberto.
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

ok im finally at the point to where i can fix my relay problem . but i cant find the test code for the relay expansion . when i go from arduino: file ---> example codes nothing pops up.also how do i upoad the test code?
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

okay so heres where im at. The wp40 will do what i set it up to do with the dc pump wizard. the problem is the expansion relay is'nt working . none of the outlets seem to come on or off but i know its getting power because the relay expansion module is plugged into it and its showing a green light.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

In the Arduino Sketch console go to Open > Example Codes > RelayExpansionTester.

Image

Then you load the code to your RA just like any other code.
It will over right your existing code so make sure you have it saved somewhere on your computer.
Once it is uploaded all it does is cycle thru all the ports and turn them on 1 by 1, so have a light or something plugged into each of them so you can see if the port is going on or not.

If you can find the test code here it is...

Code: Select all

#include <Salinity.h>
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>

void DrawCustomMain()
{
  // the graph is drawn/updated when we exit the main menu &
  // when the parameters are saved
  ReefAngel.LCD.DrawDate(6, 122);
  pingSerial();
#if defined DisplayLEDPWM && ! defined RemoveAllLights
  ReefAngel.LCD.DrawMonitor(15, 60, ReefAngel.Params,
  ReefAngel.PWM.GetDaylightValue(), ReefAngel.PWM.GetActinicValue());
#else // defined DisplayLEDPWM && ! defined RemoveAllLights
  ReefAngel.LCD.DrawMonitor(15, 60, ReefAngel.Params);
#endif // defined DisplayLEDPWM && ! defined RemoveAllLights
  pingSerial();
  byte TempRelay = ReefAngel.Relay.RelayData;
  TempRelay &= ReefAngel.Relay.RelayMaskOff;
  TempRelay |= ReefAngel.Relay.RelayMaskOn;
  ReefAngel.LCD.DrawOutletBox(12, 92, TempRelay);
  pingSerial();
  TempRelay = ReefAngel.Relay.RelayDataE[0];
  TempRelay &= ReefAngel.Relay.RelayMaskOffE[0];
  TempRelay |= ReefAngel.Relay.RelayMaskOnE[0];
  ReefAngel.LCD.DrawOutletBox(12, 104, TempRelay);
}

void DrawCustomGraph()
{
  ReefAngel.LCD.DrawGraph(5, 5);
}

int a=0;

void setup()
{
  ReefAngel.Init();  //Initialize controller
}

void loop()
{
  ReefAngel.Relay.AllOff();
  ReefAngel.Relay.On(a+10);
  if (a++==8) a=0;
  delay(200);
  ReefAngel.ShowInterface();
}



User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

Thanks Sacohen. Let's see how this works
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

I don't have a Relay Expansion Module, so I don't know at what point the unit gets a green light on it.
Stupid question, but you do have the AC power cord plugged into the 2nd Relay and into the wall?
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

Sacohen wrote:I don't have a Relay Expansion Module, so I don't know at what point the unit gets a green light on it.
Stupid question, but you do have the AC power cord plugged into the 2nd Relay and into the wall?
yes the relay is plugged into the same wall outlet as the other relay. the computer cord which attaches to the expansion relay plugs into a relay module which a green light comes on once its connected to the expansion relay
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

ok so i uploaded the code and its cycling but no outlets seem to be working
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

Pull the power cord going into the expansion relay and test it to make sure the cords not bad and power is going thru it to the relay box.

Roberto nay need to RMA it.
If he doesn't pop into this thread send him an email.

Sent from my HTC One VX using Tapatalk
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by rimai »

Did you change the switches inside the module?
Can you do an I2CScanner and post the results?
http://forum.reefangel.com/viewtopic.php?p=18831#p18831
Roberto.
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

Yes I changed the switches in the module to #2.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by rimai »

You should not have to change. Leave at #1.
Roberto.
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

OK after changing the module back to 1 everything is working except that my wp40 and the jebao randomly stopped working last night. Once I unplugged them and moved them back In everything worked great
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

The Jebao pumps will not go below a certain percentage.
I haven't hooked up my DC-6000 yet so I don't know if they have the same issue, but from what you are saying I take it that they do.

The lowest limit on my WP-40 is 25% and on my WP-25 is 30%.

So adjust you code so that they do not go below those points during a wave pattern and you should be fine.

It seems to have no problem going to 0% during the NTM cycle or even a water change and coming back on.
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

Does the lagoon or reef crest mode every just cut off. I set mine to 45% jebao with 05 as the other number which I thought would make it go from 40-50%. Just got back fro. Work this morning and the pumps are still off. Any ideas? If I unplug the dc6000 and the wp40 they start back up but they barely come on and then they just quite.
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

OK so I changed the mode from reef crest to lagoon with the settings of 45,05. Seems to work. I also switched the channels of the pumps with each other.
ReEfnWrX
Posts: 232
Joined: Tue Nov 05, 2013 8:40 am
Location: Houston TX

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by ReEfnWrX »

Set your pump to constant mode. and start at 15%, turn it up 1% until your pump turns on. That is the lowest you will want your pump to ever go.

My WP40 turns off at 18%
Image
ReEfnWrX
Posts: 232
Joined: Tue Nov 05, 2013 8:40 am
Location: Houston TX

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by ReEfnWrX »

Set your pump to constant mode. and start at 15%, turn it up 1% until your pump turns on. What ever % that is, is the lowest you will want your pump to ever go.

My WP40 turns off at 18%
Image
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

I don't think that's what's happening I mean surely it doesn't cut off at 40% isn't the second number in the code after the power% isn't that the (+-)% from the max power
ReEfnWrX
Posts: 232
Joined: Tue Nov 05, 2013 8:40 am
Location: Houston TX

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by ReEfnWrX »

Yes but still, it is a good thing to find out what your minimum % is. And as you can see, Sacohen's cuts off at 25% mine cuts of at 18%.. There is a variance..

I highly doubt that yours cuts off at 40%. But still good to know what your minimum is.
Image
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

I never went 1% at a time like you did. I think I went in 5% steps.

I knee my 40 worked at 25% so I started the 25 there and went up to 30% when that didn't work. It may actually be between 25 & 30%.

Sent from my HTC One VX using Tapatalk
Post Reply