DIY Reef Controller

May i ask what is your Touch Controller ADS7843 or XPT2046? Thanks

my touch seen to work reverse too. it seem the x,y work opposite. However, after the touch calibration, nothing work at all. I am using the ITDB02 Touch Calibration and it gave me
PixSizeX -0.01
PixOffsX 1386
PixSizeY 0.02
PixOffsY 2720

somehow the Off X and OffY are too high. Do you have this type of problem too?
 
my touch seen to work reverse too. it seem the x,y work opposite. However, after the touch calibration, nothing work at all. I am using the ITDB02 Touch Calibration and it gave me
PixSizeX -0.01
PixOffsX 1386
PixSizeY 0.02
PixOffsY 2720

somehow the Off X and OffY are too high. Do you have this type of problem too?

Never mind, solve the problem!
 
Had the same issue, what was your solution?

Actually, programing error and setup the library on my part. The touch controller need to setup and calibrate the get the right coordinate PixSizeX, PixSizeY, PixOffsX, PixOffsY. I am using the ITDB02_Touch_Calibration sketch which is included in the library. In the sketch the Screen need to setup in the PORTRAIT mode for the LCD display; which I didnot. It works okay now. I hope you have the same issue then it will be easy fix
 
Yeah that'd be great although I'd have to change all the y values I'll. Hech it when I get home, thanks a lot.
 
I just did a quick test to see if the .c file size estimate was correct and it was actually around 700kb per image in the .c format. The 258kb was in .jpg format.

Here is a quick video showing a basic overview of the UI of the controller. It covers the basic screens, although keep in mind it isn't finished and a few of the background screen aren't finished for the clock and settings screen. If you notice the touchscreen sometimes "sticks" which I am thinking is just another issue with the sainsmart touch screens. AS you will also notice, it takes a little while to load as it starts up. This is the time required to load all the user defined settings from the Sd card. As of now it is only a few and takes surprisingly long, so if it gets much longer I may have to use the EEPROM for some of the basic settings.

btw, the temperature glitch is just because the temperature probe wasn't connected at that time.

http://www.youtube.com/watch?v=vKuL14L4AOE&feature=youtu.be

Hello!

You're right I did a test here with an image that had 26.2 KB format. Jpg and then converted to. C it was 634KB.

I think inda is too early to think of migrating to DUO there are many things still undefined.

The issue of voltage is 3 V will not be any problem because the 5V pins were kept as in mega.

As for the video liked the idea of the password had not thought of that, because here at home just me and my wife.

Which library are you using to UTFT or ITDB02_Graph16?

I made a video to compare the performance of two libraries in my program.

The UTFT is slower.

http://www.youtube.com/watch?v=zfxbpwgp970&feature=plcp

http://www.youtube.com/watch?v=vrsydEOo3Hc&feature=relmfu

Hug.
Fernando Garcia
 
Innguyen, I am using Karlsens ITDB02_touch library, yes.

I like the videos comparing the speeds of the two libraries, the UTFT is clearly slower. I'm just go a quick test for both of them loading an image from the sd card and see if that still stands, if so I may switch.
 
Alright so I loaded up a basic sketch that loads a 320x240 pixel image and prints it to the lcd screen. One sketch with the UTFT library which took 2.45 seconds to load the image, and the seconds sketch with the ITDB02_Graph16 which took 2.16 seconds to load the same image.

I was debating switching the library into my project but as the UTFT library is the one that is currently supported by Karlsen and since I already have all my code using that library, the 0.29 seconds don't seem worth it.
 
Hello!
The change that needs to be done is very small.
Just this:

#include ITDB02_Graph16.h
ITDB02tf myGLCD(38,39,40,41,TFT_01)

Hug.
Fernando Garcia
 
Gonna jump in here to ask a question that isn't related to your project, but you guys seem to know your stuff...

I want to make a light timer control page for my controller/server (beaglebone) but i don't really want rigid time/duration things which would be simple to do. Instead i have been playing with the idea to use a 24h graph that i can plot the individual channel lighting curves on instead. To use it i would set maybe 9 points per channel on the graph at whatever time and whatever intensity and it would fill in the rest with either straight connect the dots or a curve.

The thing is, while i can imagine it clear as day i don't have the slightest clue of how to start on that. So, where would one start on this thing?
 
fefegarcia, it would be easy to switch over I just don't know how much long karlsen will keep the library up, so to prevent any problems in the future for people making this controller i'll keep it the way it is.

Gorgok,

If you wanna pm me I could help you get a start on it. I am not very familiar with the beagle boards but i'm sure we can figure it out. Just lemme know what language your using.

I have about half of the screen re configured with the correct y-values now that I got the touch screen problem fixed.
 
fefegarcia, it would be easy to switch over I just don't know how much long karlsen will keep the library up, so to prevent any problems in the future for people making this controller i'll keep it the way it is.

Hello!

The Henning has said it will abandon the TDB02_Graph16 but you can provide a package with two libraries and the user can choose which library he wants to use.
This of course while the ITB02_Graph is compatible with the new IDEs.

You can something like this in the code:

#include ITDB02_Graph16.h //Comment this line to use the UFT.h
ITDB02tf myGLCD(38,39,40,41,TFT_01) //Comment this line to use the UFT.h

//#include UTFT.h //Uncomment this line to use the UFT.h
//UTFTtf myGLCD(38,39,40,41,TFT_01) //Uncomment this line to use the UFT.h


Here is a video of the function I added to my controller based on his idea.


http://www.youtube.com/watch?v=CiPxy82_v2g&feature=youtu.be

Hug.

Fernando Garcia
 
fefegarcia
(mensagem em português-Brasil)

tudo bem adorei este projeto, sou um fanático por eletrônica e gostaria muito de montar o controlador para meu aquário.
onde consigo o código para programar o Arduíno, e se possível o esquema técnico do projeto.
grato.
 
Last edited:
Olá!
Na primeira página deste tópico tem o link e na descrição do vídeo também tem.
Você também pode encontrar alguns detalhes da montagem no reefcorner.
Abraço.
 
hi i have atlas pH stamp, arduino duemilanove.

i want to trigger some LEDs, buzzer,when certain pH is reached. i also want to display the pH reading on LCD display.

please help me with the code. any reference would also be really helpful.

this is my first time doing such project.

thanks
 
Back
Top