DIY Aquarium Touchscreen Controller - Page 11 - The Planted Tank Forum

Reply
 
LinkBack Thread Tools Display Modes
post #151 of 208 (permalink) Old 01-27-2013, 08:31 PM
Planted Member
 
Join Date: May 2011
Location: Portland, OR
Posts: 286
Would you be willing to share your sketch?
bigd603 is offline  
Sponsored Links
Advertisement
 
post #152 of 208 (permalink) Old 01-27-2013, 08:32 PM
Moderator
 
Darkblade48's Avatar
 
Join Date: Jan 2008
Location: Toronto/Singapore
Posts: 10,261
Quote:
Originally Posted by bigd603 View Post
Would you be willing to share your sketch?
Since it is not done yet, no.

Anthony

A Primer to Pressurized CO2 and A Primer to Planted Tanks
Eheim Pimp #362 - Eheim 2213 x2, Eheim 2028, Eheim 2217, Eheim surface skimmer and Eheim autofeeder.
Victor Pimp #33 - HPT272-125-350-4M
Darkblade48 is online now  
post #153 of 208 (permalink) Old 01-27-2013, 08:54 PM
Planted Member
 
Join Date: May 2011
Location: Portland, OR
Posts: 286
I'm getting nothing but errors when I try to compile Jarduino.

Any advice would be great, because I am getting nowhere over here.

