The Planted Tank Forum - Reply to Topic
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 > DIY Aquarium Touchscreen Controller

Thread: DIY Aquarium Touchscreen Controller Reply to Thread
Title:
  
Message:
Post Icons
You may choose an icon for your message from the following list:
 

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:

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.



Additional Options
Miscellaneous Options

Topic Review (Newest First)
07-23-2013 10:44 AM
Darkblade48 I'm not sure what you are asking - did you make the temperature sensor? What exactly do you need help with?
07-23-2013 09:48 AM
spyrowel 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
06-17-2013 01:51 PM
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)
04-22-2013 06:37 PM
Darkblade48
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.
04-22-2013 05:12 PM
shift 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?
04-18-2013 08:42 PM
Darkblade48
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.
04-18-2013 08:38 PM
shift 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
04-18-2013 08:31 PM
Darkblade48 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).
04-18-2013 08:28 PM
shift 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!
04-18-2013 07:54 PM
Darkblade48
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.
04-18-2013 05:06 PM
shift http://dx.com/p/arduino-compatible-1...d-white-143793
04-18-2013 04:52 PM
bigd603
Re: DIY Aquarium Touchscreen Controller

What relay board is that?

Sent from my Galaxy Nexus using Tapatalk 2
04-18-2013 04:48 PM
shift
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
Attachment 127905
04-18-2013 07:39 AM
Darkblade48
Quote:
Originally Posted by shift View Post
Which board are you using? Anything for code really. It's just nice to have something to build off of


So far I have 2 UNO boards. A screen. Temp sensor and a RTC and a relay board.

My first few projects I want to build is a sunrise/sunset controller for leds and a temperature monitor/auto shut off for the heaters.
I am using a Mega2560 R2.

The problem with your setup is that (for example) my code will not work with your setup (you need to write up some code to pass data back and forth from one Uno to the other.

What screen do you have? The 3.2" Touchscreen uses 20 pins (just checked the specification sheet) for display alone, and another 5 pins for touch input. The SD slot takes up another 4 pins.

This is already more than the number of pins a single Uno has.

However, if you just want to do a temperature monitor/auto shut off, it can be implemented (i.e. if you do not use a touch screen and instead use a normal 20x04 LCD screen (or even a 16x02, etc).

You may want to investigate what type of relay you will want to use (for the shut off of your heater).

Finally, to answer your question regarding sample code, if you are using a digital DS18B20 temperature sensor, the Dallas libraries have some excellent examples that you can just copy/paste into a new sketch. From there, it only takes a few more lines of coding to display the temperature to an LCD screen, much like what I had before.

04-18-2013 06:33 AM
shift
DIY Aquarium Touchscreen Controller

Which board are you using? Anything for code really. It's just nice to have something to build off of


So far I have 2 UNO boards. A screen. Temp sensor and a RTC and a relay board.

My first few projects I want to build is a sunrise/sunset controller for leds and a temperature monitor/auto shut off for the heaters.
This thread has more than 15 replies. Click here to review the whole thread.

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


All times are GMT. The time now is 06:56 AM.


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