Cov txheej txheem:
- Kauj ruam 1: Txuas PIR
- Kauj Ruam 2: Yuav Ua Li Cas Tsim Telegram Bot
- Kauj Ruam 3: Bot thiab Raspberry Pi
Video: Siv Motion Sensor Nrog RaspberryPi thiab Telegram Bot: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Nyob zoo cov neeg.
Hauv cov ntawv no peb yuav siv Raspberry Pi Telegram Bot nrog PIR (tsab ntawv tsa suab) sensor.
Kauj ruam 1: Txuas PIR
Kuv muaj PIR sensor ua ntej thiab kuv xav siv kuv lub PIR sensor nrog Raspberry Pi. Kuv ua raws phau ntawv qhia ntawm no yog qhov txuas:
Kauj Ruam 2: Yuav Ua Li Cas Tsim Telegram Bot
Nyem qhov txuas no "Yuav tsim Telegram Bot li cas"
Tsim tus bot tshiab Siv cov /newbot hais kom tsim tus bot tshiab. BotFather yuav nug koj lub npe thiab lub npe siv, tom qab ntawd tsim daim ntawv tso cai tso cai rau koj tus bot tshiab. Lub npe ntawm koj tus bot tau nthuav tawm hauv cov ntaub ntawv tiv toj thiab lwm qhov. Lub npe siv yog lub npe luv, yuav siv rau hauv kev hais txog thiab telegram.me txuas. Cov neeg siv lub npe yog 5-32 tus cim ntev thiab tsis muaj teeb meem, tab sis tsuas yog suav nrog cov ntawv Latin, cov lej, thiab cov cim hauv qab. Koj tus bot lub npe siv yuav tsum xaus rau hauv 'bot', piv txwv li 'Tetris_bot' lossis 'TetrisBot'.
Cov cim cim yog cov hlua raws kab 110201543: AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw uas yuav tsum tau tso cai bot thiab xa kev thov mus rau Bot API.
Kev tsim daim ntawv tso cai Yog tias koj lub token uas twb muaj lawm raug cuam tshuam lossis koj poob nws vim qee qhov, siv /token hais kom tsim ib qho tshiab.
core.telegram.org/bots#6-botfather
Kauj Ruam 3: Bot thiab Raspberry Pi
Raspberry Pi txuas ssh
git clone
cd RaspberryPiTelegramPIR/
nano PIRBot.py
CTRL+X thiab txuag tawm nano
sudo nab hab sej PIRBot.py
Github Txuas:
Thawj ncej:
Pom zoo:
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: 5 Kauj Ruam (nrog Duab)
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: Tswj 8 qhov hloov pauv hloov siv nodemcu thiab ir tus txais tshaj wifi thiab ir chaw taws teeb thiab hauv app.the ir tej thaj chaw deb ua haujlwm ywj pheej ntawm wifi txuas. NTUJ
Tes Thib Peb ++: Kev Siv Tes Siv Ntau Rau Cov Khoom Siv Hluav Taws Xob thiab Lwm Yam Ua Haujlwm Zoo: 14 Kauj Ruam (nrog Duab)
Tes Thib Peb ++: Kev Siv Tes Siv Ntau Rau Cov Khoom Siv Hluav Taws Xob thiab Lwm Yam Ua Haujlwm Tsis Zoo: Yav dhau los Kuv tau siv tes thib peb/pab txhais tes muaj nyob ntawm cov khw muag khoom hluav taws xob thiab tau poob siab nrog lawv qhov siv tau. Kuv tsis tuaj yeem tau txais cov yeeb yaj kiab raws qhov kuv xav tau lossis nws siv sijhawm ntau dua qhov nws yuav tsum tau teeb tsa
Cov Cuab Yeej Siv Hluav Taws Xob thiab Cov Cuam Tshuam Xov: Ua LED Zaub thiab Npuag Hluav Taws Xob uas Rolls Up: 7 Cov Kauj Ruam (nrog Duab)
Cov Cuab Yeej Siv Hluav Taws Xob thiab Cov Cuam Tshuam: Ua kom pom LED thiab Cov Khoom Siv Hluav Taws Xob uas Rolls Up: Ua rau koj tus kheej cov ntaub ua hluav taws xob, xov, kua nplaum, thiab kab xev, thiab siv lawv los ua lub zog ntsuas hluav taws xob, tiv thaiv, hloov pauv, LED cov lus qhia thiab siv hluav taws xob. thiab cov xov hluav taws xob koj tuaj yeem ua cov lus qhia LED thiab cov kab hluav taws xob ntawm ib qho ntaub uas hloov pauv tau