Hello Forum
According to Sparkfun it should be no problem to run the HX711 with 3.3V supply (see [1]).
Nevertheless I am getting quite unstable values when reading weights (I do it every 5 minutes).
On https://beelogger.de/?page_id=3633 one of their suggestions is to replace the 20k resistor with a 12k one (arrticle is in German, sorry):
===
Modifikation HX711-Board
Modifikation zum Betrieb des HX711-Boards mit 3,3V.
Laut Datenblatt kann der HX711-Chip problemlos mit 3,3V oder 5V
betrieben werden. In der Regel ist daher diese Angabe auch bei fertigen
Boards mit diesem Chip zu finden. Wenn man sich nun intensiv mit dem
Datenblatt dieses Chips sowie den Schaltplänen dieser Boards
beschäftigt, wird man feststellen, dass diese zumeist für 5Volt-Betrieb
dimensioniert sind. Für ein optimal funktionierendes Wägesystem mit 3,3V
sind daher Anpassungen notwendig.
===
I wonder what I can do to make the readings more stable.
The load cell I use:
https://www.galoce.com/Uploads/Download … GPB100.pdf
The CPU:
STM32L082
(https://store.mcci.com/products/mcci-ca … technology)
Used Library:
https://github.com/bogde/HX711
Graph of weight readings (yesterday, constant weight so should be constant):
see attachement, I make 25 readings per measurement and calculate the median.
Best regards
–
Joerg Lehmann
[1]:
NOV 11, 2019 | 09:35AM MST
Chris F replied:
Hi Joerg.
Either a split supply or both on 3.3 volts will work with this sensor. If you have 5 volts available, go ahead and connect that to VCC, otherwise, connect both VCC and VDD to 3.3V.
Order Support
SparkFun Electronics, Inc.
6333 Dry Creek Parkway
Niwot, CO 80503
NOV 08, 2019 | 01:21AM MST
SparkFun replied:
Hello Chris
Thanks for your answer. I was just unsure, as there is the following
note in your documentation:
PRO TIP: In many cases, you can just short VCC and VDD together. If
your microcontroller uses 3.3V logic however, you’ll want to connect
VCC to 5V and VDD to 3.3V.
Source:
https://learn.sparkfun.com/tutorials/lo … okup-guide
Also, I have read in different places that VCC should be 5V.
Kind regards–Joerg
NOV 07, 2019 | 02:53PM MST
Chris F replied:
Hello Joerg.
The HX711 can run on any voltage between 2.7 and 5.5 volts and will work fine at 3.3 volts with no reduction in performance. You will want to connect VCC and VCC both to your 3.3 volt supply.
Hope this helps!
Order Support
SparkFun Electronics, Inc.
6333 Dry Creek Parkway
Niwot, CO 80503