# Electronic package topside, Camera, light, depth and temperature sensor subsea

**URL:** <https://discuss.bluerobotics.com/t/electronic-package-topside-camera-light-depth-and-temperature-sensor-subsea/3638>\
**Category:** General Discussion\
**Created:** [October 25, 2018, 9:41pm UTC](https://discuss.bluerobotics.com/t/electronic-package-topside-camera-light-depth-and-temperature-sensor-subsea/3638 "2018-10-25T21:41:33Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![danzimmerman](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/danzimmerman/32/2209_2.png) [@danzimmerman](https://discuss.bluerobotics.com/u/danzimmerman)\
**Post date:** [May 6, 2019, 8:08pm UTC](https://discuss.bluerobotics.com/t/electronic-package-topside-camera-light-depth-and-temperature-sensor-subsea/3638/8 "2019-05-06T20:08:30Z")

</div>

Hey, Dustin, I don’t have pics or much detail to share, but I can tell you I used a Raspberry Pi Zero W and [Ethernet Hub and USB Hub w/ Micro USB OTG Connector : ID 2992 : $14.95 : Adafruit Industries, Unique & fun DIY electronics and kits](https://www.adafruit.com/product/2992)

I’m running Raspbian Stretch on the Pi. I _think_ that `gstreamer/gst-launch-1.0` is installed by default and that installation works to stream video, but I can’t tell you that for sure.

The hardware/software config is like the diagram shown here:

> [@BR for dummies QGC & Gstreamer](https://discuss.bluerobotics.com/t/br-for-dummies-qgc-gstreamer/667/4):
>
> Here’s a first draft made by @jwalser. We’ll make a better looking version, but first, any feedback? This explains how different components of the system are connected in hardware and software.

However, the USB camera doesn’t require the `raspivid` software part… and there’s no pixhawk so you don’t need the `MAVProxy` part.

`gstreamer` is software that reads the video from the camera and sends it over the network to QGC. It is launched by a `gst-launch-1.0` command as discussed here:

> [@Using Blue Robotics Low LIght USB cameras in ROV system](https://discuss.bluerobotics.com/t/using-blue-robotics-low-light-usb-cameras-in-rov-system/2097/4):
>
> gst-launch-1.0 -v v4l2src device=$DEVICE do-timestamp=true ! video/x-h264, width=$WIDTH, height=$HEIGHT, framerate=$FRAMERATE/1 ! h264parse ! queue ! rtph264pay config-interval=10 pt=96 ! udpsink host=192.168.2.1 port=5600 Change the device, width, height, framerate, and client ip/port as necessary for multiple streams. You should do a bandwidth test because other factors like power supply and cable/connector quality/disrepair can affect video quality.

Again, I believe, unlike the issues I had in that thread, that the `gstreamer` installed on recent Raspbian (or at least installed using the `apt` package manager) is fine, but I’m not 100% sure. I’d have to try it with a fresh install, which I can’t do right now.

My tests so far of the video streaming from the Blue Robotics USB Low Light Camera with that Adafruit USB hub and Pi Zero were limited to a quick go/no-go check to see if it was basically feasible, and it seemed to work okay. I haven’t stress-tested it, and I don’t have good notes about precisely what I did with it, but I think since the camera handles the compression, the Pi Zero doesn’t have that much to do.

---

_[View the full topic](https://discuss.bluerobotics.com/t/electronic-package-topside-camera-light-depth-and-temperature-sensor-subsea/3638)._
