Search found 257 matches

by 00Warpig00
Tue May 24, 2016 10:08 pm
Forum: Standard
Topic: General Bus Unreliability
Replies: 1
Views: 3481

Re: General Bus Unreliability

Try adding ferrite cores/chokes to one or both ends of your USB cables. Start with the end closest to the controller as opposed to the end closest to the expansion. Cables can act like antennas and transmit any stray RF fields right into your controller, Particularly the longer wires. Many Aquarium ...
by 00Warpig00
Fri Aug 01, 2014 7:40 pm
Forum: Addons
Topic: Bus Lock Issue
Replies: 22
Views: 14712

Re: Bus Lock Issue

The bus lock only happens on reprogrammable modules and only on certain systems. I'm unable to get it to replicate anywhere with any of the systems I have tried. That's why it is really hard to troubleshoot it. I have revised the I/O module to a non-programmable version. PM me to replace your I/O m...
by 00Warpig00
Thu Jul 31, 2014 9:13 pm
Forum: Addons
Topic: Bus Lock Issue
Replies: 22
Views: 14712

Re: Bus Lock Issue

I STILL am not using my IO module due to bus lock issues. Can\has ANYTHING on a software\hardware level (even a hardware mod) ever been done to a controller\module to resolve or at least work around this chronic issue? I have had my RA for about two years now and it seems there are still bus lock is...
by 00Warpig00
Sun Jul 13, 2014 7:19 pm
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

I do not see another override for port 2 or 7 except for in waterchange mode... Full code is here. Way down at the bottom. Version 109. I did make a few slight changes per my ideas a few posts above about the buzzer locking on. So now I am running my Version 110 (also at the end of that thread). In ...
by 00Warpig00
Fri Jul 11, 2014 7:31 pm
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

yes 4 to 8 seconds for a top off is not uncommon. my low and high float water levels are really close together in my sump. normally (no water needed state) my float switches sit at ATO Low = Off & ATO High = 0n If I remove 1/4 cup of water (with a measuring cup) from my sump my ATO High switch c...
by 00Warpig00
Thu Jul 10, 2014 7:49 pm
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

So my ATO is acting funny still after all. 1.ATO float switch triggers top off 2.correct pump starts to pump for ATO. 3.Buzzer does it's thing to warn me it's topping up. 4.about 4 seconds into the topoff the pump shuts down and the buzzer stop. 5. 35 seconds later my ATO times out. Red light skimme...
by 00Warpig00
Tue Jul 08, 2014 8:25 pm
Forum: Standard
Topic: Auto top off using Salinity Control Module
Replies: 5
Views: 5227

Re: Auto top off using Salinity Control Module

I have my ATO supply pump selected by salinity reading from the probe. If under x then ATO with SW of over X then ATO with RO/DI. I am NOT using the salinity measurement to tell the ATO when to STOP PUMPING. I am still using the ATO float switches for that. Just using the probe and switching back an...
by 00Warpig00
Tue Jul 08, 2014 8:08 pm
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

This seems to be working 95% of what I am hoping for... The ATO selection code I am working with for now is as follows //*****Begin ATO By Salinity Additions if (ReefAngel.Params.Salinity<300)//if salinity is low switch to Saltwater ATO { ReefAngel.StandardATO(Port7,40 );//ATO Port is now Saltwater ...
by 00Warpig00
Mon Jun 30, 2014 9:21 pm
Forum: How do I code ...
Topic: Enter "if" based on either of two variables changing
Replies: 4
Views: 4615

Re: Enter "if" based on either of two variables changing

That worked a treat... Thanks again. A while ago I set up my LED Drivers\QT\Sump Lights to be able to be masked on manually for when I am out of town and need to check the tank via webcam late at night in the hotel after a long days work. They can also be masked off manually for when I am watching a...
by 00Warpig00
Mon Jun 30, 2014 8:14 pm
Forum: How do I code ...
Topic: Enter "if" based on either of two variables changing
Replies: 4
Views: 4615

Re: Enter "if" based on either of two variables changing

Thanks Roberto. Will give that a try. :)

