All times are UTC + 8 hours




Post new topic Reply to topic  [ 56 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
PostPosted: Oct 18th, '14, 14:21 
Offline
Newbie
Newbie

Joined: Oct 16th, '14, 11:47
Posts: 44
Gender: Male
Are you human?: Almost...
Location: Northern Victoria
Hi All,

BullwinkleII has suggested I make thread here regarding the automation I have set up for my fish tank at the moment, so here goes!

Last year I bought a Raspberry Pi (http://www.raspberrypi.org/) for some reason or another, I think to set up a HTPC, or to procrastinate from exams or something..

As I got into it I realized I could set it up to monitor and control various aspects of my fish tank, so, I went out and bought some temperature probes, and a few relay modules.

Fast forward to now, I now have a setup with a few temp probes, one in the fish tank, and one measuring ambient temperature, which are connected to the Pi, that I use to generate entries into a MySQL server (which is also running on the Pi). This allows me to perform various functions on the data, such as generating graphs, feeding the fish based on temperature, as well as searching and displaying various data.

I also have a few IP camera's set up in the fish tank, which I view through the website.
One of these is underwater, in some 90mm PVC.

I have a few feeders set up, which are constructed from PVC, an auger drill bit, a servo motor, and a mount made up by my dad (who likes to weld :) ).

I drive the servo's from the Pi, and also have their power running through a relay, just for a bit of added protection.. I'm not home at the moment, but can take photo's of the actual design in a week or so, if anyone is interested.

I have the IP cameras pointed in the general direction of the feeders, so I can make sure the feedings are happening. When the feeding happens, I also record the stream of the video, convert the video to mp4 (using the Pi) and then host it on the website as well :).

I also have a 15W led mounted in the tank, that I can turn on and off from the website, via the Pi.


Here's a few pictures of the front end website (also hosted on the Pi) that displays all the info.

Attachment:
File comment: overview, website
2014-10-18 17_06_22-RPi Aquaculture.png
2014-10-18 17_06_22-RPi Aquaculture.png [ 39.02 KiB | Viewed 7727 times ]

Attachment:
2014-10-18 17_16_25-RPi Aquaculture.png
2014-10-18 17_16_25-RPi Aquaculture.png [ 511.68 KiB | Viewed 7727 times ]

Attachment:
2014-10-18 17_19_18-RPi Aquaculture.png
2014-10-18 17_19_18-RPi Aquaculture.png [ 509.4 KiB | Viewed 7727 times ]


Top
 Profile  
Reply with quote  
    Advertisement
 
PostPosted: Oct 18th, '14, 14:24 
Offline
Newbie
Newbie

Joined: Oct 16th, '14, 11:47
Posts: 44
Gender: Male
Are you human?: Almost...
Location: Northern Victoria
And a few more photo's.


Attachment:
2014-10-18 17_18_39-RPi Aquaculture.png
2014-10-18 17_18_39-RPi Aquaculture.png [ 490.38 KiB | Viewed 7726 times ]

Attachment:
2014-10-18 17_18_58-RPi Aquaculture.png
2014-10-18 17_18_58-RPi Aquaculture.png [ 38.55 KiB | Viewed 7726 times ]


Also, as a note, I drew way too much inspiration from a user who posted their website a long time ago, dutchmark was the name of the person. So, some credit to him for the web design!

viewtopic.php?f=8&t=19423


Top
 Profile  
Reply with quote  
PostPosted: Oct 18th, '14, 16:30 
Offline
Seriously, this cant be healthy.
Seriously, this cant be healthy.
User avatar

Joined: Mar 26th, '10, 20:46
Posts: 5276
Location: South Australia
Gender: Male
Are you human?: Yep
Location: South Australia
Mmmmm data

Nice work.

_________________
-

My system

120 THINGS IN 20 YEARS - My blog about my learning adventure

My skills include being able to move slowly forward in time, and if I really concentrate, I can sometimes tell what I'm thinking.


Top
 Profile  
Reply with quote  
PostPosted: Oct 18th, '14, 19:05 
Offline
A posting God
A posting God

Joined: Jul 29th, '13, 07:58
Posts: 3382
Gender: Male
Are you human?: yes
Location: West Florida, USA
Very cool, I want one.


Top
 Profile  
Reply with quote  
PostPosted: Oct 18th, '14, 19:24 
Offline
Newbie
Newbie

