Difference between revisions of "Interface the HX711 to Pi"
(→Load Cell Spec Sheet) |
|||
Line 1: | Line 1: | ||
+ | '''WARNING! This is under development and not ready for production!''' | ||
+ | |||
[[File:Hx711b.jpg|thumb|right|600px|Two DCT Electronic HX711 boards with metal shield.]] | [[File:Hx711b.jpg|thumb|right|600px|Two DCT Electronic HX711 boards with metal shield.]] | ||
[[File:Hx711a.jpg|thumb|right|600px|DCT Electronic HX711 board plugged into P5]] | [[File:Hx711a.jpg|thumb|right|600px|DCT Electronic HX711 board plugged into P5]] | ||
Line 46: | Line 48: | ||
==HX711 Spec Sheets== | ==HX711 Spec Sheets== | ||
http://hivetool.org/w/images/d/d2/Hx711_english.pdf | http://hivetool.org/w/images/d/d2/Hx711_english.pdf | ||
− | ==Load | + | ==Load Cells== |
+ | ===Spec Sheets=== | ||
#[http://www.phidgets.com/products.php?category=34&product_id=3135_0 CZL635 Spec Sheet (from Phidgets.com)] | #[http://www.phidgets.com/products.php?category=34&product_id=3135_0 CZL635 Spec Sheet (from Phidgets.com)] | ||
#[[Media:CZL602X.pdf|CZL602X Spec Sheet]] | #[[Media:CZL602X.pdf|CZL602X Spec Sheet]] | ||
+ | ===Theory and Application Notes=== | ||
+ | #[[Media:Load_cell_primer.pdf|LOAD CELL TECHNOLOGY IN PRACTICE by REVERE TRANSDUCERS APPLICATION NOTE 07/6-13/01]] |
Revision as of 03:04, 24 April 2014
WARNING! This is under development and not ready for production!
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.
- Order the board for $6.99 on Ebay
This one for $2.19 should work, too. - Download the software from gitHub
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 the load cells to the DCT board.
- Plug the DTC board into the Pi.
- 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 |
Contents
Calibration
HX711 Spec Sheets
http://hivetool.org/w/images/d/d2/Hx711_english.pdf