redtop's Ferduino controller

the home screen in the Ferduino is what I'm most interested in up-scaling and then probable the graphs...

once I have figured out ( if I figure it out) how to enlarge the code to display on the bigger screen, what I'm concerned with most is will I be able to figure out what to do to make the touch screen part match up to the newly repositioned buttons :) there's so much stuff that that has to be done just right or it ain't gonna work properly LOL

When you change the x and y of the buttons and graphs you have to also change the touchscreen x and y.

I was going to do the Ferduino also but he uses the same RTC code as Jarduino and I had to change the jarduino clock and it was a lot of work
 
Hi!

Is more easy buy a RTC without EEPROM onboard.

As this: http://www.ebay.com/itm/New-Arduino...324?pt=LH_DefaultDomain_0&hash=item27e0a1c3b4

Or a TFT shield with RTC onboard: http://imall.iteadstudio.com/prototyping/kits/im120717001.html

Best regards.

Fernando Garcia

How about the code, still have to use a library and the library that you and the jarduino uses is from Henning Karlsen. His library is not compatible with using slaves. I'm sharing the RTC with d0ughboy code and jarduino modify and by doing this the jarduino control clock is very accurate

The new version of Jarduino when it comes out will have a different library for the clock I'm told.
 
What you mean with "sharing code"?

You added function to update the time via NTP?

I'm using the SDA and SCL of my jarduino and d0ughb0y and since d0ughboy code update the clock all the time from the NTP it automated update the time on my jarduino, because its updating the RTC. It even changes the time for day light saving also.
 
Why not use a RTC to each controller?

Well it started out that I needed 11 channels 9 for my main tank and 2 for my frag. So I added 11 channels to the jarduino and ran out of memory. So I end up with 9 channels one and was going to use another jarduino to control the frag tank. So I tried to have a master and a slave jarduino to use just one touchscreen and see the graph of the slave on the master. That's when I found out about the RTC library could not do that. So using a different library that supported I2C, I got the slave graph to show up on the master touchscreen. And then came along the d0ughboy controller. So I tied all them to the same RTC clock. My only problem is when I have the slave jarduino hook to the rest of the arduinos I get a freeze once in awhile, so I unhook the second jarduino and just use the d0ughboy and mod jarduino together, still trying to figure out why the second jarduino freezes sometimes. I have pull up resistors on the SDA and SCL and still get freeze up on the slave jarduino.

Don't what to hi jack this tread, but that is what I'm doing. Was going to do the same with your controller and use it with the 7 inch screen that is why I ask you about the I2C circuit awhile back.

I got your controller to load on my 7 inch screen.
 
I remember.

If you want create a new topic here or in my forum.

Anyway I think that's better use a circuit like this: http://www.adafruit.com/product/815

If you use an array of array you will save a lot of memory.

Look to "void ledSetScreen()" in "L_Menus" tab in my code.

Do the Stilo code uses array to do the led channel if so I can understand his code a little. I'm new to programming. Don't have that much experience. You code I don't understand
 
Try notice the difference between this two codes:

Previous version:

https://github.com/FernandoGarcia/F...ter/Ferduino_Portuguese/Botoes_e_etc.ino#L244

Last version:

https://github.com/FernandoGarcia/F...no_with_webcontrol_beta/Botoes_e_etc.ino#L341

In the previous version the code is repeated to each color.

The main values are:

Code:
byte cor_canal1[] = {255, 255, 255};   // white
byte cor_canal2[] = {9, 184, 255};      // blue
byte cor_canal3[] = {58, 95, 205};      // royal blue
byte cor_canal4[] = {255, 0, 0};         // red
byte cor_canal5[] = {224, 102, 255};  // violet

But in last version I created a new array:

Code:
byte *cor_canal[5] = {cor_canal1, cor_canal2, cor_canal3, cor_canal4, cor_canal5};

So if I want change the value 95 I do:

Code:
cor_canal [2][1] = anything;

Or use the color Royal blue:

Code:
myGLCD.setColor(cor_canal [2][0], cor_canal [2][1], cor_canal [2][2]);
 
Well it started out that I needed 11 channels 9 for my main tank and 2 for my frag. So I added 11 channels to the jarduino and ran out of memory. So I end up with 9 channels one and was going to use another jarduino to control the frag tank. So I tried to have a master and a slave jarduino to use just one touchscreen and see the graph of the slave on the master. That's when I found out about the RTC library could not do that. So using a different library that supported I2C, I got the slave graph to show up on the master touchscreen. And then came along the d0ughboy controller. So I tied all them to the same RTC clock. My only problem is when I have the slave jarduino hook to the rest of the arduinos I get a freeze once in awhile, so I unhook the second jarduino and just use the d0ughboy and mod jarduino together, still trying to figure out why the second jarduino freezes sometimes. I have pull up resistors on the SDA and SCL and still get freeze up on the slave jarduino.

Don't what to hi jack this tread, but that is what I'm doing. Was going to do the same with your controller and use it with the 7 inch screen that is why I ask you about the I2C circuit awhile back.

I got your controller to load on my 7 inch screen.

don't worry about hijacking this thread, it here for this exact purpose to teach me all this cool stuff :) so please continue to share here too
 
@wgraham - can you elaborate on which RTC library you had issues with when using a slave arduino over I2C and what the issues were, please? Or point me towards some details. I'm looking at doing something similar, so want to make sure I avoid the same issues!

Tim
 
@wgraham - can you elaborate on which RTC library you had issues with when using a slave arduino over I2C and what the issues were, please? Or point me towards some details. I'm looking at doing something similar, so want to make sure I avoid the same issues!

Tim

I had trouble with Henning Karlsen RTC. You can used any of the others
 
Here is the screen when I first put it to use on my tank. Will take another one later
 

Attachments

  • 7 inch screen.jpg
    7 inch screen.jpg
    44.4 KB · Views: 21
Back
Top