I-Flowmeter: yonke into ekufuneka uyazi

imitha yokuhamba

Linganisa ukuhamba kwamanzi okanye ukusetyenziswa oku kubalulekile kwezinye iimeko, kwaye koku kufuneka ube nemitha yokuhamba. Umzekelo, ukuba ulandela iFomula 1, uya kwazi ukuba amaqela e-FIA asebenzisa imitha yokuhamba enjini ukubona ukusetyenziswa kweqela ngalinye kwiimoto zabo kwaye ke kuthintelwe imigibe enokubakho ngokufaka intsholongwane enkulu ukuze ufumane okungakumbi amandla ngamaxesha athile okanye ukuba ioyile isetyenziselwa njani ukutshisa i-injini ...

Kodwa ngaphandle kwe-F1, unokuba nomdla wokuba nesinye sezi zixhobo ukwazi ukuba yeyiphi na into yokusetyenziswa kwamanzi okanye nayiphi na enye into engamanzi, okanye ukumisela inqanaba lokuhamba kwetyhubhu etsala etankini ukumisela ukuba idliwe nini, iinkqubo zokunkcenkceshela izitiya, njl. Inkqubo ye- Ukusetyenziswa kwezi zinto kuninzi, Ungacwangcisa umda ngokwakho.

Flowmeter okanye flowmeter

Kufuneka uyazi njani ukuhamba sisixa samanzi okanye ulwelo olujikeleza ngombhobho okanye isitovu kwiyunithi yexesha. Ilinganiswa ngeeyunithi zevolumu ezahlulwe yiyunithi yexesha, njengelitha ngomzuzu, ilitha ngeyure, ikyubhi yemitha ngeyure, ii-cubic metres ngomzuzwana, njl. (l / min, l / h, m³ / h, ...).

Yintoni imitha yokuhamba?

El imitha yokuhamba okanye imitha yolwelo Sisixhobo esikwazi ukulinganisa elo nani lokuhamba lihamba ngombhobho. Kukho iimodeli ezininzi kunye nabavelisi abanokudityaniswa ngokulula kunye neArduino. Eli nqanaba lokuhamba liya kuxhomekeka kwizinto ezininzi, ezinje ngecandelo lombhobho kunye noxinzelelo lonikezelo.

Ngokulawula ezo paramitha zimbini kunye nokuhamba kwemitha yokulinganisa ukuhamba, unokuba nenkqubo ephucukileyo yokulawula ulwelo. Iluncedo kakhulu ekuzenzekelayo nasekhaya okanye ezinye iiprojekthi zombane kunye nezamashishini. Kwiiprojekthi zasekhaya, abenzi bane iimodeli ezaziwayo njenge-YF-S201, FS300A, FS400A, Njl

Iindidi ze-Flowmeter

Kwimarike uya kuyifumana iintlobo ezahlukeneyo Iiflowmeters okanye ii-flow meters ngokuxhomekeke ekusebenziseni kwakho kunye nohlahlo-lwabiwo mali ofuna ukulutyala. Ukongeza, ezinye zazo zichaphazela ulwelo, njengamanzi, ipetroli, ioyile, ezinye zinokuchaneka okungaphezulu okanye okuncinci, ngamaxabiso aqala kwi-euro ezimbalwa ukuya kumawaka ee-euro kwezinye eziphambili kakhulu kwinqanaba lezemveliso

  • Umatshini wokuhamba womatshini: Yimitha eqheleke kakhulu ukuba wonke umntu anayo endlwini yokulinganisa amanzi awasebenzisayo kwiimitha zabo. Ukuhamba kuguqula iiturbine ezihambisa ishafti eqhagamshelwe kwikhawuntara yoomatshini eqokelela ufundo. Ukuba ngumatshini, kule meko ayinakudityaniswa neArduino.
  • I-flowmeter ye-Ultrasonic- Isetyenziswa ngokubanzi kumzi mveliso, kodwa kubiza kakhulu ukusetyenziswa ekhaya. Unokulinganisa umlinganiso wokuhamba kwexesha elithathayo ukuze i-ultrasound idlule kulwelo olulinganiswa.
  • Ukuhamba kombane wombane: Zikwasoloko zisetyenziselwa ishishini imibhobho ukuya kwii-intshi ezingama-40 kunye noxinzelelo oluphezulu. Zibiza imali eninzi kakhulu kwaye zisebenzisa inkqubo yombane yokulinganisa.
  • Isixhobo seTurbine Flowmeter: ixabiso eliphantsi kwaye lichaneke kakhulu. Ezi zezinto onokuzidibanisa ngokulula kunye neArduino yakho kwaye zisetyenziselwa ukusetyenziswa kwekhaya ngokunjalo. Basebenzisa i-turbine eneebhle ezijika njengoko ukuhamba kolwelo kudlula kuyo kwaye isivamvo seHolo siphumo siya kubala ukuhamba ngokwee-RPMs ezifikelela ekujikeni. Ingxaki kukuba kukungxamela, banokwehla koxinzelelo oluphezulu kwaye bahlupheke ngokuwohloka kwiindawo zabo, ngenxa yoko abayi kuhlala ixesha elide ...

