#hx711

2024-09-24

Arduino desde cero en Español - Capítulo 78 - Balanza con Celda de Carga y HX711

Una forma simple y precisa de medir fuerza y peso con la celda (célula) de carga, veremos sus características y conexión con Arduino para su aplicación como balanza (báscula) de precisión junto con el módulo amplificador más ADC HX711.
Imprimiremos un par de piezas en 3D para un buen soporte de la celda de carga y las consideraciones para su correcta calibración.

#CeldaDeCarga
#ArduinoBalanza
#HX711

Piezas 3D:
thingiverse.com/thing:3129439

Código fuente de los programas vistos en:
github.com/bitwiseAr/Curso-Ard

youtube.com/watch?v=Z01gjTLE5e

2021-09-18

Finding the Right Hack is Half the Battle

Sometimes you just get lucky. I had a project on my list for a long time, and it was one that I had been putting off for a few months now because I loathed one part of what it entailed -- sensitive, high-accuracy analog measurement. And then, out of the blue I stumbled on exactly the right trick, and my problems vanished in thin air. Thanks, Internet of Hackers!

The project in question is a low-vacuum regulator for "bagging" fiberglass layups. What I needed was some way to read a pressure sensor and turn on and off a vacuum pump accordingly. The industry-standard vacuum gauges are neat devices, essentially a tiny little strain gauge on a membrane between the vacuum side and the atmosphere side, in a package the size of a dime. (That it's a strain gauge is foreshadowing, but I didn't know that at the time.) I bought one for $15 ages ago, and it sat on my desk, awaiting its analog circuitry.

See, the MPX2100 runs on 12 V and puts out a signal around 40 mV on top of a 6 V offset. That voltage level is inconvenient for modern 3.3 V microcontroller ADCs, and the resolution would get clobbered by the 6 V signal if I just put a voltage divider on it. This meant whipping together some kind of instrument amplifier circuit to null out the 6 V and amplify the 40 mV for the ADC. The circuits I found online all called for 1% resistors in values I didn't have, and mildly special op-amps. No fun, for me at least. So there it sat.

Cut the blue wire or the red wire? HX711 module and pressure sensor on the left.

Until I ran into this project that machetes through the analog jungle with one part, and it happened to be one I had on hand. A vacuum pressure sensor is a strain gauge, set up like a Wheatstone bridge, just like you would use for weighing something with a load cell. The solution? A load-cell ADC chip, the HX711, found in every cheap scale or online for under a buck. The only other trick was finding a low-voltage pressure sensor to work with it, but that turns out to be easy as well, and I had one delivered in two days.

In all, this project took months of foot-dragging, but only a few clicks and five minutes of soldering once I got the right idea. The industrial applications and manufacturers' app notes all make sense if you are making hundreds or millions of these devices, where the one-time cost of prototyping up the hard bits gets amortized, but the hacker solution of using a weight-scale chip was just the ticket for a one-off. That just goes to show how useful sharing our tips and tricks can be -- you won't get this from the industry. So send us your success stories, and your useful failures too, and Read More Hackaday!

This article is part of the Hackaday.com newsletter, delivered every seven days for each of the last 200+ weeks. It also includes our favorite articles from the last seven days that you can see on the web version of the newsletter. Want this type of article to hit your inbox every Friday morning? You should sign up!

#hackadaycolumns #hardware #parts #rants #adc #hx711 #inspiration #loadcell #sharing #wheatstonebridge

image

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst