Cov txheej txheem:
- Kauj Ruam 1: Sau Cov Khoom
- Kauj Ruam 2: Tsim Tus Neeg Hlau
- Kauj Ruam 3: Kho Tus Neeg Hlau
- Kauj Ruam 4: Kho XBee Cellular
- Kauj Ruam 5: Program Robot
- Kauj Ruam 6: Xeem Tus Neeg Hlau
- Kauj ruam 7: Siv nws
Video: Digi XBee3 Cellular SMS ActivityBot: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Digi XBee3 ™ Cellular SMS ActivityBot yog tus neeg hlau kev kawm uas tuaj yeem tswj hwm nrog cov lus los ntawm txhua lub xov tooj ntawm tes, nyob txhua qhov chaw hauv ntiaj teb. Qhov ActivityBot, ua los ntawm Digi cov phooj ywg ntawm Parallax Inc.
SMS cov ntawv xa mus rau tus neeg hlau tuaj yeem hais kom nws tsav tsheb mus tom ntej, rov qab, lossis sab laug lossis sab xis. Nws tau tsim nyob rau hauv hom kev ncig uas nws dhau los ua tus kheej, siv ob lub "ntxhi" lub ntsej muag txhawm rau txheeb xyuas teeb meem rau sab xis lossis sab laug. Kev Ua HaujlwmBot siv Digi XBee3 Cellular module los tshaj tawm qhov nws hnov thaum lub sijhawm tiag. Piv txwv li, txhua lub sijhawm ib qho ntawm "ntxhi" cov cim tau tshwm sim, qhov xwm txheej ntawd tau tshaj tawm tam sim ntawd rov qab rau hauv lub xov tooj ntawm tes raws li cov ntawv. (Tau kawg, tsuas yog cov neeg hlau yuav tsum sau ntawv thiab tsav tsheb.)
SMS tsuas yog pib. Digi XBee3 Cellular txhawb nqa TCP/IP yog li cov lus txib thiab cov ntaub ntawv tuaj yeem yooj yim sib pauv nrog lub vev xaib lossis huab server. ActivityBots thiab Blockly, Google-tsim cov txheej txheem siv los ua haujlwm rau nws, los ntawm Parallax.com. Digi XBee Cellular muaj los ntawm Digi.com.
Kauj Ruam 1: Sau Cov Khoom
Nov yog txhua yam khoom siv uas koj yuav xav tau los tsim txoj haujlwm no:
-
Parallax ActivityBot
-
Nrog rau ActivityBot:
- USB A rau Mini-B cable
- Hlau zawm hniav
- Txiv neej headers
- Hookup hlau
- 220 ohm resistors
- 10K ohm resistors
-
-
Digi XBee3 Cellular LTE-M Cov Khoom
-
Nrog rau hauv XBee3 Cellular Kit:
- XBIB development board
- USB cable
- Kav hlau txais xov
- 12-volt fais fab mov rau XBIB pawg thawj coj saib
- Nano-SIM daim npav nrog kev pabcuam SMS
- (Nco tseg: kav hlau txais xov, XBIB pawg thawj coj, lub zog siv thiab daim npav SIM tseem tuaj yeem muab cais cais yog xav tau)
-
- Txhua lub xov tooj ntawm tes nrog kev pabcuam SMS
- Lub Windows lossis MacOS khoos phis tawj nrog USB (rau Blockly code programming)
- AA roj teeb x 5 - (peb nyiam rechargeables nrog lub charger)
- XCTU rau teeb tsa XBee - (rub tawm dawb)
Kauj Ruam 2: Tsim Tus Neeg Hlau
Ua raws li cov lus qhia online kom sib sau Parallax ActivityBot:
- Kho Khoom Siv
- Npaj Sab Nraud Encoders
- Npaj Log Tsheb
- Npaj Chassis
- Npaj Servos
- Mount Txoj Cai Servo
- Mount Sab laug Servo
- Mount Txoj Cai Encoder
- Mount sab laug Encoder
- Mount Roj Teeb Pob
- Mount Tail Log
- Mount Tsav Log
- Nthuav Pawg Neeg Ua Haujlwm
- Kev Sib Txuas Hluav Taws Xob
- Txheeb xyuas Software thiab Programming Check
- Ua Beep
- Kev Qhia Taw Qhia
Ua txhua kauj ruam hauv phau ntawv qhia ua ke yog txoj hauv kev zoo tshaj plaws kom nkag siab koj tus neeg hlau tshiab. Peb pom zoo tsawg kawg ua haujlwm los ntawm Kev Tshawb Fawb nrog Kov kauj ruam kom nkag siab txog ActivityBot thiab tsim txhua lub tshuab koj yuav xav tau rau txoj haujlwm no.
Kauj Ruam 3: Kho Tus Neeg Hlau
1. Nrhiav thiab teeb tsa lub tshuab ntxhua khaub ncaws
2. Nrhiav thiab teeb tsa lub buzzer rau qee cov lus tawm suab
3. Siv xaim txuas SEL rau GND rau txoj hauv kev sib txuas rau XBee.
4. Hlau rau wireless-siv ob lub xov hlau txuas, txuas XBee lub taub hau rau Propeller microcontroller:
- Siv ib lub xaim txuas XBee DO mus rau P11
-
Siv lwm cov xaim txuas XBee DI rau P10
Parallax tseem muaj cov lus qhia txuas xov tooj kom meej, tab sis nco ntsoov siv tus lej tus lej raws li teev tseg saum toj no
Kauj Ruam 4: Kho XBee Cellular
Ntxig XBee3 Cellular rau hauv XBIB txoj kev txhim kho pawg thawj coj lossis koj XBee USB adapter, ua tib zoo ua raws nws kom tag nrho cov pins nyob hauv lub qhov (socket) kom raug, raws li qhia hauv daim duab.
Sib sau ua ke XBee3 Cellular hardware thiab txuas rau koj lub khoos phis tawj. Nco ntsoov siv 12-volt fais fab mov vim tias USB ib leeg tsis muaj lub zog txaus kom ua haujlwm tau zoo. Cov khoom siv los nrog pub dawb txwv-siv SIM daim npav. Koj tseem tuaj yeem yuav koj tus kheej los ntawm tus muag khoom xws li AT&T lossis Twilio.
Nruab thiab tso tawm XCTU program. Nws yuav cia li hloov kho nws lub tsev qiv ntawv firmware rau qhov hloov tshiab kawg. Hauv XCTU txoj haujlwm:
-
Ntxiv ib lub cuab yeej, siv lub Hoobkas pib teeb tsa (9600, 8 N 1) rau XBee xov tooj cua:
- Lub koom haum teeb ntawm koj pawg thawj coj loj yuav pib ntsais muag sai li sai tau thaum koj XBee tau txais kev sib txuas ntawm tes. Yog tias nws tsis yog koj tuaj yeem tshawb xyuas cov npe ntawm tes thiab kev sib txuas
- Hloov kho koj li XBee3 Cellular module rau qhov tseeb firmware. Nco tseg: Qhov no tau pom zoo txawm tias koj tus qauv yuav khoom tshiab.
- Xaiv lub cuab yeej los ntawm Daim Ntawv Xov Xwm Xov Tooj Cua los ntawm txhaj rau nws. XCTU yuav tso saib cov teeb tsa firmware tam sim no rau lub cuab yeej ntawd.
- Teeb IP Tus Txheej Txheem Hom rau SMS [2].
- Nkag mus rau koj tus lej xov tooj ntawm tes hauv daim teb P# thiab nyem rau khawm Sau. Ntaus tus lej xov tooj siv tus lej nkaus xwb, tsis muaj tus lej cim. Koj tuaj yeem siv qhov + ua ntej yog tias tsim nyog. Lub hom phiaj xov tooj yog tus xov tooj koj tus neeg hlau xa ntawv mus rau.
- Txheeb xyuas TD qhov ntsuas. Nws yuav tsum tau teeb tsa 0 vim hais tias cov ntawv delimiter yuav tsis siv hauv txoj haujlwm no.
- Nco ntsoov sau qhov chaw rau XBee siv lub pob nrog tus xaum cim.
Nruab XBee rau hauv tus neeg hlau
- Tshem XBee3 los ntawm XBIB pawg thawj coj txhim kho, rub nws ncaj thiab ceev faj kom tsis txhob khoov tus pin. Yog tias koj khoov ib qho, ua tib zoo ncaj lawv ua ntej txav mus.
- Nco ntsoov tias koj tseem muaj daim npav nano-SIM tso rau hauv koj XBee Cellular
- Ntxig XBee3 rau hauv ActivityBot's XBee lub qhov (socket), taw qhia kom lub kav hlau txais xov txuas mus rau sab ntug ntawm tus neeg hlau, ib yam li XBee me me teeb duab ntawm lub rooj tsavxwm.
- Txuas tus kav hlau txais xov mus rau U. FL txuas me me los ntawm nias nws ncaj thaum tig nws rov qab thiab tig los me ntsis kom ntseeg tau tias nws nyob hauv nruab nrab kom raug. Nws yuav pop rau hauv qhov chaw thaum koj kho nws kom raug thiab nias kom khov kho. Qee lub sij hawm tus kav hlau txais xov txuas rau tam sim ntawd, tab sis feem ntau nws nyuaj me ntsis yog li tsis txhob poob siab. Koj yuav paub tias koj tau txais nws yog thaum nws tig rov qab thiab tawm mus dawb yam tsis muaj kev sib txuas.
- Mount tus kav hlau txais xov rau sab ntawm tus neeg hlau nrog daim kab xev. Txawm hais tias qhov no tsis yog qhov chaw zoo tshaj plaws, feem ntau nws ua haujlwm yam tsis muaj teeb meem.
Kauj Ruam 5: Program Robot
Thauj khoom XBee3 Cellular ActivityBot code
- Txuas tus neeg hlau mus rau koj lub computer siv nws USB cable
-
Teeb lub zog hloov pauv ntawm tus neeg hlau mus rau "1" txoj haujlwm. Lub zog no tsuas yog nws lub rooj tswj hwm, nrog lub log xiam kom tus neeg hlau tsis khiav tawm thaum koj tab tom ua haujlwm.
- Qhib blocky.parallax.com thiab sau npe tus account tshiab
- Rub tawm BlocklyProp Client rau koj lub khoos phis tawj thiab nruab nws. Txoj haujlwm pabcuam no yuav tsum tau ua haujlwm ntawm koj lub khoos phis tawj siv BlocklyProp Online.
- Nias nws txuas khawm hauv BlocklyProp Client kom tso cai IP nkag mus hauv.
- Qhib Whiskers SMS code hauv koj tus browser.
-
Siv lub pob ntsuab nrog tus xub nqes nqes los thauj khoom thiab khiav lub firmware siv tus neeg hlau EEPROM hla USB
- Tom qab rub tawm cov lus nthuav dav, Lub davhlau ya nyob twg yuav tsum tshwm thiab luam tawm "Robot v1.2 npaj txhij …" lus.
Kauj Ruam 6: Xeem Tus Neeg Hlau
- Teem lub zog hloov mus rau "0" txoj haujlwm
- Nruab tsib lub roj teeb AA hauv qab ntawm tus neeg hlau.
- Txuas lub USB cable kom tus neeg hlau tuaj yeem taug kev ywj pheej.
- Teem lub zog hloov mus rau "1" txoj haujlwm los txhawb lub rooj tsavxwm thiab XBee3 Cellular.
-
Tos kom lub xiav ASSOC lub teeb ntsais, qhia txog kev sib txuas rau lub xov tooj ntawm tes:
-
Teem lub zog hloov mus rau "2" txoj haujlwm, thiab nias RST khawm saum toj no.
- Txheeb xyuas koj lub xov tooj ntawm tes rau kab lus: "Neeg hlau 1.2 npaj tau …"
Tau txais cov lus? Zoo kawg! Txwv tsis pub, ntawm no yog qee yam los tshuaj xyuas:
- XBee3 tau teeb tsa zoo hauv nws lub qhov (socket)
- Tus lej xov tooj raug nkag mus rau hauv XBee kev teeb tsa
- XBee's IP hom tau teeb tsa 2 rau SMS
- Cov xov hlau txuas tus pin XBee DO rau P11 thiab XBee DI rau P10
- SIM daim npav muaj kev pabcuam SMS
- Neeg hlau muaj hwj chim-muaj cov cim taw qhia nyob ze ntawm qhov hloov
- Daim npav SIM tau teeb tsa hauv XBee3
Kauj ruam 7: Siv nws
Nrog tus neeg hlau khiav, ntawm no yog cov lus txib koj tuaj yeem siv. Xa txhua tus raws li kab lus xa mus rau tus lej xov tooj ntawm koj daim npav SIM:
- Forward: tsav tus neeg hlau rau pem hauv ntej ob peb ntiv tes (cm)
- Rov qab: tsav tus neeg hlau rov qab ob peb ntiv tes (cm)
- Sab laug: tig tus neeg hlau txog 90º rau sab laug
- Txoj cai: tig tus neeg hlau txog 90º rau sab xis
- Roam: tso tus neeg hlau nyob rau hauv hom dawb roam
- Nres: nres tus neeg hlau
Neeg hlau xa ob tsab ntawv xa xov:
- sab laug ntxhi: tus neeg hlau tau hu rau ib qho khoom ntawm sab laug
- txoj cai ntxhi: tus neeg hlau tau hu rau ib qho khoom ntawm sab xis
Xav kom tus neeg hlau tsav tsheb mus deb dua, nrawm dua thiab muaj ntau lub cim? Txhua txoj cai yog qhib-qhov yog li koj tuaj yeem hloov txhua yam uas koj nyiam. Tshaj tawm koj qhov kev txhim kho nrog credit rau phau ntawv qhia thawj no thiab txaus siab rau koj cov neeg hlau ntawv!
Pom zoo:
WiFi RGB Cellular Teeb Siv ESP8266: 6 Cov Kauj Ruam
WiFi RGB Cellular Teeb Siv ESP8266: Hauv kab ntawv no, peb tsim kom zoo nkauj RGB xov tooj ntawm tes uas tuaj yeem tswj tau ntawm WiFi. Nplooj ntawv tswj hwm muaj lub log xim uas tso cai rau koj hloov xim sai thiab koj tseem tuaj yeem hais qhia qhov tseem ceeb RGB ncaj qha los tsim tag nrho
Arduino Cellular Shield Tutorial: 9 Kauj Ruam (nrog Duab)
Arduino Cellular Shield Tutorial: Arduino Cellular Shield tso cai rau koj hu xov tooj ntawm tes, thiab xa xov. Lub hlwb ntawm daim ntaub thaiv no yog SM5100B uas yog lub xov tooj ntawm tes muaj zog muaj peev xwm ua tau ntau txoj haujlwm ntawm feem ntau ntawm cov xov tooj ntawm tes. Qhov no sh
Yuav Siv SIM800L Li Cas Xa SMS thiab Tswj Relay los ntawm SMS: 3 Kauj Ruam
Yuav Siv SIM800L Li Cas Xa SMS thiab Tswj Kev Sib Txuas los ntawm SMS: Nqe lus piav qhia: Cov ntawv qhia no tau qhia yuav siv SIM800L li cas kom xa sms thiab tau txais sms los tswj kev xa xov. SIM800L tus qauv yog qhov me me thiab tuaj yeem siv los cuam tshuam nrog Arduino kom xa sms, tau txais sms, hu, tau txais hu thiab lwm yam. Hauv qhov kev qhia no
IOT Nrog Cellular Network Nrog ESP32: 23 Cov Kauj Ruam
IOT Nrog Cellular Network Nrog ESP32: Hnub no peb yuav tham txog GPRS modem, lossis theej, ESP32 thiab nws siv nrog lub xov tooj ntawm tes. Nov yog qee yam uas ua haujlwm tau zoo heev. Siv cov txheej txheem MQTT, peb mam li xa cov ntaub ntawv mus rau Ubidots dashboard. Siv hauv kev sib dhos no
ESP32 Moos Siv WiFi, ESP-TAM SIM NO, & Cellular: 4 Kauj Ruam
ESP32 Moos Siv WiFi, ESP-TAM SIM NO, & Cellular: Nov yog ESP32 raws wifi moos kuv tau ua rau kev sib tw wireless. Kuv txiav txim siab los ua lub moos no dhau ntawm wireless yog li nws siv peb yam sib txawv ntawm kev sib txuas lus wireless (WiFi, ESP-TAM SIM NO, & Cellular). Lub xov tooj txuas nrog lub xov tooj ntawm tes thiab