[ITEM]

Technology, HX711 is a precision 24-bit analog- to-digital. Interface directly with a bridge sensor. 1 Typical weigh scale application block diagram. RATE Digital Input Output data rate control, 0: 10Hz; 1: 80Hz. AVIA SEMICONDUCTOR. Reference Driver (Assembly).

I just recently got a HX711 Weigh Sensor Module ( and this load cell (I have an issue with the values that are printed onto the screen. The weight listed fluctuates even when a static load is applied to it. Attached is my code. I am using the HX711 library that is given from the manufacturer. Below is a picture of my wiring diagram. Is there any additions to the code to help make the values returned more stable? Do I need to add any electrical components to my wiring diagram?

Wiring diagram: Red (5V), Black (GND), White (S-), Green (S+). The black bar is the load cell. The load cell is attached to a weigh sensor module that is not pictured on the diagram. Torrent crazy. A picture below is attached. I was originally using the one that the manufacturer had from their wiki but I have been looking at this library also.

It seems to have more features. I'm going to try and set it up with the serial monitor rather than the LCD for now.

This is my current set-up without the LCD. Does the wiring look correct?

I could make a more detailed fritzing schematic if needed. When I download and use the bogde library while using the HX711serial example, my serial monitor shows a bunch of nonsense characters (see attached picture). I am using the load cell that came with the DFRobot module.

Yes that fixes the serial monitor problem! So I used the 1 kg load cell that came with the weighing module and I calibrated it using a 48g weight and got a set_scale value of 2120 with NO value fluctuations. Using the 50 kg load cell that I purchased from RobotShop (which is the load cell that I used when starting this topic) I needed to change set_scale to a value of 44 to return a value that was close to 48g. Having a set_scale value this low creates the fluctuations in the data set. Both load cells were subjected to the same conditions (cantilever beam) and the same code but performed very differently. The 50 kg is the top one, the 1 kg is the lower one.

What I can conclude from this is that the 50 kg load cell from RobotShop DOES NOT work with the DFRobot weighing module. Which is odd since both load cells look very similar and RobotShop sells the DFRobot weighing module on their website. Is there a 50-100 kg load cell available for purchase online that will work with the DFRobot weighing module? After looking at the schematic for the hx711 I realized that you can't amplify it because the amplifier is built into the HX711 chip. I really don't know what to tell you. I tried looking on the net and the prices are all over the place but I didn't see anything that would help.

The only thing I can help you with is to tell you how to capture serial terminal output. Download this freeware When you want to save the serial output from the arduino serial monitor just click 'File Save buffer to file'. Ok I will try that! That's too bad about the load sensor, thanks for looking for me.

I'll have to make this 1 kg sensor work until I can find a replacement. I'll contact DFRobot directly and ask em'. I have just a couple more programming questions and then I'll stay off of the forums for a bit. I'm no longer using the serial monitor. Instead I want to use an LCD keypad shield. On the LCD I want to display two things: 1) The Average -> which is the force on the load cell that is taken from a series of readings and averaged over a certain 'average-time'.

How do I change that 'average-time'? 2) The Total -> I want The Average to be added to the total after the 'average-time' has elapsed. Total = total + The Average The code I have works ok but there are some issues: 1: The average changes too fast. Is there a way to change the 'average-time' so that it will give it a smoother, more accurate reading? 2: scale.get_units(10) CANNOT be less than 0. It needs to be either 0 or a positive integer. This will skew The Total if there is subtraction from it.

Thanks for the help! I could but it may not be as accurate as doing the average. Ex: 0.0, 0.0, 0.1, 0.0, 0.0 It could happen that the value is taken at the 0.1 instead of taking the average and finding it to be 0.0. This may not be enough to skew my results since it is only going to be tenths of grams.

Ideally I would like it to be just like how it was for the serial monitor where there was an average returned from multiple readings over a period of time. But I will try the delay function.

[/ITEM]
[/MAIN]

Technology, HX711 is a precision 24-bit analog- to-digital. Interface directly with a bridge sensor. 1 Typical weigh scale application block diagram. RATE Digital Input Output data rate control, 0: 10Hz; 1: 80Hz. AVIA SEMICONDUCTOR. Reference Driver (Assembly).

I just recently got a HX711 Weigh Sensor Module ( and this load cell (I have an issue with the values that are printed onto the screen. The weight listed fluctuates even when a static load is applied to it. Attached is my code. I am using the HX711 library that is given from the manufacturer. Below is a picture of my wiring diagram. Is there any additions to the code to help make the values returned more stable? Do I need to add any electrical components to my wiring diagram?

Wiring diagram: Red (5V), Black (GND), White (S-), Green (S+). The black bar is the load cell. The load cell is attached to a weigh sensor module that is not pictured on the diagram. Torrent crazy. A picture below is attached. I was originally using the one that the manufacturer had from their wiki but I have been looking at this library also.

It seems to have more features. I'm going to try and set it up with the serial monitor rather than the LCD for now.

This is my current set-up without the LCD. Does the wiring look correct?

I could make a more detailed fritzing schematic if needed. When I download and use the bogde library while using the HX711serial example, my serial monitor shows a bunch of nonsense characters (see attached picture). I am using the load cell that came with the DFRobot module.

Yes that fixes the serial monitor problem! So I used the 1 kg load cell that came with the weighing module and I calibrated it using a 48g weight and got a set_scale value of 2120 with NO value fluctuations. Using the 50 kg load cell that I purchased from RobotShop (which is the load cell that I used when starting this topic) I needed to change set_scale to a value of 44 to return a value that was close to 48g. Having a set_scale value this low creates the fluctuations in the data set. Both load cells were subjected to the same conditions (cantilever beam) and the same code but performed very differently. The 50 kg is the top one, the 1 kg is the lower one.

What I can conclude from this is that the 50 kg load cell from RobotShop DOES NOT work with the DFRobot weighing module. Which is odd since both load cells look very similar and RobotShop sells the DFRobot weighing module on their website. Is there a 50-100 kg load cell available for purchase online that will work with the DFRobot weighing module? After looking at the schematic for the hx711 I realized that you can't amplify it because the amplifier is built into the HX711 chip. I really don't know what to tell you. I tried looking on the net and the prices are all over the place but I didn't see anything that would help.

The only thing I can help you with is to tell you how to capture serial terminal output. Download this freeware When you want to save the serial output from the arduino serial monitor just click 'File Save buffer to file'. Ok I will try that! That's too bad about the load sensor, thanks for looking for me.

I'll have to make this 1 kg sensor work until I can find a replacement. I'll contact DFRobot directly and ask em'. I have just a couple more programming questions and then I'll stay off of the forums for a bit. I'm no longer using the serial monitor. Instead I want to use an LCD keypad shield. On the LCD I want to display two things: 1) The Average -> which is the force on the load cell that is taken from a series of readings and averaged over a certain 'average-time'.

How do I change that 'average-time'? 2) The Total -> I want The Average to be added to the total after the 'average-time' has elapsed. Total = total + The Average The code I have works ok but there are some issues: 1: The average changes too fast. Is there a way to change the 'average-time' so that it will give it a smoother, more accurate reading? 2: scale.get_units(10) CANNOT be less than 0. It needs to be either 0 or a positive integer. This will skew The Total if there is subtraction from it.

Thanks for the help! I could but it may not be as accurate as doing the average. Ex: 0.0, 0.0, 0.1, 0.0, 0.0 It could happen that the value is taken at the 0.1 instead of taking the average and finding it to be 0.0. This may not be enough to skew my results since it is only going to be tenths of grams.

Ideally I would like it to be just like how it was for the serial monitor where there was an average returned from multiple readings over a period of time. But I will try the delay function.