Skip to content

Software designs

Jelle edited this page Mar 21, 2019 · 11 revisions

On this page the software designs for the bGeigie ESP-XBee are described.

Summary

The bGeigie ESP-XBee is an extension for the bGeigieNano kit. With this module the bGeigieNano can be used as a stationary (fixed) sensor, as well as the mobile sensor which we are all used to.

The main functions of the ESP-XBee are toggling between mobile and fixed mode, sending average measurements to the API every 5 minutes and configuring the wifi. More about the functional descriptions can be found on the software specification page.

Components

The ESP-XBee is seen as a sub-component of the whole bGeigieNano system. Hardware wise, it will be plugged in the XBee socket on top of the Arduino FIO. This way it will communicate over hardware serial 2 (uart2). It also adds 3 external interfaces, the mode button (hardware), the bluetooth connection (which is the same as the BLEBee module) and a wifi access point for configurations.

component diagram

Components descriptions

Controller

The controller is the core of the system. It will get the data from the bGeigieController and pass it on to the bluetooth and API connector.

Provided interfaces

Interface Description

|

ConfigServer

EspConfig

Bluetooth

ApiConnector

Interface descriptions

State machine

TODO write description

ESP-XBee state machine diagram

Data process

TODO: Write description

Data process

Clone this wiki locally