Code:
Jarduino_v1_2_beta2:153: error: no matching function for call to 'DS1307::DS1307(int, int)'
/Users/DJW/Documents/Arduino/libraries/DS1307/DS1307.h:50: note: candidates are: DS1307::DS1307()
/Users/DJW/Documents/Arduino/libraries/DS1307/DS1307.h:47: note:                 DS1307::DS1307(const DS1307&)
Jarduino_v1_2_beta2:154: error: 'DS1307_RAM' does not name a type
Jarduino_v1_2_beta2:156: error: 'Time' does not name a type
Jarduino_v1_2_beta2.ino: In function 'void TimeDateBar(boolean)':
Jarduino_v1_2_beta2:894: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:894: error: 'class DS1307' has no member named 'getTime'
Jarduino_v1_2_beta2:900: error: 'class DS1307' has no member named 'getDateStr'
Jarduino_v1_2_beta2:900: error: 'FORMAT_LONG' was not declared in this scope
Jarduino_v1_2_beta2:900: error: 'FORMAT_LITTLEENDIAN' was not declared in this scope
Jarduino_v1_2_beta2:906: error: 'class DS1307' has no member named 'getMonthStr'
Jarduino_v1_2_beta2:906: error: 'FORMAT_SHORT' was not declared in this scope
Jarduino_v1_2_beta2:923: error: 'class DS1307' has no member named 'getDateStr'
Jarduino_v1_2_beta2:923: error: 'FORMAT_LONG' was not declared in this scope
Jarduino_v1_2_beta2:923: error: 'FORMAT_LITTLEENDIAN' was not declared in this scope
Jarduino_v1_2_beta2:927: error: 'class DS1307' has no member named 'getMonthStr'
Jarduino_v1_2_beta2:927: error: 'FORMAT_SHORT' was not declared in this scope
Jarduino_v1_2_beta2:964: error: 'class DS1307' has no member named 'getTimeStr'
Jarduino_v1_2_beta2:964: error: 'FORMAT_SHORT' was not declared in this scope
Jarduino_v1_2_beta2.ino: In function 'void LED_levels_output()':
Jarduino_v1_2_beta2:1106: error: 't' was not declared in this scope
Jarduino_v1_2_beta2.ino: In function 'void TimeSaver(boolean)':
Jarduino_v1_2_beta2:1699: error: 'class DS1307' has no member named 'getTimeStr'
Jarduino_v1_2_beta2:1699: error: 'FORMAT_SHORT' was not declared in this scope
Jarduino_v1_2_beta2:1707: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:1709: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:1714: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:1716: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:1721: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:1729: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:1734: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:1744: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:1755: error: 'class DS1307' has no member named 'getMonthStr'
Jarduino_v1_2_beta2:1755: error: 'FORMAT_SHORT' was not declared in this scope
Jarduino_v1_2_beta2:1761: error: 'class DS1307' has no member named 'getMonthStr'
Jarduino_v1_2_beta2:1761: error: 'FORMAT_SHORT' was not declared in this scope
Jarduino_v1_2_beta2:1765: error: 'class DS1307' has no member named 'getMonthStr'
Jarduino_v1_2_beta2:1765: error: 'FORMAT_SHORT' was not declared in this scope
Jarduino_v1_2_beta2:1783: error: 'class DS1307' has no member named 'getMonthStr'
Jarduino_v1_2_beta2:1783: error: 'FORMAT_SHORT' was not declared in this scope
Jarduino_v1_2_beta2:1789: error: 'class DS1307' has no member named 'getMonthStr'
Jarduino_v1_2_beta2:1789: error: 'FORMAT_SHORT' was not declared in this scope
Jarduino_v1_2_beta2:1795: error: 'class DS1307' has no member named 'getMonthStr'
Jarduino_v1_2_beta2:1795: error: 'FORMAT_SHORT' was not declared in this scope
Jarduino_v1_2_beta2:1812: error: 'class DS1307' has no member named 'getMonthStr'
Jarduino_v1_2_beta2:1812: error: 'FORMAT_SHORT' was not declared in this scope
Jarduino_v1_2_beta2:1818: error: 'class DS1307' has no member named 'getMonthStr'
Jarduino_v1_2_beta2:1818: error: 'FORMAT_SHORT' was not declared in this scope
Jarduino_v1_2_beta2:1824: error: 'class DS1307' has no member named 'getMonthStr'
Jarduino_v1_2_beta2:1824: error: 'FORMAT_SHORT' was not declared in this scope
Jarduino_v1_2_beta2.ino: In function 'void mainScreen(boolean)':
Jarduino_v1_2_beta2:2180: error: 't' was not declared in this scope
Jarduino_v1_2_beta2.ino: In function 'void clockScreen(boolean)':
Jarduino_v1_2_beta2:2460: error: 't' was not declared in this scope
Jarduino_v1_2_beta2.ino: In function 'void feedingTimeOutput()':
Jarduino_v1_2_beta2:3683: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:3693: error: 'class DS1307' has no member named 'getTime'
Jarduino_v1_2_beta2:3702: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:3712: error: 'class DS1307' has no member named 'getTime'
Jarduino_v1_2_beta2:3721: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:3731: error: 'class DS1307' has no member named 'getTime'
Jarduino_v1_2_beta2:3740: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:3750: error: 'class DS1307' has no member named 'getTime'
Jarduino_v1_2_beta2.ino: In function 'void setFeederTimesScreen(boolean)':
Jarduino_v1_2_beta2:3776: error: 't' was not declared in this scope
Jarduino_v1_2_beta2.ino: In function 'void processMyTouch()':
Jarduino_v1_2_beta2:4104: error: 't_temp' was not declared in this scope
Jarduino_v1_2_beta2:4104: error: 'class DS1307' has no member named 'getTime'
Jarduino_v1_2_beta2:4179: error: 'class DS1307' has no member named 'setTime'
Jarduino_v1_2_beta2:4180: error: 'class DS1307' has no member named 'setDate'
Jarduino_v1_2_beta2:4292: error: 't_temp' was not declared in this scope
Jarduino_v1_2_beta2:4292: error: 'class DS1307' has no member named 'getTime'
Jarduino_v1_2_beta2:4344: error: 't_temp' was not declared in this scope
Jarduino_v1_2_beta2:4344: error: 'class DS1307' has no member named 'getTime'
Jarduino_v1_2_beta2.ino: In function 'void setup()':
Jarduino_v1_2_beta2:5769: error: 'class DS1307' has no member named 'halt'
Jarduino_v1_2_beta2:5771: error: 't' was not declared in this scope
Jarduino_v1_2_beta2.ino: In function 'void loop()':
Jarduino_v1_2_beta2:5785: error: 't' was not declared in this scope
Jarduino_v1_2_beta2:5785: error: 'class DS1307' has no member named 'getTime'
Jarduino_v1_2_beta2:5807: error: 'class DS1307' has no member named 'getTime'
bigd603 is offline  
post #154 of 208 (permalink) Old 01-27-2013, 10:19 PM
Children Boogie
 
