Reef Central Online Community

Home Forum Here you can view your subscribed threads, work with private messages and edit your profile and preferences View New Posts View Today's Posts

Find other members Frequently Asked Questions Search Reefkeeping ...an online magazine for marine aquarists Support our sponsors and mention Reef Central

Go Back   Reef Central Online Community Archives > General Interest Forums > Do It Yourself
FAQ Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10/22/2007, 01:02 PM
A.T.T.R A.T.T.R is offline
Addicted to the Reef
 
Join Date: Jan 2007
Location: ft lauderdale
Posts: 988
diy aquarium controller

ok guys. wanted to bring to your attention the r3ca project at the bottom of this fourm ( see it i know you do)

it is for diy controllers


i am in the process of trying to build one

just ordered some pic chips and programming kit.

after fiddling with it for a bit ill be making my own thread... but it depressing to see how little activity there is in that fourm!
  #2  
Old 10/22/2007, 03:22 PM
easttn easttn is offline
Madrepore Zealot
 
Join Date: Jul 2002
Location: East Tennessee
Posts: 2,312
I agree.

GL addict.
__________________
"Technology is dominated by two types of people: those who understand what they do not manage, and those who manage what they do not understand."
  #3  
Old 10/22/2007, 04:39 PM
Whalehead9 Whalehead9 is offline
Registered Member
 
Join Date: Oct 2005
Location: so.cal
Posts: 31
This is something that i have been toying with, and I will be looking forward to your posts.
  #4  
Old 10/22/2007, 04:44 PM
A.T.T.R A.T.T.R is offline
Addicted to the Reef
 
Join Date: Jan 2007
Location: ft lauderdale
Posts: 988
whalehead what type of system did you go with

im going to be asking alot from the chip possiably too much ( may need multiple chips. one as main one as slave

im going to need to calculate cycle times to vary hz of an electrical outlet. unless this thing can do threads.

remember im just a hobbiest with next to no training. but .. w/e i learn best by trial and error!
__________________
Addicted to the Reef
Chris

"to many tanks not enough r/o"
  #5  
Old 10/22/2007, 07:27 PM
funman1 funman1 is offline
Got Salt?
 
Join Date: Jan 2006
Location: Citrus Heights, CA
Posts: 2,939
I don't care for pics because they don't have very good clocks and timers, and you have to add relays to their outputs..

This is the best of all worlds!! Has relay outputs, cheap, screen for visuals, and programable via bolean logic

Start of unit thread...
http://archive.reefcentral.com/forum...readid=1013411

Somewhat finished unit thread..
http://archive.reefcentral.com/forum...readid=1017295

LMK if you have any questions.
__________________
"Sharks are naturally peaceful."
"How'd you get that nasty cut anyway?"
"A shark bit me."

Jack of all trades, and master of none.
~Steve~
  #6  
Old 10/22/2007, 09:36 PM
A. Iosue A. Iosue is offline
Registered Member
 
Join Date: Oct 2004
Location: Venezuela
Posts: 25
Iīm with you. In this forum could be a lot of people with the skills to make a nice project.

I use to program Microchips PICs since 1998 and Parallax Basic stamps. I could help you in electronics, automatition and control,
just let me know.
  #7  
Old 10/22/2007, 09:52 PM
A. Iosue A. Iosue is offline
Registered Member
 
Join Date: Oct 2004
Location: Venezuela
Posts: 25
Donīt worry about calculating anything. This will be a simple linear system. I have pics running from 6 years ago with a RC oscilator and still running OK.

Relays to the output!!! of course..... how do you think that something made for drive only little power will draw enough current to drive something heavier than itself without relays????
This are two differents things.

Go ahead and ask what you want. Iīll help you.
  #8  
Old 10/22/2007, 10:05 PM
BeanAnimal BeanAnimal is offline
Premium Member
 
Join Date: Feb 2003
Location: Pittsburgh
Posts: 11,710
PICS do PWM so you don't need to put too much thought into modifying 60Hz mains freq. Secondly, why would you want to modify it? Motor speed control is possible, but may be a lot more complex than it is worth. It takes a good bit of know how to build an VFD that does outputs a clean sinewave and is robust enough to trust.

As for the DIY controller... there are quite a few of us that have taken different routes. There are a lot of good threads here. Some of us use Dallas 1-wire, others Phidgets.com, others home brew ARM based boards, others Atmels or Pics... easttn is a PLC guy... etc.

Bean
  #9  
Old 10/22/2007, 10:20 PM
A. Iosue A. Iosue is offline
Registered Member
 
Join Date: Oct 2004
Location: Venezuela
Posts: 25
It depends on which you want to do. I assume that you want to control motors, first it is to detect the zero crossing and soon shoots according to the angle (of the sine wave) you want.

Please try to make something simple for everyone, every reader.
Start asking for the principle of the project, then go further.
  #10  
Old 10/22/2007, 10:27 PM
A. Iosue A. Iosue is offline
Registered Member
 
Join Date: Oct 2004
Location: Venezuela
Posts: 25
Excuse them but they really donīt know what they are taking.
  #11  
Old 10/22/2007, 11:05 PM
BeanAnimal BeanAnimal is offline
Premium Member
 
Join Date: Feb 2003
Location: Pittsburgh
Posts: 11,710
Maybe I misunderstood your last comment, but it appears that you are saying that we do not know what we are talking about.

So that there is no misunderstanding, I said:

1) many PICS have built in PWM
2) A reliable Variable Frequency Drive that puts out a clean sine wave is somewhat complex.
3) There are several very well informed people here at RC that have built their own controllers from the ground-up using their favorite microcontroller (PIC, ATMEL, ARM, Etc.). Others have hacked off-the-shelf equipment (linksys routers) to build their controllers. Some folks are using hybrid systems that are based on a personal computer running linux or windows. They use digital I/O cards, USB I/O, Dallas 1-wire I/O, Zigbee, X10, etc. Some folks (like donw) are using home automation controllers like the ADI Ocelot. Yet others (like Funman, eastn, H20ENG, GreshamH, ect. are using PLC based systems.

The reality is that there is no shortage of electronics experts here at RC. We have systems automation people, software people, ladder logic people, and other disciplines represented. Plenty of us know what we are talking about
  #12  
Old 10/22/2007, 11:11 PM
A. Iosue A. Iosue is offline
Registered Member
 
Join Date: Oct 2004
Location: Venezuela
Posts: 25
Answer:
1) yes.
2) donīt needed.
3) same as before,,,, you donīt really know what you are talking.
  #13  
