Cov txheej txheem:

Tutorial to Interface HX711 Nrog Load Cell Straight Bar 50kg: 10 Kauj Ruam (nrog Duab)
Tutorial to Interface HX711 Nrog Load Cell Straight Bar 50kg: 10 Kauj Ruam (nrog Duab)

Video: Tutorial to Interface HX711 Nrog Load Cell Straight Bar 50kg: 10 Kauj Ruam (nrog Duab)

Video: Tutorial to Interface HX711 Nrog Load Cell Straight Bar 50kg: 10 Kauj Ruam (nrog Duab)
Video: HX711 with a Four Wire Load Cell and Arduino | Step by Step Guide. 2024, Hlis ntuj nqeg
Anonim
Tutorial to Interface HX711 Nrog Load Cell Ncaj Bar 50kg
Tutorial to Interface HX711 Nrog Load Cell Ncaj Bar 50kg

HX711 BALACE MODULE

Nqe lus piav qhia:

Cov qauv no siv 24 qhov hloov pauv siab A / D hloov pauv. Cov nti no yog tsim los rau qhov ntsuas hluav taws xob muaj txiaj ntsig zoo thiab tsim qauv, muaj ob txoj hauv kev sib txuas sib txuas, cov phiaj xwm tau nce ntawm 128 kev sib txuas ua ke. Cov tswv yim hluav taws xob tuaj yeem teeb tsa los muab tus choj hluav taws xob hluav taws xob txuas hluav taws xob (xws li lub siab, ntsaws) lub qauv ntsuas qhov ntsuas yog qhov zoo tshaj qhov ua tau zoo, tus nqi qis ua piv txwv ua ntej-kawg qauv.

Kev qhia tshwj xeeb

- Ob txoj kev xaiv sib txawv sib nkag tau raws

-On-chip fais fab mov tswj rau load-cell thiab ADC analog fais fab mov

- On-chip oscillator xav tau tsis muaj cov khoom siv sab nraud nrog rau sab nrauv siv lead ua

-On-chip fais fab-rau-pib dua

-Cov ntaub ntawv raug: 24 ntsis (24 ntsis analog-rau-digital hloov pauv nti)

- Hloov Zaus: 10/80 Hz

- Cov khoom siv hluav taws xob ntau: 4.8 ~ 5.5V

Kev ua haujlwm tam sim no: 1.6mA

- Ua haujlwm kub ntau: -20 ~ +85 ℃

- Qhov ntev: Approx. 36 hli x 21 hli x 4 hli / 1.42 "x 0.83" x 0.16"

LOAD CELL STRAIGHT BAR 50KG

Nqe lus piav qhia:

Tus nqi qis ib nrab-tus choj thauj khoom ntawm tes nrog qhov ntsuas tag nrho ntawm 1.1 mV / V nrog qhov ntsuas siab tshaj plaws ntawm 50 kg. Qhov siab tshaj plaws qhov ntsuas tau tuaj yeem tiv taus yog 50 Kg. Yog tias koj ua ke ob qho ntawm lawv hauv kev ntsuas 50Kg lossis ntau dua, kev teeb tsa tus choj tag nrho tuaj yeem siv rau qhov hnyav ntau dua. Koj tseem tuaj yeem siv ua ke ntawm plaub.

Kev qhia tshwj xeeb:

Peev Xwm: 50kgTag nrho

- Loj: 34 x 34 x 3mm

- Cable ntev: 40cm

- Khoom siv: Aluminium Alloy

- Qhov hnyav: 18g

Kauj Ruam 1: Kev Npaj Khoom

Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom

Hauv qhov kev qhia no, koj yuav xav tau:

1. Arduino Uno Board thiab USB

2. HX711 Tshuav Sensor Module

3. Load Cell Straight Bar 50kg

4. Txiv neej rau Poj Niam Jumpers

5. Arduino IDE

6. 1K OHM resistor (2pcs)

Kauj Ruam 2: Kev Kho Vajtse

Kev Kho Vajtse
Kev Kho Vajtse

Kauj Ruam 3: HX711 Lub Tsev Qiv Ntawv

HX711 Lub Tsev Qiv Ntawv
HX711 Lub Tsev Qiv Ntawv
HX711 Lub Tsev Qiv Ntawv
HX711 Lub Tsev Qiv Ntawv

Phau ntawv qhia no xav tau lub tsev qiv ntawv hx711. Txog ntu txuas, hx711 lub tsev qiv ntawv tau muab tso rau.

Ua siab zoo rub lub tsev qiv ntawv thiab ntxiv. Zip cov tsev qiv ntawv rau koj Arduino IDE.

