installed my wifi/lost daylight pwm
installed my wifi/lost daylight pwm
ok, so i installed my wifi module the other day, and the daylight pwm just stopped working. It shows it working on the angel, but i get no voltage on the leads. I also updated the librarys at the same time. Any idea where to start troubleshooting?
#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 <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port5Bit | Port6Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port2Bit | Port4Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port1Bit | Port2Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 830 );
// Ports that are always on
ReefAngel.Relay.On( Port5 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardHeater( Port1,750,790 );
ReefAngel.StandardLights( Port2,9,0,21,0 );
ReefAngel.StandardFan( Port3,771,800 );
ReefAngel.StandardLights( Port4,8,0,18,0 );
ReefAngel.MHLights( Port6,7,0,21,0,10 );
ReefAngel.DosingPumpRepeat( Port7,0,240,10 );
ReefAngel.DosingPumpRepeat( Port8,0,240,10 );
ReefAngel.PWM.SetDaylight( PWMSlope(9,0,17,0,0,60,60,0) );
ReefAngel.PWM.SetActinic( PWMSlope(8,0,18,0,0,100,60,0) );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "pandimus" );
ReefAngel.ShowInterface();
}
#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 <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port5Bit | Port6Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port2Bit | Port4Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port1Bit | Port2Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 830 );
// Ports that are always on
ReefAngel.Relay.On( Port5 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardHeater( Port1,750,790 );
ReefAngel.StandardLights( Port2,9,0,21,0 );
ReefAngel.StandardFan( Port3,771,800 );
ReefAngel.StandardLights( Port4,8,0,18,0 );
ReefAngel.MHLights( Port6,7,0,21,0,10 );
ReefAngel.DosingPumpRepeat( Port7,0,240,10 );
ReefAngel.DosingPumpRepeat( Port8,0,240,10 );
ReefAngel.PWM.SetDaylight( PWMSlope(9,0,17,0,0,60,60,0) );
ReefAngel.PWM.SetActinic( PWMSlope(8,0,18,0,0,100,60,0) );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "pandimus" );
ReefAngel.ShowInterface();
}
Re: installed my wifi/lost daylight pwm
I would try:
1) Without the WiFi attachment connected
2) (if #1 still fails) try the ControllerTester sketch.
3) (if #2 still fails) rebuild with the old libraries and verify that the problem was caused by upgrading.
1) Without the WiFi attachment connected
2) (if #1 still fails) try the ControllerTester sketch.
3) (if #2 still fails) rebuild with the old libraries and verify that the problem was caused by upgrading.
Current setup:
60g 24" custom cube (fish and softies right now)
AI Sol Blue, Ecotech MP-10wES
Coralife skimmer
100% customer controller, transitioning to ReefAngel
60g 24" custom cube (fish and softies right now)
AI Sol Blue, Ecotech MP-10wES
Coralife skimmer
100% customer controller, transitioning to ReefAngel
Re: installed my wifi/lost daylight pwm
Where do I find controller test sketch? How do I down grade library? Also I noticed the lighting menu is gone from the controller.what caused that?enigma32 wrote:I would try:
1) Without the WiFi attachment connected
2) (if #1 still fails) try the ControllerTester sketch.
3) (if #2 still fails) rebuild with the old libraries and verify that the problem was caused by upgrading.
Re: installed my wifi/lost daylight pwm
I believe the controller test sketch should be in File > Examples, but I'm not positive because I use a very not-normal configuration here.
It looks like there are a few things that could make the Lighting menu go away...
It might actually be worth running through the wizard to double check that everything is configured as you want in there.
Otherwise I'm sorry to say I'm not yet familiar enough with RA yet to be able to help you further
It looks like there are a few things that could make the Lighting menu go away...
It might actually be worth running through the wizard to double check that everything is configured as you want in there.
Otherwise I'm sorry to say I'm not yet familiar enough with RA yet to be able to help you further
Current setup:
60g 24" custom cube (fish and softies right now)
AI Sol Blue, Ecotech MP-10wES
Coralife skimmer
100% customer controller, transitioning to ReefAngel
60g 24" custom cube (fish and softies right now)
AI Sol Blue, Ecotech MP-10wES
Coralife skimmer
100% customer controller, transitioning to ReefAngel
Re: installed my wifi/lost daylight pwm
To get the standard menu back (which includes the lighting menu), you need to add this line after the ReefAngel.Init(); line in the loop() function:
Code: Select all
ReefAngel.AddStandardMenu(); // Add Standard Menu
Re: installed my wifi/lost daylight pwm
I've tried everything here except reverting library's.not sure how to do that.hey roberto, is it possible to burn out just one channel of the pwm?
Re: installed my wifi/lost daylight pwm
If i buy the pwm dimmer expansion will this affect it?
Re: installed my wifi/lost daylight pwm
Can you test the channel using ControllerTester code?
File->Sketchbook->Example Codes
File->Sketchbook->Example Codes
Roberto.
Re: installed my wifi/lost daylight pwm
I did that the other day.and bad channel does nothing.good channel works fine.
Re: installed my wifi/lost daylight pwm
You can replace the LM358 to fix the channel.
If you get the dimming expansion, it would give you 6 more channels.
If you get the dimming expansion, it would give you 6 more channels.
Roberto.
Re: installed my wifi/lost daylight pwm
I removed the lm358 to make my unit 5v
Re: installed my wifi/lost daylight pwm
Which is the daylight pins on lm358 1&3 or 5&7?