The Planted Tank Forum - Search Results
Planted Tank Forums
Your Tanks Image Hosting *Tank Tracker * Plant Profiles Fish Profiles Planted Tank Guide Photo Gallery Articles

Go Back   The Planted Tank Forum > Search Forums

Showing results 1 to 25 of 101
Search took 0.08 seconds.
Search: Keyword(s): ; Posts Made By: benjaf
Forum: DIY 07-13-2014, 05:59 AM
Replies: 16
Views: 578
Posted By benjaf
I tried one of those Sparkfun meters (same as...

I tried one of those Sparkfun meters (same as Adafruit I think) too and had pretty much the same experience. It did not lower my output by quite that much (measured about 1/5 reduction), but it...
Forum: DIY 04-13-2014, 06:35 AM
Replies: 219
Views: 16,009
Posted By benjaf
Oh, not at all! :-) I just had a kid not long ago...

Oh, not at all! :-) I just had a kid not long ago - and really don't have time to get anything done. That part rather sucks! ;-)

Looking forward to see the final result once you get back to the...
Forum: DIY 04-11-2014, 07:08 PM
Replies: 28
Views: 2,266
Posted By benjaf
Those DS1307s aren't exactly the most accurate...

Those DS1307s aren't exactly the most accurate clocks around, the alternatives are just so much more expensive.. But since all 3 have pretty much the same environment they might at least drift in the...
Forum: DIY 04-11-2014, 04:14 AM
Replies: 28
Views: 2,266
Posted By benjaf
Very impressive! How do you keep controllers in...

Very impressive! How do you keep controllers in sync? Are they all connected to one master clock or do they each have their own time?
Forum: DIY 04-09-2014, 06:20 PM
Replies: 219
Views: 16,009
Posted By benjaf
Well, someone has to troll the board, and it is a...

Well, someone has to troll the board, and it is a lot easier to find time for than playing around with the soldering iron.. Don't you just hate when real life gets in the way of a hobby!
Forum: DIY 04-09-2014, 05:46 AM
Replies: 219
Views: 16,009
Posted By benjaf
You're welcome! Most RTC libraries also have an...

You're welcome!
Most RTC libraries also have an option to return a proper timestamp, usually Unix time (seconds since 01-01-1970) or seconds since 01-01-2000 which would be ideal for this use since...
Forum: DIY 04-09-2014, 04:19 AM
Replies: 219
Views: 16,009
Posted By benjaf
Nice to see someone is making progress! Any...

Nice to see someone is making progress!
Any particular reason for using millis rather than a timestamp from the RTC? If you do want to use millis you will have to handle rollover. That could be...
Forum: DIY 02-21-2014, 12:03 PM
Replies: 65
Views: 6,760
Posted By benjaf
How often do you dose ferts? AFAIK only writing...

How often do you dose ferts? AFAIK only writing to the EEPROM cause wear, and even then the 100.000 cycle limit is said to be a very conservative estimate.
Forum: DIY 02-19-2014, 04:14 AM
Replies: 65
Views: 6,760
Posted By benjaf
This looks interesting, going to follow your...

This looks interesting, going to follow your progress.
May I suggest using the EEPROM in stead of the RTC memory? It serves the same purpose but is much easier to work with and has much larger...
Forum: DIY 02-13-2014, 08:07 PM
Replies: 19
Views: 2,051
Posted By benjaf
If you do decide to take it apart, please share...

If you do decide to take it apart, please share photos of the electronics. Any advice on a 'wired' solution would be highly dependent on the internal construction.
Forum: DIY 02-04-2014, 02:09 PM
Replies: 219
Views: 16,009
Posted By benjaf
I agree that a natively Ethernet-capable device...

I agree that a natively Ethernet-capable device would be a better choice for the master. However, at this point it would mean a complete rewrite of all his controller code. Upgrading to a RasPi or...
Forum: DIY 02-04-2014, 02:03 PM
Replies: 219
Views: 16,009
Posted By benjaf
Most likely not. The thing with MOSFETs is that...