Joined: Oct 16th, '14, 11:47
Posts: 44
Gender: Male
Are you human?: Almost...
Location: Northern Victoria
They're only around $40-$50!

But, it has been a whole lot of time working it all out :)


Top
 Profile  
Reply with quote  
PostPosted: Oct 18th, '14, 22:23 
Offline
Seriously, this cant be healthy.
Seriously, this cant be healthy.
User avatar

Joined: Mar 26th, '10, 20:46
Posts: 5276
Location: South Australia
Gender: Male
Are you human?: Yep
Location: South Australia
It's nice to see someone use the international date format as well.

It sorts so nicely.

My greatest achievement in life has been to get my mum to end every file name with it.

_________________
-

My system

120 THINGS IN 20 YEARS - My blog about my learning adventure

My skills include being able to move slowly forward in time, and if I really concentrate, I can sometimes tell what I'm thinking.


Top
 Profile  
Reply with quote  
PostPosted: Oct 18th, '14, 22:44 
Offline
A posting God
A posting God
User avatar

Joined: Jul 6th, '14, 20:25
Posts: 3843
Location: 2.2 kilometers up, NM, USA
Gender: Male
Are you human?: Series of particles
Location: Sapello, New Mexico USA
Data is cool, would also love to see some code

_________________
:wave1: Brian's AP
:dontknow: I don't understand all I know about this :dontknow:
Specs: 2600 gallon (347.56cf) Masonry fish pond. 44cf GBs. 200 gal (26.7cf) ST. 15 gal (2cf) RFF. 50 gal (6.7cf) biofilter. Brook trout and Comets.


Top
 Profile  
Reply with quote  
PostPosted: Oct 19th, '14, 02:34 
Offline

Joined: Oct 19th, '14, 02:30
Posts: 1
Gender: Male
Are you human?: YES
Location: Oklahoma, USA
I agree with Boss, I'd like to see the code. Awesome project by the way.


Top
 Profile  
Reply with quote  
PostPosted: Oct 19th, '14, 04:58 
Offline
Seriously, this cant be healthy.
Seriously, this cant be healthy.
User avatar

Joined: Feb 23rd, '07, 03:48
Posts: 6715
Location: Lyonville Victoria
Gender: Male
Are you human?: yes
Location: Lyonville
Jealous :(

I'm curious about your FT.

Is it a liner floating in a pond?
A cage net?
Or just a fancy liner in a box like most of us do?

_________________
Grow more with less


http://www.FishFarmers.com.au
https://www.facebook.com/fisharmers?ref=aymt_homepage_panel
http://hedgerowfarm.com.au/
https://www.facebook.com/HedgerowFarmVictoria/


Top
 Profile  
Reply with quote  
PostPosted: Oct 19th, '14, 08:40 
Offline
Newbie
Newbie

Joined: Oct 16th, '14, 11:47
Posts: 44
Gender: Male
Are you human?: Almost...
Location: Northern Victoria
That date format so very good for sorting.
Sneaking it into the documentation system at work, where I can :)

To be honest guys, there is nothing very special in particular with the code.
The way I get information into the webserver is to run a python script every 10 minutes that prints the html to file.
So the webserver is never 100% up to date, but it is always refreshing the information

Regarding the feeding, just a simple python script again that turns a relay on, then a servo on, waits however long i have configured for the feed to go for, then turns the servo off, and then the relay off..
To calculate the feed time i'm using just a python switch statement to calculate the correct amount to feed (or near enough). Here is an excerpt.

Code:
#amount to feed - in grams
if (tempTank > 28):
    feed_multiplier = 1.45
if (tempTank > 27 and tempTank <= 28):
    feed_multiplier = 1.4
if (tempTank > 26 and tempTank <= 27):
    feed_multiplier = 1.35
if (tempTank > 25 and tempTank <= 26):
    feed_multiplier = 1.3
if (tempTank > 24 and tempTank <= 25):
    feed_multiplier = 1.25
if (tempTank > 23 and tempTank <= 24):
    feed_multiplier = 1.2
if (tempTank > 22 and tempTank <= 23):
    feed_multiplier = 1.15
if (tempTank > 21 and tempTank <= 22):
    feed_multiplier = 1.1
if (tempTank > 20 and tempTank <= 21):
    feed_multiplier = 1.05
if (tempTank > 19 and tempTank <= 20):
    feed_multiplier = 1.0
