Search found 233 matches
- Mon Dec 17, 2012 1:50 pm
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
Which code class... when I wrote this none of this was being done in this way so i kinda went off in a corner and started it avoiding any conflict with anything that had existed previously... if its now being used in a wider way I have not been made aware of this asside from the short conversation a...
- Wed Dec 12, 2012 10:59 am
- Forum: Tutorials
- Topic: Tutorial- Weather Simulation for PWM expansion module
- Replies: 9
- Views: 14282
Re: Tutorial- Weather Simulation for PWM expansion module
I added some mods to the code to account for those of us that use lat and lon coordinates that yield substantial yearly varaition to the light cycle. I noted that during the peak summer hours some of my corals were fading in color (bleaching) and that as I hit the middle of winter (in terms of the s...
- Tue Dec 11, 2012 4:27 pm
- Forum: You and your tank
- Topic: kalkwasser fix for PH
- Replies: 10
- Views: 14543
Re: kalkwasser fix for PH
Kalkwasser is an amazing way to help with pH as well as to take care of most if not all of your calcium needs. I use 7gallon of RO water with 2. Tbsp of Kalkwasser powder (Calcium hydroxide) and 8 Tbsp of grocery store 10% acidity vinegar (white only). This is pumped into my tank continuously using ...
- Tue Dec 11, 2012 1:37 pm
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
posted code that I will be running this evening... on my thread. If your interested it compensates for day length variation throughout the year to get even PAR over the tank... *I think* Oh... if your really bored... can you look at the calculation of fracInt in the first bit (its a float) to see if...
- Tue Nov 20, 2012 9:06 am
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
I agree- sort of.... I guess its really a matter of where you live or what coords you choose to use for your location. I am in Salt Lake City UT currently and sunset is 5 pm rise is just barely 6 am. So, two things are going on for me. My tank is getting 11 hours of light without offsets... and I on...
- Mon Nov 19, 2012 5:37 pm
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
I am very happy to see you running with this! And to find others also interested in what your doing. In terms of minimum day length its not going to be fancy but it brings up a question I was pondering. of the following options... what do you think is best (please any one reading this chime it) NOTE...
- Mon Nov 19, 2012 3:55 pm
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
So far as I can see you have not implemented any day light savings algorithim in your code. Therefore since the Arduino now() function is without regard to DST rules- there is no need to sync your controller, ever- at least not to correct for the arbitrary rules of DST in the USA. The arduino proces...
- Sun Nov 18, 2012 6:48 pm
- Forum: Standard
- Topic: OSX 10.7.4 Serial port issues Arduino load
- Replies: 9
- Views: 5624
Re: OSX 10.7.4 Serial port issues Arduino load
I am the cause. Should be all good. Had been a while since my last Board went bad and I simply started using the new one as if it was a std USB interface, like I have been doing with a piece of equipment at work.... Which is not a PMW board. Just pure lack of attention and habit from working on some...
- Sun Nov 18, 2012 2:54 pm
- Forum: Standard
- Topic: OSX 10.7.4 Serial port issues Arduino load
- Replies: 9
- Views: 5624
Re: OSX 10.7.4 Serial port issues Arduino load
All that is exactly what I am doing, but for the fact that your new design of the PMW dimming has a case with the mini USB connector and the power supply is just a simple 2pole round plug so there is no need to connect any wires to ground as I assume that is done internally. did not yet look up the ...
- Sun Nov 18, 2012 10:13 am
- Forum: Standard
- Topic: OSX 10.7.4 Serial port issues Arduino load
- Replies: 9
- Views: 5624
Re: OSX 10.7.4 Serial port issues Arduino load
perhaps this is my error, I have it sitting on the counter with nothing wired to it but for the USB and the transformer.... Does it need wires to the dimming circuit to work? It's not that it disappears, the serial port is only present with the main or old Pam board plugged in, as son as they are un...
- Sat Nov 17, 2012 11:52 am
- Forum: Standard
- Topic: OSX 10.7.4 Serial port issues Arduino load
- Replies: 9
- Views: 5624
Re: OSX 10.7.4 Serial port issues Arduino load
Just double checked- also can load to main... so its the new PWM dimming board. Old PWM dimming board is semi functional, I can load to it and it runs but something got fried with the salt water and either memory or time is and has been odd... so I still need a new board I believe :) Any quick way t...
- Sat Nov 17, 2012 10:02 am
- Forum: Standard
- Topic: OSX 10.7.4 Serial port issues Arduino load
- Replies: 9
- Views: 5624
Re: OSX 10.7.4 Serial port issues Arduino load
I can upload to my old PWM board.. just did it. Same computer, literally unplugged it and walked 5 ft to the tank, plugged it into the old board with the pin out connector (USB to flat pin connector) and it worked fine... walked back plugged in new one and the serial port USB type that I had just se...
- Sat Nov 17, 2012 9:53 am
- Forum: Standard
- Topic: OSX 10.7.4 Serial port issues Arduino load
- Replies: 9
- Views: 5624
OSX 10.7.4 Serial port issues Arduino load
Hi All- Just got a new PWM dimming module, now its doing the same thing as my old one I thought was fried.... Error is cannot comm to board when I try to upload. Arduino Serial list is only bluetooth cu. or tty. no USB anywhere through console ls /dev/tty.* /dev/tty.Bluetooth-Modem /dev/tty.Bluetoot...
- Thu Oct 04, 2012 12:40 pm
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
With respect to acclimation... its actually easy to do with a controller... but you would need a simple PMW output percentage menu on the controller... which is of course available. But it just means you acclimate without the fancy stuff. Of course, anyone wishing to write in an acclimation program ...
- Tue Oct 02, 2012 10:47 am
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
No need for either actually... I calculate solar noon as basically the midpoint of the day (close enough) for the weather package. All it needs is rise and set... the rest happens. As for offset... yeah equatorial works best for corals... given the fact that they need some minimum amount of light. I...
- Fri Sep 28, 2012 11:29 am
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
It only LOOKs simple! :mrgreen: You do need to correct years to 2000 from 1970 or your julian date conversion (which is implicit in the calculation) is going to be WAY off.. leap year etc.... So those conversions need to be left in, no question. One comment, I would be somewhat apprehensive about ut...
- Thu Sep 06, 2012 11:59 am
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
Ok. Thanks
That makes more sense. I will look again at the original code, I think its ok but I dont remember for sure
That makes more sense. I will look again at the original code, I think its ok but I dont remember for sure
- Wed Sep 05, 2012 9:12 am
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
So great! Thanks for going through all the trouble and verifying the code is stable and outputs correctly. I am still a little confused as to how the global declaration of Latitude and Longitude is screwing up with CalSun- my read of your post is that somehow that was calculating continuously? Was i...
- Fri Aug 31, 2012 2:40 pm
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
Ouch! Sorry to hear that, I bet sitting to program would be delightful. One thing- I am typically up fairly late so I know that I have not experienced the weird lights on late behavior that you saw but the other day I did have one weird thing at about 1 am... one side of the tank had very very dim l...
- Tue Aug 28, 2012 12:01 pm
- Forum: Tutorials
- Topic: Tutorial- Weather Simulation for PWM expansion module
- Replies: 9
- Views: 14282
Re: Tutorial- Weather Simulation for PWM expansion module
Ok... sorry for the long delay, I had mentioned that I don't check this forum... so lets move this conversation to the PDE/INO discussion for this program... But. I will clarify this point here as it is relevant to the tutorial. I thought I had mentioned this but instead of re-reading and finding th...
- Mon Aug 27, 2012 2:03 pm
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
Sorry... missed that. I think it looks correct (the dow=day()) command is before you call CalSun() in the loop). So... looks like it should start with a global declaration of dow=0 Then... if its still zero run cal sun and trigger a time correction to midnight. Then set dow=day() so it does not run ...
- Fri Aug 24, 2012 9:31 am
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
I looked at the code... One thing thats probably causing you issues currently... In your setup() You do not declare dow=0; Nor do I see you declaring what dow actually ever is... so I think its running assuming that whatever time its currently at is midnight and never correcting for that... which wi...
- Tue Aug 21, 2012 1:32 pm
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
Sorry... I had posted a whole crap load of BUCK... forgetting how I had done this... and I think we posted simultaneously... so my response above was written to correct (I deleted three dumb posts!) my prior lunacy. I stand with the above statement and will look at your code as I said! Please rememb...
- Tue Aug 21, 2012 1:29 pm
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
Thats not quite correct... I use dow=day(); which is 1-31 so it will never be 0. I don't understand what happened to you with the lights on. However, if your doing any kind of external time syncing I would look at that as a used on the forum for my entire code is having serious issues with this sett...
- Thu Aug 16, 2012 12:41 pm
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
What I changed was or should be inconsequential. In fact, I was correcting an error. I had not fully understood the fact that arduino (I have no idea if this is generally true of all computers) processors keep track of the hours and minutes as local time (without and DST correction) but frame it as ...
- Wed Aug 15, 2012 9:08 pm
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
Hi- Glad to hear that its working. With respect to the errors, I *think* I used to get much better accuracy... but I was doing things wrong with time and I figured this out... so I will explain exactly how this is working.... I dont see where an error is creeping in but maybe you can help as your th...
- Tue Aug 14, 2012 7:23 pm
- Forum: How do I code ...
- Topic: Sunrise / sunset code based on location
- Replies: 135
- Views: 97401
Re: Sunrise / sunset code based on location
Hi- A couple comments... I have only briefly looked at your code mostly looking for pieces I recognize and its looking like you have the basics from my code in and they look pretty much ok. In terms of the offsets you added I need a few minutes to look so I have no comment just now. But- with respec...
- Thu Jul 12, 2012 12:53 pm
- Forum: Tutorials
- Topic: Tutorial- Weather Simulation for PWM expansion module
- Replies: 9
- Views: 14282
Re: Tutorial- Weather Simulation for PWM expansion module
Your welcome-
Let me and everyone else know if your running it by posting a quick message on the .INO forum thread for this program. I think it will help others to do this knowing that its working on more than just a few systems.
Let me and everyone else know if your running it by posting a quick message on the .INO forum thread for this program. I think it will help others to do this knowing that its working on more than just a few systems.
- Fri Jun 29, 2012 9:16 am
- Forum: Apps
- Topic: Reef Angel Libraries Update Utility
- Replies: 17
- Views: 14854
Re: Reef Angel Libraries Update Utility
HAHAHA!
Awesome! Thats a big shirt your wearing to fit all that under your sleeves!!
This will be very nice.... greatly simplifying things and will completely kill off all posts about known bugs in prior versions... Awesome!
Once again.... you have been busy!
Awesome! Thats a big shirt your wearing to fit all that under your sleeves!!
This will be very nice.... greatly simplifying things and will completely kill off all posts about known bugs in prior versions... Awesome!
Once again.... you have been busy!
- Fri Jun 29, 2012 8:16 am
- Forum: Apps
- Topic: Reef Angel Libraries Update Utility
- Replies: 17
- Views: 14854
Re: Reef Angel Libraries Update Utility
Quick Suggestion. The Update Wizard seems like it is configured to look at the server and find the latest library version, display that and ask you to update... but it does not seem to be looking at your local config to determine if its really an update.... I.E. after updating and running the Wizard...