Nick
by 00Warpig00
Mon Jun 30, 2014 7:41 pm
Forum: How do I code ...
Topic: Enter "if" based on either of two variables changing
Replies: 4
Views: 4615

Enter "if" based on either of two variables changing

I'm not a programmer so this is might be rough way to ask this question not knowing the proper lingo but here goes. I would like to enter the same set of statements within an "if" based on whether either of two variables have changed in my last loop? The best way I can think of to lay this...
by 00Warpig00
Sat Jun 28, 2014 9:05 am
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

So in my setup... Do I still need this //*****Begin ATO By Salinity Additions byte ATOBrutePort = Port2; or should I change it to Port7 since at startup Port7 will become my ATO port in the first loop due to salinity being 0 anyhow. Thinking about it... I guess it really doesn't much matter what it ...
by 00Warpig00
Sat Jun 28, 2014 8:09 am
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

could I also debounce the Salinity probe by doing something like the following if (ReefAngel.Params.Salinity<100) { ReefAngel.Relay.Off(Port2); ReefAngel.Relay.Off(Port7); } else if (ReefAngel.Params.Salinity<300) { ReefAngel.StandardATO(Port7,40 ); ReefAngel.Relay.Off(Port2); ATOBrutePort=Port7; } ...
by 00Warpig00
Sat Jun 28, 2014 7:55 am
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

ahh ok. it sounds like if I do call ShowInterface() in the setup it wont matter unless I also initialize all of the "hidden variables" I need initialized before the ShowInterface().

Nick
by 00Warpig00
Sat Jun 28, 2014 7:41 am
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

I will give that a try. That makes total sense. Control both ports in each of the two possible scenarios not just one. can I do a ShowInterface() during the setup code to initialize all the hardware values? If not how about very early in my loop? Seems there might be some reasons to not do ShowInter...
by 00Warpig00
Fri Jun 27, 2014 8:54 pm
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

Can you post the piece of your code that does the ATO? It is only the very first run of loop that you don't have things initialized. The function that reads everything is ShowInterface(). So, in the very first pass, everything is zero. Here is my entire code... A bit long... But I have been trying ...
by 00Warpig00
Fri Jun 27, 2014 8:42 pm
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

I have another question.... If all of the hardware attached to the controller needs to be debounced like the temp probes PH Probes Salinity probes etc. at controller reboot\startup time... can I call a simple loop right as the first function inside the main loop to sit in that sub loop function unti...
by 00Warpig00
Fri Jun 27, 2014 8:24 pm
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

Funny, I think I might be hot on the trail of my ATO bug that caused my sump to overflow 8+ months ago. Little rundown. I have my ATO coded to automatically top off with saltwater from my 44G Saltwater Brute if the salinity on the probe is below 30 (300) at top off time. It Tops off from my 44G pure...
by 00Warpig00
Fri Jun 27, 2014 6:31 pm
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

Yes you can do ReefAngel.Relay.Status(Port2); which will return 0 (off) or 1 (on). You could even be clever and do this Alert=ReefAngel.Relay.Status(Port2)*25; If the status is 1 alert will be 25 and if staus is 0 alert will be 0 :) Lee Sweet! The ReefAngel.Relay.Status(Portn) was the part I was mi...
by 00Warpig00
Fri Jun 27, 2014 6:12 pm
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

See My ATO got stuck in the ON position once about 8 months ago and pumped my entire 44 Gallons of ATO water into my sump... overflowed my sump and I ended up with about 20 gallons of water on the floor. Since that time ATO has been disabled because I could not trust it. Now I am getting ready for a...
by 00Warpig00
Fri Jun 27, 2014 5:56 pm
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Re: Buzzer on while ATO pump relay is active

ATO pump is on Relay Box 1 socket #2 and my buzzer is on one of the Analog dimming ports on the relay box. I can change code or plug it in to either port. I have a "Alert" variable that is currently either set to 0 or it something greater than 0 that automatically ups it to 25 to give me ~...
by 00Warpig00
Thu Jun 26, 2014 8:19 pm
Forum: How do I code ...
Topic: Buzzer on while ATO pump relay is active
Replies: 28
Views: 19289

