CM Home technical documentation Buy

Getting started with CM Home board

This article explains how to get started with the CM Home board

What do you need to start ?

To start you need at least the following parts:

Create a bootlable microSD

Download the Raspberry Pi Imager from this url:

then launch it.

Press the CHOOSE DEVICE button and select Raspberry Pi 4

Press the CHOOSE OS button and select the Raspberry Pi OS you like. In this example we will use Raspberry Pi OS (other) -> Raspberry Pi OS Lite (64-bit)

Insert in your PC the blank microSD and press the CHOOSE STORAGE button and select the microSD storage.

Press the NEXT button.

Press the EDIT SETTINGS button.

In this form set the hostname of your CM Home, the user and password.

Switch to the tab SETTINGS and enable the SSH access.

Press the SAVE button the the YES button.

The YES again.

At the end remove the microSD from your PC and insert it again. In this way a partition called bootfs will be mounted and we can make some changes on it.

Change the content of file config.txt with this:

# For more options and information see
# Some settings may impact device functionality. See link above for details

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

# Set the debug port on GPIO32, GPIO33 pins

# Enable the 1-wire bus

# Set the audio lines on GPIO40 and GPIO41 pins

# Enable audio (loads snd_bcm2835)

# Set the I2C1 on GPIO 44 and GPIO 45 pins

#Enable the debug message

# Automatically load overlays for detected cameras

# Automatically load initramfs files, if found

# Run in 64-bit mode

# Run as fast as firmware / board allows

# Enable the LAN9514 chip

Edit the file cmdline.txt changing console=serial0,115200 in console=serial1,115200.

Unmount the microSD card and insert it in its vertical socket

Insert the Raspberry CM4S on its vertical socket and gently press it until snaps into the final position as shown below:

Plug the Ethernet cable to a LAN with a DHCP server active:

If you have an USB to serial adapter insert its pins as shown below to have access to the serial console port.

The serial setup is 115200,N,8,1 without software and hardware handshake.

Connect the power supply lines in a range of 12 to 24 volt DC using the screw terminals as pictured below. The blue led will turn-on to indicate the power availability:

On the serial console the boot messages will appear on your serial terminal emulator. If you are not using a serial terminal check the led on the ethernet connector to see if there is any activities and try to reach your board from your PC by typing:

ping cmhome.local

Open a SSH session to get the access to the Linux prompt

ssh pi@cmhome.local
Login: pi
Password: <yourpassword>

Products related


Features Index Buy

All-in-one 7 inch touch WiFi terminal powered by Raspberry Pi CM4S
  • 7 inch TFT display 800x480
  • Capacitive touch
  • MIPI Camera connector
  • WiFi @ 2.4 GHz

Features Index Buy

All-in-one 7 inch touch POE terminal powered by Raspberry Pi CM4S
  • 7 inch TFT display 800x480 pixel
  • Capacitive touch
  • Embedded micro UPS for safe shutdown
  • Power Over Ethernet @ 10/100 Mbit
  • Hi-resolution audio up to 384KHz@32bit
  • Real Time Clock with backup battery
  • 3 USB Host port
  • 1 RS485/422/RS232 port
  • 1 Relay
  • MIPI Camera connector
  • WiFi @ 2.4 GHz (optional)

Features Index Buy

Home Automation board powered by Raspberry Pi CM4S lite module
  • Power-in @ 12 to 24VDC
  • Double opto-isolated RS-485 ports
  • 2 relays
  • 2 USB 2.0 host port
  • Ethernet port at 10/100Mbit
  • MIPI Camera connector
  • Stereo audio out on 3.5 mm jack

Home page CM Home technical documentation Buy