2024 Ohio Reef Frag Swap

2024 flyer

Author Topic: Diy Low cost controller  (Read 23340 times)

0 Members and 1 Guest are viewing this topic.

Offline jd

  • Dr. Skimmer
  • Posts: 1,935
Re: Diy Low cost controller
« Reply #25 on: October 19, 2009, 20:28:37 »
We'll see how crazy this project gets...

If I keep posting in this thread, very  ;)
Call me Mr. Rev. Dr.

Offline Wall_Tank

  • Administrator
  • Adult
  • *****
  • Posts: 3,754
Re: Diy Low cost controller
« Reply #26 on: October 19, 2009, 20:59:23 »
I've used the Basic Stamp about 6 or 7 years ago.   Neat concept, but too crippled by the programming.   Have they done anything new?  But then the chip is already over the cost of the entire box.

Offline Wall_Tank

  • Administrator
  • Adult
  • *****
  • Posts: 3,754
Re: Diy Low cost controller
« Reply #27 on: October 19, 2009, 21:21:20 »
I use 5 Inputs into my controller for manual switches.  Sure I can go into the display and turn an output on, but I do this alot, so I have 3 manual switches, and then 2 for my float switches.   The controller as 6 availiable.

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #28 on: October 19, 2009, 22:02:02 »
I've used the Basic Stamp about 6 or 7 years ago.   Neat concept, but too crippled by the programming.   Have they done anything new?  But then the chip is already over the cost of the entire box.

Its got a nice IDE and debugging for quick prototyping.
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline Wall_Tank

  • Administrator
  • Adult
  • *****
  • Posts: 3,754
Re: Diy Low cost controller
« Reply #29 on: October 19, 2009, 22:13:14 »
Just looked at thier web site, they've been busy over the years.  I think they had 2 or 3 chips back then.  Which version of the stamp do you use?

How do you do analog I/O with this?

Blown76mav

  • Guest
Re: Diy Low cost controller
« Reply #30 on: October 20, 2009, 18:52:13 »
Ok, I talked to my guy and he said that the new MACs use the same processer as your PC's and you program it in C just like a PC.  But he did direct me to X10.com for a controller for the lights and such. 

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #31 on: October 20, 2009, 19:02:53 »
Just looked at thier web site, they've been busy over the years.  I think they had 2 or 3 chips back then.  Which version of the stamp do you use?

How do you do analog I/O with this?

I just have a couple of BS2s. I don't have analog I/o setup yet. The uC will have it onboard, or well pic up a dedicated A/D. Haven't got that far yet :laugh:  and to make things worse, I am in LA for the next week and a half without access to visual studio or hardware  :(
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #32 on: October 20, 2009, 19:05:58 »
Ok, I talked to my guy and he said that the new MACs use the same processer as your PC's and you program it in C just like a PC.

intresting... The whole .net suite is "common language" so vb or c++ it all compiles to the same asm code. The only thing I'm not sure about is the runtime compiler, maybe someone ported one over for MAC. Not sure...
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline jd

  • Dr. Skimmer
  • Posts: 1,935
Re: Diy Low cost controller
« Reply #33 on: October 20, 2009, 19:07:15 »
. The uC will have it onboard, or well pic up a dedicated A/D. Haven't got that far yet :laugh:

*cough*Atmel*cough*
Call me Mr. Rev. Dr.

Reefd Up

  • Guest
Re: Diy Low cost controller
« Reply #34 on: October 20, 2009, 20:21:10 »
Oh dear goodness you guys out geeked us long ago!!!!!!

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #35 on: October 20, 2009, 20:25:28 »
Oh dear goodness you guys out geeked us long ago!!!!!!

Don't you have some fluid dynamics Diff Eq to go solve?
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline jd

  • Dr. Skimmer
  • Posts: 1,935
Re: Diy Low cost controller
« Reply #36 on: October 20, 2009, 20:30:30 »
Don't you have some fluid dynamics Diff Eq to go solve?

Nice burn.  :laugh:
Call me Mr. Rev. Dr.

Offline Wall_Tank

  • Administrator
  • Adult
  • *****
  • Posts: 3,754
Re: Diy Low cost controller
« Reply #37 on: October 20, 2009, 21:02:30 »
There are ports of the .NET framework on the MAC.  Not sure which version they support or if they have full language set capability.

Oh you mean JD can do head loss calculations to build into the controller?


Offline jd

  • Dr. Skimmer
  • Posts: 1,935
Re: Diy Low cost controller
« Reply #38 on: October 20, 2009, 21:41:06 »

Oh you mean JD can do head loss calculations to build into the controller?


Yes, If you don't mind the answer to:

"How much flow will I get with Pump XYZ rated for X GPH @ 4" head?" being...

"Less and X, but probably more than 0... probably..."
Call me Mr. Rev. Dr.

Blown76mav

  • Guest
Re: Diy Low cost controller
« Reply #39 on: October 20, 2009, 21:58:47 »
recipocating dinglearm and nomal truniuns.  LOL!!!!!!!!!!!!!!

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #40 on: October 20, 2009, 22:02:33 »
recipocating dinglearm and nomal truniuns.  LOL!!!!!!!!!!!!!!

Not giving any hints, but wait until you see the Splashscreen for the GUI
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline jd

  • Dr. Skimmer
  • Posts: 1,935
Re: Diy Low cost controller
« Reply #41 on: October 20, 2009, 22:52:38 »
Wes, when you are writing your GUI, don't forget to add the sator exception to the reverse lookup matrix, other wise it might not pass the EFT test when your build/compile.
Call me Mr. Rev. Dr.

Offline wolfeden3

  • I hate aptasia!!!!!!!!!!!
  • Juvenile
  • ***
  • Posts: 136
  • I LOVE ZOANTHIDS AND SOFTIES!!!!!
Re: Diy Low cost controller
« Reply #42 on: October 21, 2009, 10:12:13 »
don't forget the flux capacitor inverted for the burping and hick-ups!
:) 90g w/ 30g refuge 776w mh w/ pc attinic f/o tank
;) 46 bow front new diy sump 192w pc f/c tank
;) 10g frag tank marine-land reef capable led

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #43 on: October 22, 2009, 19:25:57 »
I started up a Wiki for the project. I dont know how useful it will be but you can check it out, edit it, or request features for the project.

