raterrerféarahamuflal) by sarahalrtullaq *E
{httpsz/ImmmummmnmmmMmWWgfikfl
referrer=sarahalmum1er=saraha
license: Tms code is puplit domain but you buy me a beer
This is the calibration shetch. use it to determine the ca
outputs the zeruifattor useful for projects that have a pe
Setup your stale and start the shetch wnhouv a weight on
Vress Mr or a/z to adjust the (allbratlonifattor until th
This example assumes pounds (lbs). It you prefer kilograms
calibration factor will be signititantly different but it
Vuur calibration tattor may be uery positive or very negat
This example tode uses bogde‘s excellent library: https://
Ardumu pin 2 c> hxm (LK
2 ,, mm
sv 7) vcc
awn ., awn
Must any pin on the Ardulno uno will be cumpatlble with nov
( )
E El -) Run on Arduino
re'errerféarahamuflal) by sarahali‘ullaq ’8
{httpsz/Immmummmnmmuméammflwdfiha
referrer=sarahalmumer=saraha
license: TMS code is puplit domain but you buy me a beer
This example demonstrates pasic scale output. See the call
This example tode uses bogde‘s excellent library: https://
bugfle's library is released under a sun GENERAL Puauc LIC
Yhe me does one thing well: read load tells. the breako
pased load cell uhith should allou a user to measure every
The HX711 board can be powered from 2.7V to 5v so the Ardu
—/
uinclude "HX711JI"
uderine calibrationjactor 77656.8 //rnis value is obtained
v
uderine new 3
( )
D [I -) Run on Alduino
Page 9 of 10
SparkFun_HX711_Calibration (https://codebender.cc/sketch:123175?
referrer=sarahalmutlaq) by sarahalmutlaq
(https://codebender.cc/user/sarahalmutlaq?referrer=sarahalmutlaq)
È Clone & Edit
(/?
referrer=sarahalmutlaq)
3 Download
(https://codebend
referrer=sarahalm
[ Edit
Please select a board
/
Example using the SparkFun HX711 breakout board with a sc
By: Nathan Seidle
SparkFun Electronics
Date: November 19th, 2014
License: This code is public domain but you buy me a beer
This is the calibration sketch. Use it to determine the c
outputs the zero_factor useful for projects that have a p
Setup your scale and start the sketch WITHOUT a weight on
Once readings are displayed place the weight on the scale
Press +/ or a/z to adjust the calibration_factor until t
Use this calibration_factor on the example sketch
This example assumes pounds (lbs). If you prefer kilograms
calibration factor will be significantly different but it
Your calibration factor may be very positive or very nega
and the direction the sensors deflect from zero state
This example code uses bogde's excellent library: https:/
bogde's library is released under a GNU GENERAL PUBLIC LI
Arduino pin 2 > HX711 CLK
3 > DOUT
5V > VCC
GND > GND
Most any pin on the Arduino Uno will be compatible with D
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
To program your Arduino from your browser, please use
Google Chrome (http://www.google.com/chrome/)/Chromium
(version 41 and above on Linux) or Mozilla Firefox
(http://www.mozilla.org/en-US/firefox/) (32bit only on Windows).
Dismiss
Once you have calculated your calibration factor of your load cell set up,
you can move on to other code, such as the simple scale output example
code, “SparkFun_HX711_Example”:
SparkFun_HX711_Example (https://codebender.cc/sketch:122922?
referrer=sarahalmutlaq) by sarahalmutlaq
(https://codebender.cc/user/sarahalmutlaq?referrer=sarahalmutlaq)
È Clone & Edit
(/?
referrer=sarahalmutlaq)
3 Download
(https://codebend
referrer=sarahalm
[ Edit
Please select a board
/
Example using the SparkFun HX711 breakout board with a sc
By: Nathan Seidle
SparkFun Electronics
Date: November 19th, 2014
License: This code is public domain but you buy me a beer
This example demonstrates basic scale output. See the cal
specific load cell setup.
This example code uses bogde's excellent library: https:/
bogde's library is released under a GNU GENERAL PUBLIC LI
The HX711 does one thing well: read load cells. The break
based load cell which should allow a user to measure ever
Arduino pin 2 > HX711 CLK
3 > DAT
5V > VCC
GND > GND
The HX711 board can be powered from 2.7V to 5V so the Ard
*/
#include "HX711.h"
#define calibration_factor 7050.0 //This value is obtaine
#define DOUT 3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
To program your Arduino from your browser, please use
Google Chrome (http://www.google.com/chrome/)/Chromium
(version 41 and above on Linux) or Mozilla Firefox
(http://www.mozilla.org/en-US/firefox/) (32bit only on Windows).
Dismiss
Check out the other example code in the Github repo, or Codebender for
powering down the HX711 (github, codebender) and known zero startup
(github, codebender).
Page 9 of 10