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: Tshawb Pom Thaum Ib Tus Neeg Nkag Mus Hauv Chav Siv Radar Sensor Xyc-wb-dc: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
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.
Saib daim vis dis aus.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Arduino UNO (lossis lwm yam Arduino)
- xyc-wb-dc Radar Sensor
- RTC DS1307 Lub Sijhawm Sijhawm Sijhawm Tiag
- OLED zaubJumper xov hlau
- Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
- Txuas XYC-WB-DC tus pin [O] rau Arduino tus pin [8]
- Txuas XYC-WB-DC tus pin [-] rau Arduino tus lej tsis zoo [GND]
- Txuas XYC-WB-DC tus pin [+] rau Arduino tus pin zoo [3.3V] Nco tseg: qee lub radar sensors muaj txoj haujlwm tus pin sib txawv yog li ua kom koj txuas nws raug
- 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 "Real Time Clock (RTC) DS1307" componentAdd "SSD1306/SH1106 OLED Display (I2C)" tivthaiv
- Ntxiv "Digital (Boolean) Hloov Xwb" componentAdd "Detect Edge" componentAdd "Clock On/Off Switch" component
- Ntxiv "Timer" tivthaiv
- Hauv cov khoom vaj khoom tsev teeb tsa "Interval (uS)" 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 ua ke ib zaug, Qhov zoo tshaj koj yuav teeb tsa qhov no rau qee yam zoo li 5min
- 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, hauv qab nyem rau ntawm "Tsim" Tab, xyuas kom tseeb tias qhov chaw nres nkoj raug xaiv, tom qab ntawd nyem rau ntawm "Compile/Build and Upload" khawm.
Kauj ruam 7: Ua si
Yog tias koj ua lub zog Arduino UNO tus qauv, thiab ua kom txav lub Radar sensor yuav tsum ntsuas nws ntawm txhua qhov kev txav pom hauv lub vojvoog ntawm +-5m nyob ib ncig ntawm lub radar sensor 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:
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
Nrhiav Thaum Ib Tus Neeg Nkag Mus Hauv Chav: 7 Kauj Ruam
Nrhiav Thaum Ib Tus Neeg Nkag Mus Rau Hauv Chav: 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
Tsis Siv Neeg Kev Hla Hla Kev Siv Hluav Taws Xob Siv Arduino Raws Kev Nkag Nkag Platform: 9 Cov Kauj Ruam
Tsis Siv Neeg Kev Hla Hla Kev Siv Hluav Taws Xob Siv Arduino Raws Kev Nkag Siab Platform: Christmas tsuas yog ib lub lim tiam xwb! Txhua leej txhua tus tibneeg hu tauj coob nrog kev ua koob tsheej thiab tau txais khoom plig, uas, los ntawm txoj kev, tau txais txhua qhov nyuaj dua kom tau nrog qhov tsis muaj peev xwm nyob ib puag ncig peb. Yuav ua li cas mus los ntawm khoom plig qub thiab ntxiv qhov kov ntawm DIY rau
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