Go Down

Topic: Billie's Hydroponic Controller (Read 86866 times) previous topic - next topic

jms_

Check out this page: http://www.geeetech.com/wiki/index.php/3.2TFT_LCD

You can find schematics there on how to hookup display straight to arduino, no shield between. Worked for me.

Someone said that if you connect Led-a pin from display to digital pin in arduino instead of 5v pin, you're able to control display backlight. Command can be found in Hennings utft library manual. But haven't tested this.

ard_mike

Check out this page: http://www.geeetech.com/wiki/index.php/3.2TFT_LCD

You can find schematics there on how to hookup display straight to arduino, no shield between. Worked for me.

Someone said that if you connect Led-a pin from display to digital pin in arduino instead of 5v pin, you're able to control display backlight. Command can be found in Hennings utft library manual. But haven't tested this.
ok well i just tried that, and still nothing but i think i made a discovery. I re-uploaded my sketch just to be sure, and I was going through the arduino IDE program and went to file>preferences> and then opened the preference TXT file at \AppData\Roaming\Arduino and noticed where it lists the last sketch uploaded path.


it says "last.sketch0.path=Z:\Program Files (x86)\Arduino\examples\1.Basics\Blink\Blink.ino"
when I know the last one i loaded was this one so i tried again and for some reason I think it's not uploading this sketch. 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 :/

jms_

You could try clearing EEEPROM, maybe that will help.
http://arduino.cc/en/Tutorial/EEPROMClear

ard_mike

You could try clearing EEEPROM, maybe that will help.
http://arduino.cc/en/Tutorial/EEPROMClear

thanks for the suggestion but it didn't fix the problem, though it did upload successfully .

Sorry for getting off topic everyone, I posted a separate thread to try  to get help for my problem.

redeye_joe

#154
Nov 16, 2014, 11:19 pm Last Edit: Nov 16, 2014, 11:49 pm by redeye_joe
Anyone know where DS for the rtc connects to?? Which pin? I read through the code and I don't see where it shows the pins are setup for the RTC, the scl and sda are marked on the mega.I looked at the photo of billy controller and it isnt easy to see. The sketch I used with the RTC 1307 when playing with it has it connected to digital pin 2?

 Also anyone know how I can change the Celsius to Fahrenheit?

ard_mike

The RTC module...SDA --> pin 20, SCL --> pin 21


and look here for info for the DHT http://playground.arduino.cc/main/DHT11Lib

redeye_joe

The RTC module...SDA --> pin 20, SCL --> pin 21

Yes, I have those pins connected already, its the DS pin that I am trying to figure out.

Go Up