mistergreen's Avatar
 
Join Date: Dec 2006
Location: Cincinnati
Posts: 16,216
You don't have the real time clock hooked up, so it doesn't know where to look for time perhaps.

So you paid for the Jarduino_v1_2_beta2?

mistergreen is online now  
post #155 of 208 (permalink) Old 01-27-2013, 10:35 PM
Planted Member
 
Join Date: May 2011
Location: Portland, OR
Posts: 286
I'm getting these errors when I verify the code, before its even uploaded to the Arduino, so I would think it shouldnt matter that I dont have the RTC connected yet, but I am still new at this.
bigd603 is offline  
post #156 of 208 (permalink) Old 01-27-2013, 10:50 PM
Children Boogie
 
mistergreen's Avatar
 
Join Date: Dec 2006
Location: Cincinnati
Posts: 16,216
Quote:
Originally Posted by bigd603 View Post
I'm getting these errors when I verify the code, before its even uploaded to the Arduino, so I would think it shouldnt matter that I dont have the RTC connected yet, but I am still new at this.
oh, ok. you need to include the library files in the arduino work file directory.

mistergreen is online now  
post #157 of 208 (permalink) Old 01-27-2013, 11:40 PM
Planted Member
 
Join Date: May 2011
Location: Portland, OR
Posts: 286
bigd603 is offline  
post #158 of 208 (permalink) Old 01-27-2013, 11:54 PM
Moderator
 
Darkblade48's Avatar
 
Join Date: Jan 2008
Location: Toronto/Singapore
Posts: 10,261
Are you sure you are using the right library?

I am not sure what is included in Jarduino version 1.2 beta, as I did not pay to see the source code.

From what I understand though, he has switched from Joyce's library to Karlsen's.

I assume you are using the newer version of the Arduino IDE as well?

As mentioned before, this project is not as simple as "plug and play"...

Anthony

A Primer to Pressurized CO2 and A Primer to Planted Tanks
Eheim Pimp #362 - Eheim 2213 x2, Eheim 2028, Eheim 2217, Eheim surface skimmer and Eheim autofeeder.
Victor Pimp #33 - HPT272-125-350-4M
Darkblade48 is online now  
post #159 of 208 (permalink) Old 01-27-2013, 11:55 PM
flc
Algae Grower
 
Join Date: Sep 2012
Location: Portland, Oregon
Posts: 71
If you're really stuck, take your project into the next meeting of DorkBot PDX. The people who are affiliated with it are super helpful and really know their stuff. I bet someone would know exactly what was going wrong and people would probably love to see what you're working on.

http://dorkbotpdx.org/meetings
flc is offline  
post #160 of 208 (permalink) Old 01-28-2013, 12:55 PM
Planted Member
 
Join Date: May 2011
Location: Portland, OR
Posts: 286
I wound up starting completely over. I re-installed Arduino, continued having bad luck with Jarduino, but I was able to get another aquarium controller sketch called Stilo to work. Except after loading the first screen it just flashes and reloads every second. I think this is because I don't have the RTC installed yet. I will do that today.

flc, thats a good idea to check out dorkbot. They have a meeting tonight, I just might have to stop by.
bigd603 is offline  
post #161 of 208 (permalink) Old 01-28-2013, 06:36 PM
Moderator
 
Darkblade48's Avatar
 
Join Date: Jan 2008
Location: Toronto/Singapore
Posts: 10,261
Quote:
Originally Posted by bigd603 View Post
I wound up starting completely over. I re-installed Arduino, continued having bad luck with Jarduino, but I was able to get another aquarium controller sketch called Stilo to work. Except after loading the first screen it just flashes and reloads every second. I think this is because I don't have the RTC installed yet. I will do that today.

flc, thats a good idea to check out dorkbot. They have a meeting tonight, I just might have to stop by.
I never tried Stilo myself, but it sounds odd that not having an RTC installed would cause the entire sketch to reset itself every second.

