AquaticTechTank.net

A forum dedicated to design and program aquatic tanks
It is currently Wed Jan 17, 2018 3:58 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 43 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
PostPosted: Sun Feb 17, 2013 10:51 am 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 275
The co2 sensor can be found in this project
viewtopic.php?f=11&t=9

And this
viewtopic.php?f=11&t=11


Top
 Profile  
 
PostPosted: Wed Feb 20, 2013 9:00 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 275
I got bored of work today and started coding on this project. I've written a few libraries and used as much C code where possible to lighten up on memory since the arduino doesn't have all that much.

I'm trying to come up with a good name for this project; something along the line of web arduino aquarium controller (WAAC).


Top
 Profile  
 
PostPosted: Sat Feb 23, 2013 11:40 am 
Offline

Joined: Sat Feb 23, 2013 11:03 am
Posts: 13
I just posted in another topic here - i'm using a Raspberry Pi for aquarium monitoring/control. I've got a web interface up so can get to it on any mobile device, pc, tablet, etc. uses mysql database to record metrics, and a php package to do the charting, so i can see trends over time. I'm a former (rusty) C programmer so wrote the control code in C. the advantage of the Pi for me is that it is a fully featured OS - you can do anything. hooked it up to my home wifi network using a $10 usb wifi dongle. if anyone is interested, let me know and i can provide more details.


Top
 Profile  
 
PostPosted: Sat Feb 23, 2013 11:50 am 
Offline

Joined: Mon Feb 11, 2013 6:59 pm
Posts: 4
yes i would be very interested in what ever you may have
doc


Top
 Profile  
 
PostPosted: Sat Feb 23, 2013 1:23 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 275
wow, the PI sounds better all the time. It's basically a mini computer rather than a micro-controller...
I'm a php guy and that's awesome that you can record the metrics onto mysql.

Well, I finally got around to the arduino controller. I'm using ajax to update the time and CO2 values in the browser. I've sped up the video speed so it's easier to see.



The arduino is a web server but it can only serve to one browser at a time. I've tried it on my iPad and it works but only if It's the only connected browser.


Top
 Profile  
 
PostPosted: Tue Mar 05, 2013 10:58 am 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 275
A vid of how you'd add a new device interface to the app.



Each device will have 2 controls or conditions to control it. You can use one or both conditions to control a device.

I have a feeling this plug n play route would be too much for the arduino. I might have to go through the hardcode route but I wouldn't know until I try it out first. It is a heck of a lot more complicated than hardcoding for sure.


Top
 Profile  
 
PostPosted: Sun Mar 10, 2013 12:38 pm 
Offline

Joined: Sat Feb 23, 2013 11:03 am
Posts: 13
re: raspberry pi, see: viewtopic.php?f=35&t=152&p=382&hilit=raspberry+pi+orp#p382


Top
 Profile  
 
PostPosted: Sun Mar 10, 2013 5:02 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 275
doninla wrote:


Yup, I saw. I'm still working with the Arduino. I've been learning C++ classes and inheritance to make this work. I think I got the gist of it. Hope it doesn't take up too much memory. The arduino uno has something like 2 KB of RAM.


Top
 Profile  
 
PostPosted: Sun Mar 24, 2013 10:31 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 275
I made a huge advancement in the project today. Here it is running.
The leds represent relays or solenoids. It is dependent on the time event (RTC) and CO2 level I sent into its logic.



Time event is triggered every minute. Every second is too taxing I think especially, calling the RTC every second. I know it's taxing for the CO2 sensor. It is called every 6 seconds. Any faster and it tends to error out.

In the video, you'll hear me blowing into the sensor to get the CO2 up and then the led turns off.

All in all this is a hefty app for the arduino. So far it takes up 1.3K out of 2K of RAM but it's still within the limit. Yeah!


Top
 Profile  
 
PostPosted: Sat Jan 25, 2014 9:30 am 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 275
I'm back. I've been running another forum for a online university class on programming. That's done with.

I could probably do more video tuts on programming like what I did over there.

Anyway, I'm switching to the rasberry pi for this project. I'm running into hardware and software walls with the arduino.

Sent from my iPad using Tapatalk HD


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 43 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Copyright 2noodles LLC 2012