• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • Maritime HMIs
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

Hardware - Raspberry Pi

Raspberry Pi Introduction

CDP Studio enables you to create systems that can run on a Raspberry Pi. CDP Studio also supports a number of the industrial version that is built on the Raspberry Pi compute module and have their own I/O modules, e.g. Revolution Pi and the Brainbox.

Raspberry Pi’s are ideal for home projects, for some commercial applications and as reasonable priced controllers in test environments.

See the dedicated help pages for the industrial versions, CDP Studio web pages or the hardware providers web pages for further information on industrial versions. All the standard Raspberry Pi models are supported.

There is some specific setup that has to be done on the Raspberry Pi to get CDP Studio applications to run.

  • The Raspberry Pi operating system must be on the SD card. See the Raspberry Pi Org documentation
  • Enable SSH. If you have a screen connected:
    • Enter "sudo raspi-config" in the terminal
    • Select Interfacing Options
    • Navigate to ssh
    • Press Enter
    • Select Enable ssh server

    For headless setup:

    • SSH can be enabled by placing an empty file named "ssh", without any extension in the boot partition from another computer
  • Rsync is normally installed with Raspberry Pi OS. If it is not installed, type "sudo apt-get install rsync" in the terminal window.
  • Realtime permissions must be allowed. Please refer to Linux Realtime Configuration page for more information.

To build systems for a Raspberry Pi you need to have the latest Raspberry Pi toolkit installed. If you did not select the Raspberry Pi toolkit when you installed CDP Studio, then follow the steps to install the toolchain:

  • In CDP Studio Help menu (menu bar) click on Package Manager
  • Select Add or remove CDP versions and click Next
  • Select the Raspberry Pi toolkit and click on Next and then on Update

Using the Raspberry Pi in Projects

CDP Studio comes with the I2C and GPIO protocols and these can be used directly in any Raspberry Pi project. The Sense HAT is supported and pre-configured components are available for

  • Accelerometer and Gyroscope
  • Magnetometer
  • Pressure
  • Humidity and temperature

CDP Studio also supports an AD1115 (analog / digital) converter. This can be used together with the PMW operator to drive electrical motors.

See I2C I/O Manual for how to use the Sense HAT components and the AD1115 converter.

The GPIO (General Purpose Input/Output) is used to set or read a pin on an integrated circuit or computer board. GPIOPinIO Example demonstrates how to use the GPIO on a Raspberry Pi.

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2025 CDP Technologies. Privacy and cookie policy.

Return to top