redtop's Ferduino controller

Rott, what did you do to load the ferduino code? I'm having the same problem the first time you loaded the ferduino code with my 7" tft lcd.
 
UTFT myGLCD(CTE70, 38,39,40,41);

make sure on line 179 it looks like that when I got the code at first it looked like this

UTFT myGLCD(CTE50, 38,39,40,41);

just changed the 5 to a 7 and that was all I belive I changed
 
Ok guys I decided to solder on some of those microscopic parts for ya you to rott
I have equipment makes it simple to do I will put up a list of parts that you will need later no
 
Redtop It is the 5 inch and it is still set just as you had it

so the CTE70 in the code don't really matter, I was curious about that, both the 5 and the 7 had basically the same text in the memory saver file, I kinda figured it would work with either since both are using the same 480 x 800 resolution...yours looks awesome
 
Ok so I'm retarded can someone explain to me how that lighting period screen works ?

which screen are you referring to Marc ? got pics :D

I've just been using the preset screen but the screen I think you are referring to is just broken down into 15 minute increments, each graph you see is of 2 hours of time, if you noticed in the code where the LEDs are preprogrammed, the lighting period screen is basically the same thing, but in a grid layout, at the top of the grid, you select which 2 hours of time you want to change, once you make your changes, then save to eeprom once you're done
 
UTFT myGLCD(CTE70, 38,39,40,41);

make sure on line 179 it looks like that when I got the code at first it looked like this

UTFT myGLCD(CTE50, 38,39,40,41);

just changed the 5 to a 7 and that was all I belive I changed

I thought I added both those lines so you could just comment/uncomment which ever you needed, did I not add the CTE70 ?
 
Yep thats the screen I was wondering about after looking at it I found my mistake had the time set for pm instead of am
 
redtop it might work for the 5" LCD if you have CTE50 or CTE70 in the code but if you have a 7" LCD you have to use the CTE70 or you will get the white screen of death soon as you change the CTE50 to CTE70 every thing just works. I did it with a sainsmart and a real arduino one using the black tft shield that came with it and the other using just the regular blue one and both did the same thing
 
marspeed I had the same problem at first I had no lines where the led graph is made me think I had some thing wrong in the wiring
 
UTFT myGLCD(CTE70, 38,39,40,41);

make sure on line 179 it looks like that when I got the code at first it looked like this

UTFT myGLCD(CTE50, 38,39,40,41);

just changed the 5 to a 7 and that was all I belive I changed

rott, where can I find that line? I'm having a problem with the utouch calibration thing.
 
redtop it might work for the 5" LCD if you have CTE50 or CTE70 in the code but if you have a 7" LCD you have to use the CTE70 or you will get the white screen of death soon as you change the CTE50 to CTE70 every thing just works. I did it with a sainsmart and a real arduino one using the black tft shield that came with it and the other using just the regular blue one and both did the same thing

this is what I have in the code as of now, I have the CTE 7" screen and use that line

Code:
//UTFT myGLCD(X, 38,39,40,41); // "X" is the screen you are using
//UTFT myGLCD(ITDB50, 38,39,40,41);
UTFT myGLCD(CTE70, 38,39,40,41);
UTouch myTouch(6,5,4,3,2);
//UTouch myTouch(7,6,5,4,3);

if Marc didn't change the CTE70 line, then his 5" screen is running with the CTE70 settings

the CTE screens are slightly different than the ITBD but I really don't understand what that difference is

that difference may mean that the CTE screens are a little more universal with the code than the ITDB screens, or vise versa

to use the ITDB50, you would comment out the CTE70 and uncomment the ITDB50 screen, I added the ITDB50 screen instead of the CTE50 but that should be all you would need to do is change the CTE70 to CTE50, all 3 of those screens are added in the library, ever screen that was listed as 480 x 800 was added

if you know for sure which screen you're gonna use, go into the memory save file and uncomment any screen you're not using, it'll save a lot of memory space on the Mega
 
I got an error code when I tried to change that from the sketch

if you are using the ITDB50 screen just set your code as below, if you are using the CTE50 screen, change the CTE70 to CTE50 and leave the comments as in the post above

try both ways if you're unsure which screen you have, Sainsmart sold some of those 5" ITDB screens as CTE screens in the link where my CTE70 came from, that may be your issue too

Code:
//UTFT myGLCD(X, 38,39,40,41); // "X" is the screen you are using
UTFT myGLCD(ITDB50, 38,39,40,41);
//UTFT myGLCD(CTE70, 38,39,40,41);
UTouch myTouch(6,5,4,3,2);
//UTouch myTouch(7,6,5,4,3);
 
Willie, I did use your library files not the one on the tutorials. The only thing I'm having a problem right now is the calibration button test. It didn't show the CTE like the one I did the first time I calibrated the touch screen but instead the ITDB.
 
//UTFT myGLCD(X, 38,39,40,41); // "X" is the screen you are using
//UTFT myGLCD(ITDB50, 38,39,40,41);
UTFT myGLCD(CTE70, 38,39,40,41);
UTouch myTouch(6,5,4,3,2);
//UTouch myTouch(7,6,5,4,3);

just copied from arduino ide
 
Last edited:
Back
Top