redtop's Ferduino controller

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.

the calibration code is just as Henning Karlton's had it set, you will need to change the screen stuff to match your screen in it and the button test code

what are the errors you're getting now ?
 
my 5 inch screen is an ITDBO2-5.0

that is cool that it is working with the CTE70 settings, but it is really the same stuff in the library, just a different name

I think that any screen with the 480 x 800 resolution should work with the code, as is

only thing is, you may need to recalibrate the touch screen and probable should anyway

both my 7 inch screens work perfectly with the same coordinates on both the Ferduino and Jarduino codes

after you do a calibration, you should run those numbers through the test on the link that Fernando posted earlier to be sure they will work, I tested several calibration runs and the numbers weren't compatible, so it ain't always a 1 time thing to do the calibration
 
The mega what I’m using
http://www.amazon.com/SainSmart-Dis...inSmart+TFT+LCD+Display+for+Arduino+Mega+2560
and the lcd shield
http://www.amazon.com/gp/product/B00GGKDST8/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

these are the problems I’m dealing with the button test calibration
UTouch_ButtonTest:24: error: redefinition of 'UTFT myGLCD'
UTouch_ButtonTest:24: error: 'UTFT myGLCD' previously declared here
UTouch_ButtonTest:25: error: redefinition of 'UTouch myTouch'
UTouch_ButtonTest:25: error: 'UTouch myTouch' previously declared here
UTouch_ButtonTest:27: error: redefinition of 'int x'
UTouch_ButtonTest:27: error: 'int x' previously declared here
UTouch_ButtonTest:27: error: redefinition of 'int y'
UTouch_ButtonTest:27: error: 'int y' previously declared here
UTouch_ButtonTest:28: error: redefinition of 'char stCurrent [20]'
UTouch_ButtonTest:28: error: 'char stCurrent [20]' previously defined here
UTouch_ButtonTest:29: error: redefinition of 'int stCurrentLen'
UTouch_ButtonTest:29: error: 'int stCurrentLen' previously defined here
UTouch_ButtonTest:30: error: redefinition of 'char stLast [20]'
UTouch_ButtonTest:30: error: 'char stLast [20]' previously defined here
UTouch_ButtonTest.pde: In function 'void drawButtons()':
UTouch_ButtonTest:36: error: redefinition of 'void drawButtons()'
UTouch_ButtonTest:36: error: 'void drawButtons()' previously defined here
UTouch_ButtonTest.pde: In function 'void updateStr(int)':
UTouch_ButtonTest:72: error: redefinition of 'void updateStr(int)'
UTouch_ButtonTest:72: error: 'void updateStr(int)' previously defined here
UTouch_ButtonTest.pde: In function 'void waitForIt(int, int, int, int)':
UTouch_ButtonTest:97: error: redefinition of 'void waitForIt(int, int, int, int)'
UTouch_ButtonTest:97: error: 'void waitForIt(int, int, int, int)' previously defined here
UTouch_ButtonTest.pde: In function 'void setup()':
UTouch_ButtonTest:111: error: redefinition of 'void setup()'
UTouch_ButtonTest:111: error: 'void setup()' previously defined here
UTouch_ButtonTest.pde: In function 'void loop()':
UTouch_ButtonTest:125: error: redefinition of 'void loop()'
UTouch_ButtonTest:125: error: 'void loop()' previously defined here
 
The mega what I'm using
http://www.amazon.com/SainSmart-Dis...inSmart+TFT+LCD+Display+for+Arduino+Mega+2560
and the lcd shield
http://www.amazon.com/gp/product/B00GGKDST8/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

