Diy raspberry pi underwater camera
Forum rules
This section of the forum is for sensible people to discuss ideas and display things they've designed, created or fixed, it is not for people to talk about filth, religion or politics!
This section of the forum is for sensible people to discuss ideas and display things they've designed, created or fixed, it is not for people to talk about filth, religion or politics!
- Andrew
- Bailiff
- Posts: 15496
- Joined: Wed Nov 02 2011 05:00
Diy raspberry pi underwater camera
Picked up one of these little beauties earlier. A raspberry Pi 3 model b for £36
I had a version 1 but it died when i decided to put it to use
The plan was a wild life cam then an underwater cam and now both! The unit has wifi so i intend to set it up as a wifi hotspot start a cam server and dial in to it by connecting phones wifi to the raspberry and access the feed via the phones browser (already partly working, slow frame rate though)
It can easily be set to just record motion as a wildlife cam or constant stream for under water.
Something else i found briefly are people using cheap transducers on em for depth finding!!! (Thats a project for later)
Oh and kodi too
I went in to my odds and ends box and found an old cctv camera. I intend to remove the camera from it as the Pi doesnt have analog input and replace it with the usb webcam and hopefuly repurpose the infra red lights that are already in it and get it sealed up so its water proof.
Not bad for a powerful wee £36 computer as the other bits ive picked up along the way for free
I might have to upgrade the webcam at a later date its not the best quality but it will do as a proof of concept.
I had a version 1 but it died when i decided to put it to use
The plan was a wild life cam then an underwater cam and now both! The unit has wifi so i intend to set it up as a wifi hotspot start a cam server and dial in to it by connecting phones wifi to the raspberry and access the feed via the phones browser (already partly working, slow frame rate though)
It can easily be set to just record motion as a wildlife cam or constant stream for under water.
Something else i found briefly are people using cheap transducers on em for depth finding!!! (Thats a project for later)
Oh and kodi too
I went in to my odds and ends box and found an old cctv camera. I intend to remove the camera from it as the Pi doesnt have analog input and replace it with the usb webcam and hopefuly repurpose the infra red lights that are already in it and get it sealed up so its water proof.
Not bad for a powerful wee £36 computer as the other bits ive picked up along the way for free
I might have to upgrade the webcam at a later date its not the best quality but it will do as a proof of concept.
You do not have the required permissions to view the files attached to this post.
-
- Barbel
- Posts: 4271
- Joined: Tue Jan 15 2013 06:00
- Location: lea valley or used to be
Re: New project - underwater/wildlife camera and echo sounder in 1
Aint got a clue what you are talking about bot i know i want one.I wonder if you can help me please,As soon as i go to reply to anything,in the box at the top it comes up NOT SECURE
Nothing wrong with me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1 Its everyone else.
- Andrew
- Bailiff
- Posts: 15496
- Joined: Wed Nov 02 2011 05:00
Re: New project - underwater/wildlife camera and echo sounder in 1
You only want it cause its called a raspberry pi
Didnt know there had been replies here. Unsecure thing been sorted
Still trying to setup the camera streaming. I had it going but it was waaay too laggy loke 5 second delay in the stream so trying something different.
Didnt know there had been replies here. Unsecure thing been sorted
Still trying to setup the camera streaming. I had it going but it was waaay too laggy loke 5 second delay in the stream so trying something different.
-
- Stickleback
- Posts: 45
- Joined: Fri Sep 02 2016 13:42
- Location: Cambridgeshire
Re: New project - underwater/wildlife camera and echo sounder in 1
Interesting! I recently purchased a raspberry pi zero w for a fishing related project. Hadn't considered adding an underwater camera to it. I'd be keen to see how you get on with that.
- Andrew
- Bailiff
- Posts: 15496
- Joined: Wed Nov 02 2011 05:00
Re: New project - underwater/wildlife camera and echo sounder in 1
skov wrote: ↑Fri Nov 24 2017 19:25 -Ive been running raspbian for the os. I found something called Motion that streamed to a browser but noticed it was filling the card with jpeg images.Interesting! I recently purchased a raspberry pi zero w for a fishing related project. Hadn't considered adding an underwater camera to it. I'd be keen to see how you get on with that.
The top dog appears to be a program called UV4L. There are two things note, if your using a generic usb camera you want to look in to UV4L-uvc.
The pi 3 has its own camera module that connects via ribbon cable close to the Pi itself, dont know if the pi zero does In that case you need to look in to UV4L-raspicam.
Im sticking with a usb camera even though raspicam would probably be the better option as a cam. all thats going to be underwater is the usb cam on an extension cable. The Pi ill have in housing above water.
- Andrew
- Bailiff
- Posts: 15496
- Joined: Wed Nov 02 2011 05:00
Re: Diy raspberry pi underwater camera
The experiment is going well.
Ive sinced move away from the full raspbian OS in favour of this http://www.linux-projects.org/rpi-video ... e-demo-os/
it still uses the UV4l package I was talking about earlier although the guys have created a whole slimmed down OS for it (rasbian, so security updates will be easy to obtain). There is no graphical interface, only command line but its all ready to go almost out of the box.. its brought the lag down a good bit enough that it is watchable.
the above OS also has a package called Janus Gateway which I intend on removing from the OS as ive no need for it but all the UV4l stuff has been pre setup rather nicely and is usb webcam and raspicam ready.
I skipped the setup instructions for passwords and ssl, I'll do that last once I know if this is the option ill be choosing.
oddly though it has to be connected via ethernet cable at first which I find odd.
this is all I done from the setup guide:
this downloads the wifi drivers.
after that I headed for http://device_ip:8080 and there it was live stream on my phones browser (works with vlc media player but the lag is even worse)
I think though when I put this to use ill be getting the raspicam module(1080p!), usb cam just does not cut it, there is no hardware processing going on which is why im getting the lag, a h.264 usb camera might be better.. I found there are ways to extend the raspicamera away from the board using a converter for the ribbon cable there are two option, HDMI cable with converter or cat5 cable and converter.
ill be going with the cat5 cable I think as its cheaper than hdmi cable and ive got hundreds of feet of the stuff.
Ive sinced move away from the full raspbian OS in favour of this http://www.linux-projects.org/rpi-video ... e-demo-os/
it still uses the UV4l package I was talking about earlier although the guys have created a whole slimmed down OS for it (rasbian, so security updates will be easy to obtain). There is no graphical interface, only command line but its all ready to go almost out of the box.. its brought the lag down a good bit enough that it is watchable.
the above OS also has a package called Janus Gateway which I intend on removing from the OS as ive no need for it but all the UV4l stuff has been pre setup rather nicely and is usb webcam and raspicam ready.
I skipped the setup instructions for passwords and ssl, I'll do that last once I know if this is the option ill be choosing.
oddly though it has to be connected via ethernet cable at first which I find odd.
this is all I done from the setup guide:
Code: Select all
sudo apt-get install firmware-brcm80211 wireless-tools
after that I headed for http://device_ip:8080 and there it was live stream on my phones browser (works with vlc media player but the lag is even worse)
I think though when I put this to use ill be getting the raspicam module(1080p!), usb cam just does not cut it, there is no hardware processing going on which is why im getting the lag, a h.264 usb camera might be better.. I found there are ways to extend the raspicamera away from the board using a converter for the ribbon cable there are two option, HDMI cable with converter or cat5 cable and converter.
ill be going with the cat5 cable I think as its cheaper than hdmi cable and ive got hundreds of feet of the stuff.
- Bob Watson
- Zander
- Posts: 8029
- Joined: Sun Aug 28 2011 05:00
- Location: Stockton on Redacted
Re: Diy raspberry pi underwater camera
I'm glad you know what you're on about
- davelumb
- Forum Sponsor
- Posts: 42345
- Joined: Sat Aug 27 2011 05:00
- Location: On some faraway beach
- Contact:
- Andrew
- Bailiff
- Posts: 15496
- Joined: Wed Nov 02 2011 05:00
Re: Diy raspberry pi underwater camera
Took a break from getting the underwater camera side of things until i decide to get hd camera module and installed kodi.
Dont have a remote but found a web interface setting, happy days. i browse to the ip address and there it is an interface for the addons and an onscreen remote. Handles the new kodi quite well after allocating it mire ram and gpu. Did get some lockups during setup but its calmed down now im using it normally.
Dont have a remote but found a web interface setting, happy days. i browse to the ip address and there it is an interface for the addons and an onscreen remote. Handles the new kodi quite well after allocating it mire ram and gpu. Did get some lockups during setup but its calmed down now im using it normally.
You do not have the required permissions to view the files attached to this post.
- Andrew
- Bailiff
- Posts: 15496
- Joined: Wed Nov 02 2011 05:00
Re: Diy raspberry pi underwater camera
Been working on a web browser interface of my own for controlling all these. keyboard, mouse, and shell client is a pain in the a**e
if anyones interested , ive settled on apache and php running on the Pi using named pipes that picks up data sent to a fifo running in a python script. with this I can load my programs, kodi for example or start the webcam streaming, then make my own onscreen remote control that works across the board as the chorus 2 only works on kodi when its running and its s**t (buttons too small for touch screen)
making slow but good progress
if anyones interested , ive settled on apache and php running on the Pi using named pipes that picks up data sent to a fifo running in a python script. with this I can load my programs, kodi for example or start the webcam streaming, then make my own onscreen remote control that works across the board as the chorus 2 only works on kodi when its running and its s**t (buttons too small for touch screen)
making slow but good progress
- Andrew
- Bailiff
- Posts: 15496
- Joined: Wed Nov 02 2011 05:00
Re: Diy raspberry pi underwater camera
Interesting discovery, the message "hdmi cec enabled" kept popping up when kodi was turned on. Ignored it for a while but thought id google it now. Turns out it allows data to be sent over hdmi while its plugged in to the tv meaning you can use the tellies own remote to control kodi on the pi.
Had to enable the setting on the tv before it would work. Not all tv's call it "hdmi cec" btw.
Had to enable the setting on the tv before it would work. Not all tv's call it "hdmi cec" btw.
-
- Zander
- Posts: 5584
- Joined: Mon Aug 29 2011 05:00
Re: Diy raspberry pi underwater camera
My IT guy built a replica first gen Nintendo SNES with a Raspberry Pi and installed all the early games on it. Nice.
- Andrew
- Bailiff
- Posts: 15496
- Joined: Wed Nov 02 2011 05:00
Re: Diy raspberry pi underwater camera
andrew_nagel wrote: ↑Fri Jan 05 2018 01:14 -Seen one put in a gameboy too full of retro gamesMy IT guy built a replica first gen Nintendo SNES with a Raspberry Pi and installed all the early games on it. Nice.
- Bob Watson
- Zander
- Posts: 8029
- Joined: Sun Aug 28 2011 05:00
- Location: Stockton on Redacted
Re: Diy raspberry pi underwater camera
andrew_nagel wrote: ↑Fri Jan 05 2018 01:14 -Could he do me Manic Miner on the ZX Spectrum? Now that would be retro!!My IT guy built a replica first gen Nintendo SNES with a Raspberry Pi and installed all the early games on it. Nice.
- Andrew
- Bailiff
- Posts: 15496
- Joined: Wed Nov 02 2011 05:00
Re: Diy raspberry pi underwater camera
Bob Watson wrote: ↑Fri Jan 05 2018 14:05 -Yepandrew_nagel wrote: ↑Fri Jan 05 2018 01:14 -Could he do me Manic Miner on the ZX Spectrum? Now that would be retro!!My IT guy built a replica first gen Nintendo SNES with a Raspberry Pi and installed all the early games on it. Nice.
https://blog.hackster.io/a-beautiful-ra ... 9deb2020ab
- Bob Watson
- Zander
- Posts: 8029
- Joined: Sun Aug 28 2011 05:00
- Location: Stockton on Redacted
Re: Diy raspberry pi underwater camera
Andrew Croft wrote: ↑Fri Jan 05 2018 14:16 -Bob Watson wrote: ↑Fri Jan 05 2018 14:05 -Yepandrew_nagel wrote: ↑Fri Jan 05 2018 01:14 -Could he do me Manic Miner on the ZX Spectrum? Now that would be retro!!My IT guy built a replica first gen Nintendo SNES with a Raspberry Pi and installed all the early games on it. Nice.
https://blog.hackster.io/a-beautiful-ra ... 9deb2020ab
- Tomcox77
- Chub
- Posts: 1902
- Joined: Wed Sep 07 2011 05:00
- Location: Mkt harborough
Re: Diy raspberry pi underwater camera
Bob Watson wrote: ↑Fri Jan 05 2018 14:05 -Great game...used to sit patiently waiting for the tape player to stop schreechin and finally load the game!andrew_nagel wrote: ↑Fri Jan 05 2018 01:14 -Could he do me Manic Miner on the ZX Spectrum? Now that would be retro!!My IT guy built a replica first gen Nintendo SNES with a Raspberry Pi and installed all the early games on it. Nice.