Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

X_Digger

(18,585 posts)
Fri Feb 22, 2013, 08:57 PM Feb 2013

Fun little project I threw together..

I'm in the middle of setting up a new fish tank and equipment room. In our old house, I had a couple of webcams and usb microscope cameras pointed at the tank. I made a page that the cameras are embedded in, and I also switch out different images in the page depending on the status (on/off) of different devices, pulled from the tank controller I use.

While the new tank is empty, I figured I'd add something to play with.

http://www.rowelab.com/fish/camera/ -- click 'spin the fish'

It's a phidgets SBC running debian, with a stepper motor controller and a stepper motor from an old printer.

10 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Fun little project I threw together.. (Original Post) X_Digger Feb 2013 OP
This is cool. Is this eventually going to be pointed at the fish? limpyhobbler Feb 2013 #1
Yup! X_Digger Feb 2013 #2
Very cool. limpyhobbler Feb 2013 #3
truly awesome. Phillip McCleod Feb 2013 #4
Python- it seemed to be the quickest to bring up. X_Digger Feb 2013 #5
good choice imo Phillip McCleod Feb 2013 #8
Well hacked, sir! Recursion Feb 2013 #6
Hehe, thanks! Most of my tinkering involves my tank.. X_Digger Feb 2013 #7
We got bored, so... X_Digger Apr 2013 #9
A small update.. X_Digger Oct 2013 #10

X_Digger

(18,585 posts)
2. Yup!
Fri Feb 22, 2013, 09:18 PM
Feb 2013

I'll fab up a bracket to put the cameras closer to the tank, so that you can pan around and look at the fish and corals.

I'll also set up the USB microscopes again, which will be pointed at the sand / water interface in the refugium (a place to grow and harvest macroalgae to export nitrates.) You see some interesting little critters with a biodiverse marine tank.



For scale, those hairy looking strings are bacteria.

X_Digger

(18,585 posts)
5. Python- it seemed to be the quickest to bring up.
Sat Feb 23, 2013, 10:18 AM
Feb 2013

I didn't do an application framework or anything, just plain old mod_cgi in apache.

X_Digger

(18,585 posts)
7. Hehe, thanks! Most of my tinkering involves my tank..
Sat Feb 23, 2013, 12:41 PM
Feb 2013

I wrote a tcl script to scrape the stats from my tank controller and they get pushed to the scrolling sign in my office..



And I made a service that others with tank controllers can use to generate signatures for forum posts..






eta: I eventually want to make a set of rails for the stepper motors, to move the camera itself up and down, left and right, rather than just having it pivot from the same fixed point.

X_Digger

(18,585 posts)
10. A small update..
Thu Oct 24, 2013, 08:27 PM
Oct 2013

Last edited Thu Oct 24, 2013, 10:42 PM - Edit history (1)

I made a.. I guess it'd be a one-axis CNC camera. I picked up a bit of MakerSlide from inventables.com along with a few bearings, pulleys, and a toothed belt. I made a tram for the camera to ride on, controlled by a stepper motor.



Click 'Shift Cam Left' and 'Shift Cam Right' to move the camera.

http://srv.rowelab.com/fish/camera/index_test.php

Be easy on it, I don't have limit switches in place at the ends.



Latest Discussions»Culture Forums»Open Source and Free Software»Fun little project I thre...