Monday, April 17, 2017

Playing With the New Caspa Cameras and Intel Joule Module

They're Here!

I'm very excited.  I've been waiting for these cameras for a while and they finally came into the office last week. The Gumstix store has added two new cameras to the Caspa family and they are fantastic: 

The Caspa HD is a 5 megapixel OV5670 imaging sensor.  A two-lane MIPI CSI-2 communication bus, 1.12-micron pixel, and 60 Hz framerate at 1080p make this a fantastic camera for mobile hardware designs.

The Caspa 4K is the 13MP Sony IMX214 with an auto-focus lens, 'HDR Movie' mode and 30 FPS 4K video.  The 4-lane CSI-2 bus delivers 4K video at 30 FPS for smooth, crisp Ultra-HD streaming and recording.



The best part about these two new additions is that they are 100% compatible with the Intel Joule module out of the box, which I'm also excited to have added to our store.

EDIT: The Intel Joule's pins and BIOS is set up such that the Caspa 4K connects to the JCAM1 connector on the module and Caspa HD to JCAM2!

One Stop Joule Shop

Let's recap some of the latest additions to the Gumstix store and the Geppetto module library:

  • First, there were the boards.  A connector-saving interposer and 5 board designs to cover a wide variety of projects and functions:
  • At the same time the connector module for the Intel Joule was added to the Geppetto D2O library so customers could quickly and easily design their own Joule expansion boards.
  • A little later, the Nodana, a 96Boards Consumer Edition-compliant Joule expansion was released.
  • Recently, the Active Cooling System for Intel Joule module was also added.
  • And now, all together Gumstix has added:
Gumstix is definitely a one-stop shop for anything you might need for the Intel Joule module, INCLUDING your very own custom expansion board.

Testing, Testing

Nope, I would not tell you about anything Gumstix if I hadn't already taken it out for a spin.  I hooked up both cameras to one of the office's Joules, flashed the BIOS and updated the disk image, and ran some tests.  This is what I can report:

As advertised, these cameras work out of the box.  Both have exceptional image quality for their classes, and the AF feature of the 4K is very effective.  I recorded a little demo reel in UHD just to show you.



It was literally this easy: 
  1. Update Joule firmware and reference OS disk image (https://software.intel.com/en-us/iot/hardware/joule/downloads)
  2. Power up the board and open up a terminal window in the Joule's XFCE desktop
  3. Enter a gstreamer command to start streaming video to the desktop
    • for Caspa 4K: 
    • $ gst-launch-1.0 icamerasrc device-name=0 io-mode=3 ! video/x-raw,format=NV12,width=1920,height=1080 ! vaapisink dmabuf-alloc-tiled=true
    • for Caspa HD:
    • $ gst-launch-1.0 icamerasrc device-name=1 io-mode=3 ! video/x-raw,format=NV12,width=1920,height=1080 ! vaapisink dmabuf-alloc-tiled=true
  4. SMILE!!!
Yep, that's it

I think you'll find the price of the new cameras very appealing as well at $25 and $30 (USD).  So if you're looking for a CSI camera for your Joule project, you'll find it, and many other tools you might need, in the Gumstix store!

Wednesday, April 5, 2017

Jumpnow Technologies has tamed RTC Trickle-Charging and Yocto on DuoVero

Jumpnow Technologies, a software consulting group and a Gumstix Verified Design Consultant recently posted an pair of instructional articles to help DuoVero developers get things done.

Building Duovero Systems with Yocto shows you how to assemble the meta layers and development tools you need to generate your own custom flavor of DuoVero-compatible Linux.  Everything from build machine setup to SD card prep is succinctly covered.  Now Gumstix has its own guide at gumstix.org, and our own yocto resources in our public repositories but the guide from Jumpnow is great for getting you started with application-specific custom builds.

Duovero Real-Time Clock answers the question "How do I set up trickle-charging  on the Parlor's RTC module?"  I know, that's probably been wracking your brain for months.  TI's TWL6030 has backup battery charging capabilities, but it is disabled by default.  Jumpnow's guide provides helpful instructions and a Linux 4.4 patch that gets the RTC registers configured to do the job.

Thanks to Jumpnow for providing these resources and many other instructional articles for Gumstix COMs, Raspberry Pi, BeagleBone Black, and more.

AS A DISCLAIMER: I have to point out that charging Li-Ion and LiPo cells can be dangerous and lead to damage, fire, or physical injury.  If you enable trickle charging on any Gumstix board, you do so at your own risk.