0121-15 Monarco HAT Ventilation Controller

Example Projects > 0121 Monarco HAT > 0121-15 Monarco HAT Ventilation Controller

Monarco HAT as a ventilation controller

This folder contains the source files for the demonstration project on using REXYGEN on the Raspberry Pi minicomputer with the Monarco HAT add-on board.

In this example the Monarco HAT is configured to act as a ventilation controller.

Timing of the project

The algorithm runs each 5 milliseconds (0.005 s). See the EXEC function block,
tick x ntick0 = 0.005 x 1 = 0.005

Prerequisites

  • REXYGEN Runtime Core and MonarcoDrv modules must be installed and running on the Raspberry Pi.
  • I2C bus must be enabled on the Raspberry Pi.
  • The wiring must comply with the attached schematics.

Running the example

  • The *exec.mdl file is the project main file, open it with RexDraw.
  • Compile and download the project to the target device.
  • Switch to watch mode and observe the algorithm (use Target->Watch Selection to display real-time data).

Documentation

Additional information