Library: Hx711 Proteus
The is a precision 24-bit ADC designed for load cells and weighing scales . It’s widely used with Arduino, STM32, and other microcontrollers.
Open Proteus and create a new schematic capture project. Use the Component Mode (click the button) to search for and add the following components to your workspace: Arduino Uno (or your preferred microcontroller library) HX711 Module / Chip (from your newly installed library)
: If you see "No Simulator Model," ensure you also copied any .MDF files that came with the library.
// These values are obtained by calibration // You will need to tweak these for your specific simulation scale.set_scale(2280.f); scale.tare(); // Reset the scale to 0 hx711 proteus library
Some advanced custom libraries bundle a dedicated "Load Cell" block alongside the HX711. If available, this block features interactive + and - buttons on-screen to instantly increment or decrement the weight value during active simulation. 4. Circuit Wiring Diagram Guide
: Connects to the HX711 via two digital pins (PD_SCK and DOUT). 💻 Step 4: The Arduino Code (Hex File)
| Problem | Solution | |---------|----------| | HX711 not found in Proteus | Check library folder + restart | | Simulation stuck at 0 | Add pull-up resistors on DOUT? Not needed in most models | | No response from HX711 | Swap A+/A- or E+/E- wires | | Library gives errors | Try a different HX711 model (TEP version is reliable) | The is a precision 24-bit ADC designed for
Since a load cell changes resistance based on weight, you can simulate this voltage variance using a standard variable resistor (potentiometer).
Thus, use simulation for , not for metrology-grade validation. Always test with real hardware before mass production.
Click the folder icon next to and select your generated .hex file. Use the Component Mode (click the button) to
In Proteus, add a to see weight readings.
void loop() if (scale.is_ready()) long reading = scale.read(); Serial.print("HX711 reading: "); Serial.println(reading); delay(1000);