Cov txheej txheem:
- Kauj ruam 1: GitHub Txuas
- Kauj Ruam 2: Nyob Ua Ke hauv YouTube
- Kauj Ruam 3: Cov Cheeb Tsam Yuav Tsum Tau
- Kauj Ruam 4: Yuav Ua Li Cas Siv Txoj Cai thiab Kev Sib Txuas
- Kauj ruam 5: Kev teeb tsa
- Kauj Ruam 6: PCB Tsim
- Kauj Ruam 7: Txheeb Xyuas Kev Tswj Dej Num Ntawm Qhov System
- Kauj ruam 8: Code
Video: Anti-Icing System: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Txoj haujlwm no lub hom phiaj txhawm rau tiv thaiv kev tsim cov dej khov lossis daus los ntawm kev siv cov dej qab ntsev los ua cov tshuaj tiv thaiv icing. Siv cov av noo thiab ntsuas qhov ntsuas kom pom ib puag ncig ib puag ncig, cov kais dej kis tau cov dej qab ntsev uas tswj los ntawm Raspberry Pi. IR sensor siv los tshuaj xyuas tib neeg thiab tsiaj txhu. Thaum nws pom tib neeg, lub tshuab tso dej tawm.
tag nrho cov lus qhia los tsim thiab siv txoj haujlwm tau muab rau hauv kuv nplooj GitHub.
GitHub: Kev Tiv Thaiv Icing System
Kauj ruam 1: GitHub Txuas
Ua siab zoo tuaj xyuas peb nplooj ntawv GitHub kom nkag siab txog cov khoom sib txawv, cov cuab yeej thiab pob khoom siv los tsim cov kab ke.
Anti-Icing system
xa mus rau qhov txuas saum toj no kom paub ntau ntxiv txog qhov haujlwm vim nws muaj nplooj ntawv sib txawv suav nrog readme thiab wiki cuam tshuam nrog nws los pab koj zoo dua hauv kev yooj yim tsim koj tus kheej los tiv thaiv icing system.
Kuv yuav muab cov lus qhia ib qib zuj zus los ntawm qib peb mus rau tom ntej txhawm rau ua kom yooj yim dua rau RPi cov neeg txhawb siab los tsim nws los ntawm cov lus qhia:)
Kauj Ruam 2: Nyob Ua Ke hauv YouTube
xa mus rau peb nplooj ntawv YouTube rau kev ua yeeb yam nyob. txuas hauv qab no:
YouTube demo rau Anti-Icing system
Kauj Ruam 3: Cov Cheeb Tsam Yuav Tsum Tau
Kho vajtse:
1. IR sensor: HC-SR501 PIR Motion Detector Voltage: 5V-20VPower Siv: 65mATTL tso zis: 3.3V, 0VLock lub sijhawm: 0.2 secTrigger txoj kev: L-ua kom rov ua dua, H pab kom rov ua dua Kev ntsuas ntau: tsawg dua 120 degree, hauv 7 metersTemperature: - 15 ~ +70Dimension: 32*24 mm, nrug nruab nrab ntawm cov ntsia hlau 28mm, M2, Lens dimension hauv txoj kab uas hla: 23mm
2. Vaum thiab ntsuas kub: DHT22 (AM2302)
Tus nqi qis 3 txog 5V lub zog thiab I/O2.5mA siv tam sim no thaum hloov pauv (thaum thov cov ntaub ntawv) Zoo rau 0-100% cov av noo nyeem nrog 2-5% qhov tseeb Zoo rau -40 txog 80 ° C ntsuas kub ± 0.5 ° C raug Tsis muaj ntxiv tshaj li 0.5 Hz tus qauv piv txwv (ib zaug txhua 2 vib nas this) Cov tsheb npav ib leeg yog siv rau kev sib txuas lus ntawm MCU thiab DHT22, nws raug nqi 5ms rau kev sib tham ib zaug.
3. Txhuam Txhuam DC Lub Cev Tsav Tsheb Txiav QR50E
Tus nqi qis thiab ntau yam 12V 5W Rating280l/H twj tso kua mis tuaj yeem tswj ntau hom kev daws teeb meem suav nrog dej ntsev (brine) thiab roj ntawm ntau yam kev ntsuas
4. DC 12V roj teeb/ fais fab mov
Kauj Ruam 4: Yuav Ua Li Cas Siv Txoj Cai thiab Kev Sib Txuas
Txoj Cai:
- Clone qhov chaw cia khoom.
- Luam Code/html rau/var/www/html
- Hauv Code nplaub tshev, cov ntaub ntawv tseem ceeb tuaj yeem ua tiav.
- Yog tias koj hloov tus lej nkag/tso tawm tus lej tus lej, koj tuaj yeem siv CMake los tsim kho cov ntaub ntawv tseem ceeb.
- Qhib browser nkag mus rau qhov chaw nyob ntawm raspberryPi txhawm rau nkag mus rau tus neeg siv interface.
Kev Sib Txuas:
Peb siv WiringPi tus lej hauv peb tus lej, li no:
zog GPIO: 4.
lub cev GPIO: 3.
PIR sensor GPIO: 0.
DHT22 sensor GPIO: 7.
Kauj ruam 5: Kev teeb tsa
Raws li peb txoj haujlwm koom tes nrog Mysql, Php, web-server, muaj ntau qhov lus txib los teeb tsa chaw ua haujlwm raws li hauv qab no:
Txheeb xyuas raspberry pi system tau hloov kho tshiab
sudo apt-tau hloov tshiab
sudo apt-tau hloov tshiab
Txhim kho apache2, php, mysql txhawb nqa
sudo apt -tau nruab apache2 -y
sudo apt-tau nruab php7.0
sudo apt-tau nruab mysql-server
sudo apt-tau nruab mysql-client
sudo apt-tau txais default-libmysqlclient-dev
Tom qab txhim kho kev txhawb nqa rau ib puag ncig, database thiab cov lus cuam tshuam yuav tsum tau tsim los txhawm rau nyeem thiab sau cov ntaub ntawv.
Yog tias koj xav tsim tus lej tshwj xeeb nkag mus es tsis siv 'hauv paus', koj tuaj yeem yooj yim hla cov lus txib hauv qab no:
Tsim tus neeg siv tshiab npe hu ua 'pi'
sudo mysql -u hauv paus rau nkag mus rau mysql database.
mysql> Siv mysql;
mysql> Tsim tus neeg siv 'pi'@'localhost' IDENTIFIED BY '';
mysql> YOOJ YIM YOOJ YIM YOOJ YIM RAU *. * TO 'pi'@'localhost';
mysql> Hloov kho tus neeg siv SET plugin = 'mysql_native_password' YUAV UA LI CAS Tus Neeg Siv = 'pi';
mysql> NTSEEG NTSEEG NTAWV;
mysql> tawm;
service mysql rov pib dua
Tsim database rau raspberry pi
mysql> tsim database sensor;
mysql> siv sensor;
mysql> tsim cov lus th_sensor (lub npe char (20) tsis yog thawj qhov tseem ceeb, tus nqi ntab (10, 2) tsis yog null, tus nqi 2 ntab (10, 2);
mysql> tawm;
Tam sim no koj tuaj yeem luam/Code/html nplaub tshev rau lub neej ntawd localhost directory as/var/www/html.
Tsim cov ntawv sau rau kev pib ua haujlwm thaum lub pi qhib.
Piv txwv li, tsim cov ntaub ntawv npe ua boot.desktop nyob rau hauv kev taw qhia:.config/autostart/
Cov ntsiab lus ntawm cov ntaub ntawv raws li hauv qab no:
[Desktop nkag]
Hom = Daim Ntawv Thov
Lub npe = testboot
NoDisplay = muaj tseeb
Exec = xxx/xxx/xx./main
"Xxx/xxx/xx" yog cov npe ntawm koj cov ntaub ntawv tseem ceeb.
Thaum kawg, tom qab rov pib dua koj pi, koj tuaj yeem qhib koj lub vev xaib kom pom lub interface.
Kauj Ruam 6: PCB Tsim
Schematic thiab PCB Peb xaiv Orcad capture thiab PCB editor los kos PCB.
Sensors Circuit:
Thawj cov ntaub ntawv ntawm schematic. Thov qhib cov ntawv no los ntawm Orcad Capture.
Thawj daim ntawv ntawm PCB. Thov qhib cov ntawv no los ntawm PCB Editor.
Cov txheej txheem ntawm cov ntsuas hluav taws xob tau muab los saum toj no nrog rau cov ntaub ntawv PCB. 16 tus pin txaus rau peb txoj haujlwm, yog li peb tsuas yog siv lub taub hau nrog 16 Pins.
J2 yog rau PIR sensor
J3 yog rau cov av noo & ntsuas kub
J4 yog rau GPIO
R1 thiab R2 yog cov rub tawm cov neeg tawm tsam
D1 LED yog rau kev ntsuas lub cev. Lub teeb liab no yog siv los tswj lub cav.
D2 LED yog rau kev soj ntsuam. Nws yuav qhia yog tias lub Circuit Court ua haujlwm.
Tsav Tsheb Tsav Tsheb:
Thawj cov ntaub ntawv ntawm schematic. Thov qhib cov ntawv no los ntawm Orcad Capture.
Thawj daim ntawv ntawm PCB. Thov qhib cov ntawv no los ntawm PCB Editor.
Schematic thiab PCB rau Tsav Tsav
Schematic of Motor tsav Circuit yog muab saum toj no nrog rau cov ntaub ntawv PCB
J1 yog rau Cov Khoom Siv Hluav Taws Xob.
J2 yog rau Tsav.
J3 yog rau Tswj lub teeb liab uas los ntawm GPIO.
J4 yog rau hloov.
Q1 yog tswj lub cav.
D2 LED yog los xyuas seb lub Circuit Court ua haujlwm zoo li cas.
Kauj Ruam 7: Txheeb Xyuas Kev Tswj Dej Num Ntawm Qhov System
Cov ntsiab lus ntawm cov teeb liab ntws hauv tag nrho cov kab ke nrog rau lub sijhawm qeeb, piv txwv thiab rov ua dua tshiab thiab cov txheej txheem tsheb npav siv tau muab rau saum toj no txhawm rau nkag siab qhov system.
raws li ib txwm ntxiv cov lus qhia rau kev txhim kho thiab kev hloov kho tau zoo siab tos txais:)
Kauj ruam 8: Code
Cov lej pob tau muab tso rau hauv.zip cov ntaub ntawv uas koj tuaj yeem siv los rho tawm thiab sau ua ke hauv koj li raspberry pi.
Peb siv GitHub raws li peb qhov kev tswj hwm software raws li nws yog pub dawb, yooj yim los tswj thiab tso tawm cov ntawv tshiab sau tag nrho cov kev hloov pauv tau ua rau txoj haujlwm.
Cov txheej txheem ntawm cloning pob thiab suav nrog siv 'ua' cov lus txib yuav tsum yooj yim dua piv rau coding txhua kab (nws nyuaj rau sau ntau hom kev cai rau ntau yam khoom thiab ua haujlwm hauv ntau hom lus hauv cov ntaub ntawv sib txawv).
Kev tsis lees paub: Qhov no yuav tsum tsis txhob muab coj los tshaj tawm lossis txo qis rau lwm lub vev xaib, raws li kuv ntseeg tias peb tau qhib siab thiab muaj lub zej zog paub tab ua haujlwm ua ke txhawm rau txhim kho yav tom ntej zoo dua me ntsis:)
Vam tias koj txaus siab tsim lub phiaj xwm no ntau npaum li peb tau ua:)
Cheers!
Pom zoo:
Anti-Procrastinator: 7 Kauj Ruam
Anti-Procrastinator: Peb lub ntiaj teb tau hloov pauv qhov twg txhua lub hnub nyoog ntawm tib neeg tau glued rau lawv lub xov tooj. Qee zaum, nws tuaj yeem cuam tshuam thiab ua rau tib neeg ncua sijhawm ntawm txoj haujlwm uas lawv xav tau kom ua tiav. Anti-Procrastinator yog ib lub cuab yeej uas tso cai rau tib neeg los so
Resistor Storage System System "Resys": 7 Cov Kauj Ruam (nrog Duab)
Resistor Storage Location System "Resys": Qhov no yog ib qho system uas ua rau nws yooj yim mus nrhiav koj cov resistors.Search ntawm qhov xav tau tus nqi, thiab txoj cai tub rau khoom teeb tsa.Qhov system no tuaj yeem txuas mus rau cov lej xav tau ntawm cov tub rau khoom
Anti Cawv Tsheb Saftey System: 3 Kauj Ruam
Anti Alcohol Car Saftey System: Tam sim no ib hnub muaj xwm txheej tshwm sim ntau vim yog kev qaug cawv thiab nws yuav tsum tso tseg cov neeg kom tsav tsheb tom qab qaug cawv.Qhov dej cawv lub tsheb muaj kev nyab xeeb muab kev nyab xeeb uas tiv thaiv kev sib tsoo hauv txoj hauj lwm qaug cawv. sensors thiab siv
Ua kom tiav Arduino-based Tsheb GPS+GPRS Anti-theft System: 5 Cov Kauj Ruam (nrog Duab)
Ua tiav Arduino-based Vehicle GPS+GPRS Anti-theft System: Nyob zoo txhua tus! Kuv xav tsim kom tiav kev daws teeb meem rau GPS tsheb tiv thaiv tub sab ntaus ntawv, uas yuav yog: pheej yig li sai tau raws li ua tau raws li nws tsuas yog ua haujlwm -there's-nothing-else-to-do li ua tau li ntawd Kuv thiaj li xaus tsim Arduino-based soluti
Yuav Ua Li Cas Thiaj Li Txuas Kom Zoo thiab Teeb Lub Mini HiFi Shelf System (Suab System): 8 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Thiaj Li Txuas Tau Zoo thiab teeb tsa Mini HiFi Shelf System (Suab System): Kuv yog ib tus neeg uas nyiam kawm txog kev tsim hluav taws xob. Kuv yog tsev kawm theem siab ntawm Ann Richards Tsev Kawm Ntawv rau Cov Ntxhais Hluas Thawj Coj. Kuv tab tom ua cov lus qhia no los pab txhua tus neeg uas xav kom txaus siab rau lawv cov nkauj los ntawm Mini LG HiFi Shelf Syste