Премини към съдържанието
Станете част от общността на Kaldata във Viber ×

Hx711 Proteus Library -

Once your HX711 simulation works, enhance it:

You can also simulate a full IoT weighbridge by adding ESP8266 (with Proteus model) and MQTT.


Online simulators like Wokwi have built-in HX711 support. They are faster to start but limited to Arduino/ESP and lack advanced debugging. hx711 proteus library

#include "HX711.h"

HX711 scale;

void setup() Serial.begin(9600); scale.begin(3, 2); // DOUT = D3, PD_SCK = D2 scale.set_scale(2280.f); // calibration factor scale.tare(); // reset to zero Once your HX711 simulation works, enhance it:

void loop() float weight = scale.get_units(5); // average of 5 readings Serial.print("Weight: "); Serial.println(weight); delay(1000);


If no library works, use:

But for real HX711 behavior — library is best. You can also simulate a full IoT weighbridge


×
×
  • Добави ново...