DIY Aquarium Touchscreen Controller - Page 14
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 > Specific Aspects of a Planted Tank > DIY


Reply
 
Thread Tools Display Modes
Old 04-18-2013, 03:48 PM   #196
shift
Wannabe Guru
 
PTrader: (0/0%)
Join Date: Jan 2013
Location: Kelowna
Posts: 1,659
Default

DIY Aquarium Touchscreen Controller


It sounds like I may have to order a larger board. Atleast for the more advanced one later. I should be good for the sunrise one for now. Will code work between arduino board models?

Here's what I have so far
Click image for larger version

Name:	ImageUploadedByTapatalk1366300081.862584.jpg
Views:	172
Size:	261.8 KB
ID:	127905
__________________
84G - The Osaka Forest
12G Fluval Edge - Celestial pearl Danios, Boraras urophthalmoides & PFR shrimp
5.5G Fluval Chi - Pumpkin shrimplets
10G - CRS/CBS
10G - Red Rilli's
10G - Yellow shrimp
shift is online now   Reply With Quote
Sponsored Links
Advertisement
 
Old 04-18-2013, 03:52 PM   #197
bigd603
Planted Member
 
PTrader: (1/100%)
Join Date: May 2011
Location: Portland, OR
Posts: 258
Default Re: DIY Aquarium Touchscreen Controller

What relay board is that?

Sent from my Galaxy Nexus using Tapatalk 2
bigd603 is offline   Reply With Quote
Old 04-18-2013, 04:06 PM   #198
shift
Wannabe Guru
 
PTrader: (0/0%)
Join Date: Jan 2013
Location: Kelowna
Posts: 1,659
Default

http://dx.com/p/arduino-compatible-1...d-white-143793
__________________
84G - The Osaka Forest
12G Fluval Edge - Celestial pearl Danios, Boraras urophthalmoides & PFR shrimp
5.5G Fluval Chi - Pumpkin shrimplets
10G - CRS/CBS
10G - Red Rilli's
10G - Yellow shrimp
shift is online now   Reply With Quote
Old 04-18-2013, 06:54 PM   #199
Darkblade48
Moderator
 
Darkblade48's Avatar
 
PTrader: (3/100%)
Join Date: Jan 2008
Location: Toronto
Posts: 9,210
Default

Quote:
Originally Posted by shift View Post
It sounds like I may have to order a larger board. Atleast for the more advanced one later. I should be good for the sunrise one for now. Will code work between arduino board models?
For the touchscreen (if you decide to go that route, it does not appear that you have on yet), you will want to get a Mega.

What you have right now (the LCD keypad) will work fine too. Note that you will need a significant number of pins (Vcc, Gnd, and depending on the board, 6 or 7 digital pins). The RTC will take up 4 (Vcc, Gnd, SCL and SDA), the temperature probe another 3 (Vcc, Gnd and a digital pin), and the relay board will take up 2 (Vcc, Gnd) + x, where x is the number of relays you wish to use (i.e. the number of banks of LEDs you want to control). Communication between two Arduino boards can be done using either SPI or just serial (both will take 2 pins, but with SPI, you can use the same SCL and SDA pins as the RTC).

One issue I can see is that you may need a proper LED driver instead of the relay board to do the sunrise/sunset (PWM of the LEDs) feature that you want.
__________________
Anthony

A Primer to Pressurized CO2 and A Primer to Planted Tanks
Eheim Pimp #362 - Eheim 2213 x2, Eheim 2028, Eheim 2217, Eheim surface skimmer and Eheim autofeeder.
Victor Pimp #33 - HPT272-125-350-4M
Darkblade48 is offline   Reply With Quote
Old 04-18-2013, 07:28 PM   #200
shift
Wannabe Guru
 
PTrader: (0/0%)
Join Date: Jan 2013
Location: Kelowna
Posts: 1,659
Default

Well I think i will to do another order. These 2 wil work well for the mini project but a bigger board will be needed for the main all in one.

So an atmega board, pwm, and a touch screen controller should do the trick
thanks for all the info.. its been years since i have played with anything but basic electronics so any tips/help is appreciated!
__________________
84G - The Osaka Forest
12G Fluval Edge - Celestial pearl Danios, Boraras urophthalmoides & PFR shrimp
5.5G Fluval Chi - Pumpkin shrimplets
10G - CRS/CBS
10G - Red Rilli's
10G - Yellow shrimp
shift is online now   Reply With Quote
Old 04-18-2013, 07:31 PM   #201
Darkblade48
Moderator
 
Darkblade48's Avatar
 
PTrader: (3/100%)
Join Date: Jan 2008
Location: Toronto
Posts: 9,210
Default

What you have right now can be implemented using just one Uno.

The Mega and the touchscreen will work nicely, though programming front end stuff using low level coding is such a pain...

The Mega is already capable of PWM, but you will probably need the proper LED drivers/driver board to control your LEDs.

Otherwise, the relay board will just do a straight on/off (no dimming), which isn't what you want (I assume by sunrise/sunset feature, you want a gradual brightening/dimming).
__________________
Anthony

A Primer to Pressurized CO2 and A Primer to Planted Tanks
Eheim Pimp #362 - Eheim 2213 x2, Eheim 2028, Eheim 2217, Eheim surface skimmer and Eheim autofeeder.
Victor Pimp #33 - HPT272-125-350-4M
Darkblade48 is offline   Reply With Quote
Old 04-18-2013, 07:38 PM   #202
shift
Wannabe Guru
 
PTrader: (0/0%)
Join Date: Jan 2013
Location: Kelowna
Posts: 1,659
Default