Buzzer on while ATO pump relay is active

I'm sure this is simple... just having a brain fart right now. I want my buzzer to be on only while the ATO pump relay is active. Doing some experimenting and want to know while I'm sitting around the house when the ATO tops off. I'm sure this is simple but I'm drawing a blank...

Nick
by 00Warpig00
Wed Apr 30, 2014 6:52 pm
Forum: How do I code ...
Topic: Internal memory issue? InternalMemory.write(102, 106);
Replies: 5
Views: 3516

Re: Internal memory issue? InternalMemory.write(102, 106);

ok I am guessing I killed that memory location. I have 4 previous versions of code that wrote to 102 every loop cycle a new high temperature was observed. I remember now after looking at my old sketches. When I first set up my high\Low temp monitoring I wrote to that location every time there was a ...
by 00Warpig00
Wed Apr 30, 2014 6:40 pm
Forum: How do I code ...
Topic: Internal memory issue? InternalMemory.write(102, 106);
Replies: 5
Views: 3516

Re: Internal memory issue? InternalMemory.write(102, 106);

hmm I do have at least my last 5 versions of code still. maybe I will search those revs and see if I used them in the past and can't remember. Is this what happens when a memory location gets burned out?
by 00Warpig00
Wed Apr 30, 2014 6:37 pm
Forum: How do I code ...
Topic: Internal memory issue? InternalMemory.write(102, 106);
Replies: 5
Views: 3516

Re: Internal memory issue? InternalMemory.write(102, 106);

I don't know really. I don't remember ever using it in the past for anything. I just recently changed my code and moved that data that was being stored in 101 to 102 but reading 102 from the first time I ever remember using it reads as 255. Could I have had some code in the past that used it and pos...
by 00Warpig00
Wed Apr 30, 2014 6:02 pm
Forum: How do I code ...
Topic: Internal memory issue? InternalMemory.write(102, 106);
Replies: 5
Views: 3516

Internal memory issue? InternalMemory.write(102, 106);

Not sure what is going on here... I have the following line of code in my sketch that writes byte 106 to memory location 102. InternalMemory.write(102, 106); I have searched my entire sketch for any other lines that write memory location 102 and there are none that I can find, however if I read memo...
by 00Warpig00
Thu Apr 24, 2014 8:25 pm
Forum: How do I code ...
Topic: Low\High Temp monitor code help
Replies: 11
Views: 7760

Re: Low\High Temp monitor code help

What you can do too is average out the sampling and look at the average low temp over x samples and then do your comparison. You might still need to drop 0 values but lets see what happens with your check let me know if you still need sample code. I was thinking about doing a rolling average when i...
by 00Warpig00
Thu Apr 24, 2014 8:14 pm
Forum: How do I code ...
Topic: Low\High Temp monitor code help
Replies: 11
Views: 7760

Re: Low\High Temp monitor code help

ok changed it to the following like lnevo's suggestion. T1Read = ReefAngel.Params.Temp[T1_PROBE]; if (T1Read !=0) { T1LowTemp = min(T1LowTemp, T1Read); T1HighTemp = max(T1HighTemp, T1Read); } With the if not 0 the code works. somehow in the early loops through the code it was always getting a 0 firs...
by 00Warpig00
Thu Apr 24, 2014 7:40 pm
Forum: How do I code ...
Topic: Low\High Temp monitor code help
Replies: 11
Views: 7760

Re: Low\High Temp monitor code help

Think I will try the if not 0 to see what happens. I also will try another probe that has not been sitting in saltwater for almost two years, maybe it will have less "jitter" and I can see something other than a 0 on the low side.

Nick
by 00Warpig00
Thu Apr 24, 2014 7:34 pm
Forum: How do I code ...
Topic: Low\High Temp monitor code help
Replies: 11
Views: 7760

Re: Low\High Temp monitor code help

Sensors are tricky and you dont see the milisecond readings that happen when the screen redraws every few seconds. You are iniializing the low temp variable to 1 but of the T1 reading ever hits 0 for just one blip it will show 0 always. Thats why i said to do an if on the real temp probe reading an...