Req Assistance on Load cell

My name is James. I recently bought 4 Load sensor 50kg (3 wires), a Hx711 amplifier (green) and a bluno nano microcontroller. I saw some load cell hook up diagrams and tested it out but I can't seem to get the readings from the serial monitor. Please advice as I really need this to work for my final year project.

Post a schematic of your wiring. Post your code. Describe what the code does, and how that differs from what you want it to do. That is the mimnimum that we need to be able to give intelligent assistance.

Please read the “how to use the forum” stickies.

I got the program codes from Load Cell Amplifier HX711 Breakout Hookup Guide - learn.sparkfun.com

I’m not sure what does this code does but i just want to see the weight on the serial monitor when i exert force onto the sensors.

I have attached a circuit diagram.

I really need help for my project on Load Sensor. I bought 4 Load sensors 50kg - Sen - 10245 and connected it this way shown below.

I bought 4 sensors, 1 hx711 amplifier and one bluno nano (micro controller).

When tested with supporting at the sides and pressing the middle using fingers, the readings fluctuates.
Please advice me as this is a major project I’ve taken up on and i require it to work.

Hi,
Welcome to the forum.
Thanks for the schematic.

Try google connecting 4 3-wire load cell arduino

One of the results gives your circuit and another wiring arrangement.

and
it refers to

http://www.scottcutler.net/catpoop/catpoop.html

that uses a HX711.

OPs schematic.

Now we need you to post your code.

Thanks.. Tom... :slight_smile:

This is the code I'm using from MikroElectrons. I downloaded the Hx711 file as well. By the way, can you also advice me on how I should do proper Mounting to test out my Load sensors.

My project requires me to put these 4 load sensors between the shoe outsole and shoe insole to allow people to walk with the portable device while measuring their own weight. So its basically a portable weighing machine in your shoe. How should i mount it such that the load sensors can read the person's weight?

#include "HX711.h"

// HX711.DOUT - pin #A1

// HX711.PD_SCK - pin #A0

HX711 scale(A1, A0);

float read_ADC;

float read_load;

float read_average;

void setup() {

Serial.begin(38400);

scale.set_scale(400.f); // this value is obtained by calibrating the scale with known weights; see the README for details

scale.tare(); // reset the scale to 0

Serial.print("read: \t\t");

Serial.println(scale.read()); // print a raw reading from the ADC

Serial.print("read average: \t\t");

Serial.println(scale.read_average(20)); // print the average of 20 readings from the ADC

Serial.print("get units: \t\t");

Serial.println(scale.get_units(5), 1); // print the average of 5 readings from the ADC minus tare weight, divided

// by the SCALE parameter set with set_scale

Serial.println("Readings:");

}

void loop() {

read_ADC = scale.read();

Serial.print("read: \t");

Serial.println(read_ADC); // print a raw reading from the ADC

read_load = scale.get_units();

Serial.print("One reading:\t");

Serial.print(read_load, 1);

Serial.println(" Gram");

read_average = scale.get_units(10);

Serial.print("Average:\t");

Serial.print(read_average, 1); // print the average of 10 readings from the ADC minus tare weight, divided

// by the SCALE parameter set with set_scale

Serial.println(" Gram");

delay(1000);

}

Hi,
Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Try;

https://learn.sparkfun.com/tutorials/load-cell-amplifier-hx711-breakout-hookup-guide

but please google mounting load cells hx711

Tom... :slight_smile:

#include "HX711.h"


// HX711.DOUT  - pin #A1

// HX711.PD_SCK - pin #A0


HX711 scale(A1, A0);


float read_ADC;

float read_load;

float read_average;


void setup() {

  Serial.begin(38400);

  scale.set_scale(400.f); // this value is obtained by calibrating the scale with known weights; see the README for details

  scale.tare();               // reset the scale to 0


  Serial.print("read: \t\t");

  Serial.println(scale.read());  // print a raw reading from the ADC


  Serial.print("read average: \t\t");

  Serial.println(scale.read_average(20));  // print the average of 20 readings from the ADC


  Serial.print("get units: \t\t");

  Serial.println(scale.get_units(5), 1);        // print the average of 5 readings from the ADC minus tare weight, divided

  // by the SCALE parameter set with set_scale


  Serial.println("Readings:");

}


void loop() {

  read_ADC   =   scale.read();

  Serial.print("read: \t");

  Serial.println(read_ADC);                 // print a raw reading from the ADC


  read_load   =    scale.get_units();


  Serial.print("One reading:\t");

  Serial.print(read_load, 1);

  Serial.println("  Gram");


  read_average   =    scale.get_units(10);

  Serial.print("Average:\t");

  Serial.print(read_average, 1); // print the average of 10 readings from the ADC minus tare weight, divided

  // by the SCALE parameter set with set_scale

  Serial.println("  Gram");


  delay(1000);


}[code][code]

[/code][/code]