Old 10/22/2007, 11:12 PM
funman1 funman1 is offline
Got Salt?
 
Join Date: Jan 2006
Location: Citrus Heights, CA
Posts: 2,939
Well said Bean


A. Iosue,
Those are some fighting words... Watch out on here, people don't take too kindly that that kind of talk, when clearly we DO know what we are talking about!
__________________
"Sharks are naturally peaceful."
"How'd you get that nasty cut anyway?"
"A shark bit me."

Jack of all trades, and master of none.
~Steve~
  #14  
Old 10/22/2007, 11:20 PM
A. Iosue A. Iosue is offline
Registered Member
 
Join Date: Oct 2004
Location: Venezuela
Posts: 25
O.k. A.T.T.R. lets try this under e-mail, you will find mine in my profile.
  #15  
Old 10/22/2007, 11:32 PM
A. Iosue A. Iosue is offline
Registered Member
 
Join Date: Oct 2004
Location: Venezuela
Posts: 25
funman1,
Donīt talk without knowledge.
  #16  
Old 10/22/2007, 11:39 PM
ErikJL ErikJL is offline
Registered Member
 
Join Date: Mar 2007
Location: Spokane, WA
Posts: 65
Quote:
Originally posted by A. Iosue
Answer:

3) same as before,,,, you donīt really know what you are talking.
I think you are the one who doesn't know what he's talking about. Maybe it's the language barrier, who knows. I have built a few PWM devices to control motors. We're not talking about varying the frequency, just a simple logic on-off.
  #17  
Old 10/22/2007, 11:41 PM
ErikJL ErikJL is offline
Registered Member
 
Join Date: Mar 2007
Location: Spokane, WA
Posts: 65
Oh and Bean, you forgot to mention FPGA's. My specialty!
  #18  
Old 10/22/2007, 11:41 PM
funman1 funman1 is offline
Got Salt?
 
Join Date: Jan 2006
Location: Citrus Heights, CA
Posts: 2,939
hahah, A. Iosue
Ok dude you won't last long here.
Especially since all you seem to be doing on every post is soliciting your "great knowledge".
It almost sounds a bit "fishy" to me.

Have you seen the post count on Bean? He's been here quite a bit more than most, and has read thousands of threads.

Are you offering FREE help, or will you be needing monetary trades for you help?
__________________
"Sharks are naturally peaceful."
"How'd you get that nasty cut anyway?"
"A shark bit me."

Jack of all trades, and master of none.
~Steve~
  #19  
Old 10/22/2007, 11:53 PM
BeanAnimal BeanAnimal is offline
Premium Member
 
Join Date: Feb 2003
Location: Pittsburgh
Posts: 11,710
I had at first thought that there was a language barrier, but your subsuquent comments make it very clear that there is no barrier and your intention was to be rude, if not arrogant. Please DO take you discussion to e-mail and far away from here.

