DIY Aquarium Touchscreen Controller - Page 14 - The Planted Tank Forum
Reply
 
LinkBack Thread Tools Display Modes
post #196 of 208 (permalink) Old 04-18-2013, 04:48 PM
Wannabe Guru
 
shift's Avatar
 
Join Date: Jan 2013
Location: Kelowna
Posts: 1,892
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:	331
Size:	261.8 KB
ID:	127905
shift is offline  
Sponsored Links
Advertisement
 
post #197 of 208 (permalink) Old 04-18-2013, 04:52 PM
Planted Member
 
Join Date: May 2011
Location: Portland, OR
Posts: 286
Re: DIY Aquarium Touchscreen Controller

What relay board is that?

Sent from my Galaxy Nexus using Tapatalk 2
bigd603 is offline  
post #199 of 208 (permalink) Old 04-18-2013, 07:54 PM
Moderator
 
Darkblade48's Avatar
 
Join Date: Jan 2008
Location: Toronto/Singapore
Posts: 10,445
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  
post #200 of 208 (permalink) Old 04-18-2013, 08:28 PM
Wannabe Guru
 
shift's Avatar
 
Join Date: Jan 2013
Location: Kelowna
Posts: 1,892
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!
shift is offline  
post #201 of 208 (permalink) Old 04-18-2013, 08:31 PM
Moderator
 
Darkblade48's Avatar
 
Join Date: Jan 2008
Location: Toronto/Singapore
Posts: 10,445
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  
post #202 of 208 (permalink) Old 04-18-2013, 08:38 PM
Wannabe Guru
 
shift's Avatar
 
Join Date: Jan 2013
Location: Kelowna
Posts: 1,892
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
shift is offline  
post #203 of 208 (permalink) Old 04-18-2013, 08:42 PM
Moderator
 
Darkblade48's Avatar
 
Join Date: Jan 2008
Location: Toronto/Singapore
Posts: 10,445
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  
post #204 of 208 (permalink) Old 04-22-2013, 05:12 PM
Wannabe Guru
 
shift's Avatar
 
Join Date: Jan 2013
Location: Kelowna
Posts: 1,892
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?
shift is offline  
post #205 of 208 (permalink) Old 04-22-2013, 06:37 PM
Moderator
 
Darkblade48's Avatar
 
Join Date: Jan 2008
Location: Toronto/Singapore
Posts: 10,445
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  
post #206 of 208 (permalink) Old 06-17-2013, 01:51 PM
Newbie
 
agio26's Avatar
 
Join Date: Jun 2013
Location: Roamnia,Craiova
Posts: 1
Send a message via Yahoo to agio26
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 02:24 PM. Reason: I forgot to mention fertilization
agio26 is offline  
post #207 of 208 (permalink) Old 07-23-2013, 09:48 AM
Newbie
 
Join Date: Jul 2013
Location: PHILIPPINES
Posts: 1
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  
post #208 of 208 (permalink) Old 07-23-2013, 10:44 AM
Moderator
 
Darkblade48's Avatar
 
Join Date: Jan 2008
Location: Toronto/Singapore
Posts: 10,445
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

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the The Planted Tank Forum forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in









Human Verification

In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.



Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode



Posting Rules  
You may post new threads
You may 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
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome