Whenever I try to uploaded my sketch and go to the arduino IDE program and go to file>preferences> and then open the preferences.txt file (at \AppData\Roaming\Arduino) I notice where it lists the last sketch uploaded path and it doesn't show that it's uploading my sketch.
So I try to load the blink example and it in fact does update the preferences.txt and says "last.sketch0.path=Z:\Program Files (x86)\Arduino\examples\1.Basics\Blink\Blink.ino"
. I loaded different examples and the preferences.txt would update. But it seems like its not uploading the hydroponics controller sketch even though it says its done uploading each time with no errors at all from the IDE and the "RX" and "TX" lights flash as they should when uploading and the "L" light as well
so I tried that with no success, but it did successfully upload it and the preferences.txt updated to the right sketch. It just seems like it's my sketch that it does this with. I'm pretty new to this all so I really need help please. I'm using windows 7, Arduino IDE 1.0 and a Arduino mega 2560 R3
ok.. so you are able to upload sketches, but just your sketch doesn't seem to live up to you expectations? e.g. it doesnt do what you want it to do correct or not?
i also recommend to update to newest version of arduino IDE (V1.0.6 i think), and try update java x86 (and x64 if OS is 64bit) just in case..
if correct, please upload your latest sketch (and if using, also your custom library's)
edit; additional it might be useful to know, did you change any IDE settings? and also try uploading with "debugger" mode on, donnt know what its called in the english ide i think extended/advanced output, compiling + upload.
nickn4:
ok.. so you are able to upload sketches, but just your sketch doesn't seem to live up to you expectations? e.g. it doesnt do what you want it to do correct or not?
Correct I am able to upload example sketches with no problems and they perform as intended BUT when I try to upload this sketch, it says it uploaded but in fact it doesn't push the sketch to the arduino and all I get is a white screen on my TFT LCD shield.
nickn4:
i also recommend to update to newest version of arduino IDE (V1.0.6 i think), and try update java x86 (and x64 if OS is 64bit) just in case..
I would but the creator of this sketch recommends only using IDE 1.0. I will update Java just to make sure.
And nope i didn't change any setting in the IDE, I'll continue to look for the "debugger" mode but I'm not having any luck finding it yet. Here's a link to my repository: https://github.com/mikealley69/HydroController.git
are you sure all wiring is 100% the same as the code, AND all other hardware is wired correctly withoutANY mistakes or any different hardware as the author of that code?
and about the IDE's verbose output, i changed my language on the ide and printscreent and highlighted the setting for v1.0.6. and i think the functionality will stay the same in v1.0.6, its just that in 2012 there wasn't any higher version, OR he stated this explicitly because V1.0 was recently released at the time, and he tells everyone to update if they want to try out his code..
soo, see attachment for 1.0.6 verbose output, im sure v1 has something similar (well, i hope) and if not, just go to v1.0.6, it shouldn't make a big difference.
edit; what do you mean by "it says it uploaded but in fact it doesn't push the sketch to the arduino and all I get is a white screen on my TFT LCD shield"?
how are you so sure it doesnt get pushed to arduino? what does you setup show on your TFT screen when arduino doesnt run code, is the screen white too?
I'm using the same exact TFT screen and shield as he used and wired it like he did. He says "The 3.2" TFT fits on top of the mega. But you only need to connect pins 2-6 for the touch, 22 - 41 for the display & connect GND, VCC and 3.3V" so thats exactly what I did. I even tried to plug the shield directly into the arduino mega and also tried wiring the screen minus the shield as shown here: http://www.geeetech.com/wiki/index.php/3.2TFT_LCD
But I don't have all the sensors and other hardware wired to it yet, would that make a difference? shouldn't the screen still display the menu?
And what I mean is I'm pretty sure it wasn't getting pushed to the arduino because the preferences.txt file says ""last.sketch0.path" and it wasn't showing the hydroponics controller as the last on uploaded no matter how many times I tried it. But now since I updated to IDE 1.0.6 it is now saying "last.sketch0.path=Z:\Users\Mikealley\Documents\Arduino\Hydroponic_Controller_v1_1_2b" so that looks good now. but yea the screen shows nothing no matter whats on it, it just lights up the backlight.
edit; and i didnt see anything out of the ordinary on the output from compiler. and yes, it could make a diffrince in this big a code, i am unable to fully analyze the whole, so lets just take small steps first, test screen
did you modify your configuration of the i/o pins in the code acording to YOUR connected pins?
are you able to check the signals while running with a mutlimeter, to make sure arduino does send the pulses and your wires/headers are good?
can you show us the diagram how you intent to hook up your arduino to the shield/screen and also please show us how you connected it with photo.
if that does not show anything strange, than either you screen is broken, or the code is not compatible with that screen (or i overlook something). where did you buy the screen btw, can you send a link?
Alright sorry for not responding to your last post. I just figured I'd wait because I was waiting for my new screen to come in. I bought a sainsmart LCD from ebay, I just got it 5 minutes ago, plugged it on top of my arduino and applied power to my board and BAM it works right away!