theem 1 - nyem Sketch

theem 2 - nyem suav nrog Lub Tsev Qiv Ntawv

kauj ruam 3 - nyem ntxiv. Zip Library

theem 4 - xaiv.zip cov ntaub ntawv koj tau rub tawm

Kauj ruam 4: Txuas Arduino rau PC

Txuas Arduino rau PC
Txuas Arduino rau PC

Txuas arduino uno uas tau npaj los txuas nrog hx711 thiab thauj khoom siv siv usb.

Kauj Ruam 5: Qauv Qauv Cai

Rub tus qauv qhov chaws hauv qab no, qhib thiab tso cov qauv no coj mus rau hauv koj li Arduino IDE.

NCO TSEG: Koj tuaj yeem hloov koj li kev ntsuas ntsuas ua ntej xa cov cai LOSSIS koj tuaj yeem hloov kho nws tom qab hauv kab ntawv saib xyuas txij li cov cai tso cai rau koj ntxiv thiab rho tawm tus nqi ntawm kev ntsuas ntsuas.

Kauj Ruam 6: Qhib Cov Qauv Piv Txwv

Qhib Cov Qauv Piv Txwv
Qhib Cov Qauv Piv Txwv
Qhib Cov Qauv Piv Txwv
Qhib Cov Qauv Piv Txwv
Qhib Cov Qauv Piv Txwv
Qhib Cov Qauv Piv Txwv

Ua ntej tshaj, koj yuav tsum rho tawm cov ntawv zip. txoj nyem rau zip cov ntaub ntawv thiab tom qab ntawd nyem rho tawm ntawm no. Qhov thib ob, qhib HX711_code cov ntaub ntawv thiab qhib cov qauv piv txwv.

Kauj Ruam 7: Tshaj Tawm Txoj Cai rau Arduino UNO

Tshaj Tawm Txoj Cai rau Arduino UNO
Tshaj Tawm Txoj Cai rau Arduino UNO
Tshaj Tawm Txoj Cai rau Arduino UNO
Tshaj Tawm Txoj Cai rau Arduino UNO
Tshaj Tawm Txoj Cai rau Arduino UNO
Tshaj Tawm Txoj Cai rau Arduino UNO

Ua ntej xa cov cai, koj yuav tsum xaiv pawg thawj coj yog Arduino UNO thiab koj yuav tsum paub tseeb tias com ntawm adruino IDE thiab chaw nres nkoj usb yog tib lub com. Tom qab ntawd, xa cov qauv piv txwv qhov chaws.

Kauj Ruam 8: Saib Xyuas Serial

Saib Xyuas
Saib Xyuas
Saib Xyuas
Saib Xyuas

Thaum koj tau ua tiav xa cov qauv piv txwv rau hauv koj li Arduino Uno Board. Qhib Serial Monitor thiab nws yuav qhia koj raws li pom hauv daim duab saum toj no.

Kauj Ruam 9: Qhov tshwm sim

Qhov tshwm sim
Qhov tshwm sim

thaum cov ntawv saib xyuas qhia pom qhov tseem ceeb, nws txhais tau tias kev cuam tshuam ntawm cov qauv thiab thauj khoom ntawm tes tau ua tiav. Tam sim no, koj tuaj yeem teeb tsa koj tus kheej ntsuas ntsuas los ntawm kev kho tus nqi siv '+' lossis 'a' txhawm rau nce tus nqi LOS YOG '-' lossis 'z' kom txo tus nqi. Koj yuav tsum ntsuas ntsuas ib zaug rau txhua lub cell load.

NCO TSEG: Cov ntawv qhia no tsuas yog qhia koj yuav ua li cas txhawm rau cuam tshuam HX711 nrog load cell ncaj bar 50kg. Qhov ntsuas ntsuas uas peb siv hauv cov qauv piv txwv yog txhawm rau txiav txim siab qhov hnyav rau 2kg thauj khoom. Koj yuav tsum teeb tsa koj tus kheej qhov ntsuas ntsuas rau koj lub cell load. Txheeb rau ntawm daim vis dis aus no kom paub yuav ua li cas teeb tsa qhov ntsuas ntsuas rau thauj cov cell. Nco ntsoov tias txhua lub xovtooj ntawm tes uas muaj qhov ntsuas sib txawv piv txwv. Yog li, koj yuav tsum teeb tsa kev ntsuas ntsuas rau txhua lub xov tooj ntawm tes.

Kauj ruam 10: Yeeb yaj duab

Cov vis dis aus no qhia yuav ua li cas HX711 Tshuav Tus Qauv Module nrog Load Cell Straight Bar 50kg

Pom zoo: