Difference between revisions of "Interface the HX711 to Pi"

From HiveTool
Jump to: navigation, search
Line 7: Line 7:
 
You will need a 1x4 female header ([http://www.amazon.com/Gino-2-54mm-Straight-Single-Headers/dp/B00899WQ6U/ref=sr_1_1?s=electronics&ie=UTF8&qid=1397881924&sr=1-1&keywords=headers 2.54mm Pitch Straight Single Row PCB Female Pin Headers]) and [http://www.phidgets.com/products.php?category=34&product_id=3135_0 load cells].
 
You will need a 1x4 female header ([http://www.amazon.com/Gino-2-54mm-Straight-Single-Headers/dp/B00899WQ6U/ref=sr_1_1?s=electronics&ie=UTF8&qid=1397881924&sr=1-1&keywords=headers 2.54mm Pitch Straight Single Row PCB Female Pin Headers]) and [http://www.phidgets.com/products.php?category=34&product_id=3135_0 load cells].
  
#Order the board for $6.99 on [http://www.ebay.com/itm/Weighing-Sensor-AD-Module-Dual-channel-24-bit-a-d-Conversion-HX711-Shieding-/400460838550 Ebay]<br>[http://www.ebay.com/itm/HX711-Weighing-Sensor-Dual-Channel-24-Bit-Precision-A-D-Module-Pressure-Sensor/161264280835 This one] for $2.19 should work, too.  
+
#Order the board for $6.99 on [http://www.ebay.com/itm/Weighing-Sensor-AD-Module-Dual-channel-24-bit-a-d-Conversion-HX711-Shieding-/400460838550 Ebay]<br>[http://www.ebay.com/itm/Weighing-Sensor-AD-Module-Dual-channel-24-bit-a-d-Conversion-HX711-Shieding-/400460838550 This one] for $2.19 should work, too.  
 
#Download the software from gitHub <br> git clone https://github.com/ggurov/hx711
 
#Download the software from gitHub <br> git clone https://github.com/ggurov/hx711
 
#Solder a 1x4 straight female header in P5 on Pi (bottom side of board) and a 1x4 male header on the DCT board
 
#Solder a 1x4 straight female header in P5 on Pi (bottom side of board) and a 1x4 male header on the DCT board
Line 45: Line 45:
 
http://hivetool.org/w/images/d/d2/Hx711_english.pdf
 
http://hivetool.org/w/images/d/d2/Hx711_english.pdf
 
==Load Cell Spec Sheet==
 
==Load Cell Spec Sheet==
[http://www.phidgets.com/products.php?category=34&product_id=3135_0 CZL635 Spec Sheet]
+
[[http://www.phidgets.com/products.php?category=34&product_id=3135_0]]

Revision as of 15:05, 22 April 2014

Two DCT Electronic HX711 boards with metal shield.
DCT Electronic HX711 board plugged into P5

Building a Raspberry based electronic scale using the DCT Electronic HX711 board is as easy as Pi!

The DCT board comes with two sets of male headers, straight and right angle, and a metal shield.

You will need a 1x4 female header (2.54mm Pitch Straight Single Row PCB Female Pin Headers) and load cells.

  1. Order the board for $6.99 on Ebay
    This one for $2.19 should work, too.
  2. Download the software from gitHub
    git clone https://github.com/ggurov/hx711
  3. Solder a 1x4 straight female header in P5 on Pi (bottom side of board) and a 1x4 male header on the DCT board
  4. Solder the load cells to the DCT board.
  5. Plug the DTC board into the Pi.
  6. Change the GPIO pins in hx711.c from 30 and 31 to 28 and 30. This way they are all on one side of P5:
#define CLOCK_PIN       30
#define DATA_PIN        28
P5 Pi HX711
P5-1 +5 Vcc
P5-3 GPIO28 DO/RX
P5-5 GPIO30 CK/TX
P5-7 Ground GND


Calibration

HX711 Spec Sheet

http://hivetool.org/w/images/d/d2/Hx711_english.pdf

Load Cell Spec Sheet

[[1]]