Cov txheej txheem:
- Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Kauj ruam 2: Circuit Court
- Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
- Kauj Ruam 4: Hauv Visuino Ntxiv Cheebtsam
- Kauj Ruam 5: Hauv Visuino Connect Components
- Kauj Ruam 6: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 7: Ua si
Video: Nrhiav Thaum Ib Tus Neeg Nkag Mus Hauv Chav: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv qhov kev qhia no peb yuav kawm paub yuav nrhiav li cas thaum ib tus neeg nkag mus hauv chav siv RTC module, PIR sensor, OLED zaub thiab arduino.
Saib daim vis dis aus.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Arduino UNO (lossis lwm yam Arduino)
- PIR Sensor Cov
- RTC DS1307 Lub Sijhawm Sijhawm Sijhawm Tiag
- OLED zaub
- Jumper xov hlau
- Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
- Txuas PIR sensor tus pin [GND] rau Arduino tus pin [GND]
- Txuas PIR sensor tus pin [VCC] rau Arduino tus pin [5V]
- Txuas PIR sensor tus pin [Teeb liab] rau Arduino tus lej digital [8]
- Txuas RTC module tus pin [GND] rau Arduino tus pin [GND]
- Txuas RTC module tus pin [VCC] rau Arduino tus pin [5V]
- Txuas RTC module tus pin [SDA] rau Arduino tus pin [SDA]
- Txuas RTC module tus pin [SCL] rau Arduino tus pin [SCL]
- Txuas OLED Display pin [GND] rau Arduino tus pin [GND]
- Txuas OLED Display pin [VCC] rau Arduino tus pin [5V]
- Txuas OLED Display pin [SDA] rau Arduino tus pin [SDA]
- Txuas OLED Display pin [SCL] rau Arduino tus pin [SCL]
Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
Txhawm rau pib ua haujlwm rau Arduino, koj yuav tsum muaj Arduino IDE teeb tsa los ntawm no:
Thov nco ntsoov tias muaj qee qhov teeb meem tseem ceeb hauv Arduino IDE 1.6.6. Nco ntsoov tias koj nruab 1.6.7 lossis siab dua, txwv tsis pub Cov Lus Qhia no yuav tsis ua haujlwm! Yog tias koj tsis tau ua raws cov kauj ruam hauv Phau Ntawv Qhia no teeb tsa Arduino IDE rau program Arduino UNO! Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "Arduino UNO" raws li qhia hauv daim duab 2
Kauj Ruam 4: Hauv Visuino Ntxiv Cheebtsam
- Ntxiv "Lub Sijhawm Tiag (RTC) DS1307" tivthaiv
- Ntxiv "SSD1306/SH1106 OLED Display (I2C)" tivthaiv
- Ntxiv "Digital (Boolean) Hloov Xwb" tivthaiv
- Ntxiv "Ntug Ntug" tivthaiv
- Ntxiv "Clock On/Off Switch" tivthaiv
- Ntxiv "Timer" tivthaiv Hauv cov khoom qhov rai teeb tsa "Interval (uS)" mus rau 10000000 Qhov no txhais tau tias lub ntsuas cua yuav "tsaug zog" rau 10s (10000000uS) tom qab txhua qhov kev tshawb pom, qhov no yuav tiv thaiv ntau lub sijhawm sau ib zaug, Qhov zoo tshaj koj yuav teeb tsa qhov no rau qee yam xws li 5 feeb
- Ntxiv "Inverter" tivthaiv
Kauj Ruam 5: Hauv Visuino Connect Components
- Txuas Arduino digital Out pin [8] rau "ChangeOnly1" tus pin [Hauv]
- Txuas "ChangeOnly1" tus pin [Tawm] rau "DetectEdge1" tus pin [Hauv]
- Txuas "DetectEdge1" tus pin [Tawm] rau "ClockSwitch1" tus pin [Hauv]
- Txuas "ClockSwitch1" tus pin [Tawm] rau "RealTimeClock1" tus pin [Clock] thiab "Timer1" tus pin [Pib]
- Txuas "Timer1" tus pin [Tawm] rau "Inverter1" tus pin [Hauv]
- Txuas "Inverter1" tus pin [Tawm] rau "ClockSwitch1" tus pin [Pab kom]
- Txuas "RealTimeClock1" tus pin [Tswj] mus rau Arduino I2C [Hauv]
- Txuas "RealTimeClock1" tus pin [Tawm] rau "DisplayOLED1" tus pin [Hauv]
- Txuas "DisplayOLED1" tus pin [Tswj] mus rau Arduino I2C [Hauv]
Kauj Ruam 6: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
Hauv Visuino, Nias F9 lossis nyem rau ntawm lub pob uas qhia ntawm daim duab 1 los tsim Arduino code, thiab qhib Arduino IDE
Hauv Arduino IDE, nyem rau ntawm Upload khawm, txhawm rau sau thiab xa cov cai (Daim duab 2)
Kauj ruam 7: Ua si
Yog tias koj ua lub zog Arduino UNO tus qauv, thiab ua kom txav mus rau PIR sensor yuav tsum ntsuas nws thiab ua lub sijhawm teev tseg ntawm OLED Zaub. Nyob ntawm lub caij nyoog uas koj teeb tsa hauv Timer tivthaiv nws yuav tsum txheeb xyuas lwm qhov kev txav chaw tom qab lub sijhawm dhau mus.
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino project, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub tawm nws ntawm no thiab qhib nws hauv Visuino:
Pom zoo:
Tshawb Pom Thaum Ib Tus Neeg Nkag Mus Hauv Chav Siv Radar Sensor Xyc-wb-dc: 7 Kauj Ruam
Nrhiav Thaum Ib Tus Neeg Nkag Mus Hauv Chav Siv Radar Sensor Xyc-wb-dc: Hauv qhov kev qhia no peb yuav kawm paub yuav nrhiav li cas thaum ib tus neeg nkag mus hauv chav siv RTC module, radar sensor xyc-wb-dc, OLED zaub thiab arduino.Watch a yees duab ua qauv qhia
Siv Kev Cia Siab Lub Hauv Paus txuas ntxiv txhawm rau Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Txoj Cai Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: 11 Kauj Ruam
Siv Kev Cia Siab Lub Hauv Paus Txuas Ntxiv kom Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: Lub hom phiaj ntawm cov lus qhia no yog los qhia seb yuav tshawb nrhiav koj tsev neeg tsob ntoo li cas hauv Tsev Neeg Nrhiav rau cov poj koob yawm txwv nrog kev ua haujlwm hauv lub tuam tsev tsis tiav siv Kev Cia Siab lub hauv siab txuas ntxiv. Siv Kev Cia Siab Lub Hauv Paus tuaj yeem ua rau koj qhov kev tshawb nrhiav tsis tiav
Yuav Ua Li Cas Thiaj Li Qhib Koj Lub Raspberry Pi Rau Hauv Qhov Rooj Nkag Mus Nkag Mus Los: 6 Kauj Ruam
Yuav Ua Li Cas Thiaj Li Qhib Koj Lub Raspberry Pi Rau Hauv Qhov Rooj Nkag Nkag Nkag Nkag Nkag: Cov nyob zoo! Raws li qhov tshwm sim tsis ntev los no-peb, pab pawg ntawm remote.it tau nyuaj ntawm kev ua haujlwm tawm tswv yim tswv yim rau kev ua haujlwm nyob deb tsis muaj mob thiab siv tau. Peb tau tuaj nrog lub remote.itPi SD Card Duab, uas yog daim npav SD koj tuaj yeem tso rau hauv
Ntse Suab Nkauj hauv Chav Dej thiab Da Dej Nrog Raspberry Pi - Sib Koom Ua Ke Hauv Chav, Tswb, Khawm Tswj thiab Kev Siv Tsev Hauv Tsev: 7 Kauj Ruam
Ntse Suab Nkauj hauv chav pw thiab Da Dej Nrog Raspberry Pi - Sib Koom Ua Ke Hauv Chav, Tswb, Khawm Tswj thiab Kev Siv Tsev Hauv Tsev: Niaj hnub no peb xav muab ob qho piv txwv txog yuav ua li cas koj tuaj yeem siv Raspberry Pi nrog peb Max2Play software rau hauv tsev automation: hauv chav dej thiab chav pw . Ob txoj haujlwm zoo ib yam nyob hauv cov suab paj nruag siab ncaj los ntawm ntau qhov chaw tuaj yeem rub tawm los
Xav Geek Hacks Kev Nkag Mus Nkag Nkag - Rov Siv Lub Raj Dej Tshuaj Kho Mob: 9 Kauj Ruam
Xav Geek Hacks Kev Sib Tw Nkag Nkag - Rov Siv Lub Raj Dej Hau Kev Noj Qab Haus Huv: Nov yog qhov kuv nkag mus rau hauv Think Geek Hacks Contest. Kuv txiav txim siab sim thiab rov siv lub raj mis Health Potion Zog haus. Nws tuaj yeem siv los ua tus txhawb nqa hauv lub luag haujlwm ua si lossis ua kom zoo nkauj zoo nkauj. Kuv tsim lub teeb pom kev yooj yim tso rau hauv lub raj mis kom pom nws