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.
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
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 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.
@@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.
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.
@@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.
You are doing great . With love from Nigeria
Thank you!
Sir what is tha capacity of load cell which you use,if I am use 1 ton load cell,what changes required in code
My cell capacity is 1Kg, but it should work with 1000kg cell too.
Thanks sir
Hello I have a atmega16 chip and i program with atmel studio, does this program work for atmel studio
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.
@@davidegironi Do you have an link for the Plugin ?
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
@@kenanhacig5055 Here you can find it: avr-eclipse.sourceforge.net/wiki/index.php/Plugin_Download
@@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
Please show the text of the program. How to use this library with Atmel studio
Hello. You can find code in the blogpost linked in video description.
Could you use this library with atmel studio? Dargin???
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.
How can i connect eclipse with realterm program to see the Weight !
Hello Alaa, you have to use a uart library, I usually go for the Peter Fleury one.
@@davidegironi okay thank you , but i need to know if there is a setting for realterm i should do !
@@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.
@@davidegironi okay thank you so much
did you use Atmel studio to progam it?
Hello, no I use Ecplise IDE with the AVR plugin and avrgcc as compiler.
To use this library in arduino uno do I have to modify something?
@@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.
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.
@@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.