Search found 154 matches

by dazza1304
Mon Aug 26, 2013 2:41 am
Forum: Addons
Topic: Salinity temp compensation?
Replies: 85
Views: 54437

Re: Salinity temp compensation?

When you enable the compensation, you should recalibrate. It will store the temperature in which the calibration happened in the internal memory and use it as reference. To enable compensation and use the default alpha value, use this: ReefAngel.Salinity.SetCompensation(0); Quick question, where to...
by dazza1304
Fri Aug 16, 2013 9:31 am
Forum: Addons
Topic: Help with salinity ATO using water level expansion
Replies: 25
Views: 14054

Re: Help with salinity ATO using water level expansion

Got it!! I understand now - guess its a good idea to "debounce" sensor inputs - I had done this for the water level and salinity high, but not salinity low. Anyway, re done my code, as I figured I only want to trigger the debounce for salinity high and low when my water level is low. Anywa...
by dazza1304
Fri Aug 16, 2013 3:29 am
Forum: Standard
Topic: Not able to upload code and getting strange upload error -
Replies: 1
Views: 1597

Re: Not able to upload code and getting strange upload error

Got it going by rebooting my mac??
by dazza1304
Fri Aug 16, 2013 3:08 am
Forum: Standard
Topic: Not able to upload code and getting strange upload error -
Replies: 1
Views: 1597

Not able to upload code and getting strange upload error -

Hi as above, I was playing around with some code, and all was working fine, then tried to use serial monitor to debug and now I et the following: The following features were automatically added: Watchdog Timer Version Menu The following features were detected: Dimming Signal Salinity Expansion Modul...
by dazza1304
Thu Aug 15, 2013 10:07 am
Forum: Addons
Topic: Help with salinity ATO using water level expansion
Replies: 25
Views: 14054

Re: Help with salinity ATO using water level expansion

SALduration==false happens all the time.... So, if the reading is less than 33.1 even for a split second, it will turn port 2 on and it will only turn port2 off when wl>40. Yes, but Watduration==true will only be true if water level < 35 and thus port 2 should only turn on if both conditions are me...
by dazza1304
Thu Aug 15, 2013 9:33 am
Forum: Addons
Topic: Help with salinity ATO using water level expansion
Replies: 25
Views: 14054

Re: Help with salinity ATO using water level expansion

Hi Roberto, maybe Im not explaining myself well, or Im missing something -the latter probably being the case! Port 2 (saltwater top up) should ONLY be turned on when the salinity <33.1 AND Water level < 35. Once its on, it then runs until water level> 40, then turns off? //if salinty <33.1 AND water...
by dazza1304
Thu Aug 15, 2013 8:37 am
Forum: Addons
Topic: Help with salinity ATO using water level expansion
Replies: 25
Views: 14054

Re: Help with salinity ATO using water level expansion

Thanks Roberto, but that's what I want it to do. So basically I have 2 flags for salinity and water level. If salinity <33.1 AND water level <35, then I top up with saltwater until water level > 40, then turn off port. If salinity >33.1 AND water level <35, then I top up with RO water until water le...
by dazza1304
Thu Aug 15, 2013 6:03 am
Forum: How do I code ...
Topic: Not sure if I am using boolean correctly?
Replies: 1
Views: 1329

Not sure if I am using boolean correctly?

Hi, I have been running this code for a little while and it doesnt seem to perform always as I would expect? Could it be that I am not using the boolean properly, by setting to true and then setting to false? For example here - SALduration=false; Watduration=false; Instead of this, should I use SALd...
by dazza1304
Thu Aug 15, 2013 3:17 am
Forum: Addons
Topic: Help with salinity ATO using water level expansion
Replies: 25
Views: 14054

Re: Help with salinity ATO using water level expansion

Hopefully someone will be able to help!! THought all was working fine, but I have actually caught the unit operating relay 2 when salinity > 33.1 and water level > 35. I cannot see how this is possible from my code. Can someone have a look and see what might be going on please?? #include <ReefAngel_...
by dazza1304
Thu Aug 08, 2013 7:31 am
Forum: Addons
Topic: Help with salinity ATO using water level expansion
Replies: 25
Views: 14054

Re: Help with salinity ATO using water level expansion

Have redone the code now, without the waterlevel ATO function and all seems to work fine!! #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...
by dazza1304
Thu Aug 08, 2013 1:02 am
Forum: Addons
Topic: Help with salinity ATO using water level expansion
Replies: 25
Views: 14054

