Back to Browse

Hx710b readings modification

2.0K views
Feb 23, 2024
1:51

Module Hx710b is 24-Bit Analog to Digital Converter with Built-in Temperature Sensor. It’s designed for weigh scales and industrial control applications to interface directly with a bridge sensor. In this module the Hx710b is connected to MPS20N0040D-S pressure sensor. It is important to supply the stabilised reference voltage to module. Hx710b is connected to Arduino Nano. The clock from Nano controls the work of Hx710b. Hx710b has data out pin. When Hx710b is set to read data it is saved bit by bit to a string. However in this application, due to narrow reading scale, MSB byte is read only, Middle byte is filled with zeroes and LSB bate is not added at all. The 16 bit string is converted to decimal. Decimal value is converted to float and divided by 256. After that value is converted back to integer and showed on screen. The scale of reading Hx710 is from minus127 to plus 127. As sensor is very sensitive, small change in positive or negative pressure will change the resulting value. For my application of testing the work of water pump it is enough. Note: MSB is read. Middle Byte is filled with zeroes. LSB is not read at all.

Download

0 formats

No download links available.

Hx710b readings modification | NatokHD