Connect UDOO’s Camera Module

Let’s see how to connect the brand new UDOO’s Camera Module, and use it with Android and Ubuntu. The camera comes bundled with a ribbon wire. What you have to do is just lift the brown strip on the Camera Connector on UDOO, insert the other end of the ribbon wire in it, and tight the brown strip again. Done. Please make sure the blue coloured part of the Ribbon Wire looks to the outer side of UDOO, and the wire itself is pushed as deep as it goes.

Once you succesfully hooked the Camera Module, all you have to do is have fun with it. On Android, the camera is automatically recognized and is ready to be used. Open the Camera App to see it yourself.

With UDOO’s Ubuntu, you can use it with Freescale-provided element mfw_v4lsrc

Two examples are:

  • To get camera’s stream in Fullscreen’s transparency mode, you can use
gst-launch-0.10 mfw_v4lsrc ! mfw_v4lsink
  •  To retrive camera’s stream in windowed mode, use
gst-launch-0.10 mfw_v4lsrc ! ffmpegcolorspace ! ximagesink

If you wish to retrieve more information on mfw_v4lsrc, you can use

gst-inspect mfw_v4lsrc

on terminal, or refer to Freescale’s Related Docs:

A simpler way, if you’re using UDOOBuntu is to use UDOO’s configuration Tool, simply enable camera module and enjoy!

That’s it! Enjoy!

Submit a comment