Smart Elevator simulation with arduino uno and Proteus
Smart Elevator simulation with arduino uno and Proteus // By HomeMade Electronics // Subscribe to my channel https://www.youtube.com/channel/UC8isJR_71x1wIfw6jB106pg // for more tutorial videos // like, share and leave a comment if you need help #include "HX711.h" // Get this library by clicking on Sketch > Include Library > Library Manager in the Arduino IDE and install it from there #include <LiquidCrystal.h> // Define calibration factor obtained using the SparkFun_HX711_Calibration sketch #define calibration_factor 18029.57 // Define pin numbers #define IN1 4 #define IN2 5 #define DOUT 3 #define CLK 2 #define Bstart 6 #define Bstop 7 #define Bstopage 1 float weight; // Variable to store weight measurement HX711 scale; LiquidCrystal lcd(13, 12, 11, 10, 9, 8); // Function to move motor forward void forward() { digitalWrite(IN1, HIGH); digitalWrite(IN2, LOW); } // Function to move motor backward void backward() { digitalWrite(IN1, LOW); digitalWrite(