Tested Firmware Version for SENSIRION SHT3X-DIS
Sensor probing requests.
0x44 Address "SHT3X-DFLT"
0x45 Address "SHT3X-ALT"
Power management for the LC-Display.
Display will be scrolled (11 digits).
HRD can be connected to external devices like personal computers to transfer and store the extracted technical data.
Similar project: Handheld Readout Device(HRD) for Battery Management Systems (8-bit commands)
https://github.com/peterloes/HRD
EXTENSION:
Next generation of Data Logger for varied range support of Sensors.
https://github.com/peterloes/Data_Logger
Code Snippets
Make quick changes to the Source Code.
https://github.com/peterloes/HRD_SENSOR/blob/main/Software/main.c
/*! List of items which can be displayed
*
* This array contains a list of items that can be displayed on the LCD.
* Element 0 is a special case, it shows the name, version, and date of
* the firmware image. Usually up/down push buttons are used to select
* the item to be displayed.
*
* The order of these items may be rearranged by the user. Single or
* groups of entries can be de-activated by commenting them out.
*/
static const ITEM l_Item[] =
{ // [1234567890123456] Cmd Frmt
{ ">>> SHT3X-D <<<", SBS_NONE, FRMT_FW_VERSION },
{ "Sensor at SMBus", SBS_NONE, FRMT_SENS_CTRL },
{ "Supply Battery", SBS_NONE, FRMT_CR2032_BAT },
{ "Soft Reset", SBS_SOFT_RESET, FRMT_HEX },
{ "Serial Number", SBS_READ_SERIAL_NUMBER, FRMT_HEX },
https://github.com/peterloes/HRD_SENSOR/blob/main/Software/drivers/SensorMon.c
/*!@brief Probe List of supported Sensor Controllers */
static const BC_INFO l_ProbeList[] =
{ // addr type name (maximum 10 characters!)
{ 0x88, BCT_SHT3X_DFLT, "SHT3X-DFLT" }, // 0x44 Address 7 MSBs 0x88
{ 0x8A, BCT_SHT3X_ALT, "SHT3X-ALT", }, // 0x45 Address 7 MSBs 0x8A
{ 0x00, BCT_UNKNOWN, "" } // End of the list};
};
https://github.com/peterloes/HRD_SENSOR/blob/main/Software/drivers/SensorMon.h
/*!@brief SBS Commands
*
* These are the defines for the registers of the sensor controller. Each
* define contains the following bit fields:
* - Bit 26:24...