Most likely not. The thing with MOSFETs is that they act as an open drain for a moment when switched on, just like a cap. This draws considerably more current than the Arduino can safely deliver,...
Forum: DIY 02-03-2014, 06:08 PM
Replies: 89
Views: 8,315
Posted By benjaf
At this point I think it is likely that your...

At this point I think it is likely that your hardware may be playing you. My experience in the hardware field is somewhat limited so unfortunately I don't think I am the best person to help you...
Forum: DIY 01-30-2014, 05:37 PM
Replies: 219
Views: 16,009
Posted By benjaf
Actually, that is a very good idea. It is not a...

Actually, that is a very good idea. It is not a lot of data to transfer so soft serial is fine, and not a lot of code / pins on the slave so any cheap arduino-compatible board will do. A separate...
Forum: DIY 01-29-2014, 05:50 PM
Replies: 89
Views: 8,315
Posted By benjaf
It may very well be my code that doesn't actually...

It may very well be my code that doesn't actually support this.. It was not really something I had thought of originally. :icon_wink

Oh well, new plan:
You initialize it just like the example...
Forum: DIY 01-29-2014, 02:03 PM
Replies: 219
Views: 16,009
Posted By benjaf
Unfortunately that is not going to work. Making...

Unfortunately that is not going to work. Making it do something that is not part of the currently executed code, like you describe, would require a timer interrupt, and I don't think it is possible...
Forum: DIY 01-28-2014, 07:51 PM
Replies: 219
Views: 16,009
Posted By benjaf
Yes. You have a 'setup' section which is only run...

Yes. You have a 'setup' section which is only run once, and a 'loop' section which is then executed top to bottom indefinitely. No such thing as 'idle time'!
Forum: DIY 01-28-2014, 07:41 PM
Replies: 219
Views: 16,009
Posted By benjaf
Pretty much just checking every time the loop...

Pretty much just checking every time the loop runs. That is the beauty of microcontrollers, you don't need to worry about wasting clock cycles - they have nothing better to do. If you wanted to you...
Forum: DIY 01-28-2014, 07:35 PM
Replies: 219
Views: 16,009
Posted By benjaf
Well if the floats simply will not work for some...

Well if the floats simply will not work for some reason, you can always pass them as parameters to the function. That is how you would normally do things elsewhere, global variables are often...
Forum: DIY 01-28-2014, 06:30 PM
Replies: 89
Views: 8,315
Posted By benjaf
Yes pretty much, except you start with 0 in stead...

Yes pretty much, except you start with 0 in stead of 1. The numbers are actually just the index in the Point array contained by each channel.


Exactly. You use this just like the old one. Use...
Forum: DIY 01-28-2014, 01:23 PM
Replies: 219
Views: 16,009
Posted By benjaf
You're welcome :) I figured you probably had...

You're welcome :)
I figured you probably had that part covered, just wanted to be sure. When using millis you just need to be sure to take the rollover into account, otherwise you may find yourself...
Forum: DIY 01-28-2014, 08:06 AM
Replies: 89
Views: 8,315
Posted By benjaf
I committed a small fix, you could not add points...

I committed a small fix, you could not add points with their float intensity (0-1) as everything was treated like an int (0-255).
Forum: DIY 01-28-2014, 08:02 AM
Replies: 219
Views: 16,009
Posted By benjaf
First of all: If you have not yet put this whole...

First of all: If you have not yet put this whole 'send data' section into a function by itself, you should do so now.
If the connection to DHCP server fails, you cold then simple use
return;in...
Forum: DIY 01-28-2014, 05:39 AM
Replies: 89
Views: 8,315
Posted By benjaf
Well the good thing is you don't really need to...

Well the good thing is you don't really need to bother with most of the stuff in the .h and .cpp files. I think the most significant change is that you have to think of the light intensity as a chart...
Forum: DIY 01-27-2014, 06:25 PM
Replies: 219
Views: 16,009
Posted By benjaf
Depending on how this function works you might be...

Depending on how this function works you might be able to simply return. Whatever is done for the rest of the function probably does not apply if there is no connection?
I personally do not use goto...
Showing results 1 to 25 of 101

 
Forum Jump

All times are GMT. The time now is 11:05 AM.


Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright Planted Tank LLC 2012