Ukuthatha ingqalelo yokuba sinomdla kwinto ye-elektroniki, siza kuqhubeka nokufunda ezi ...

Iiflowmeters zeArduino kunye nalapho ungathenga khona

Los Iimitha zokuhamba zohlobo lwe-elektroniki ezisetyenziswa eArduinoNjenge-YF-S201, YF-S401, FS300A, kunye ne-FS400A, banesingxobo seplastikhi kunye ne-Rotor enamacala ngaphakathi, njengoko benditshilo ngaphambili. Imagnethi ebotshelelwe kwirotor kunye nokujikeleza kwayo, sisiphumo seHolo, iya kumisela ukuhamba okanye ukusetyenziswa okulinganisa ngalo lonke ixesha. Imveliso yesenzi iya kuba ngumtshangatshangiso wesikwere kunye nokuhamba rhoqo ngokulingana nokuhamba kuwo.

Into ekuthiwa ngu K yokuguqula phakathi kokuhamba (Hz) kunye nokuhamba (l / min) kuxhomekeke kwiiparamitha umenzi azinike inzwa, ke ngoko ayifani kubo bonke. Kwi ugcino lwedatha okanye ulwazi lwemodeli Ukuthenga kwakho kuya kuba namaxabiso ukuze uwasebenzise kwikhowudi yeArduino. Akunakuba ngokuchanekileyo kuyafana, nangona ngokubanzi, ezi zeArduino zihlala zahluka phakathi kwe-10% ngaphezulu okanye ngezantsi malunga nokuhamba ngoku.

Los iimodeli ezicetyiswayo Zizo:

  • YF-S201: Inonxibelelwano lwe-1/4 ″ ityhubhu, ukulinganisa ukuhamba phakathi kwe-0.3 ukuya kwi-6 yeelitha ngomzuzu. Uxinzelelo oluphezulu olunyamezelayo yi-0.8 MPa, ngamaqondo aphezulu obushushu obulwelo ukuya kuthi ga kuma-80ºC. Umbane wayo usebenza phakathi kwe-5-18v.
  • YF-S401: Kule meko, uqhagamshelo kumbhobho ngu 1/2 ″, nangona ungasoloko usebenzisa isiguquli. Ukuhamba kwemilinganiselo yokulinganisa ukusuka kwi-1 ukuya kwi-30 l / min, ngoxinzelelo ukuya kuthi ga kwi-1.75 MPa kunye namaqondo obushushu obushushu ukuya kuthi ga kuma-80ºC. Umbane wayo, nangona kunjalo, usese-5-18v.
  • FS300AUmbane ofanayo kunye nobushushu obufanayo obufanayo njengangaphambili. Kule meko ngemibala ye-3/4 ″, ngokuhamba okuphezulu kwe-1 ukuya kwi-60 l / min kunye noxinzelelo lwe-1.2 MPa.
  • Akukho mveliso ifunyenweyo: ikwagcina umbane kunye nobushushu obuphezulu ngokubhekisele kwezinye iindlela, kunye nokuhamba okuphezulu kunye noxinzelelo ziyafana ne-FS300A. Ekuphela kwento eyahlukileyo kukuba ityhubhu yi-intshi enye.

Kuya kufuneka ukhethe eyona inomdla kakhulu kwiprojekthi yakho ...

