CM3-Home

Create a Raspbian Stretch microSD

The CM3-Board is fully compatible with the Raspberry Pi 3 board so if you use any microSD that works on a Raspberry Pi 3 it will work also on a CM3-Home board.

This guide explains how to activate the special hardware mounted on the CM3-Home that is not available on the Raspberry Pi 3.

STEP 1 - Create a standard Raspberry Pi MicroSD

Go to https://www.raspberrypi.org/downloads/raspbian/ page and follow the instructions to create a bootable MicroSD for Raspberry Pi 3. Select the lite version because the CM3-Home board doesn't have any video interface.

STEP 2 - Add some lines to config.txt files to enable CM3-Home specific hardware

While booting up, the Raspberry Pi reads some configuration parameters from the first partition of MicroSD card.

These parameters are stored in a file named config.txt inside the first microSD partition.

You can edit this configuration from any PC because the first partition is formatted as FAT so it is compatible with Mac, Win an Linux. Use an ASCII editor like Nodepad or similar (please don't use Word :-) and add these lines at the end of this file:

#Ignore the HDMI cable hotplug (to avoid the delay at startup)
hdmi_ignore_hotplug=1

# Set the debug port on GPIO32, GPIO33 pins
force_turbo=1
dtoverlay=uart1,txd1_pin=32,rxd1_pin=33

# Enable the 1-wire bus
dtoverlay=w1-gpio,gpiopin=16

# Set the audio lines on GPIO40 and GPIO41 pins
dtoverlay=pwm-2chan,pin=40,func=4,pin2=41,func2=4

# Disable the Bluetooth
dtoverlay=pi3-disable-bt

# Set the I2C1 on GPIO 44 and GPIO 45 pins
dtparam=i2c_arm=on
dtparam=i2c_arm_baudrate=100000
dtoverlay=i2c1-bcm2708,sda1_pin=44,scl1_pin=45,pin_func=6

#Enable the IR Linux driver
dtoverlay=gpio-ir,gpio_pin=20

It is possible to edit this file also using the Raspberry Pi itself. It is located in /boot/config.txt.

STEP 3 - Change the console in cmdline.txt files to move the debug port on serial1

Like as config.txt also the file cmdline.txt is saved in the first microSD partition. Using the same ASCII editor change this parameter:

console=serial0,115200

in:

console=serial1,115200

STEP 4 - Enable the SSH server

By default the SSH server is disabled on the Raspbian microsd images. This could be a problem when using a CM3-Home because the video interface is not present and so if you don't have a serial cable there isn't any other way to get the access to the Linux command line.

Creating an empty file called SSH with no extention on the first microSD partition the ssh server will be enabled at first startup and you can reach the Linux command prompt via lan.

ssh pi@raspberrypi.local
Password: raspberry

FINAL STEP - Boot it

Your MicroSD now is ready to be used on the CM3-Home. Go to the getting started article to use it.

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