DIY Reef Controller

Aqua, You not kidding. I got the SD to work and I'm able to see the home page of your sketch, but the touch screen is not functioning. I guess I'll start banging my head. I found a couple different pinouts, which one did u use. Not sure if this caused or need to change the code. Thanks for helping us out with the sketch.

The touch screen is not working probably because I moved the pins in order to make room for my LED drivers.

To to the sketch and change the pins where is says declare Touch

Change:

ITDB02_Touch myTouch(46,45,44,43,42);
To>>>> (2, 3, 4, 5, 6);

That should get the touch screen going for you.

Also, if you guys want to check out this sketch I have an updated version.
I changed the font, fixed the clock and temp sensor issue.
PM me if you want and I'll email you a .zip
But, as been said. It's still a work in progress. I'm in no real hurry to finish it, and I'm adding as I go/need.
This is great because I could use input and help from others!
 
Last edited:
That will get you going and you should be able to navigate around the screen.

However, this will cause conflict with the temp sensor. It's on pin 2
And maybe conflicts on some of the PWM led pins.

I guess if you get stuck on pin outs I'll do my best to help.


I don't think Nick had any bad intent here. Who knows maybe someday he will come through for you. But, I can tell you from experience...and you guys know this to...when you hit a brick wall it takes weeks sometimes to find your answer with this arduino stuff.

Nick hit a wall after making promises he could not deliver at the time. He'll come through someday.
Plus, this deal is way too elaborate to be some crazy plan by him to rip people off.
 
I made the change on the pins previously but I noticed that I'm unable save, it gives me an error access denied (java.io.IOException: Access is denied). It uploads but still no touch, I'll double check and keep at it. Thanks for the help
 
Rott and steve some people may not have the latest version with the bug fix I had dental surgery today and don't feel like posting much also

steve nick accpted money for his hardware and vanished some are just going to be ****ed your doing great so far thanks

Marc
 
I made the change on the pins previously but I noticed that I'm unable save, it gives me an error access denied (java.io.IOException: Access is denied). It uploads but still no touch, I'll double check and keep at it. Thanks for the help

Hmmmm...I am unsure what that error message means.

Perhaps we are running different versions of Arduino IDE.
I'm using version 1.04...I did not upgrade to 1.05 yet.

That would be the first thing I'd check.

The sketch compiles for you without problem?

Going to the office in a minute to look through my sketch to see of I can replicate your issue.
 
Last edited:
Just tried to replicate your issue ChiclidTx...saves and compiles for me.

These might be dumb questions, so don't get offended...just want to be sure of some things.

Do the example sketches for the Touch work for you?
the ITDB02 > Button Test, Calibration, Quickdraw?
 
I can't nicely add things like sliding buttons to unlock screen, depressed buttons, etc.
01.jpg
02.jpg
03.jpg
04.jpg
05.jpg

This would be cool. My idea all along was to have it look and act like my phone as much as possible.
 
Rott and steve some people may not have the latest version with the bug fix I had dental surgery today and don't feel like posting much also

steve nick accpted money for his hardware and vanished some are just going to be ****ed your doing great so far thanks

Marc

Hope you recover from your surgery...dental surgeries suck.
 
Aqua, I'm using 1.05. It complies and up loads fine, it just wont let me save after changing pins. I will try with 1.04 tomorrow and try the ITDB02 > Button Test, Calibration, Quickdraw to see if this helps. I don't take any offence to you helping out, its good to get input from outside. Thanks again. I will update when I give it a try.
 
Good idea. Try the button test and screen demo. I had a weird screen problem and it turned out to be a problem with the shield which i built myself. Took me hours to troubleshoot
 
Steve I really hope nick does come back to finish this one day. I don't think he took are money with out having the idea to finish. Some thing happened on his end, he was on here week before last. And I believe he has been here probably under a different name just stops buy to read the thread and see whats going on. I know that is exactly what I would do. but anyway what ever happen I hope he can resolve it so he can get back here and make this damn thing work.
 
Just coincidence! The Black Reef controller was developed a couple of years ago, if not wrong in Sweden. Okeanos Aquascaping is an aquarium building company in NY.

About if Nick is in coma... that's plausible. Surely if some of us get our hand on him! :-)
 
@CichlidTx, and anyone else using the Sainsmart gear or using the ITDB02_Touch library. You DO have to run the "calibration" example sketch, and calibrate your TFT screens.

If I remember correctly, unless Henning fixed this, if the example sketch does not work from its default state and gives you a bunch of weird symbols and is buggy you need to go back to the example sketch and change "LANDSCAPE" to "PORTRAIT". At the end of the calibration write down the results. You will need to go into the ITDB02_Touch.cpp file and change what's there to the results you received. This calibrates your screen.

Also, I noticed in my example sketches you need to make modifications to the libraries we are using.
Hopefully this will keep a few of us from banging our head against the wall.

In the Touch example sketches:

Change:

#include < ITDB02_Graph.h >
to
#include< UTFT.h >

Comment the 2 lines for the ITDB02 Shield...means add // before the lines of code
Then Uncomment for the Mega board...remove //

Then change:

ITDB02 myGLCD(38,39,40,41); // Remember to add ASPECT_16x9 if you are using
To
UTFT myGLCD(ITDB32S,38,39,40,41);

Sorry if this is very basic to some, but I want to make sure everyone is on the same page.
 
I just asked Rott in a PM, but I'll ask here to..

If everyone has the hardware, and the majority of code has been written by Nick. It just needs some loop statements for lighting, pH and such.

Why are you all looking for a new sketch/program?

It just seems to me that The New Life sketch needs completion...Or is there more to it than that?
 
does the code you have from him run the mother board we all got from him.
also the arduino needs to talk to the on board chip on that main board also there is a pressure sensor board for ATO also another board to interface with the power distribution box
 
one feature I really liked was the notes you could add threw the screen then set an alarm for it to remind you to do stuff or a note to tell you whan some thing happened.
 
does the code you have from him run the mother board we all got from him.
also the arduino needs to talk to the on board chip on that main board also there is a pressure sensor board for ATO also another board to interface with the power distribution box

Oh I don't know about the mother board stuff. That's where the build lost me. It was starting to get to involved, and I was looking for something a little more beginner that I could build upon. I thought that was just the Arduino chip with his code already loaded.

I was able to run his code on my mega just to check it out.
 
if it was the code he had on google/code then it didnt really have anything in it just pictures and screens
 
Back
Top