KETCube
KETCube Documentation

KETCube platform

KETCube is the prototyping and demo platform developed by the SmartCAMPUS team at the Department of Technologies and Measurement (KET), University of West Bohemia in Pilsen.

The general information about the KETCube platform can be found in KETCube datasheet. More detailed info related to KETCube in general can be found in Application Notes

This documentation describes the KETCube firmware, which is divided to two groups KETCube Core and KETCube Modules.

KETCube firmware structure

KETCube Core

KETCube Core is the principal part of the KETCube platform. It is NOT closely related to underlying hardware and it is designed to be easily ported to any MCU platform if necessary. The hardware-related part of KETCube Core is separated to KETCube Drivers. These are EEPROM driver enabling the non-volatile configuration storage, the KETCube Main Board definition file or a serial line driver enabling the command line interface.

KETCube Modules

KETCube Modules contains the hardware- and particular function-related code. A particular module is related to KETCube mainBoard itself or to KETCube extension board. The KETCube module could be simply understand as an extension adding/enabling particular functionality to/of KETCube.

KETCube Modules are additionally divided into:

Sensing Modules

The KETCube Sensing Modules serve (from the KETCube platform perspective) as the data-input.

Communication Modules

The KETCube Communication Module deliver data produced by KETCube Sensing Modules to another system (to the cloud, another KETCube device, ...)

Actuating Modules

The KETCube Actuating Modules group is currently empty.

Module drivers

KETCube Module Drivers provide functionality required by modules (drivers). They do not represent data IN/OUT functionality out of the KETCube platform bounds and they are MCU-specific but not external peripheral specific (e.g. I2C support).

Use cases

LoRaWAN ADC

Enable KETCube ADC (KETCube Sensing Modules) and KETCube LoRa (KETCube Communication Modules) modules. Set-up LoRa module and the LoRaWAN server appropriately. Data produced by the ADC module are now delivered thru LoRaWAN network to the cloud.