Cov txheej txheem:

Huab Npaj Arduino Flowmeter: 5 Kauj Ruam
Huab Npaj Arduino Flowmeter: 5 Kauj Ruam

Video: Huab Npaj Arduino Flowmeter: 5 Kauj Ruam

Video: Huab Npaj Arduino Flowmeter: 5 Kauj Ruam
Video: Review of Turmera 4S 12.8V 200A BMS Lithium LiFePo4 Battery Management System | WattHour 2024, Kaum ib hlis
Anonim
Huab Npaj Arduino Flowmeter
Huab Npaj Arduino Flowmeter

Txog qhov kev qhia no, kuv yuav qhia koj yuav teeb tsa ib qho arduino nrog Adafruit flowmeter li cas, xa cov ntaub ntawv tau txais mus rau huab thiab siv nws rau ib qho proyect uas koj tuaj yeem xav.

Kauj Ruam 1: Peb Yuav Tsum Pib Li Cas?

Peb Yuav Tsum Pib Li Cas?
Peb Yuav Tsum Pib Li Cas?
Peb Yuav Tsum Pib Li Cas?
Peb Yuav Tsum Pib Li Cas?
Peb Yuav Tsum Pib Li Cas?
Peb Yuav Tsum Pib Li Cas?

-Arduino ib R3

-Adafruit flowmeter

-Arduino ethernet ntaub thaiv npog

-UTP kab

-Cables rau arduino

-Arduino IDE

Kauj Ruam 2: Ntxig Txoj Cai rau Arduino

Txoj cai xa rov qab ntau npaum li cas mililitres hla lub flowmeter thiab txhua txhua ob xa cov ntaub ntawv siv data.print () ntawm lub qhov (socket). Tab sis ua ntej koj yuav tsum txuas koj li arduino rau modem/hloov thiab teeb tsa tus IP chaw nyob thiab lub qhov (socket) los siv hauv cov cai ntawm arduino lub tswv yim.

Yuav ua li cas kom tau txais cov ntaub ntawv yog nyob ntawm koj. Koj tuaj yeem siv nruab nrab nruab nrab mloog tib lub qhov (socket) uas arduino xa cov ntaub ntawv, tau txais hnub tim thiab ntxig nws rau hauv lub database lossis siv raws li qhov koj xav tau.

Yog li tsuas yog tau txais cov cai thiab xa nws mus rau arduino, teeb tsa tus ip ntxiv thiab lub qhov (socket).

Kauj Ruam 3: Txheeb xyuas Arduino thiab Flowmeter

Txheeb xyuas Arduino thiab Flowmeter
Txheeb xyuas Arduino thiab Flowmeter

Kev sib txuas nws yooj yim heev, ua ntej txuas cov ntaub thaiv npog arduino nyob rau sab saum toj ntawm arduino uno R3 tom qab ntawd koj yuav tsum txuas cov kab txuas ntawm gnd, 5v thiab 2 tus pin zoo li hauv daim duab, koj tuaj yeem tso tus tiv thaiv ntawm 5v tus pin tab sis nws yog tsis tsim nyog.

Kauj Ruam 4: Txuas rau Huab

Kauj ruam kawg yog tsuas yog txuas lub utp cable rau arduino ethernet shield thiab rau modem/hloov koj tuaj yeem txuas nws hauv tib lub modem/hloov uas koj lub laptop lossis pc, thiab yog tias koj teeb tsa kom raug ip ntxiv ntawm arduino hauv tib yam network uas koj lub laptop lossis pc, koj tuaj yeem xa ping mus rau arduino txhawm rau txheeb xyuas qhov kev sib txuas.

Kauj Ruam 5: Cov lus pom zoo

Koj tuaj yeem siv cov cai no xa cov ntaub ntawv mus rau huab app, lossis yog tias koj xav tau koj tuaj yeem siv lub lcd zaub thiab qhia cov ntaub ntawv.

Pom zoo: