CM3-Home

Camera interface

On the CM3-Home board is available the same camera interface of the standard Raspberry Pi 3. Since the HDMI video interface is not available, this article explains how to use the camera from the network.

The MIPI connector for the Raspberry Pi cam is placed in the middle of the board closed to the CM3 socket as shown below:

We have chosen this position to place the camera on the front panel of the DIN rail case.

Enable the camera

Insert the camera connector with the blue band oriented to the relay then turn-on the board and access to the Linux prompt using an ssh connection.

Run:

sudo raspi-config

Select Interfacing Options-->P1 Camera and enable the camera interface.

Install this overlay (dt-blob.bin) on the microSD by typing:

sudo wget http://goo.gl/U4t12b -O /boot/dt-blob.bin

Then check if the camera is enabled by typing:

vcgencmd get_camera

Python example

I found on this URL https://blog.miguelgrinberg.com/post/flask-video-streaming-revisited a very easy way to implement example of video streaming made in pure Python written by Miguel Grinberg.

I suggest to read this tutorial to understand how it works. But if you want to try quickly these are thet steps to do:

Install Flask:

sudo apt-get update
sudo apt-get install python-flask

Install the Python support for the Pi Camera:

sudo apt-get install python-picamera 

Install Git:

sudo apt-get install git

Clone the flask-video-streaming repository:

git clone https://github.com/miguelgrinberg/flask-video-streaming.git

Move inside the directory created by Git:

cd flask-video-streaming

and type:

CAMERA=pi python app.py

Open a browser on your PC and go to the URL:

eShop

EUR 130.00


CM3-HOME-B - CM3-Home board basic (only mother board)

CM3-Home is a Raspberry Pi Compute Module 3 motherboard designed to provide a reliable Home Automation hardware equipped with a wide range of electrical interfaces

  • NOT INCLUDED:
    • TP-BUS, LIGHT-BUS, RS485 (one instead of two), Yarm 868 MHz radio module (available on CM3-HOME-F)
    • Wifi module (Product # WIFI-2) amd antenna (Product # AN-WIFI-01)
    • The Raspberry Compute Module 3 or 3L (Product # CM3L)
    • MicroSD (Product # MICROSD8G-E)
    • Case (Product # CM3-HOME-CASE)
| Product description || CM3-Home catalog |

EUR 290.00


CM3-HOME-F - CM3-Home board full (only mother board)

CM3-Home is a Raspberry Pi Compute Module 3 motherboard designed to provide a reliable Home Automation hardware equipped with a wide range of electrical interfaces

  • NOT INCLUDED:
    • Raspberry Compute Module 3 or 3L (Product # CM3L)
    • Yarm antenna (Product # YARM-ANT-01)
    • Case (Product # CM3-HOME-CASE)
    • MicroSD (Product # MICROSD8G-E)
  • Included:
    • WiFi module (Product # WIFI-2)
    • WiFi antenna (Product # AN-WIFI-01)

For more info please visit the product description page

| Product description || CM3-Home catalog |

Sergio Tanzilli
System designer, software developer and company co-founder
tanzilli@acmesystems.it
Webpages: https://www.acmesystems.it and http://www.tanzolab.it
Github repository: https://github.com/tanzilli and https://github.com/acmesystems