these are the problems I'm dealing with the button test calibration
UTouch_ButtonTest:24: error: redefinition of 'UTFT myGLCD'
UTouch_ButtonTest:24: error: 'UTFT myGLCD' previously declared here
UTouch_ButtonTest:25: error: redefinition of 'UTouch myTouch'
UTouch_ButtonTest:25: error: 'UTouch myTouch' previously declared here
UTouch_ButtonTest:27: error: redefinition of 'int x'
UTouch_ButtonTest:27: error: 'int x' previously declared here
UTouch_ButtonTest:27: error: redefinition of 'int y'
UTouch_ButtonTest:27: error: 'int y' previously declared here
UTouch_ButtonTest:28: error: redefinition of 'char stCurrent [20]'
UTouch_ButtonTest:28: error: 'char stCurrent [20]' previously defined here
UTouch_ButtonTest:29: error: redefinition of 'int stCurrentLen'
UTouch_ButtonTest:29: error: 'int stCurrentLen' previously defined here
UTouch_ButtonTest:30: error: redefinition of 'char stLast [20]'
UTouch_ButtonTest:30: error: 'char stLast [20]' previously defined here
UTouch_ButtonTest.pde: In function 'void drawButtons()':
UTouch_ButtonTest:36: error: redefinition of 'void drawButtons()'
UTouch_ButtonTest:36: error: 'void drawButtons()' previously defined here
UTouch_ButtonTest.pde: In function 'void updateStr(int)':
UTouch_ButtonTest:72: error: redefinition of 'void updateStr(int)'
UTouch_ButtonTest:72: error: 'void updateStr(int)' previously defined here
UTouch_ButtonTest.pde: In function 'void waitForIt(int, int, int, int)':
UTouch_ButtonTest:97: error: redefinition of 'void waitForIt(int, int, int, int)'
UTouch_ButtonTest:97: error: 'void waitForIt(int, int, int, int)' previously defined here
UTouch_ButtonTest.pde: In function 'void setup()':
UTouch_ButtonTest:111: error: redefinition of 'void setup()'
UTouch_ButtonTest:111: error: 'void setup()' previously defined here
UTouch_ButtonTest.pde: In function 'void loop()':
UTouch_ButtonTest:125: error: redefinition of 'void loop()'
UTouch_ButtonTest:125: error: 'void loop()' previously defined here

that setup should work with the code with no changes

in your button test code, do you have it set up as below ?

Code:
#include <UTFT.h>
#include <UTouch.h>

// Declare which fonts we will be using
extern uint8_t BigFont[];

// Uncomment the next two lines for the Arduino 2009/UNO
//UTFT        myGLCD(ITDB24D,19,18,17,16);   // Remember to change the model parameter to suit your display module!
//UTouch      myTouch(15,10,14,9,8);

// Uncomment the next two lines for the Arduino Mega
UTFT        myGLCD(CTE70, 38,39,40,41);   // Remember to change the model parameter to suit your display module!
UTouch      myTouch(6,5,4,3,2);

I will later but I've not yet up scaled the buttons in that code, they are gonna be small and toward the upper left corner of your 7 inch screen
 
that setup should work with the code with no changes

in your button test code, do you have it set up as below ?

Code:
#include <UTFT.h>
#include <UTouch.h>

// Declare which fonts we will be using
extern uint8_t BigFont[];

// Uncomment the next two lines for the Arduino 2009/UNO
//UTFT        myGLCD(ITDB24D,19,18,17,16);   // Remember to change the model parameter to suit your display module!
//UTouch      myTouch(15,10,14,9,8);

// Uncomment the next two lines for the Arduino Mega
UTFT        myGLCD(CTE70, 38,39,40,41);   // Remember to change the model parameter to suit your display module!
UTouch      myTouch(6,5,4,3,2);

I will later but I've not yet up scaled the buttons in that code, they are gonna be small and toward the upper left corner of your 7 inch screen

That's the setup I got for the button test code.
 
OK here are the board specs
parts you need
screw terminals 3.5 mm 43 pcs.
ds1307 dip thru hole 1 pcs
duel row pin header breakable 1 pcs
CRY,32.768KHz,50ppm,10.5pF
P-Channel MOSFET 60V 27A 1 pcs
Mini Push Button Switch smd sparkfun 1 pcs
mini jumpers shunt little black things 4 pcs


parts you won't need
10k smd resistor 1206 3 pcs
green chip led smd 1206 1 pcs
cap 0.01 pf smd 1206 1 pcs


