How to connect and use a Weight Sensor + HX711 with an Arduino - Tutorial

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024

Комментарии • 66

  • @amtpdb1
    @amtpdb1 6 лет назад +28

    Personally as I am not good coding, I prefer videos that explain the code as I learn from it. Thanks for the great work you do.

    • @BrainybitsCanada
      @BrainybitsCanada  6 лет назад +3

      I will keep this in mind in future videos to make sure to explain some parts. Like I did in this video explaining how to calibrate the load cell. Thank you for your comment.

    • @siboneyyy
      @siboneyyy 4 года назад +1

      I like it when videos are split into a coarse and detailled part

    • @AJ_FILMS
      @AJ_FILMS 3 года назад +3

      @@BrainybitsCanada You could always have the main video that is nice and short, then create a separate video which just dives deeper into the code. Then when the portion about the code comes up you can link them to that video if they are interested and have them come back to finish this video after learning more about the code.

  • @WideVisionMetalFab
    @WideVisionMetalFab 6 лет назад +3

    In my opinion, I think it's nice to explain the important parts of the code, such as this video where you explained the calibration. Good video! :)

    • @BrainybitsCanada
      @BrainybitsCanada  6 лет назад

      I agree. I will always take some time to explain certain parts of the code which I haven't covered in other videos. Thanks for taking the time to comment!

  • @Leroys_Stuff
    @Leroys_Stuff 4 года назад +1

    I prefer the detailed view I don’t mind longer videos keep up the great tutorials

  • @ukktor
    @ukktor 6 лет назад

    I will admit I skipped the coding in the middle when looking at many of your projects for the first time, BUT now that I am ready to actually do one of the projects, I am going back for the code walkthroughs. Perhaps a two-part video, one about the hardware and one about the code for each project.

  • @andrewhughes8455
    @andrewhughes8455 4 года назад +1

    Thanks! I do prefer the detailed code review, it is very helpful when troubleshooting or when altering the code.

  • @wingnut3767
    @wingnut3767 5 лет назад

    Good day Yvan. Your new lesson format is fine with me, your line notes are quite accurate.Thank you Yvan.

  • @wernerberry7800
    @wernerberry7800 6 лет назад +1

    Buddy I love it when you went through the code! Great video thanks for sharing!

  • @portfedh
    @portfedh 4 года назад

    The Awsome-O got me here. Good video!

  • @edelpurugganan3541
    @edelpurugganan3541 6 лет назад +1

    Thanks for this, man. I learned a lot. Cool stuff

    • @BrainybitsCanada
      @BrainybitsCanada  6 лет назад +1

      Great to hear that the videos are helping, thanks for watching!

  • @drakkorvladimir4012
    @drakkorvladimir4012 5 лет назад

    Thanks. I was looking for info on tare and this answered my question : )

  • @milesturner7594
    @milesturner7594 2 года назад

    Good Evening Yvan and tks for the xlnt videos.
    Question - how to control the speed of a stepper motor with a load cell/HX711 - (the greater the load the faster the speed). I've seen yr video on using a potentiometer to control stepper motor speed, but I can't figure out how to get an HX711 to change the speed. I'm new to this electronics malarkey.
    Any ideas?
    By the way - greetings from Glasgow, Scotland!
    Cheers, Miles

  • @pravin1vaidya
    @pravin1vaidya 3 года назад

    Thanks for the great video.. can u pls explainn it with multiple HX711 sensors with SD and I2C module...

  • @superargo4701
    @superargo4701 4 года назад

    How about a video showing this same Load Cell setup, but with the addition of being able to set an adjustable target weight, at which point a Mosfet/relay is energized? How easy would this be to do, or have you covered this idea before?

  • @teodorbishkov5075
    @teodorbishkov5075 4 года назад

    Hi!
    Great video!! I wanted to ask if this project is possible without the display.
    Is there a way for the information to appear on you PC?
    Thank you!

  • @jameselliott9397
    @jameselliott9397 6 лет назад

    It was a great thing explaining code.

  • @alicankaya8555
    @alicankaya8555 4 года назад +1

    Hi. The code looks very useful. Was the sensor 1 kg or 5 kg ?

  • @hirndurst
    @hirndurst 6 лет назад

    Thank you for your beginner friendly tutorials! One question: Where did you get this huge breadboard?

    • @BrainybitsCanada
      @BrainybitsCanada  6 лет назад

      Got mine on Amazon like this one here: www.amazon.ca/Elenco-Breadboard-Prototype-Design-Aid-9440/dp/B0002H4W0K/ref=sr_1_16?ie=UTF8&qid=1535915349&sr=8-16&keywords=breadboard
      Thanks for watching!

  • @philipkarageorgiou8968
    @philipkarageorgiou8968 5 лет назад

    Thank you very much for the nice project.
    I made this and it works, but the refresh rate of the screen is very slow.
    Is there any way to get it any faster?

  • @djokinac
    @djokinac 4 года назад +2

    please help
    keeps telling me this eror
    and I'm not an expert on this
    so please help me where the error is
    thank you all in advance
    the problem is in this line
    help:
    HX711 scale(DOUT, CLK); // Init of the HX711
    exit status 1
    no matching function for call to 'HX711::HX711(int, int)'

  • @jeremjoshua4866
    @jeremjoshua4866 5 лет назад

    i love it . currently making project related to it

    • @BrainybitsCanada
      @BrainybitsCanada  5 лет назад

      Good luck with your project and thanks for watching!

  • @FPChris
    @FPChris 3 года назад

    Anyway to auto calibrate an HX711? I’m trying to use one but no way want an end user to have perform any calibration manually. Thx

  • @cmt-fd2td
    @cmt-fd2td 5 лет назад

    Does this code uploaded directly to the HX711 or it uploaded to uno and used via the uno to give an accurate reading of the weight on the load cell?

  • @JonHoule
    @JonHoule 4 года назад

    Salut Yvan! J'avais un problème avec ton code de calibrage. J'utilise exactement les mêmes composantes que toi, mais j'ai reçu l'erreur HX711::HX711(int, int), alors j'ai changé le code selon une idée dans la section des commentaires de ton site web. J'ai pu calibrer. Après ça, j'ai eu un problème avec le rotary encoder qui ne fonctionnait pas correctement (quand je pesais le bouton, rien n'arrivait) donc j'ai changé ton code encore...tout "fonctionne" maintenant, mais le OLED a des caractères bizarres et le poids semble fluctuer beaucoup. Est-ce que tu as une mise-à-jour pour ton code, car je ne connais pas grand chose à l'arduino? Merci! Tu as créé exactement le projet qu'il me faut pour ma brasserie!

  • @eqnish
    @eqnish 4 года назад

    could I use\attach multiple independent weight sensors to a single HX711? I'm working on a project where I want to weigh half a dozen objects simultaneously, getting each objects weight?

  • @jakesnake23
    @jakesnake23 3 года назад

    Hello Ivan, I am trying to use your Arduino code for a project of mine but in verifying the code I'm getting an error "no matching function for call to HX711 scale(DOUT, CLK)" I don't know if there is something I am missing to download in the libraries. Please let me know as soon as you can this is important for the success of my project. :(

  • @lordbg4994
    @lordbg4994 5 лет назад

    if possible, can you please make video where you use channel A and B . one HX711 with 2 load cells

  • @ErolUYSAL-qi5vv
    @ErolUYSAL-qi5vv 3 года назад

    i do not know if you check the comments or not but im kinda suck with the code. i paired everything as you did in the video and the website but i cant get it to simulate and cant get any readings on the pc simulation or the OLED screen

  • @martingonzales1764
    @martingonzales1764 5 лет назад

    Hi, i'm working on a project regarding weight monitoring. Just want to know if there are other development boards besides Arduino Uno that I can use to have the same results. Also, is it possible for me to design my own version of the HX711 signal conditioning circuit?? Thanks.

  • @nurishahaniakamarudin7417
    @nurishahaniakamarudin7417 6 лет назад

    I don't have that rotary encoder . Can I complete this system without rotary encoder ? I will display the value at lcd 16x2 .

  • @muhdizzatothman3512
    @muhdizzatothman3512 3 года назад

    Is it possible to add load limit that can trigger a buzzer??

  • @pranavbelgaonkar8634
    @pranavbelgaonkar8634 4 года назад

    Do you know how to connect 2, 4 wire load cells to a single hx711?

  • @KK-fh1ds
    @KK-fh1ds 5 лет назад +1

    Good guy Ivan

  • @jaojaopineda5361
    @jaojaopineda5361 4 года назад

    hi hello can you help me this error.. HX711 scale(DOUT, CLK); // Init of library ...no matching function for call to HX711::HX711(init,int)

  • @Rayxke
    @Rayxke 5 лет назад

    The hardest part about this is that I have a different microcontroller than the Arduino, and the code and wiring is slightly diferent, making it hard to work for me.

  • @hajaroubaha7611
    @hajaroubaha7611 4 года назад

    What's the name of the weight sensor you used?

  • @lucaswassink3039
    @lucaswassink3039 5 лет назад

    Would it be possible to make an alarm go off when it reaches a specific weight, and then make the alarm stop when the weight is back to the base weight?

    • @lordbg4994
      @lordbg4994 5 лет назад

      yes it is possible check the code and write a simple "if " statement that check if the current weight is greater or equal to the weight you want the alarm to go off else alarm is off

  • @batmansgta
    @batmansgta 5 лет назад

    I'm still trying to rap my head around coding. I don't have an OLED screen but I do have a 2 line LCD with I2C. Could someone please help me convert this sketch to use the LCD display?

  • @theanvil642
    @theanvil642 4 года назад

    Without 'HX711' arduino doesnt recognize signal at all?

  • @shahnirmalmtb
    @shahnirmalmtb Год назад

    How can I find Arduino program for it

  • @EngAhmedalsalhi
    @EngAhmedalsalhi 6 лет назад

    Nice

  • @renevanbenthem6782
    @renevanbenthem6782 5 лет назад +3

    no matching function for call to 'HX711::HX711(int, int)'
    I got this error while verify the calibration code

    • @Golfinhodal
      @Golfinhodal 5 лет назад

      same problem, do you get fixed?

    • @Golfinhodal
      @Golfinhodal 5 лет назад

      same problem, do you get fixed?@John DaSilva

  • @SamiyaJahan-p3j
    @SamiyaJahan-p3j 8 месяцев назад

    Can I get the code?

  • @cg906
    @cg906 6 лет назад

    Plz make 3-Axis Camera Stabilizer with pan,tilt and role controlling

  • @MPElectronique
    @MPElectronique 5 лет назад

    Salut yvan.
    Tu devrais mettre tes codes directement en dessous du vidéo.

  • @sudhamohan6801
    @sudhamohan6801 5 лет назад

    sir please upload the code

  • @analynpineda4108
    @analynpineda4108 4 года назад

    helo friend can you share your code

  • @ข้าวคุกกะปิ

    Hello you can help me? I need 100kg code !!

  • @hush7111
    @hush7111 5 лет назад

    C:\Users\oswald.turpeinen\Documents\Arduino\libraries\HX711-master\src/HX711.h:19:7: note: candidate expects 1 argument, 2 provided
    K:\Arduino\puntari\puntari.ino: In function 'void loop()':
    puntari:15: error: 'class HX711' has no member named 'get_unts'
    float current_weight=scale.get_unts(20);
    ^
    exit status 1
    no matching function for call to 'HX711::HX711(const uint8_t&, const uint8_t&)'

  • @alltypevideos7016
    @alltypevideos7016 3 года назад

    Please give me code

    • @BrainybitsCanada
      @BrainybitsCanada  3 года назад

      www.brainy-bits.com/post/how-to-use-a-weight-sensor-load-cell-hx711-with-an-arduino

  • @direzionidiversewebradiost9670
    @direzionidiversewebradiost9670 5 лет назад

    more codes dude ;-)

    • @BrainybitsCanada
      @BrainybitsCanada  5 лет назад

      Yep, got it, I'm explaining the code used in the recent tutorials. Thanks for watching!