You see none of us understand zero crossing, phase angle, pulse width modulation, rc circuits or microcontroller design. We are not capable of discussing such advanced topics and certainly do no want to misinform A.T.T.R. Hell, we don't even know Ohm's law so how could be possibly contribute to the design of an aquariumn controller.

Erik do you package those FPGAs in an FCPGAs and stuff them into ZIFF sockets... or would those be FPGAs in BGAs? What a DIP I am!
  #20  
Old 10/23/2007, 12:06 AM
BeanAnimal BeanAnimal is offline
Premium Member
 
Join Date: Feb 2003
Location: Pittsburgh
Posts: 11,710
Anyway, back on track here....

In my constant addiction to try something new, I have ordered a few new toys.

1) http://www.coridiumcorp.com/ARMweb.php (but I am not happy with the very limited program memory area). I like it because I can program it in basic and it has built in support for 1-wire and I2C etc.

2) http://embeddeddatasystems.com/page/EDS/PROD/HA/HA7Net

I thought that would be nice to play with.

3) I just breadboarded a circuit with (2) Dallas 1-wire 8 channel switches. I have used TTL tri-state latches to multiplex the 8 channels into 32 outputs and 32 inputs. 1 of the DS2408s will control the 8 data bits to the latch, the other DS2408 will select the active latch via the Latch Enable strobe line. In theory you could expand this as wide as you wanted. It is nice because your controller only needs to be hard coded with the address of the DS2408s.

I have an atmega 128 but no dev board ( I was going to build one but decided not to go crazy trying to solder it down).

Lastly, I am looking at the ethernut base boards and the netburner stuff.

I am having troble shying away from the PC even though it is not the most stable thing in the world. VB.NET is very powerful and I am having trouble cramming what I want into a small uC.
  #21  
Old 10/23/2007, 12:18 AM
ErikJL ErikJL is offline
Registered Member
 
Join Date: Mar 2007
Location: Spokane, WA
Posts: 65
Quote:
Originally posted by BeanAnimal
I had at first thought that there was a language barrier, but your subsuquent comments make it very clear that there is no barrier and your intention was to be rude, if not arrogant. Please DO take you discussion to e-mail and far away from here.

You see none of us understand zero crossing, phase angle, pulse width modulation, rc circuits or microcontroller design. We are not capable of discussing such advanced topics and certainly do no want to misinform A.T.T.R. Hell, we don't even know Ohm's law so how could be possibly contribute to the design of an aquariumn controller.

Erik do you package those FPGAs in an FCPGAs and stuff them into ZIFF sockets... or would those be FPGAs in BGAs? What a DIP I am!
I use premade proto-boards like this one:

http://www.digilentinc.com/Products/...mmable%20Logic

You can download the free design software from Xilinx. It takes some work to get running, but for $60 you can just about do anything.
  #22  
Old 10/23/2007, 12:22 AM
ErikJL ErikJL is offline
Registered Member
 
Join Date: Mar 2007
Location: Spokane, WA
Posts: 65
I also though of using an old working laptop with a parallel port. You can use the parallel port to provide 8 outputs to control relays.

http://www.epanorama.net/circuits/parallel_output.html

Cool stuff! I've wanted to try this but haven't had the time.
  #23  
Old 10/23/2007, 12:28 AM
BeanAnimal BeanAnimal is offline
Premium Member
 
Join Date: Feb 2003
Location: Pittsburgh
Posts: 11,710
You could easily multiplex the parallel port to provide many more outputs. It would only take a few TTL logic chips and a few lines of code.

Phidgets.com, activewire usb, etc have USB I/O that is very inexpensive as well.

I will look into the FPGA stuff... I never took the time to delve into it.

I will let you guys know how the dev boards I ordered work out! That ARM ethernet board is going to be fun to play with.
  #24  
Old 10/23/2007, 12:42 AM
BeanAnimal BeanAnimal is offline
Premium Member
 
Join Date: Feb 2003
Location: Pittsburgh
Posts: 11,710
And FWIW I have trouble wrapping my head around FPGAs.
  #25  
Old 10/23/2007, 12:47 AM
ErikJL ErikJL is offline
Registered Member
 
Join Date: Mar 2007
Location: Spokane, WA
Posts: 65
Good point, 2^8 = 256 possible output combinations. Here again an FPGA may serve well in adapting the signals to allow for duplex communication so you can poll your sensors at specified intervals, or create a PS2/USB input controller.

What do you mean by a TTL chip? When I see TTL, I think time-to-live; is this what you mean? If so, you send the control signal first, then a cycle later the data signal?

I've been thinking of possibly making my own home automation/security controller using RS485 communication and FPGA's. You could connect the tank to this network as well.
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -5. The time now is 09:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Use of this web site is subject to the terms and conditions described in the user agreement.
Reef Central™ Reef Central, LLC. Copyright Đ1999-2009