Data Logger BLE Cellular Board
Loading...
Searching...
No Matches
temp/Humidity BLE Sensor prototype System

This is prototype system for JFET Data Logger BLEProject.

Author
T. J. Mulrooney
Todo
usb_enable deprecated
temp/humidity alarms
doxygen comments
Version
version history
Version — Date — Author — Comments
V 0.01 — 11/11/23 —TJM — initial draft from BLE UART Peripheral code
I2C working and connected to HDC2080
HDC2080 initialized and sending temp/humidity data auto conversion mode
semaphore used to wake up nRF52 when HDC2080 RDY pin goes active
app.overlay file added to include I2C and GPIO information
BLE advertising name includes unique device ID
V 0.02 — 01/30/24 —TJM — added device ID to BLE string
new nrf52DK 52832 board
added SPI code (BUF_SIZE = 128)
added CLI
V 0.03 — 09/29/25 —TJM — preparing for new "hockey puck" board
added simulated HDC2080 interrupt fo testing
Flash parameters wroking
V 0.04 — 10/20/25 —TJM — added SW2 (GPIO20) input Interrupt handler
added bleIndex to indicate BLE packet number sent
BLE saved packets are sent when connection is made
WDT timer working
SW2 push starts advertising not done automatically on start
"#define SW2STARTSADVERTISING 1" added to control when advertising starts
V 0.05 — 11/07/25 —TJM — added CLI duty cycle command
V 0.06 — 11/11/25 —TJM — added received commands from nRF9160 handled same as normal CLI command
V 0.07 — 11/14/25 —TJM — changed format of some help message
V 0.08 — 11/17/25 —TJM — added BME68x.c and BME688 header files
added BME688 init and forced read code
added BME688 CLI command to read BME688 data
added details to CLI dutycycle command
V 0.09 — 12/22/25 —TJM — SK and toolchaim V3.2.1
V 0.10 — 05/02/26 —TJM — myPrintfX to myPrintkX, added (nrf52832) to board message
added CONFIG_REBOOT to prj.conf
V 0.10 — 05/02/26 —TJM — myPrintfX to myPrintkX, added (nrf52832) to board message
V 0.11 — 05/06/26 —TJM — added battery BLE string
V 0.12 — 05/27/26 —TJM — added semaphore to wait for CLI commands added sensor ID, sensor name, locaion, customer, and group to flashparameters
V 0.13 — 06/06/26 —TJM — added version field to device info
added flag to indicate when sending device info instead of sensor data in BLE packet
added datetime command to get time from gateway to be added to every string
V 0.14 — 06/17/26 —TJM — added CLI "manualtrigger" command to read and sned HDC2080 temp/humidty on date time command. HDC interrupts disabled
if manaual trigger will send all data every new datetime ciommand
default manualtrigger = true on clear flash parameters
send board version (brdV, hardware version (hwV), and chip version (chV)
use CLI flashparameter manual trigger set HDC rate to manual
V 0.15 — 07/08/26 —TJM — replaced in-line HDC interrupt handler with function call
flash parameter "ignorebme688" added to not use BME688 anywhere for lower power consumption
uncomment #define NO_UART0 in main.c to not use UART0 for lower power consumption (deprecated)
added flash parameter "nouart0" to SUSPEND UART0 (no CLI commands available) for lower power consumption note: once set can obly be cleared by BLE command from gateway.
if CONFIG_SERIAL=n in prj.conf then UART0 is not used and no CLI commands are available lowest power mode