The LVRM, BPSM, DDRM, UHFM, RRM, SM and GPSM boards are DIN rail modules of the DINFox project. They embed the following features:
- LVRM: relay with configurable coil voltage and controlled by the MCU.
- BPSM: backup power supply for the DINFox system.
- DDRM: DC-DC converter with configurable output voltage and controlled by the MCU.
- UHFM: 433 / 868 MHz modem for radio monitoring and remote control.
- RRM: rectifier and regulator with configurable output voltage and controlled by the MCU.
- SM: sensors module with embedded temperature/humidity sensor, 4 analog inputs, 4 digital I/Os and external shield support (with I2C and I/Os).
- GPSM: GPS module with active antenna support.
- Analog measurements such as input voltage, output voltage and output current.
- RS485 communication.
The boards were designed on Circuit Maker V2.0. Below is the list of hardware revisions:
Hardware revision | Description | Status |
---|---|---|
LVRM HW1.0 | Initial version with monostable relay. | ✅ |
LVRM HW2.0 | Initial version with bistable relay. | ✅ |
Hardware revision | Description | Status |
---|---|---|
BPSM HW1.0 | Initial version. | ✅ |
Hardware revision | Description | Status |
---|---|---|
DDRM HW1.0 | Initial version. | ✅ |
Hardware revision | Description | Status |
---|---|---|
UHFM HW1.0 | Initial version. | ✅ |
Hardware revision | Description | Status |
---|---|---|
RRM HW1.0 | Initial version. | ✅ |
Hardware revision | Description | Status |
---|---|---|
SM HW1.0 | Initial version. | ✅ |
Hardware revision | Description | Status |
---|---|---|
GPSM HW1.0 | Initial version. | ✅ |
The embedded software is developed under Eclipse IDE version 2023-09 (4.29.0) and GNU MCU plugin. The script
folder contains Eclipse run/debug configuration files and JLink scripts to flash the MCU.
The boards are based on the STM32L011F4U6, STM32L031G6U6 and STM32L041K6U6 microcontrollers of the STMicroelectronics L0 family. Each hardware revision has a corresponding build configuration in the Eclipse project, which sets up the code for the selected board.
The project is organized as follow:
inc
andsrc
: source code split in 7 layers:registers
: MCU registers adress definition.peripherals
: internal MCU peripherals drivers.utils
: utility functions.components
: external components drivers.sigfox
: Sigfox EP library low level implementation.nodes
: Nodes descriptors.applicative
: high-level application layers.
lib
: Sigfox EP and ADDON-RFP libraries submodules.startup
: MCU startup code (from ARM).linker
: MCU linker script (from ARM).
The UHFM board uses Sigfox technology to perform the system remote monitoring (and light remote control). The project is based on the Sigfox end-point open source library which is embedded as a Git submodule.