Re: Help with salinity ATO using water level expansion

The reason the <= is not ok in this situation is because once your Water Level reaches 36% then the ATO would be disabled and never reach 40%. This will also cause the WaterLevelATO to leave the port in a potentially on or off state and not what you want... You will need to set a flag if the waterl...
by dazza1304
Wed Aug 07, 2013 11:14 am
Forum: Addons
Topic: Help with salinity ATO using water level expansion
Replies: 25
Views: 14054

Re: Help with salinity ATO using water level expansion

Actually looked at this a bit more, and it seems according to the arduino website, that the<= operand should be ok. I think the problems is using the ATO function - can you remind me where I can find the code for it please? I think I will make my own code for the function to be sure it functions as ...
by dazza1304
Wed Aug 07, 2013 9:59 am
Forum: Addons
Topic: Help with salinity ATO using water level expansion
Replies: 25
Views: 14054

Re: Help with salinity ATO using water level expansion

I think it is this: if (SALduration=true && ReefAngel.WaterLevel.GetLevel ()<=35) It will only be true is wl is less and equal to 35 But your ATO function ReefAngel.WaterLevelATO(Port1,30,35,40); calls for pump water from 35 to 40.... Well, it will never reach 40 to stop the ATO from pumpin...
by dazza1304
Wed Aug 07, 2013 9:29 am
Forum: Addons
Topic: Help with salinity ATO using water level expansion
Replies: 25
Views: 14054

Re: Help with salinity ATO using water level expansion

Hi Roberto, Tried that, but things dont seem to be happening correctly. First, after uploading code below, with salinity at 32.9 and wl at 42, nothing happens as would expect. To simulate operation, then raised wl sensor up until wl less than 35, and then straight away, red status light comes on - g...
by dazza1304
Wed Aug 07, 2013 7:26 am
Forum: Addons
Topic: Help with salinity ATO using water level expansion
Replies: 25
Views: 14054

Re: Help with salinity ATO using water level expansion

Sorry, here you go!! #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> #inc...
by dazza1304
Wed Aug 07, 2013 3:59 am
Forum: Addons
Topic: Help with salinity ATO using water level expansion
Replies: 25
Views: 14054

Re: Help with salinity ATO using water level expansion

Hi Guys, I have changed things around a lot to try to simplify, but it is not behaving as I expect - code below. Basically, compiles OK, and after loading, with waterlevel > 40 and salinity <33.1, my RO pump (pump 1) starts, which it shouldn't. I have probably got something slightly wrong, but cant ...
by dazza1304
Fri Aug 02, 2013 7:08 am
Forum: Addons
Topic: Help with salinity ATO using water level expansion
Replies: 25
Views: 14054

Help with salinity ATO using water level expansion

Hi Guys, I have had this working well for a while but want to refine it. Currently I have basically 2 containers - 1 with salt water and the other with RO water. I currently use the waterlevel ato function to top up salt water and a salinity measure to top up RO. These work independently of each oth...
by dazza1304
Fri Aug 02, 2013 1:49 am
Forum: Standard
Topic: Help - RA has started to randomly turn off skimmer!
Replies: 17
Views: 8388

Re: Help - RA has started to randomly turn off skimmer!

Yes, you must upload again. No, the watchdog's purpose is to reboot the controller. Once it reboots, it's job is done. The FLAG tag is to indicate several alert options... Each bit in the FLAG variable means something. #define ATOTimeOutFlag 0 #define OverheatFlag 1 #define BusLockFlag 2 #define Li...
by dazza1304
Fri Aug 02, 2013 1:45 am
Forum: Standard
Topic: Help - RA has started to randomly turn off skimmer!
Replies: 17
Views: 8388

Re: Help - RA has started to randomly turn off skimmer!

I understand about the float switches and obviously about resolving the root cause. What you can do instead if you have an extra switch around or can get one...is wire it in parallel to the ato low port. This is what i do but both of mine are on high :) and my low monitors my skimmer too. I take th...
by dazza1304
Thu Aug 01, 2013 9:51 am
Forum: Standard
Topic: Help - RA has started to randomly turn off skimmer!
Replies: 17
Views: 8388

Re: Help - RA has started to randomly turn off skimmer!

Got it - sorry for being thick!!

Now that that is updated, do I need to reload my code?

