Load Cell Simulation with arduino in Proteus
HTML-код
- Опубликовано: 25 авг 2024
- Learn to simulate load cell with Arduino Uno in proteus simulation software. In this video, I am using HX711 24 But ADC with load cell to convert load cell analog signal to digital mode. Subscribe now for immediate access to source code.
#proteus #arduino #arduinoproject #loadcell
Source Code: www.theelectro...
How to find hex file location? : • how to locate arduino ...
Music By: NoCopyrightSounds
Fully greatful with you dude! Thx
Please don't forget to subscribe to my channel. Thanks
thanks so much sir
There needs a modification in code because i'm having issues with calibration on a weight of 20kg in load cell i was getting a weight of around 23-25kg. How to properly calibrate this ?
as a beginer i dont understand the labels of hx711 how i connect them?
Amazing 👏
Thank you so much 🙂
how to convert weight in newtons
hi do you have the load cell and hx711 proteus file?
Hi, it's already available in proteus 8.9
@@SatyamsinghYT Hello can I have load cell proteus file? I only have proteus 8.1 huhuhuhu
You can find the 8.9 version on Google, I will try to find its file in library.
Hi, bro i want to control dc motor speed by controling load cell i mean if the measured forced increase so the speed will have to increase .I did this code can you tell me if it is right because the motor don’t turn when i simulate that on proteus.
#include "HX711.h"
// Configuration pour le HX711
#define DOUT 2
#define CLK 3
HX711 scale(DOUT, CLK);
// Configuration pour le L298N
#define IN1 8
#define IN2 9
#define ENA 10
// Plage de force en Newtons
#define FORCE_MIN 0
#define FORCE_MAX 10
void setup() {
Serial.begin(9600);
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
pinMode(ENA, OUTPUT);
scale.set_scale(-7050); // Votre facteur de calibration
scale.tare(); // Réinitialise le poids à 0
digitalWrite(IN1, HIGH); // Configurer le sens de rotation
digitalWrite(IN2, LOW);
analogWrite(ENA, 0); // Moteur éteint au début
}
void loop() {
long force = scale.get_units(); // Récupère la valeur du capteur de force
force = constrain(force, FORCE_MIN, FORCE_MAX); // Limite la force à la plage définie
int motorSpeed = map(force, FORCE_MIN, FORCE_MAX, 0, 255); // Mape la force mesurée à une vitesse de moteur
analogWrite(ENA, motorSpeed); // Règle la vitesse du moteur
delay(100); // Délai pour la mise à jour
}
Instead of mapping. You can divide it in 4 parts below 100 pwm. It will not work properly
Bro why pin DOut not active?
it's really great video.....will you pleaase explain what is the purpose of using resistors here???? can i neglect them in the cicuit sir??
Hi, these are some basic requirements as per the datasheet of hx711 ic.
@@SatyamsinghYT So great! Thanks alot for your reply.
how to calculate calibration factor
Hi, you can use HX711 library examples to calibrate the module as per the load.
Bro can you do mobile signal jammer simulation plss
Hi,In my case when i am increasing the load in loadcell the value in virtual terminal is showing negative weight and when i decrease load like for example on -2kg on load cell it shows me +2kg at virtual terminal.
How do i correct this i guess something is wrong with the code please check
There could be some error in simulation.
@@SatyamsinghYT I have made the simulation correctly and made it twich it might be possible that the system needs calibration.
However i saw some other YT Video and that guy's simulation was quite accurate so i followed that thankyou
Hi, please was the transistor necessary and how did you derive the values for the resistor?
If you check the datasheet of HX711 module you'll see a diagram or sort of circuit that highlights the Resistors/Capacitors.
So i don' think he derived he might have taken values from there
may i know the code sir?
pleaseee
Hi David, I am updating the code on my website, if you want it now, then please send an email on satyamkr80@gmail.com. I will share the code link on the same mail
library HX711.h problem code
You have to install hx711 library in Arduino ide
@@SatyamsinghYT Yes. Ichange it
const int LOADCELL_DOUT_PIN = 2;
const int LOADCELL_SCK_PIN = 3;
HX711 scale;
on:
#define calibration_factor -36025
#define DOUT 3
#define CLK 2
HX711 scale(DOUT, CLK);
void
scale.set_scale(calibration_factor);
scale.tare();