on the back of the board you need to solder a jumper between the two
terminals marked in black ds1307 vin+ and +5 volt thru hole a short piece of wire will work my screw up
you will not need all the components if you have no use for them
such as the reverse polarity mosfet or the reset switch or screw terminals that
are only used for the tft lcd as in the picture I posted a few pages back
and I have not tested the reverse polarity protection because I am waiting for the parts no reason why it should not work

should have it tested by Friday after noon


marc
 
That's the setup I got for the button test code.

I opened mine up again and noticed that for some reason mine has 2 tabs in that sketch, as in this pic:



delete one of those tabs and then adjust the setting in the remaining tab, I think that is whats causing your problem

I don't understand why that sketch is like that but I've messed with so much junk, anything is possible LOL
 
i had the same problem when i copied the library supplied with Fernandos sketch even tho i deleted the original one do what willie said
 
I got 3 tabs maybe that causing the problem. I will try that again when I get home. Thank you guys for input.
 
I got 3 tabs maybe that causing the problem. I will try that again when I get home. Thank you guys for input.

most definitely the problem, just delete all but one tab and you should have it, not sure why it did that, may be an issue in the download or something but should be an easy fix for you
 
i had the same problem when i copied the library supplied with Fernandos sketch even tho i deleted the original one do what willie said

I think that may be the issue, when we copy over the library it is adding to the original library instead of replacing it, which would create duplicate codes

what I did was copy and replace instead of deleting the original library first, then copy and paste the updated library
 
Another dead end for me when loading the ferduino_english.ino. could it be the rtc? because I didn't stacked them yet?

these are the error codes and etc;

Ferduino_English:149: error: 'DS1307' does not name a type
Ferduino_English:150: error: 'Time' does not name a type
Dosadoras:8: error: 't' was not declared in this scope
Dosadoras:16: error: expected `;' before ')' token
Wavemaker:198: error: expected `}' at end of input
Temporizadores:196: error: 't' was not declared in this scope
 
Another dead end for me when loading the ferduino_english.ino. could it be the rtc? because I didn't stacked them yet?

these are the error codes and etc;

Ferduino_English:149: error: 'DS1307' does not name a type
Ferduino_English:150: error: 'Time' does not name a type
Dosadoras:8: error: 't' was not declared in this scope
Dosadoras:16: error: expected `;' before ')' token
Wavemaker:198: error: expected `}' at end of input
Temporizadores:196: error: 't' was not declared in this scope

I think that would be the RTC library not in the proper place, open your IDE and code, and click on the sketch button on top, mouse over the import library, from the list that pops up, go down to DS1307 and click it, then try to compile again
 
error compiling;
Ferduino_English.cpp.o: In function `setFont(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)':
C:\Users\J jon\Desktop\ARDUINO\arduino-1.0.5-r2/Botoes_e_etc.ino:212: undefined reference to `RusFont1'
 
error compiling;
Ferduino_English.cpp.o: In function `setFont(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)':
C:\Users\J jon\Desktop\ARDUINO\arduino-1.0.5-r2/Botoes_e_etc.ino:212: undefined reference to `RusFont1'

it looks like you may have a few libraries outta place but try this, go back to the sketch button, this time click on "add file", once the box opens, search your library files for the rusfont.c file in the UTFT folder and add it directly to the IDE and try to compile again
 
It’s working now but not in full scale. I think the problem was that I didn’t load the english master file first I just went ahead and load 7.0 master file. What I did was load the english master file first and then load the 7.0 master file to update the english master file.
 
It's working now but not in full scale. I think the problem was that I didn't load the english master file first I just went ahead and load 7.0 master file. What I did was load the english master file first and then load the 7.0 master file to update the english master file.

for the 7 inch screen this https://github.com/willie111/Ferduino-7.0 is the only download you need, you have the original code running now which is why it is small and to the upper left corner of the screen, download the code in the link I posted and use only it
 
fired up Ferduino last night and let it run over night. I have the white tft mega shield that redtop recommended sitting on top of my arduino mega 2560 I have a 7' LCD connected with a 8" cable and 3 temp probes that all worked fine. Came in this morning and the screen was blinking on and off about 1 blink a second and the touch screen has stopped working. I have tried to unplug it waited a few seconds plugged back in still didn't work








































'
 
Last edited:
Back
Top