Usually, without an RTC, any time/date functions won't work. The only thing I can think of is that the sketch relies on the RTC to do something (i.e. check on the status of the sketch so that it can request new data from the temperature/pH probe), but there are better ways than querying the RTC.

Anthony

A Primer to Pressurized CO2 and A Primer to Planted Tanks
Eheim Pimp #362 - Eheim 2213 x2, Eheim 2028, Eheim 2217, Eheim surface skimmer and Eheim autofeeder.
Victor Pimp #33 - HPT272-125-350-4M
Darkblade48 is online now  
post #162 of 208 (permalink) Old 01-31-2013, 01:35 PM
Planted Member
 
Join Date: May 2011
Location: Portland, OR
Posts: 286
Finally got Jarduino to work! Took long enough. Turns out I wasnt using the right DS1307 library, and I just had to change the pin settings.

Now I'm going to run through all the code to try and learn all of it. I really appreciate how well commented this sketch is, that will be really useful.

I would love to change it around to get rid of the LED array graph, since I dont use an LED lighting system and get some real time weather data in there, and replace the monitors and alerts pane to include room temp (that one is easy) and the pH values of the tank.
bigd603 is offline  
post #163 of 208 (permalink) Old 01-31-2013, 08:08 PM
Moderator
 
Darkblade48's Avatar
 
Join Date: Jan 2008
Location: Toronto/Singapore
Posts: 10,261
Quote:
Originally Posted by bigd603 View Post
I would love to change it around to get rid of the LED array graph, since I dont use an LED lighting system and get some real time weather data in there, and replace the monitors and alerts pane to include room temp (that one is easy) and the pH values of the tank.
Glad you managed to get the code working.

Removing/changing the LED lighting system is not hard, it is just a matter of going through the code and deleting the extraneous data

For the real time weather data, do you plan to get it from the internet?

From what I recall, the Jarduino does not have any code for pH monitoring, so you will have to find some examples and cobble it together.

Anthony

A Primer to Pressurized CO2 and A Primer to Planted Tanks
Eheim Pimp #362 - Eheim 2213 x2, Eheim 2028, Eheim 2217, Eheim surface skimmer and Eheim autofeeder.
Victor Pimp #33 - HPT272-125-350-4M
Darkblade48 is online now  
post #164 of 208 (permalink) Old 01-31-2013, 08:14 PM
Planted Member
 
Join Date: May 2011
Location: Portland, OR
Posts: 286
Re: DIY Aquarium Touchscreen Controller

Quote:
Originally Posted by Darkblade48 View Post
For the real time weather data, do you plan to get it from the internet?

From what I recall, the Jarduino does not have any code for pH monitoring, so you will have to find some examples and cobble it together.
The weather idea is down the road after I have a much firmer grasp on all this stuff, but yeah that would come from the internet, possibly an RSS feed. Would have to pick up an Ethernet shield for that.

I grabbed the pH stamp from Atlas Scientific and a probe from eBay, I imagine I can plug in the sketch they provide.

Sent from my Galaxy Nexus using Tapatalk 2
bigd603 is offline  
post #165 of 208 (permalink) Old 01-31-2013, 08:18 PM
Moderator
 
Darkblade48's Avatar
 
Join Date: Jan 2008
Location: Toronto/Singapore
Posts: 10,261
Quote:
Originally Posted by bigd603 View Post
The weather idea is down the road after u have a much firmer grasp on all this stuff, but yeah that would come from the internet, possibly an RSS feed. Would have to pick up an Ethernet shield for that.
That will be interesting to see!

Quote:
Originally Posted by bigd603 View Post
I grabbed the pH stamp from Atlas Scientific and a probe from eBay, I imagine I can plug in the sketch they provide.
Plugging in the code is the easy part; making it play nice with everything else is the hard part

Anthony

A Primer to Pressurized CO2 and A Primer to Planted Tanks
Eheim Pimp #362 - Eheim 2213 x2, Eheim 2028, Eheim 2217, Eheim surface skimmer and Eheim autofeeder.
Victor Pimp #33 - HPT272-125-350-4M
Darkblade48 is online now  
Reply

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the The Planted Tank Forum forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in









Human Verification

In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.



Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode



Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome