HX711 load cell amplifier library for AVR ATmega

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

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

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

    You are doing great . With love from Nigeria

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

    Sir what is tha capacity of load cell which you use,if I am use 1 ton load cell,what changes required in code

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

      My cell capacity is 1Kg, but it should work with 1000kg cell too.

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

      Thanks sir

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

    Hello I have a atmega16 chip and i program with atmel studio, does this program work for atmel studio

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

      Hello, this is built on ATmega8, but it should work on ATmega16 too. As for the Atmel Studio, it should but I did't try. I use VSCode or Eclipse with the AVR plugin with avrgcc.

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

      @@davidegironi Do you have an link for the Plugin ?

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

      Because actually with Atmel Studio there are a lot of errors because the code is kinda outdated. So it gives you Errors like "attempt to use poisoned "SIG_UART0_RECV"" and so on so now i wanted to try it with eclipse

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

      @@kenanhacig5055 Here you can find it: avr-eclipse.sourceforge.net/wiki/index.php/Plugin_Download

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

      @@davidegironi Hello do you have any Social Media where I can send you pictures of m problem ? Would help me a lot thank you in advance

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

    Please show the text of the program. How to use this library with Atmel studio

    • @davidegironi
      @davidegironi  5 лет назад +2

      Hello. You can find code in the blogpost linked in video description.

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

      Could you use this library with atmel studio? Dargin???

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

      Eddy Fernandez I did not manage to use it with Atmel studio. I have little experience with Atmel studio, I worked more at Codevision. but the HX711 library did not work.

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

    How can i connect eclipse with realterm program to see the Weight !

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

      Hello Alaa, you have to use a uart library, I usually go for the Peter Fleury one.

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

      @@davidegironi okay thank you , but i need to know if there is a setting for realterm i should do !

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

      @@alaamahmoud5402 you just need to set your serial port software (realterm) with the baudrate you set in your microcontroller, in my sample main.c is 4800 (see UART_BAUD_RATE), and then proper connect your microcontroller usart tx pin to the rx pin of your pc serial port (or serial ttl adapter), and rx to tx.

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

      @@davidegironi okay thank you so much

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

    did you use Atmel studio to progam it?

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

      Hello, no I use Ecplise IDE with the AVR plugin and avrgcc as compiler.

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

      To use this library in arduino uno do I have to modify something?

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

      @@eddyfernandez7806 i've never used It in the Arduino framework, It Is build using avrgcc so It should work with small changes. You could use the HX711 library for Arduino that Is ready to use.

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

      I have been trying to use this code in eclipse but I really don't know how to solve this error: (recipe for target "main.o" failed), could you help me please.

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

      @@eddyfernandez7806 Read here: www.avrfreaks.net/forum/recipe-target-maino-failed You may be missing some libs. Usually on Eclipse with the AVR plugin you just have to add a src folder, copy all your files to the source folder, set the target device and frequency, and the compiler does the rest. You could also try VSCode, or Atom with the Platform.io extention, I've moved to this IDE, but still i consider the Eclipse IDE + AVR plugin the simpler one.