Cov txheej txheem:

IOT BIT (Paub Raws Li PiAnywhere V1.31) 4G & LTE Lub kaus mom rau Raspberry Pi: 10 Kauj Ruam (nrog Duab)
IOT BIT (Paub Raws Li PiAnywhere V1.31) 4G & LTE Lub kaus mom rau Raspberry Pi: 10 Kauj Ruam (nrog Duab)

Video: IOT BIT (Paub Raws Li PiAnywhere V1.31) 4G & LTE Lub kaus mom rau Raspberry Pi: 10 Kauj Ruam (nrog Duab)

Video: IOT BIT (Paub Raws Li PiAnywhere V1.31) 4G & LTE Lub kaus mom rau Raspberry Pi: 10 Kauj Ruam (nrog Duab)
Video: Let's Learn .NET - IoT (Internet of Things) 2024, Hlis ntuj nqeg
Anonim
IOT BIT (Paub Raws Li PiAnywhere V1.31) 4G & LTE Lub kaus mom rau Raspberry Pi
IOT BIT (Paub Raws Li PiAnywhere V1.31) 4G & LTE Lub kaus mom rau Raspberry Pi
IOT BIT (Paub Raws Li PiAnywhere V1.31) 4G & LTE Lub kaus mom rau Raspberry Pi
IOT BIT (Paub Raws Li PiAnywhere V1.31) 4G & LTE Lub kaus mom rau Raspberry Pi
IOT BIT (Paub Tias Raws Li PiAnywhere V1.31) 4G & LTE Lub kaus mom rau Raspberry Pi
IOT BIT (Paub Tias Raws Li PiAnywhere V1.31) 4G & LTE Lub kaus mom rau Raspberry Pi

IOT BIT 4G & LTE Hat rau Raspberry Pi

4G (100 mbps nqes/ 50 mbps nce) - Kev sib txuas hauv internet tau nrawm rau koj tus raspberry pi, zoo heev rau rub tawm loj thiab rub tawm video.

TheIOT BIT 4G & LTE Hat rau Raspberry Pi Beta muab 4G cov ntaub ntawv xov tooj rau Raspberry Pi mini computer. Peb qhov ntse HAT module muab koj Raspberry Pi nrog cov ntaub ntawv txawb, GPS cov ntaub ntawv qhia chaw thiab roj teeb txhawb nqa. Nov yog qhov qauv zoo tshaj plaws rau hackers, kws tshawb fawb, thiab tus tsim khoom raws li nws muab rau koj Pi muaj zog sib txuas txhua qhov chaw koj nyob. Yooj yim ntsaws tawm tus qauv rau hauv koj Raspberry Pi thiab pib ua si.

Nrhiav paub ntau ntxiv & xaj ntawm

HAT tuaj yeem sib sau ua ke tau yooj yim nrog software ntawm koj lub operating system muab rau koj nkag mus rau cov ntaub ntawv dav dav hauv internet los ntawm lub xov tooj ntawm tes. Siv peb API lub kaus mom no muab lub peev xwm rau koj kom xa SMS (ntawv) lus. Peb tseem muab kev nkag tau yooj yim rau GPS onboard uas nthuav tawm cov ntaub ntawv chaw nyob.

HAT Nta

  • Txhawb nqa ib qho nano sim. Sim koj daim npav SIM thiab nkag mus
  • 4G Txawb Cov Ntaub Ntawv rau Raspberry Pi
  • Kev teeb tsa yooj yim, nrog ib lub davhlau ya nyob twg hais kom ua teeb tsa peb cov software txhawm rau txhim kho Pi Txhua Qhov Chaw nrog koj Raspberry Pi.
  • Tsa koj tus Pi lossis ua rau muaj xwm txheej nrog cov ntawv xov xwm.
  • Yeem sab nrauv kav hlau txais xov kom zoo dua qub.
  • Kev tswj hwm lub zog ua haujlwm siab txog li 3 amps.
  • Siv rau cov haujlwm sab nrauv nrog lub hnub ci vaj huam sib luag thiab pob roj teeb.
  • Nws tuaj yeem siv ua ke nrog peb Sensly roj saib xyuas HAT

Kauj Ruam 1: Dab tsi hauv Box?

Dab tsi hauv Box?
Dab tsi hauv Box?
Dab tsi hauv Box?
Dab tsi hauv Box?

Kauj Ruam 1: Cov khoom hauv lub thawv

  • GPS Kav hlau txais xov
  • 1 4G kav hlau txais xov,
  • 1 3G kav hlau txais xov.
  • USB cable txuas rau Raspberry Pi.

Kauj Ruam 2: Muab PiAnywhere Ua Ke Nrog Raspberry Pi