Umdibaniso neArduino: umzekelo osebenzayo

IArduino iqhagamshelwe kwi-flowmeter

La Unxibelelwano lwemitha yokuhamba kwakho ilula kakhulu. Bahlala baneentambo ezi-3, enye yeyokuqokelela idatha ekuhambeni, kunye nezinye ezimbini zamandla. Idatha inokuqhagamshelwa kufakelo lweArduino olulungele wena kwaye emva koko ucwangcise ikhowudi yomzobo. Kunye nonikezelo lwamandla, enye iya kwi-5V kwaye enye iye kwi-GND, kwaye iyakwanela ukuba iqale ukusebenza.

Kodwa ukuze ube nohlobo oluthile lomsebenzi, kufuneka wenze i ikhowudi kwiArduino IDE. Iindlela zokusebenzisa le sensor yokuhamba zininzi, kunye neendlela zenkqubo, nangona ulapha unayo umzekelo osebenzayo nolula ukuze uqale ukubona ukuba isebenza njani:

const int sensorPin = 2;
const int measureInterval = 2500;
volatile int pulseConter;
 
// Si vas a usar el YF-S201, como en este caso, es 7.5.
//Pero si vas a usar otro como el FS300A debes sustituir el valor por 5.5, o 3.5 en el FS400A, etc.
const float factorK = 7.5;
 
void ISRCountPulse()
{
   pulseConter++;
}
 
float GetFrequency()
{
   pulseConter = 0;
 
   interrupts();
   delay(measureInterval);
   noInterrupts();
 
   return (float)pulseConter * 1000 / measureInterval;
}
 
void setup()
{
   Serial.begin(9600);
   attachInterrupt(digitalPinToInterrupt(sensorPin), ISRCountPulse, RISING);
}
 
void loop()
{
   // Con esto se obtiene la frecuencia en Hz
   float frequency = GetFrequency();
 
   // Y con esto se calcula el caudal en litros por minuto
   float flow_Lmin = frequency / factorK;
 
   Serial.print("Frecuencia obtenida: ");
   Serial.print(frequency, 0);
   Serial.print(" (Hz)\tCaudal: ");
   Serial.print(flow_Lmin, 3);
   Serial.println(" (l/min)");
}

Kwaye ukuba uyafuna Sebenzisa ityiwa, emva koko ungasebenzisa enye ikhowudi, okanye udibanise zombini ukuze zombini ... Ukusetyenziswa, ukuhamba okuphunyeziweyo kufuneka kudityaniswe ngokubhekisele kwixesha:

const int sensorPin = 2;
const int measureInterval = 2500;
volatile int pulseConter;
 
//Para el YF-S201 es 7.5, pero recuerda que lo debes modificar al factor k de tu modelo
const float factorK = 7.5;
 
float volume = 0;
long t0 = 0;
 
 
void ISRCountPulse()
{
   pulseConter++;
}
 
float GetFrequency()
{
   pulseConter = 0;
 
   interrupts();
   delay(measureInterval);
   noInterrupts();
 
   return (float)pulseConter * 1000 / measureInterval;
}
 
void SumVolume(float dV)
{
   volume += dV / 60 * (millis() - t0) / 1000.0;
   t0 = millis();
}
 
void setup()
{
   Serial.begin(9600);
   attachInterrupt(digitalPinToInterrupt(sensorPin), ISRCountPulse, RISING);
   t0 = millis();
}
 
void loop()
{
   // Obtención del afrecuencia
   float frequency = GetFrequency();
 
   //Calcular el caudal en litros por minuto
   float flow_Lmin = frequency / factorK;
   SumVolume(flow_Lmin);
 
   Serial.print(" El caudal es de: ");
   Serial.print(flow_Lmin, 3);
   Serial.print(" (l/min)\tConsumo:");
   Serial.print(volume, 1);
   Serial.println(" (L)");
}

Sele uyazi ukuba kuxhomekeke kwinto oyifunayo kufuneka uguqule le khowudi, ukongeza, kubaluleke kakhulu ukuyibeka into K yemodeli oyithengileyo okanye ayizukuthatha imilinganiselo yokwenyani. Sukulibala!


Yiba ngowokuqala ukuphawula

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.