My getto initial thought was to have multiple strips and slowly turn more and more strips on but a PWM is a much cleaner solution.

So would i need a PWM + a driver.. or just a dimmable led driver?
Would a stepper/motor driver work for a led dimmer? (something like this , this or this
__________________
84G - The Osaka Forest
12G Fluval Edge - Celestial pearl Danios, Boraras urophthalmoides & PFR shrimp
5.5G Fluval Chi - Pumpkin shrimplets
10G - CRS/CBS
10G - Red Rilli's
10G - Yellow shrimp
shift is online now   Reply With Quote
Old 04-18-2013, 07:42 PM   #203
Darkblade48
Moderator
 
Darkblade48's Avatar
 
PTrader: (3/100%)
Join Date: Jan 2008
Location: Toronto
Posts: 9,210
Default

Quote:
Originally Posted by shift View Post
My getto initial thought was to have multiple strips and slowly turn more and more strips on but a PWM is a much cleaner solution.

So would i need a PWM + a driver.. or just a dimmable led driver?
Heh, having multiple strips would work just fine for the time being (since you already have the relay board).

It would save the hassle of having to purchase a driver board. I am not too familiar with them, since I have not really looked into them (still using fluorescent tubes, so I just use a relay board).

I believe that you need a dimmable LED driver, which is controlled by the PWM on the microcontroller board. There are several threads in this subsection where people have written up sketches specifically for LEDs, so you may want to look in that.
__________________
Anthony

A Primer to Pressurized CO2 and A Primer to Planted Tanks
Eheim Pimp #362 - Eheim 2213 x2, Eheim 2028, Eheim 2217, Eheim surface skimmer and Eheim autofeeder.
Victor Pimp #33 - HPT272-125-350-4M
Darkblade48 is offline   Reply With Quote
Old 04-22-2013, 04:12 PM   #204
shift
Wannabe Guru
 
PTrader: (0/0%)
Join Date: Jan 2013
Location: Kelowna
Posts: 1,659
Default

So i just ordered 3x 12V pumps and decided to make a auto dosser as the first project.

I believe all i will need is the pumps, arduino board and relays.

If i decided to add the lcd screen would i need to add a sd card or something to store the adjustable variables? also would i need to use the RTC for it to be able to keep time in the event of a power outtage?
__________________
84G - The Osaka Forest
12G Fluval Edge - Celestial pearl Danios, Boraras urophthalmoides & PFR shrimp
5.5G Fluval Chi - Pumpkin shrimplets
10G - CRS/CBS
10G - Red Rilli's
10G - Yellow shrimp
shift is online now   Reply With Quote
Old 04-22-2013, 05:37 PM   #205
Darkblade48
Moderator
 
Darkblade48's Avatar
 
PTrader: (3/100%)
Join Date: Jan 2008
Location: Toronto
Posts: 9,210
Default

Quote:
Originally Posted by shift View Post
If i decided to add the lcd screen would i need to add a sd card or something to store the adjustable variables?
You can most likely store all the variables you need in the EEPROM (unless you have an unusually large number of variables to store).

Quote:
Originally Posted by shift View Post
also would i need to use the RTC for it to be able to keep time in the event of a power outtage?
You will need the RTC to store the information for time/date.
__________________
Anthony

A Primer to Pressurized CO2 and A Primer to Planted Tanks
Eheim Pimp #362 - Eheim 2213 x2, Eheim 2028, Eheim 2217, Eheim surface skimmer and Eheim autofeeder.
Victor Pimp #33 - HPT272-125-350-4M
Darkblade48 is offline   Reply With Quote
Old 06-17-2013, 12:51 PM   #206
agio26
Newbie
 
agio26's Avatar
 
PTrader: (0/0%)
Join Date: Jun 2013
Location: Roamnia,Craiova
Posts: 1
Send a message via Yahoo to agio26
Default

I work the same with AVR, but not with Arduino, and i realized this controllers
also uses DS18B20 and DS1307, as microcontroller uses atmega644p, but i use triac wiht optotriac instead of relays.
At this point controls:
PH, CO2, TEMP, Moonlight, autolevel, feeding, pumps, UV-lamp,fertilization, light(neon/LED-dimming)
__________________
Smile tomorrow will be worse

Last edited by agio26; 06-17-2013 at 01:24 PM.. Reason: I forgot to mention fertilization
agio26 is offline   Reply With Quote
Old 07-23-2013, 08:48 AM   #207
spyrowel
Newbie
 
PTrader: (0/0%)
Join Date: Jul 2013
Location: PHILIPPINES
Posts: 1
Default

hi i got the arduino mega 2560, and i have also the temp sensor, PH sensor, rgb sensor, and the ORP sensor, my problem is i don't will to to program this thing only temp sensor i made it, somebody will willing to help me this project? guys please PM me spyrowel@yahoo.com many thanks in advance
spyrowel is offline   Reply With Quote
Old 07-23-2013, 09:44 AM   #208
Darkblade48
Moderator
 
Darkblade48's Avatar
 
PTrader: (3/100%)
Join Date: Jan 2008
Location: Toronto
Posts: 9,210
Default

I'm not sure what you are asking - did you make the temperature sensor? What exactly do you need help with?
__________________
Anthony

A Primer to Pressurized CO2 and A Primer to Planted Tanks
Eheim Pimp #362 - Eheim 2213 x2, Eheim 2028, Eheim 2217, Eheim surface skimmer and Eheim autofeeder.
Victor Pimp #33 - HPT272-125-350-4M
Darkblade48 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 Off

Forum Jump


All times are GMT. The time now is 04:24 AM.


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