Muab PiAnywhere Ua Ke Nrog Raspberry Pi
Muab PiAnywhere Ua Ke Nrog Raspberry Pi
  • Raspberry Pi phab ntsa ntsaws rau hauv IOT BIT kom muaj zog ob IOT BIT thiab Raspberry Pi. (Koj tsis tas yuav tseem ntsaws rau hauv Raspberry Pi).
  • Muab 2 tus kav hlau txais xov thiab GPS kav hlau txais xov rau hauv IOT BIT.
  • Sim daim npav rau hauv IOT BIT (uas koj tuaj yeem yuav los ntawm ib tus neeg muab khoom loj sim)
  • USB rau hauv tus qauv txuas rau Raspberry Pi.

Kauj Ruam 3: Teeb Kho Raspberry Pi

Cheebtsam xav tau rau Raspberry Pi kom ua haujlwm tau zoo:

  • Raspberry Pi 2 lossis 3.
  • Saib xyuas.
  • Mouse thiab keyboard.
  • HDMI Cable.
  • Raspberry Pi Charger.
  • SD daim npav (ntau dua 8GB xav tau) nrog qhov hloov tshiab kawg ntawm Raspbian Jessie.

Phau ntawv qhia teeb tsa Raspberry Pi software tuaj yeem pom ntawm

Qhov hloov tshiab kawg ntawm Raspbian Jessie tuaj yeem pom ntawm

Kauj Ruam 4: Txuas IOT BIT Nrog Koj Raspberry Pi

Txuas IOT BIT Nrog Koj Raspberry Pi
Txuas IOT BIT Nrog Koj Raspberry Pi
  • Txuas 40-pin ntawm IOT BIT nrog 40-pin ntawm Raspberry Pi.
  • Txuas USB los ntawm tus qauv ntawm IOT BIT mus rau USB Slot ntawm Raspberry Pi.
  • Txuas lub Raspberry Pi lub charger rau lub hwj chim pin ntawm IOT BIT, IOT BIT yuav txhawb koj lub Rasberry Pi.
  • Rau IOT BIT kom muaj zog, Raspberry Pi, nias lub pob uas hais PWR (lub zog) hauv IOT BIT.

Kauj Ruam 5: IOT BIT Teeb Yooj Yim

Muaj ntau txoj hauv kev kom ua tiav qhov no. Thawj qhov yog rub tawm daim duab disk thiab nyem nws siv Win32 Disk Imager. Koj yuav xav tau daim npav SD uas yog 8GB lossis loj dua. Qhov txuas rau rub tawm yog hauv qab no:

download.altitude.tech

Txhawm rau siv tig IOT BIT los ntawm ntsaws rau hauv kab hluav taws xob mus rau USB chaw nres nkoj sau tias 5V Fais Fab. Tom ntej no, peb nias lub pob cim btn kom qhib lub modem. Peb mam li txuas lwm lub USB chaw nres nkoj mus rau raspberry pi thiab thaum kawg tig rau raspberry pi los ntawm nias lub pob pwr.

Tsis tas li, koj tuaj yeem siv IOT BIT ntawm lub qhov rais system. Txhua yam koj yuav tsum ua yog siv cov tsav tsheb no thiab teeb tsa lawv:

Kauj Ruam 6: Rub tawm thiab Nruab Qhov Software

Rub tawm thiab teeb tsa Software
Rub tawm thiab teeb tsa Software
Rub tawm thiab teeb tsa Software
Rub tawm thiab teeb tsa Software

Thaum 2 lub rooj sib tham tau txuas nrog ua tiav thiab lub zog LED tau qhib. Cov haujlwm tom ntej yog rub tawm cov software raug rau IOT BIT los ua haujlwm nrog Raspberry Pi. Siv qhov tseeb version ntawm Raspbian Jessie tau pom zoo.

Qhib lub davhlau ya nyob twg thiab ntaus:

  • git clone
  • cd PiAnywhere_Install/
  • chmod u+x./PiAnywhere_Install.sh
  • sudo./PiAnywhere_Install.sh

Qhov no yuav tsum siv sijhawm kwv yees li 30 feeb kom tiav raws li kev txhim kho cov kernel headers siv sijhawm ntev. Tab sis thaum qhov no ua tiav thiab koj li IOT BIT txuas nrog ntawm USB rau Raspberry Pi koj yuav tsum muaj peev xwm khiav tau

lsusb | grep Qualcomm

Thiab pom Qualcomm lub cuab yeej txuas nrog. Raws li qhov kev txheeb xyuas zaum kawg koj kuj tuaj yeem ua haujlwm

ls /dev /ttyUSB*

Thiab pom 5 lub cuab yeej usb txuas nrog cov no yog cov chaw nres nkoj com virtual rau tus qauv.

Kauj Ruam 7: Teeb Wvdial thiab Txuas rau Is Taws Nem

Teeb Wvdial thiab Txuas rau Is Taws Nem
Teeb Wvdial thiab Txuas rau Is Taws Nem
Teeb Wvdial thiab Txuas rau Is Taws Nem
Teeb Wvdial thiab Txuas rau Is Taws Nem

