BeanAnimal
Premium Member
I would agree, this is not something you want to have built for you. Chances are you will need to get under the hood. It is not a bad project for beginers though!
<a href=showthread.php?s=&postid=11112562#post11112562 target=_blank>Originally posted</a> by stugray
I threw together an ubuntu box.
After getting: php, fuse, perl,owfs and various other packages installed ( and playing nicely together ) I finally can 'see' temps & 'feel' some PIO and toggle some switch states.
I plan on setting up the system with perlTk .... anyone got any experience? I have done plenty of perl, just never any GUI or widget experience.
Stu
6) Attach dallas 1-wire sensors to unit
<a href=showthread.php?s=&postid=11062999#post11062999 target=_blank>Originally posted</a> by aka_BigRed
I didn't take anything from the original firmware, I just installed the components from native ubuntu packages, or compiled from source.
Since this was my first setup of a linux machine, I tried to document most of the tricky stuff I had to lookup in case I needed to start over fresh. Some of this most of this stuff is applicable, but there's some stuff in there that I just wanted to keep/remember for my own install.
Basically the key components for a Custom Reef Controller are:
*Something to gather analog input from outside world for monitoring (OWFS)
*Some database for storing gathered data (MySQL)
*A scripting language for collecting data from OWFS and acting upon it (Perl)
*Some scheduling app to kick off tasks at specific times (chron)
*A web server frontend (PHP on Apache server)
*Optionally a graphing component (JPGrahp)
*Some way to act upon outside world to take action on gathered data (X10)
By using Ubuntu and the pre-configured LAMP server (Linux, Apache ,MySQL, PHP)
Here's my steps to go about setting up ubuntu for use as my WRRC:
http://www.bytality.com/offsite/wrrc/owf_install_steps.html
I haven't posted my perl scripts yet, I can provide them if requested. BTW, I'm by no means an ubuntu/perl/php expert, just determined to getting ubuntu working and I have a great friend named google![]()
<a href=showthread.php?s=&postid=11319761#post11319761 target=_blank>Originally posted</a> by pescadero
Thanks for posting this. I have to admit, I had no clue what was going on when I looked at people's refrences to the network storage appliances, but being familiar with building LAMP servers, now I understand exactly what this whole project is about.
I think I'll join you in going the Ubuntu route.
thanks!
<a href=showthread.php?s=&postid=11944625#post11944625 target=_blank>Originally posted</a> by fade2grey
does anyone have a 'kit list' handy for people who are interested in creating one of these controllers?
I'm an IT guy who'd love to build on for my new marine tank but I don't have any electronics experience.. it sounds ideal though.
So.. any successes? what did you use? spoon feed me while I learn![]()
<a href=showthread.php?s=&postid=12912148#post12912148 target=_blank>Originally posted</a> by C4Vette
Depends on your needs but I think it is:
- too big
- too expensive
- too noisy
- too incomplete (no housing, no power-supply)
That is because my ASUS-router costed less, is smaller, doesn't make any sound and is complete with WiFi. As a disk I use a USB-memstick (no problems yet and in use for over a year, cheap, no noise, no heat). The router is running OpenWRT which comes complete with a webserver, USB and WiFi support.
<a href=showthread.php?s=&postid=13885318#post13885318 target=_blank>Originally posted</a> by enigma32
Hey all, figured I'd announce my presence here. (I've been lurking for a couple months)
I'm in the process of building a controller too, albeit not based on a router.
I've got a framework functioning on an Arduino microcontroller, interfaced with a PC that acts as my web and fileserver. (I figured I might as well have it do datalogging and the web interface for my reef controller along with it's other duties-- that said, the microcontroller is self sufficient- the PC is there for extended abilities and the web front-end)
The one-wire stuff seemed like a good bet, so I've gone that route and have temperature sensing and water level reading and logging, and outputs controllable by program on the microcontroller or by override from the computer (via usb/serial connection)
Salinity is the next major project after I refine what I have.
I haven't read through the whole thread in a while but I remember some conversation about reading electrical current flow-- Check out the Phidgets stuff. Very cool. They have a 20A and 30A gizmo that will read both AC and DC waveforms separately. (easy to integrate wtih a 1-wire ADC or an Arduino chip, in my case)
I'm envious of some of the front-ends I see here... I'll have to see what I can do in my new favorite toy... Flex. =)
Also, I would definitely recommend the Arduino controllers to anyone interested in building a controller. If you can write code in C they're a dream to work with.
keep up the good work everybody
<a href=showthread.php?s=&postid=13886033#post13886033 target=_blank>Originally posted</a> by BeanAnimal
The phidgets current sensors work, but for AC you will need to write code to do the RMS calculations. Remember the current to voltage output of that device will swing with the AC current sineave that tracks the AC voltage sinewave. You can't just look at the AC sinwave (zero crossing for example) because the load may not (will not) be at unity power factorI.E. the current waveform will lead or lag the voltage waveform.
What have you implemented for water level? Are you looking at absolutes or calculating actual tank levels?