Sorceforge.net had a really nice wiki, its the exact same at the one wikipedia uses, but it would require everyone to log in to edit.

I'll have somewhat of a shell of a program completed this weekend. I'll post it and you can provide feedback so it drives the project in the right direction.

http://reefcontrol.wikispaces.com/
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline jd

  • Dr. Skimmer
  • Posts: 1,935
Re: Diy Low cost controller
« Reply #44 on: October 23, 2009, 11:55:13 »
The wiki is great, I highly suggest you request some features you'd like there

Visit http://reefcontrol.wikispaces.com/

Click EDIT in the top right hand corner.

And add your requested features to the bottom of the page
Call me Mr. Rev. Dr.

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #45 on: October 24, 2009, 02:34:22 »
Ok i got a shell working. The program is really bland and doesnt actually do anything. more like proof of concept. I'd like to get a person with XP and a person with Vista to try it out. I am trying to figure out which dependencies i have to package it with to work.

PM me if you'd like to give it a whirl.

PS it uninstalls fine after your done. Shows up in add/remove programs and will totally remove itself.
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #46 on: October 25, 2009, 18:29:20 »
Ok, I leave tomorrow for another Week in CA.  Here's what I got after a few days of work.  From the few that tested it, it installs and uninstalls fine.  I'd love some more feedback on the overall setup and lay out.  I have to spend some time and think about a methodology of how to run the main page.  We need the ability to have nearly unlimited rules if the users would like.

eg. Right now I have heaters on/off based on temp, but a user may wish to turn on chiller, fan, and turn off lights as temperature gets to dangerous levels.

Much more work ahead (some ambitious ideas on the horizon)  ;D

Well, heres the link:
http://reefcontrol.wikispaces.com/file/view/reefcontrol.zip/97592441

please post feedback, and feature request on the Wiki:
http://reefcontrol.wikispaces.com/
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


slandis3

  • Guest
Re: Diy Low cost controller
« Reply #47 on: October 25, 2009, 22:19:30 »
Ok i got a shell working. The program is really bland and doesnt actually do anything. more like proof of concept. I'd like to get a person with XP and a person with Vista to try it out. I am trying to figure out which dependencies i have to package it with to work.

PM me if you'd like to give it a whirl.

PS it uninstalls fine after your done. Shows up in add/remove programs and will totally remove itself.

I have vista on my pc.  I can't believe I just admitted that on line.  :o

Offline cyberwollf

  • 2010 FragSwap Chairman
  • Posts: 3,268
Re: Diy Low cost controller
« Reply #48 on: October 25, 2009, 22:42:05 »
I confirmed that it works on xp, vista, and windows 7

Let me know if anyone has any install issues.

One of our Mac guys wanna try it and tell me what error message they get?  ;D
75G Mixed Reef w/ 30G sump/refuge

Electrical Engineers do it on impulse, with faster rise times, with more power, and less resistance at higher frequencies, without shorts, until it Hertz


Offline jd

  • Dr. Skimmer
  • Posts: 1,935
Re: Diy Low cost controller
« Reply #49 on: October 25, 2009, 23:27:29 »
One of our Mac guys wanna try it and tell me what error message they get?  ;D

"Warning: Software too useful, please return to your liberal arts degree"

 :laugh:
Call me Mr. Rev. Dr.

 

Powered by EzPortal