Ib qho ntawm cov yam ntxwv tseem ceeb ntawm IOT BIT 4G yog nws lub peev xwm los txuas rau internet siv lub xov tooj ntawm tes, tab sis rau qhov ntawd, nws yuav tsum tau teeb tsa kom ua tau li ntawd. Cov kauj ruam no yuav npog qhov txuas ntawm IOT BIT thiab internet siv daim npav SIM cov ntaub ntawv.

Tam sim no peb yuav tsum teeb tsa wvdial.conf cov ntaub ntawv kom pab tau IOT BIT txuas rau hauv is taws nem siv koj daim npav SIM. Koj yuav xav tau tus lej USSD siv los nqa daim npav SIM tus lej sau npe. Piv txwv li, ntawm giffgaff tus lej no yog *99#. Lossis koj tsuas tuaj yeem siv tus lej xov tooj sim yog tias koj tsis tuaj yeem pom tus lej USSD tab sis tsuas yog nco ntsoov koj yuav tau kho cov ntawv kom hloov tus lej yog tias koj hloov sim.

Yog li peb yuav tsum tau qhib cov ntawv pom hauv iotbit_Install nplaub tshev hu ua wvdial.conf siv cov ntawv sau uas koj xaiv.

sudo nano /home/pi/iotbit_Install/wvdial.conf

Tom qab ntawd ntxiv rau cov ntawv koj tus lej USSD lossis tus lej xov tooj hauv qhov 'Xov tooj =' teb. Tom qab ntawd txuag thiab tawm cov ntawv los ntawm nias ctrl+x ces y

Tam sim no peb yuav tsum txav cov ntawv no mus rau qhov chaw raug rau lub kaw lus tuaj yeem pom nws.

  • sudo mv /etc/wvdial.conf /etc/wvdial.conf.bak
  • sudo mv /home/pi/iotbit_Install/wvdial.conf /etc/wvdial.conf
  • sudo wvdial

Cov kauj ruam kawg no siv sijhawm li 30 vib nas this. Yog tias ua tiav, koj yuav tsum txuas nrog internet nrog koj li Raspberry Pi. Nrog koj zoo siab!

Kauj Ruam 8: Teeb ເຄືອ ຂ່າຍ cuam tshuam los siv Modem Yeej

Teeb ເຄືອ ຂ່າຍ cuam tshuam los siv Modem Yeej
Teeb ເຄືອ ຂ່າຍ cuam tshuam los siv Modem Yeej

Txhawm rau pab Pi txuas IOT BIT rau hauv internet siv lub xov tooj ntawm tes sib txuas, peb siv cov theem hauv qab no.

Ua ntej, qhib cov ntawv hu ua interfaces siv:

sudo nano/etc/network/interfaces

Tom qab ntawd ntxiv cov kab hauv qab no hauv qab ntawm cov ntawv:

  • pib ppp0
  • iface ppp0 inet wvdial

Tom qab ntawd rov pib Pi, kom ntseeg tau tias PiAnywhere nyob ntawm thiab Modem USB chaw nres nkoj txuas nrog Pi.

sudo rov pib dua

Yog ua tiav thaum Raspberry Pi khau raj koj yuav tsum muaj peev xwm txuas rau internet siv koj li IOT BIT.

Kauj ruam 9: Pab kom GPS

IOT BIT muaj GPS feature, tab sis nws yuav tsum tau qhib. Ua ntej, minicom yuav tsum tau teeb tsa txhawm rau txhawm rau ntsuas GPS. Qhov no yog ua tiav los ntawm kev siv cov lus txib hauv qab no:

$ sudo apt-tau nruab minicom

Nov yog lub davhlau ya nyob twg uas ua haujlwm hauv lub qhov rai hais kom ua, nkag mus rau lub dav hlau minicom siv:

minicom –D /dev /ttyUSB2

Txhawm rau ua haujlwm minicom nias CTRL+A thiab Z, qhov no yuav qhia txhua qhov kev xaiv sib txawv uas tuaj yeem siv tau. Lub ncha hauv zos yuav tsum tau qhib. Qhov no yog ua tiav los ntawm nias CTRL+A ces E. Thaum qhov no tau qhib koj tuaj yeem pab kom GPS qhov no ua tiav los ntawm kev ntaus sab hauv lub dav hlau minicom:

AT+CGPS = 1

Nws yuav qhia cov lus ntawm Ok! Qhov kom tau txais cov ntaub ntawv ntawm GPS qhov chaw siv cov lus txib hauv qab no:

AT+CGPSINFO

Kauj ruam 10: Zoo siab !!

Tam sim no koj tau txais IOT BIT ua haujlwm, thiab koj tuaj yeem ua qee qhov kev sim zoo kawg nrog nws. Peb tseem tab tom sib tw rau Instructables. Yog tias koj yuav IOT BIT los ntawm peb Pianywhere.com thiab koj sau cov lus qhia txog koj li haujlwm tom qab ntawd peb yuav muab koj li 100% ntawm koj cov nyiaj rov qab raws li qhov ua tau zoo.

Thaum koj ua tiav tsuas yog tag rau hauv peb kom peb tuaj yeem saib.

Pom zoo: