📜 ⬆️ ⬇️

HX711 ADC from 3.3V - do not trust the Chinese documentation and not only

Converter fee


Enthusiasts who use this module for assembling electronic scales "by default", with a five-volt power supply, have no problems.


I once again encounter inconsistencies in the manual - well, well, the linear regulator burns at half the input voltage, or the settings of the Ai-Thinker module are not saved, but mixing up the formula in the documentation is a brute force.


About the modification of the 24-bit ADC converter board for battery-powered operation under the cut.


Actually, the error


To eliminate the need for an external stabilized voltage source, the microcircuit contains an internal reference regulator (1.25V).


The voltage applied to the Wheatstone measuring bridge (strain gauges) is set by a voltage divider on R1, R2 (the first photo).


The correct formula is Vavdd = Vbg * (R1 + R2) / R2, where Vbg is 1.25V.


With the default values ​​of 20k and 8.2k, 4.2V is applied to the sensors, that is, when the supply voltage of the circuit is below 4.3V (according to the documentation), we will get false weights, walking with a power supply drawdown.


In order for the circuit to work correctly from 3.3V, you need to reduce the nominal value of R1 (the upper one in the resistor pattern), then the bridge will be supplied with lower voltage.


It seemed to be the end of a fairy tale, especially since they already wrote about such a modification


The planet that was not


But no, the "earth" is not the same!


From the first days of the radio circle we were taught that the "mass" is in the general scheme!


Chinese apparently not.


As a result, having become the test leads of the tester to the power outputs of the bridge E + and E-, the picture against the use of the input ground line changes.


Maybe this is due to the specifics of the wiring of this particular board, but the voltage drop is 750mV (and not 100, as in the dock).


Thus, if you follow the advice of the article, and solder instead of 20k, ten, the voltage on the bridge will begin to sink already from 3.5V.


Output - in the divider on R1, R2 use the same ratings, then the bridge will be powered from 2.5V, and work stably when the input voltage drops to 3.25V.


Ask - why such difficulties?


Debug stand


It's simple - I still collect the hive monitoring system (in the photo is the debugging booth).


The beekeepers convinced me that first of all the mass was important to them.


As a result, I decided to start making simple autonomous SMS scales for 3 beehives at once.


The circuit normally falls asleep, the most battery eater - GSM-module - all the iron consumes ~ 1.8mA with a good signal from the service provider.


But the main point is that the information on the HX711 module may be useful to Kulibin, who are not interested in bees, and therefore wrote a separate article.


PS A "mission control center" I will describe separately in the near future.


UPD - CONCLUSION - DO NOT BUY SUCH PAYMENT AT ALL !!!


Just like in the photo - E- is not connected to GND, instead of 100 Ohm resistors to all measuring inputs (4 pieces), there are 1.2k each for A +, B +.


I looked at the photos of other modules on the HX711 - which is green, that red - everything is in order - and by the number of elements and by nominal.


Visually it is easy to distinguish - the entire back side of a normal board is a conductor (ground) to which E- and GND are connected, there are options with a screen, which is preferable.


PPS, for normal operation of the bridge voltage regulator when powered from 3.3V, R1, R2 (near the transistor), solder to resistors of the same rating of 2-10k


Until new meetings on the pages of Habr, Andrew.



Source: https://habr.com/ru/post/438772/