Module: | BCM2835 |
Name: | BCM 2835 |
Type: | DAQ |
Source: | daq_BCM2835.so |
Version: | 1.2.0 |
Author: | Roman Savochenko |
Description: | Broadcom BCM 2835 GPIO. Mostly for and used in Raspberry Pi. |
License: | GPL |
The module provides OpenSCADA system with the support data sources of realtime, which based on Raspberry PI board's General Purpose Input/Output (GPIO) grounded on BCM2835 chip. The BCM2835 GPIO of Raspberry Pi counts 32 pins in maximum some from its can also performs alternative functions like: I2C, UART, SPIO and etc. For access to the GPIO in general functions there is used a library libBCM2835.
The module tested on boards Raspberry Pi 2, 3 model B, for this details you can see to the page and the task.
GPIO into OpenSCADA configured with new controller object creation (Fig.1), the container parameters' objects — a single parameter of the board's GPIO.
From this tab you can set:
The parameter object is a direct representative-reflection for the GPIO, which contained attributes set with Boolean types and it whole quantity 32. Parameter's object configuration tab is shown in Figure 2.
With the parameter's object configuration tab you can set:
Tab "Attributes" for the GPIO is shown in Figure 3. For the GPIO there is accessed also "Configuration" tab (Fig.4) with IO mode and reverse state.
The acquisition data is done only in synchronous mode but GPIO must be fast.