if (tempTank > 18 and tempTank <= 19):
    feed_multiplier = .95
if (tempTank > 17 and tempTank <= 18):
    feed_multiplier = .9
if (tempTank > 16 and tempTank <= 17):
    feed_multiplier = .85
if (tempTank > 15 and tempTank <= 16):
    feed_multiplier = .8
if (tempTank > 14 and tempTank <= 15):
    feed_multiplier = .75
if (tempTank > 13 and tempTank <= 14):
    feed_multiplier = .7


If anyone wants any code in particular, let me know :)


Top
 Profile  
Reply with quote  
PostPosted: Oct 19th, '14, 09:01 
Offline
Newbie
Newbie

Joined: Oct 16th, '14, 11:47
Posts: 44
Gender: Male
Are you human?: Almost...
Location: Northern Victoria
Stuart Chignell wrote:
Jealous :(

I'm curious about your FT.

Is it a liner floating in a pond?
A cage net?
Or just a fancy liner in a box like most of us do?



Its a cage net, inside a big 35000L bore water settling tank, which already had around 100 150mm silvers in it.
I decided that I wanted to get some trout, so i've made a cage that goes inside of it, while I think about where I want them to go next :).

Heres a video of the silvers from this morning's 10:30am feeding:


Here's a few more that i've uploaded a while ago:
https://www.youtube.com/user/nicbaz1/videos


Top
 Profile  
Reply with quote  
PostPosted: Oct 19th, '14, 09:14 
Offline
Seriously, this cant be healthy.
Seriously, this cant be healthy.
User avatar

Joined: Feb 23rd, '07, 03:48
Posts: 6715
Location: Lyonville Victoria
Gender: Male
Are you human?: yes
Location: Lyonville
Cool. So what is the material?

_________________
Grow more with less


http://www.FishFarmers.com.au
https://www.facebook.com/fisharmers?ref=aymt_homepage_panel
http://hedgerowfarm.com.au/
https://www.facebook.com/HedgerowFarmVictoria/


Top
 Profile  
Reply with quote  
PostPosted: Oct 19th, '14, 09:23 
Offline
Newbie
Newbie

Joined: Oct 16th, '14, 11:47
Posts: 44
Gender: Male
Are you human?: Almost...
Location: Northern Victoria
Is like a heavy duty bird netting, from Bunnings.
Which i can't for the life of me find on their website, sorry!
It's the type that you'd put around trees in an orchid.

And wrapped around a cage made of 20mm pvc.


Top
 Profile  
Reply with quote  
PostPosted: Oct 19th, '14, 20:19 
Offline
A posting God
A posting God
User avatar

Joined: Jul 6th, '14, 20:25
Posts: 3843
Location: 2.2 kilometers up, NM, USA
Gender: Male
Are you human?: Series of particles
Location: Sapello, New Mexico USA
That camera is pointing up? quite unusual, neat
I am also thinking of trout. I shot these videos last weeks at a local fish hatchery. These are on a USA threatened list: They are called Gila trout and are from southern New Mexico
[youtube]http://youtu.be/WDNggN5xRFI?list=UUd6hLy_zi5ltWrrEpgSTl5A[/youtube]
Okay not sure that worked

_________________
:wave1: Brian's AP
:dontknow: I don't understand all I know about this :dontknow:
Specs: 2600 gallon (347.56cf) Masonry fish pond. 44cf GBs. 200 gal (26.7cf) ST. 15 gal (2cf) RFF. 50 gal (6.7cf) biofilter. Brook trout and Comets.


Top
 Profile  
Reply with quote  
PostPosted: Oct 20th, '14, 10:11 
Offline
Newbie
Newbie

Joined: Oct 16th, '14, 11:47
Posts: 44
Gender: Male
Are you human?: Almost...
Location: Northern Victoria
Nah it's inside a big tank, pointing at the cage that is inside that tank :)
Its reasonably horizontal.

To paint a better picture, the tank looks a little like this
Attachment:
showcase3e.jpg
showcase3e.jpg [ 15.67 KiB | Viewed 7571 times ]


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

All times are UTC + 8 hours


Who is online

Users browsing this forum: No registered users and 5 guests


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:  

Powered by phpBB® Forum Software © phpBB Group
Portal by phpBB3 Portal © phpBB Türkiye
[ Time : 0.366s | 20 Queries | GZIP : Off ]