Also the FLAG in portal, is it set when watchdog is activated?
by dazza1304
Thu Aug 01, 2013 9:44 am
Forum: Standard
Topic: Help - RA has started to randomly turn off skimmer!
Replies: 17
Views: 8388

Re: Help - RA has started to randomly turn off skimmer!

rimai wrote:You should have a contents folder. Make sure you are looking at the Arduino app and not the libraries folder.
In my arduino folder, I have the following folders:
example codes
libraries
RA preloaded
tools
update

and thats it!!
by dazza1304
Thu Aug 01, 2013 9:30 am
Forum: Standard
Topic: Help - RA has started to randomly turn off skimmer!
Replies: 17
Views: 8388

Re: Help - RA has started to randomly turn off skimmer!

Well, you do want the controller to reboot itself to prevent lock-up. Not common, but I've seen happening. You may not have added anything, but something may have changed during this time. It's like a pump leaking stray voltage. It works fine for several months and one day, it starts doing all by i...
by dazza1304
Thu Aug 01, 2013 9:06 am
Forum: Standard
Topic: Help - RA has started to randomly turn off skimmer!
Replies: 17
Views: 8388

Re: Help - RA has started to randomly turn off skimmer!

One thing you can look at to preventing the skimmer from getting delayed on a restart is look at the code we implemented here http://forum.reefangel.com/viewtopic.php?f=12&t=3585 This would allow your skimmer to still delay after feeding and waterchange mode, but not on restart. You could also ...
by dazza1304
Thu Aug 01, 2013 9:00 am
Forum: Standard
Topic: Help - RA has started to randomly turn off skimmer!
Replies: 17
Views: 8388

Re: Help - RA has started to randomly turn off skimmer!

The head unit reboots because of the watchdog. It is preventing a lock up. Usually from external noise from a source around the RA equipment. Hi Roberto, is this a common thing? I haven't added anything near the RA head of relay boxes at all recently? Also, how do I go about resolving it so it does...
by dazza1304
Thu Aug 01, 2013 7:16 am
Forum: Standard
Topic: Help - RA has started to randomly turn off skimmer!
Replies: 17
Views: 8388

Re: Help - RA has started to randomly turn off skimmer!

Hi Roberto - hoping you can help!! Thought this was resolved, but definitely not. My skimmer is being turned off what seems randomly throughout the day. I have managed to observe the head unit and what seems to be happening, is it is resetting itself - the status light flashes red and then "reb...
by dazza1304
Wed Jul 24, 2013 9:48 am
Forum: Addons
Topic: Help with Port forwarding for WIFI
Replies: 10
Views: 8106

Re: Help with Port forwarding for WIFI

Thought that was the case - guess that will sort it now!!


Thanks..
by dazza1304
Wed Jul 24, 2013 5:24 am
Forum: Addons
Topic: Help with Port forwarding for WIFI
Replies: 10
Views: 8106

Re: Help with Port forwarding for WIFI

OK,

Tried my mobile app with 3G, but doesnt update - I have set to my wifi IP address and port 2000, but suspect I need to point to another IP address?

Can anyone help please?

thanks...
by dazza1304
Tue Jul 23, 2013 11:47 am
Forum: Addons
Topic: Help with Port forwarding for WIFI
Replies: 10
Views: 8106

Re: Help with Port forwarding for WIFI

Hang on - think I may have sorted it!! I have changed the IP address on the noip to my current ip address that it finds, and then when I do a port check, I let it use the IP address that it finds and for port 2000, says it open - does that sound like its correct? Unfortunately cannot check with my m...
by dazza1304
Tue Jul 23, 2013 10:31 am
Forum: Addons
Topic: Help with Port forwarding for WIFI
Replies: 10
Views: 8106

Re: Help with Port forwarding for WIFI

Hi, sorry for the delay, been very busy, just got around to trying but still stuck cause Im thick I think!! So, I have created an account at no-ip.com and I have managed to set my router to talk to my account - and the router software confirms they are talking - great!!! Then I have created an app f...
by dazza1304
Fri Jul 12, 2013 9:07 am
Forum: Standard
Topic: Help - RA has started to randomly turn off skimmer!
Replies: 17
Views: 8388

Re: Help - RA has started to randomly turn off skimmer!

Hi Roberto,

Panic over - think it was a salt bridge on the float switch connector - gave it a real good clean up and all seems OK now!!

cheers..