{"id":13590,"date":"2021-02-03T17:02:23","date_gmt":"2021-02-03T16:02:23","guid":{"rendered":"https:\/\/botland.com.pl\/blog\/?p=13590"},"modified":"2023-05-24T09:57:31","modified_gmt":"2023-05-24T07:57:31","slug":"raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci","status":"publish","type":"post","link":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/","title":{"rendered":"Raspberry Pi i modu\u0142 Waveshare 13460. GSM i GPS w s\u0142u\u017cbie jej kr\u00f3lewskiej mo\u015bci"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Czas czytania:<\/span> <span class=\"rt-time\"> 10<\/span> <span class=\"rt-label rt-postfix\">min.<\/span><\/span>\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"13590\" class=\"elementor elementor-13590\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6ece28f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6ece28f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a5fb52b\" data-id=\"a5fb52b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a1586fb elementor-widget elementor-widget-text-editor\" data-id=\"a1586fb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Pomys\u0142 na artyku\u0142 z wykorzystaniem jednego z naszych flagowych produkt\u00f3w, czyli <b><a href=\"https:\/\/botland.com.pl\/399-raspberry-pi\" data-wpel-link=\"internal\">Raspberry Pi<\/a><\/b>, ale w parze z technologi\u0105 GSM, sp\u0119dza\u0142 nam sen z powiek. Na samym pocz\u0105tku chcieli\u015bmy nauczy\u0107 Was, jak przy pomocy maliny obs\u0142ugiwa\u0107 API s\u0142u\u017c\u0105ce do wysy\u0142ania wiadomo\u015bci tekstowych.\u00a0<span style=\"font-size: 1rem;\">Problem jednak tkwi\u0142 w ustawie RODO, kt\u00f3ra wymaga posiadania zarejestrowanej dzia\u0142alno\u015bci gospodarczej oraz rejestracji zbioru RODO do korzystania z takich us\u0142ug.\u00a0<\/span><\/p><p><span style=\"font-size: 1rem;\">Aby przedstawi\u0107 ten niezwykle ciekawy i rozwojowy pomys\u0142 zdecydowali\u015bmy si\u0119 na wykorzystanie jednego z dost\u0119pnych w naszym sklepie modu\u0142\u00f3w obs\u0142uguj\u0105cych transmisj\u0119 GSM &#8211; <b><a href=\"https:\/\/botland.com.pl\/raspberry-pi-hat-komunikacja\/9893-nakladka-hat-gsmgprsgnssbluetooth-do-raspberry-pi-waveshare-13460.html\" data-wpel-link=\"internal\">Waveshare 13460<\/a><\/b>.\u00a0<\/span><span style=\"font-size: 1rem;\">Sam shield jest o tyle ciekawy, \u017ce opr\u00f3cz mo\u017cliwo\u015bci przesy\u0142ania i odbierania wiadomo\u015bci tekstowych daje nam praktycznie pe\u0142n\u0105 dowolno\u015b\u0107 korzystania z mo\u017cliwo\u015bci standard\u00f3w GSM, GPS oraz Bluetooth. Sprawd\u017amy zatem, co potrafi ta nak\u0142adka w po\u0142\u0105czeniu z Raspberry Pi Zero WH!<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7655a16 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7655a16\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5f8a9f1\" data-id=\"5f8a9f1\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-10dd867 elementor-widget elementor-widget-heading\" data-id=\"10dd867\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Mo\u017cliwo\u015bci modu\u0142u i podstawy wiedzy o danych telefonicznych i lokalizacyjnych\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9380dbc elementor-widget elementor-widget-text-editor\" data-id=\"9380dbc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>W poprzednim akapicie dowiedzieli\u015bmy si\u0119, \u017ce Waveshare 13460 potrafi operowa\u0107 w standardach GPS, GSM oraz Bluetooth &#8211; ale co to tak naprawd\u0119 oznacza? Ilo\u015b\u0107 funkcji jest spora, ale wymie\u0144my te najwa\u017cniejsze:<\/p><ul><li>wysy\u0142anie i odbieranie wiadomo\u015bci tekstowych,<\/li><li>nawi\u0105zywanie i odbieranie po\u0142\u0105cze\u0144 g\u0142osowych,<\/li><li>sprawdzanie lokalizacji za pomoc\u0105 transmisji GPS, GLONASS i LBS,<\/li><li>\u0142\u0105czenie si\u0119 z urz\u0105dzeniami i wymiana danych poprzez transmisj\u0119 Bluetooth,<\/li><li>\u0142\u0105czenie si\u0119 ze stronami WWW oraz dyskami sieciowymi,<\/li><li>wysy\u0142anie i odbieranie wiadomo\u015bci mailowych.<\/li><\/ul><p>Lista prezentuje si\u0119 ciekawie, prawda? Gdy patrz\u0119 na ten zbi\u00f3r zastosowa\u0144, to z miejsca mam kilka pomys\u0142\u00f3w.\u00a0<\/p><p>Fani agenta 007 z pewno\u015bci\u0105 pami\u0119taj\u0105 moment w filmie\u00a0<i>Skyfall<\/i>, gdzie Bond p\u0142yn\u0105c na wysp\u0119 opanowan\u0105 przez Silv\u0119 aktywuje urz\u0105dzenie, kt\u00f3re otrzyma\u0142 od swojego kwatermistrza. Urz\u0105dzenie \u017cartobliwie nazywane przez agenta radiem przes\u0142a\u0142o informacje dotycz\u0105ce po\u0142o\u017cenia i umo\u017cliwi\u0142o schwytanie terrorysty. Co powiecie na zbudowanie podobnej konstrukcji? Co prawda nie b\u0119dzie mie\u015bci\u0142a si\u0119 ona w pude\u0142ku od zapa\u0142ek, ale zachowa pe\u0142n\u0105 funkcjonalno\u015b\u0107, a minimalizacja to ju\u017c ostatni krok!<\/p><p>Zanim przyst\u0105pimy do budowy prototypu i zaprogramowania go, zapoznajmy si\u0119 z dzia\u0142aniem standard\u00f3w \u0142\u0105czno\u015bci lokalizacyjnych i transmisji danych kom\u00f3rkowych.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8e3aab8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8e3aab8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b389665\" data-id=\"b389665\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b898d89 elementor-widget elementor-widget-heading\" data-id=\"b898d89\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Standard GSM<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0fb4f49 elementor-widget elementor-widget-image\" data-id=\"0fb4f49\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"800\" height=\"426\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/gsm-1024x545.jpg\" class=\"attachment-large size-large wp-image-15924\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/gsm-1024x545.jpg 1024w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/gsm-300x160.jpg 300w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/gsm-768x409.jpg 768w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/gsm-640x341.jpg 640w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/gsm.jpg 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b527251 elementor-widget elementor-widget-text-editor\" data-id=\"b527251\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u00a0<\/p><p>GSM to obecnie najpopularniejszy standard telefonii kom\u00f3rkowej. Pozwala na korzystanie z czterech g\u0142\u00f3wnych us\u0142ug: s\u0105 to po\u0142\u0105czenia g\u0142osowe, transmisja danych, wiadomo\u015bci tekstowe i multimedialne oraz us\u0142ugi kryptoanalityczne &#8211; formy zabezpieczenia transmisji. Zasi\u0119g pojedynczej kom\u00f3rki \u0142\u0105cz\u0105cej si\u0119 z stacj\u0105 bazow\u0105 okre\u015blony jest w specyfikacji jako 35 km w terenie bez przeszk\u00f3d, jednak zasi\u0119g ten odnosi si\u0119 do zapomnianej ju\u017c transmisji w standardzie GSM 400 (pracuj\u0105cej na cz\u0119stotliwo\u015bciach od 450,4 do 467,6 MHz). Przy pracy na najpopularniejszej obecnie cz\u0119stotliwo\u015bci standardu &#8211; GSM 1900 (pracuj\u0105cej na cz\u0119stotliwo\u015bciach od 1850 do 1990 MHz) zasi\u0119g pojedynczej kom\u00f3rki wynosi oko\u0142o 8 km. Ograniczenia te wynikaj\u0105 z tego, ile energii potrzeba do po\u0142\u0105czenia si\u0119 kom\u00f3rki z punktem bazowym. Nasz modu\u0142 potrafi pracowa\u0107 w standardzie GSM 850 (tutaj cz\u0119stotliwo\u015bci od 824 do 849 MHz) oraz we wspomnianym wcze\u015bniej standardzie GSM 1900. Uzyskujemy dzi\u0119ki temu mo\u017cliwo\u015b\u0107 pracy w sytuacji, gdy zasi\u0119g do stacji bazowej mo\u017ce by\u0107 wi\u0119kszy ni\u017c 8 km. Po\u0142\u0105czenie jest realizowane w spos\u00f3b stosunkowo prosty, a co za tym idzie &#8211; bardziej niezawodny. Po\u0142\u0105czenie g\u0142osowe w przypadku, gdy kom\u00f3rka \u017c\u0105daj\u0105ca po\u0142\u0105czenia ma wykupiony abonament, przebiega w nast\u0119puj\u0105cy spos\u00f3b:<\/p><ol><li>Kom\u00f3rka GSM (na przyk\u0142ad telefon) \u0142\u0105czy si\u0119 ze stacj\u0105 bazow\u0105 (BTS) o najsilniejszym sygnale i przesy\u0142a \u017c\u0105danie po\u0142\u0105czenia z drug\u0105 kom\u00f3rk\u0105 GSM.<\/li><li>\u017b\u0105danie przekazywane jest do kontrolera stacji bazowych, a kontroler ten przekazuje \u017c\u0105danie do cyfrowej centrali telefonicznej.<\/li><li>Centrala poprzez po\u0142\u0105czenie si\u0119 z bramk\u0105 odpowiedzialn\u0105 za przekazywanie \u017c\u0105dania do centrali odbiorcy przesy\u0142a informacje o po\u0142\u0105czeniu.<\/li><li>Centrala odbiorcy sprawdza, w jakim obszarze znajduje si\u0119 odbiorca po\u0142\u0105czenia, i przesy\u0142a informacje o po\u0142\u0105czeniu do jego stacji bazowej.<\/li><li>Stacja bazowa odbiorcy przekazuje mu informacje o po\u0142\u0105czeniu. Je\u015bli odbiorca odpowie na \u017c\u0105danie po\u0142\u0105czenia, rozpoczyna si\u0119 przesy\u0142anie sygna\u0142u i obie kom\u00f3rki mog\u0105 przesy\u0142a\u0107 mi\u0119dzy sob\u0105 informacje.<\/li><li>Po zako\u0144czeniu po\u0142\u0105czenia wygenerowany zostanie plik nazywany Call Data Record. Zawiera on informacje o po\u0142\u0105czeniu, kt\u00f3re zosta\u0142o wykonane. W pliku zawarte s\u0105 informacje takie jak dane obu kom\u00f3rek, czas po\u0142\u0105czenia, wybrane stacje bazowe oraz centrale i taryfa po\u0142\u0105czenia. Pliki te umo\u017cliwiaj\u0105 rozliczenia u\u017cytkownika na koniec miesi\u0105ca.<\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fea65dd elementor-widget elementor-widget-text-editor\" data-id=\"fea65dd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>W przypadku, gdy dzwoni\u0105ca kom\u00f3rka korzysta z oferty prepaid (nazywanej tak\u017ce ofert\u0105 na kart\u0119), podczas wykonywania po\u0142\u0105czenia przesy\u0142a informacje na temat mo\u017cliwego czasu rozmowy dla r\u00f3\u017cnych taryf, a je\u015bli dozwolony czas zostanie przekroczony, to po\u0142\u0105czenie jest zrywane.<\/p><p>Po om\u00f3wieniu podstaw dzia\u0142ania sieci kom\u00f3rkowych warto przej\u015b\u0107 do dzia\u0142ania standard\u00f3w \u0142\u0105czno\u015bci lokalizacyjnych. Tak jak wspomnieli\u015bmy wcze\u015bniej, nasz modu\u0142 mo\u017ce pracowa\u0107 z wykorzystaniem standard\u00f3w GPS, GLONASS i LBS. Ze wzgl\u0119du na to, \u017ce m\u00f3wili\u015bmy przed chwil\u0105 o standardach po\u0142\u0105cze\u0144 telefonicznych, zaczniemy od standardu LBS. Co ma wsp\u00f3lnego z telefoni\u0105 kom\u00f3rkow\u0105&#8230;?<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-7b9358c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7b9358c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-6b4cac0\" data-id=\"6b4cac0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8e7d743 elementor-widget elementor-widget-text-editor\" data-id=\"8e7d743\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>C\u00f3\u017c, praktycznie wszystko. \u0141\u0105czno\u015b\u0107 LBS to okre\u015blenie lokalizacji na podstawie sygna\u0142u GSM &#8211; tak w du\u017cym skr\u00f3cie. LBS wykorzystuje obecno\u015b\u0107 i popularno\u015b\u0107 stacji bazowych dla sieci kom\u00f3rkowej. Na podstawie wymiany danych na temat lokalizacji stacji bazowych i poziomu zasi\u0119gu do poszczeg\u00f3lnych jednostek sieci mo\u017cemy uzyska\u0107 informacje o po\u0142o\u017ceniu kom\u00f3rki. Jak to jest mo\u017cliwe? Wyobra\u017amy sobie, \u017ce rysujemy na mapie cho\u0107by trzy punkty, p\u00f3\u017aniej rysujemy trzy okr\u0119gi i w centrum ka\u017cdego z okr\u0119g\u00f3w umieszczamy stacj\u0119 bazow\u0105.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-f85779d\" data-id=\"f85779d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-687a423 elementor-widget elementor-widget-image\" data-id=\"687a423\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"800\" height=\"426\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/gsm1-1024x545.jpg\" class=\"attachment-large size-large wp-image-15926\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/gsm1-1024x545.jpg 1024w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/gsm1-300x160.jpg 300w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/gsm1-768x409.jpg 768w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/gsm1-640x341.jpg 640w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/gsm1.jpg 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-957fd22 elementor-widget elementor-widget-text-editor\" data-id=\"957fd22\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u00a0Promie\u0144 wyznaczonego obszaru to zasi\u0119g nadajnika do kom\u00f3rki. Na tej podstawie mo\u017cemy zobaczy\u0107, gdzie przecinaj\u0105 lub stykaj\u0105 si\u0119 wszystkie trzy okr\u0119gi &#8211; w tym miejscu b\u0119dzie nasza kom\u00f3rka.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ee15561 elementor-widget elementor-widget-text-editor\" data-id=\"ee15561\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Obecnie na terenach miejskich rozmieszczonych jest tak du\u017co stacji bazowych, \u017ce dane lokalizacyjne s\u0105 pobierane nie z trzech, a nawet z kilkudziesi\u0119ciu BTS-\u00f3w. Dok\u0142adno\u015b\u0107 tego standardu jest poprawna, ale jak na obecne mo\u017cliwo\u015bci ju\u017c nieco archaiczna. W terenach miejskich wynosi ona oko\u0142o 20 metr\u00f3w, na obszarach poza miastem mo\u017ce wynosi\u0107 nawet 200 metr\u00f3w. Z tego powodu LBS stanowi jedynie wsparcie dla pozosta\u0142ych system\u00f3w lokalizacyjnych.<\/p><p>Po om\u00f3wieniu standaryzacji LBS przejdziemy do GPS &#8211; jest to obecnie najpopularniejszy standard lokalizacyjny. GPS dzia\u0142a na zasadzie \u0142\u0105czno\u015bci z satelitami kr\u0105\u017c\u0105cymi na orbicie naszej planety. Zosta\u0142 stworzony przez Departament Obrony USA i jest ju\u017c z za\u0142o\u017cenia darmowy, dzi\u0119ki czemu zyska\u0142 tak du\u017c\u0105 popularno\u015b\u0107. Obecnie \u0142\u0105czno\u015b\u0107 GPS opiera si\u0119 na zasadzie po\u0142\u0105czenia z satelitami. Dzi\u0119ki umieszczonym w nich zegarach kwantowych mo\u017cemy z niezwyk\u0142\u0105 dok\u0142adno\u015bci\u0105 pobiera\u0107 informacje o czasie odpowiedzi na wys\u0142ane zapytanie. W \u0142\u0105czno\u015bci z satelitami wyr\u00f3\u017cniamy dwa g\u0142\u00f3wne typy po\u0142\u0105czenia, jest to zimny i ciep\u0142y start. Czym tak naprawd\u0119 one s\u0105?<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a96aae0 elementor-widget elementor-widget-heading\" data-id=\"a96aae0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Zimna wojna, zimny start<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8ae05cd elementor-widget elementor-widget-text-editor\" data-id=\"8ae05cd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Zimny start to okre\u015blenie pocz\u0105tkowego nawi\u0105zania po\u0142\u0105czenia z satelitami. Wymaga ono wys\u0142ania zapytania do zestawu satelit, by po zatwierdzeniu po\u0142\u0105czenia przej\u015b\u0107 do trybu ciep\u0142ego startu. Tryb ciep\u0142ego startu utrzymywany jest tak d\u0142ugo, jak zasilanie dla modu\u0142u GPS w odbiorniku ko\u0144cowym. Dla naszego urz\u0105dzenia czas zimnego startu wynosi 28 sekund, za to czas dla ka\u017cdego zapytania po nawi\u0105zaniu po\u0142\u0105czenia mie\u015bci si\u0119 ju\u017c w jednej sekundzie. Obecnie dok\u0142adno\u015b\u0107 systemu GPS wynosi od 1 do 3 metr\u00f3w, jednak pami\u0119tajmy, \u017ce ze wzgl\u0119du na obecne zak\u0142\u00f3cenia (zachmurzenie nieba, infrastruktura itd.) dok\u0142adno\u015b\u0107 mo\u017ce s\u0142abn\u0105\u0107. Jednak w por\u00f3wnaniu do system\u00f3w LBS i dost\u0119pno\u015bci sygna\u0142u nawet w miejscach pozbawionych sygna\u0142u telefonii kom\u00f3rkowej r\u00f3\u017cnica jest ogromna.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-c70a43c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c70a43c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-ce5d1f0\" data-id=\"ce5d1f0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-23bd65c elementor-widget elementor-widget-text-editor\" data-id=\"23bd65c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Mo\u017cemy teraz przej\u015b\u0107 do system\u00f3w GLONASS. To rosyjski system lokalizacyjny, kt\u00f3ry dzia\u0142a podobnie do GPS. Jego zalet\u0105 jest mo\u017cliwo\u015b\u0107 dok\u0142adniejszego okre\u015blenia pozycji w wy\u017cszych szeroko\u015bciach geograficznych. Sam standard przewiduje dok\u0142adno\u015b\u0107 na poziomie 4 do 7 metr\u00f3w. System GLONASS zosta\u0142 oddany do u\u017cytku publicznego w 2011 roku, a wcze\u015bniej funkcjonowa\u0142 jako system przeznaczony tylko dla wojska. A dlaczego omawiamy a\u017c trzy systemy lokalizacyjne, a nie skupiamy si\u0119 tylko na jednym?\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-08c1a80\" data-id=\"08c1a80\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5e032ae elementor-widget elementor-widget-image\" data-id=\"5e032ae\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"800\" height=\"534\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/GLONASS_or_GPS_personal_device_NPI-2-1024x683.jpg\" class=\"attachment-large size-large wp-image-15925\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/GLONASS_or_GPS_personal_device_NPI-2-1024x683.jpg 1024w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/GLONASS_or_GPS_personal_device_NPI-2-300x200.jpg 300w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/GLONASS_or_GPS_personal_device_NPI-2-768x512.jpg 768w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/GLONASS_or_GPS_personal_device_NPI-2-1536x1024.jpg 1536w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/GLONASS_or_GPS_personal_device_NPI-2-2048x1365.jpg 2048w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/GLONASS_or_GPS_personal_device_NPI-2-640x427.jpg 640w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-12341bc elementor-widget elementor-widget-text-editor\" data-id=\"12341bc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Z jednego bardzo prostego powodu &#8211; korzystanie z jednego z nich nie daje nam tak du\u017cych mo\u017cliwo\u015bci i dok\u0142adno\u015bci pomiarowej jak korzystanie ze wszystkich standard\u00f3w.\u00a0Gdy wiemy ju\u017c, jakie mo\u017cliwo\u015bci ma modu\u0142 i jakie s\u0105 zasady funkcjonowania poszczeg\u00f3lnych sieci, to nareszcie mo\u017cemy przej\u015b\u0107 do korzystania z modu\u0142u.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6301832 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6301832\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f4e3710\" data-id=\"f4e3710\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-32dc434 elementor-widget elementor-widget-heading\" data-id=\"32dc434\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Korzystanie z modu\u0142u<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-733e356 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"733e356\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8c99bd9\" data-id=\"8c99bd9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-10274fd elementor-widget elementor-widget-text-editor\" data-id=\"10274fd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Zanim podejmiemy stanowisko kwatermistrza w s\u0142u\u017cbach brytyjskiego kontrwywiadu, warto zapozna\u0107 si\u0119 z podstawowymi komendami dla naszego modu\u0142u. Pomo\u017ce nam to tworzy\u0107 ko\u0144cowe urz\u0105dzenie. Do rozpocz\u0119cia pracy nad projektem niezb\u0119dne b\u0119d\u0105 nam elementy takie jak:<\/p><ul><li><b><a href=\"https:\/\/botland.com.pl\/raspberry-pi-hat-komunikacja\/9893-nakladka-hat-gsmgprsgnssbluetooth-do-raspberry-pi-waveshare-13460.html\" data-wpel-link=\"internal\">Modu\u0142 Waveshare 13460<\/a><\/b><\/li><li><b><a href=\"https:\/\/botland.com.pl\/moduly-i-zestawy-raspberry-pi-zero\/9749-raspberry-pi-zero-wh-512mb-ram-wifi-bt-41-ze-zlaczami.html\" data-wpel-link=\"internal\">Raspberry Pi Zero WH<\/a><\/b><\/li><li><a href=\"https:\/\/botland.com.pl\/karty-pamieci-microsd-sd\/9958-karta-pamieci-sandisk-ultra-653x-microsd-16gb-98mbs-uhs-i-klasa-10-z-adapterem-619659161347.html\" data-wpel-link=\"internal\"><b>Karta pami\u0119ci<\/b><\/a><\/li><li><a href=\"https:\/\/botland.com.pl\/zasilacze-dogniazdkowe\/9707-zasilacz-microusb-51v-3a-do-raspberry-pi-3b3a3b2bzero-5903351242516.html\" data-wpel-link=\"internal\"><b>Zasilacz do Raspberry Pi<\/b><\/a><\/li><li>Zarejestrowana karta SIM<\/li><\/ul><p>Gdy mamy ju\u017c wszystkie elementy, mo\u017cemy w\u0142o\u017cy\u0107 do modu\u0142u kart\u0119 SIM. Warto wybra\u0107 operatora, kt\u00f3ry b\u0119dzie mia\u0142 najni\u017csze stawki za wiadomo\u015bci SMS i po\u0142\u0105czenia, a w razie potrzeby kart\u0119 mo\u017cna do\u0142adowa\u0107. Pami\u0119tajmy te\u017c, \u017ce karta musi zosta\u0107 zarejestrowana, i o ile nie b\u0119dzie to karta przypisana do abonamentu, to warto zarejestrowa\u0107 j\u0105 po zakupie. Po w\u0142o\u017ceniu karty SIM do slotu w module musimy pod\u0142\u0105czy\u0107 anten\u0119 dla GPS. Jest ona do\u0142\u0105czona do zestawu &#8211; wystarczy po\u0142\u0105czy\u0107 anten\u0119 z adapterem, a ca\u0142o\u015b\u0107 pod\u0142\u0105czy\u0107 do z\u0142\u0105cza anteny GPS w module. Jest on oznaczony, wi\u0119c trudno tutaj o pomy\u0142k\u0119. Gdy pod\u0142\u0105czymy anten\u0119 GPS, mo\u017cemy umie\u015bci\u0107 modu\u0142 na minikomputerze. Tutaj r\u00f3wnie\u017c trudno si\u0119 pomyli\u0107 &#8211; w przypadku Raspberry Pi Zero p\u0142ytki musz\u0105 si\u0119 pokrywa\u0107, s\u0105 identycznych rozmiar\u00f3w, a w przypadku po\u0142\u0105czenia z wi\u0119ksz\u0105 malin\u0105 musimy po\u0142\u0105czy\u0107 modu\u0142y tak, aby bok po stronie goldpin\u00f3w pokrywa\u0142 si\u0119 w obu p\u0142ytkach.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3a68800 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3a68800\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4f75d54\" data-id=\"4f75d54\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-712c220 elementor-widget elementor-widget-image\" data-id=\"712c220\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"593\" height=\"261\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/1.jpg\" class=\"attachment-large size-large wp-image-13598\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/1.jpg 593w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/1-300x132.jpg 300w\" sizes=\"(max-width: 593px) 100vw, 593px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Po\u0142\u0105czenie modu\u0142u z Raspberry Pi Zero (po lewej stronie) i po\u0142\u0105czenie modu\u0142u z Raspberry Pi 3+ wraz z anten\u0105 GPS i anten\u0105 Bluetooth (po prawej stronie)<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6e7bed6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6e7bed6\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0bf342d\" data-id=\"0bf342d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-59dbf87 elementor-widget elementor-widget-text-editor\" data-id=\"59dbf87\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Po pod\u0142\u0105czeniu modu\u0142u z minikomputerem mo\u017cemy przej\u015b\u0107 do wgrania systemu operacyjnego. Aby unikn\u0105\u0107 instrukcji dla wgrywania go na kart\u0119 SD, odwo\u0142am si\u0119 do poradnika dotycz\u0105cego <a href=\"https:\/\/botland.com.pl\/blog\/prosty-systemu-inteligentnego-domu-dla-kazdego-na-bazie-raspberry-pi-zero-czesc-1\/\" data-wpel-link=\"internal\"><b>tworzenia systemu dla inteligentnego domu<\/b><\/a> &#8211; zosta\u0142o tam bardzo dok\u0142adnie przedstawione jak wgra\u0107 system dla Raspberry Pi na kart\u0119 pami\u0119ci. Gdy system zosta\u0142 wgrany, a karta umieszczona jest ju\u017c w malinie, to mo\u017cemy pod\u0142\u0105czy\u0107 j\u0105 do zasilania i po\u0142\u0105czy\u0107 si\u0119 z naszym minikomputerem za pomoc\u0105 programu Putty (metoda r\u00f3wnie\u017c zosta\u0142a opisana w wymienionym wy\u017cej poradniku). Gdy znajdziemy si\u0119 przy tym kroku, to mo\u017cemy przej\u015b\u0107 dalej.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-76aaaa4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"76aaaa4\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a38a291\" data-id=\"a38a291\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-095103b elementor-widget elementor-widget-image\" data-id=\"095103b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"601\" height=\"384\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/2.jpg\" class=\"attachment-large size-large wp-image-13603\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/2.jpg 601w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/2-300x192.jpg 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Ekran terminala widoczny po zalogowaniu.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e7a8525 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e7a8525\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c1fd16d\" data-id=\"c1fd16d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-03fe224 elementor-widget elementor-widget-text-editor\" data-id=\"03fe224\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Pierwsz\u0105 czynno\u015bci\u0105, jak\u0105 musimy wykona\u0107, jest otworzenie portu szeregowego. Aby to zrobi\u0107, w konsoli wpisujemy:<br \/>sudo raspi-config<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-779c6f6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"779c6f6\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-06fe76e\" data-id=\"06fe76e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dcfadb5 elementor-widget elementor-widget-image\" data-id=\"dcfadb5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"603\" height=\"383\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/3.jpg\" class=\"attachment-large size-large wp-image-13604\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/3.jpg 603w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/3-300x191.jpg 300w\" sizes=\"(max-width: 603px) 100vw, 603px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Widok po wej\u015bciu do panelu konfiguracyjnego.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0d428cc elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0d428cc\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4f6d00d\" data-id=\"4f6d00d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-89ff3b9 elementor-widget elementor-widget-text-editor\" data-id=\"89ff3b9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Gdy znajdujemy si\u0119 ju\u017c w panelu konfiguracyjnym, przechodzimy kolejno do Interfacing Options, a nast\u0119pnie wybieramy Serial. Gdy zatwierdzimy ca\u0142o\u015b\u0107 przyciskiem Enter, to system zapyta nas, czy chcemy si\u0119 zalogowa\u0107 do pow\u0142oki systemu korzystaj\u0105c z portu szeregowego. Nie chcemy, wi\u0119c wybieramy odpowied\u017a \u201cNo\u201d.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e729d84 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e729d84\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-11c558f\" data-id=\"11c558f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7e7b6f1 elementor-widget elementor-widget-image\" data-id=\"7e7b6f1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"381\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/4.jpg\" class=\"attachment-large size-large wp-image-13605\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/4.jpg 602w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/4-300x190.jpg 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Po tym komunikacie wybieramy pod\u015bwietlony wariant i zatwierdzamy Enterem.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ce46735 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ce46735\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a82623d\" data-id=\"a82623d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-342ab27 elementor-widget elementor-widget-text-editor\" data-id=\"342ab27\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Teraz system zapyta, czy chcemy, aby sprz\u0119towy port szeregowy zosta\u0142 w\u0142\u0105czony. Tutaj wybieramy \u201cYes\u201d.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-777ea75 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"777ea75\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3fd9f6f\" data-id=\"3fd9f6f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-03eed49 elementor-widget elementor-widget-image\" data-id=\"03eed49\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"599\" height=\"382\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/5.jpg\" class=\"attachment-large size-large wp-image-13612\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/5.jpg 599w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/5-300x191.jpg 300w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">R\u00f3wnie\u017c po tym komunikacie wybieramy pod\u015bwietlony wariant i zatwierdzamy enterem.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5a8ee03 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5a8ee03\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b0682bb\" data-id=\"b0682bb\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4869f14 elementor-widget elementor-widget-text-editor\" data-id=\"4869f14\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Gdy w\u0142\u0105czymy sprz\u0119towy port szeregowy, to mo\u017cemy opu\u015bci\u0107 panel konfiguracyjny. Na samym ko\u0144cu zostaniemy zapytani o to, czy chcemy zrestartowa\u0107 malin\u0119. Tutaj r\u00f3wnie\u017c si\u0119 zgadzamy.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2d6bc7a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2d6bc7a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f26c0b2\" data-id=\"f26c0b2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-996fc28 elementor-widget elementor-widget-image\" data-id=\"996fc28\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"605\" height=\"383\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/6.jpg\" class=\"attachment-large size-large wp-image-13613\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/6.jpg 605w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/6-300x190.jpg 300w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Aby ustawienia zosta\u0142y wdro\u017cone musimy zrestartowa\u0107 minikomputer.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-744bc43 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"744bc43\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-331c345\" data-id=\"331c345\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-10e096a elementor-widget elementor-widget-text-editor\" data-id=\"10e096a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Po zrestartowaniu Raspberry Pi ponownie \u0142\u0105czymy si\u0119 z nim i logujemy przez Putty. Modu\u0142 komunikuje si\u0119 z u\u017cytkownikiem przy pomocy komend AT. Jest to standard komunikacyjny, kt\u00f3ry pozwala na wygodne porozumiewanie si\u0119 z r\u00f3\u017cnymi uk\u0142adami. Znamy go chocia\u017cby z pracy z modu\u0142em ESP8266. Aby wygodnie porozumiewa\u0107 si\u0119 z uk\u0142adami przy pomocy komend AT, musimy zainstalowa\u0107 program, kt\u00f3ry b\u0119dzie \u201cmostem\u201d pomi\u0119dzy naszym terminalem a informacjami przekazywanymi do uk\u0142adu. Program ten nazywa si\u0119 minicom, i aby go zainstalowa\u0107 i przypisa\u0107 do niego port szeregowy, musimy wprowadzi\u0107 do terminala poni\u017csze polecenia:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7fc9d01 elementor-widget elementor-widget-text-editor\" data-id=\"7fc9d01\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>sudo apt-get install minicom<br \/>minicom -D \/dev\/ttyS0<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0e67c6b elementor-widget elementor-widget-text-editor\" data-id=\"0e67c6b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Po wprowadzeniu powy\u017cszych polece\u0144 uka\u017ce si\u0119 strona powitalna programu.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-035f603 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"035f603\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-37befaa\" data-id=\"37befaa\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0364a92 elementor-widget elementor-widget-image\" data-id=\"0364a92\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"381\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/7.jpg\" class=\"attachment-large size-large wp-image-13614\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/7.jpg 606w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/7-300x189.jpg 300w\" sizes=\"(max-width: 606px) 100vw, 606px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Ekran powitalny programu minicom.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5203e4a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5203e4a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b432e73\" data-id=\"b432e73\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e6a05c0 elementor-widget elementor-widget-text-editor\" data-id=\"e6a05c0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Teraz, aby sprawdzi\u0107, czy po\u0142\u0105czenie z modu\u0142em funkcjonuje prawid\u0142owo, musimy wpisa\u0107 pierwsz\u0105 komend\u0119. Polecenie s\u0142u\u017c\u0105ce do testowania sprawno\u015bci komunikacji przy pomocy polece\u0144 AT to po prostu:<br \/>AT<\/p><p>Je\u015bli po wpisaniu polecenia ujrzymy napis \u201cOK\u201d, znaczy to, \u017ce komunikacja zosta\u0142a nawi\u0105zana prawid\u0142owo i \u017ce mo\u017cemy przej\u015b\u0107 dalej.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-185fca9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"185fca9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-35b3df9\" data-id=\"35b3df9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-713668b elementor-widget elementor-widget-image\" data-id=\"713668b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"603\" height=\"381\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/8.jpg\" class=\"attachment-large size-large wp-image-13615\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/8.jpg 603w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/8-300x190.jpg 300w\" sizes=\"(max-width: 603px) 100vw, 603px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Komunikat po prawid\u0142owym nawi\u0105zaniu po\u0142\u0105czenia.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a0778a1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a0778a1\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-194f7e4\" data-id=\"194f7e4\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0188cb7 elementor-widget elementor-widget-text-editor\" data-id=\"0188cb7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Gdy mamy pewno\u015b\u0107, \u017ce komunikacja funkcjonuje prawid\u0142owo, spr\u00f3bujmy wys\u0142a\u0107 przy pomocy modu\u0142u wiadomo\u015b\u0107 SMS. Aby to zrobi\u0107, musimy wykona\u0107 kilka czynno\u015bci. Pierwsz\u0105 jest sprawdzenie, czy modu\u0142 mo\u017ce pracowa\u0107 w trybie wysy\u0142ania wiadomo\u015bci tekstowych. Aby to sprawdzi\u0107 wpisujemy w terminal:<br \/>AT+CMGS=?<\/p><p>Je\u015bli otrzymamy odpowied\u017a \u201cOK\u201d, to znaczy to, \u017ce mo\u017cemy przej\u015b\u0107 dalej. Teraz musimy ustawi\u0107 modu\u0142 w trybie wysy\u0142ania wiadomo\u015bci. Wpisujemy polecenie:<br \/>AT+CMGF=1<\/p><p>Tradycyjnie pojawienie si\u0119 w terminalu \u201cOK\u201d sygnalizuje sukces. W tym momencie nale\u017cy przypisa\u0107 numer telefonu, na kt\u00f3ry wysy\u0142amy wiadomo\u015b\u0107. Nale\u017cy te\u017c pami\u0119ta\u0107 aby numer posiada\u0142 przedrostek, kt\u00f3ry okre\u015bla kraj w kt\u00f3rym zarejestrowany jest numer. Dla Polski jest to +48. Komenda, kt\u00f3r\u0105 wpisujemy, to:<br \/>AT+CMGS=\u201d+48*********\u201d<\/p><p>Oczywi\u015bcie w miejscu gwiazdek wpisujemy numer telefonu, na kt\u00f3ry chcemy wys\u0142a\u0107 wiadomo\u015b\u0107 &#8211; nie usuwaj\u0105c cudzys\u0142ow\u00f3w! Po zatwierdzeniu komendy Enterem zobaczymy miejsce na wpisanie naszej wiadomo\u015bci. W ramach testu wpiszemy \u201cTest modulu Waveshare\u201d. Tutaj wpisujemy ju\u017c tre\u015b\u0107 bez cudzys\u0142ow\u00f3w. Po wpisaniu zawarto\u015bci zatwierdzamy Enterem. Po zatwierdzeniu tekstu poka\u017ce si\u0119 nam kolejne pole. Je\u015bli nie chcemy wysy\u0142a\u0107 wiadomo\u015bci w kolejnej linii, to ko\u0144czymy wysy\u0142anie skr\u00f3tem klawiszowym Ctrl + Z. Po zako\u0144czeniu wysy\u0142ania powinni\u015bmy zobaczy\u0107 potwierdzenie wys\u0142ania w formie dw\u00f3ch wiadomo\u015bci zwrotnych, tak jak na grafice poni\u017cej.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1619241 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1619241\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-481bd6b\" data-id=\"481bd6b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cdbb3de elementor-widget elementor-widget-image\" data-id=\"cdbb3de\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"601\" height=\"379\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/9.jpg\" class=\"attachment-large size-large wp-image-13616\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/9.jpg 601w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/9-300x189.jpg 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Prawid\u0142owo wys\u0142ana wiadomo\u015b\u0107 tekstowa.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-56fde8b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"56fde8b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6f0e203\" data-id=\"6f0e203\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a3d4913 elementor-widget elementor-widget-text-editor\" data-id=\"a3d4913\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Na ekranie telefonu, na kt\u00f3ry wys\u0142ali\u015bmy SMS, powinna pojawi\u0107 si\u0119 wiadomo\u015b\u0107 o wpisanej przez nas tre\u015bci.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-318231f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"318231f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b49cf64\" data-id=\"b49cf64\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4efda79 elementor-widget elementor-widget-image\" data-id=\"4efda79\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"347\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/numer.png\" class=\"attachment-large size-large wp-image-15927\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/numer.png 600w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/numer-300x174.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Wiadomo\u015b\u0107 wys\u0142ana z modu\u0142u.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8a4abe3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8a4abe3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d4013c3\" data-id=\"d4013c3\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cd1fb72 elementor-widget elementor-widget-text-editor\" data-id=\"cd1fb72\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Je\u015bli potrafimy ju\u017c wys\u0142a\u0107 wiadomo\u015b\u0107 tekstow\u0105, to warto sprawdzi\u0107, jak okre\u015bli\u0107 nasze wsp\u00f3\u0142rz\u0119dne. Aby to zrobi\u0107, nauczymy si\u0119, jak \u0142\u0105czy\u0107 si\u0119 z satelitami GPS i GLONASS. Mo\u017cemy si\u0119 teraz zastanowi\u0107, jak mo\u017cliwe jest korzystanie z obu technologii w jednym momencie. System GNSS, z kt\u00f3rego korzystamy, to sprawne po\u0142\u0105czenie technologii GPS i GLONASS, dzi\u0119ki czemu mo\u017cemy pobiera\u0107 i u\u015brednia\u0107 wyniki pomiar\u00f3w lokalizacji bez dodatkowych oblicze\u0144 i linijek kodu. Wygodne, prawda? Na samym pocz\u0105tku musimy w\u0142\u0105czy\u0107 modu\u0142 GNSS. Do tej czynno\u015bci wykorzystamy komend\u0119:<br \/>AT+CGNSPWR=1<\/p><p>Tradycyjnie po udanym po\u0142\u0105czeniu powinni\u015bmy ujrze\u0107 \u201cOK\u201d. Po aktywowaniu modu\u0142u GNSS mo\u017cemy aktywowa\u0107 jeden z jego tryb\u00f3w, a posiada ich a\u017c cztery:<\/p><ul><li>GGA &#8211; czas, pozycja i dane do poprawki lokalizacyjnej,<\/li><li>RMC &#8211; czas, data, pozycja, kierunek oraz pr\u0119dko\u015b\u0107,<\/li><li>GSA &#8211; tryb pracy odbiornika GNSS, u\u017cywane aktualnie satelity i warto\u015bci DOP (czyli warto\u015bci, kt\u00f3re nale\u017cy bra\u0107 jako czynnik b\u0142\u0119du przy obliczeniach),<\/li><li>GSV &#8211; liczba widocznych satelit\u00f3w GNSS, ID widocznych satelit\u00f3w, wysoko\u015b\u0107, azymut i warto\u015bci SNR (s\u0105 to warto\u015bci zak\u0142\u00f3ce\u0144, kt\u00f3re r\u00f3wnie\u017c nale\u017cy bra\u0107 jako czynnik b\u0142\u0119du przy obliczeniach).<\/li><\/ul><p>Gdy wiemy, jakie tryby oferuje nam modu\u0142, mo\u017cemy wybra\u0107 jeden z nich. My skorzystamy z trybu GGA. Dane pozycyjne b\u0119d\u0105 dla nas wystarczaj\u0105ce. Aby skorzysta\u0107 z tego trybu, wpisujemy poni\u017csze polecenie. Oczywi\u015bcie gdy b\u0119dziemy chcieli zmieni\u0107 tryb odbioru informacji, to wystarczy, \u017ce zmienimy GGA na oznaczenie innego trybu. Pami\u0119tajmy tylko o zachowaniu cudzys\u0142ow\u00f3w:<br \/>AT+CGNSSEQ=\u201dGGA\u201d<\/p><p>Po wybraniu prawid\u0142owego trybu mo\u017cemy spyta\u0107 nasz modu\u0142 o lokalizacj\u0119. Wpisujemy: <br \/>AT+CGNSINF<\/p><p>Po wpisaniu polecenia powinna ukaza\u0107 si\u0119 nasza lokalizacja wraz z innymi wyszczeg\u00f3lnionymi w opisie trybu informacjami. Pierwsza liczba oznacza status uk\u0142adu w naszym module. Je\u015bli wynosi 1, to znaczy, \u017ce modu\u0142 dzia\u0142a prawid\u0142owo, natomiast je\u015bli wy\u015bwietla si\u0119 0, to znaczy, \u017ce trzeba go w\u0142\u0105czy\u0107 jeszcze raz. Druga liczba oznacza okre\u015blenie pozycji, je\u015bli wy\u015bwietla si\u0119 1 to znaczy, \u017ce okre\u015blenie pozycji przebieg\u0142o prawid\u0142owo, a je\u015bli wy\u015bwietla si\u0119 0, to znaczy, \u017ce musimy poczeka\u0107 na dok\u0142adne okre\u015blenie pozycji. Poni\u017cej mo\u017cemy zobaczy\u0107, jak wygl\u0105da prawid\u0142owo nawi\u0105zana komunikacja (cz\u0119\u015b\u0107 wsp\u00f3\u0142rz\u0119dnych zosta\u0142a zakryta).<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f13499d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f13499d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0f0d106\" data-id=\"0f0d106\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bd15e6b elementor-widget elementor-widget-image\" data-id=\"bd15e6b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"601\" height=\"380\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/11.jpg\" class=\"attachment-large size-large wp-image-13618\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/11.jpg 601w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/11-300x190.jpg 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Prawid\u0142owo nawi\u0105zana komunikacja z satelitami i pobranie informacji.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bbca156 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bbca156\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-37c921f\" data-id=\"37c921f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4f0b178 elementor-widget elementor-widget-text-editor\" data-id=\"4f0b178\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><br \/>Je\u015bli marzyli\u015bcie kiedy\u015b o po\u0142\u0105czeniu si\u0119 z rosyjskim lub ameryka\u0144skim satelit\u0105, to mo\u017cecie uzna\u0107 to marzenie za spe\u0142nione! Na samym pocz\u0105tku okre\u015blili\u015bmy, \u017ce chcemy zbudowa\u0107 urz\u0105dzenie, kt\u00f3re po wci\u015bni\u0119ciu przycisku prze\u015ble na wybrany numer telefonu nasz\u0105 lokalizacj\u0119. Co powiecie na usprawnienie tego projektu i zmodyfikowanie go tak, aby lokalizacja przesy\u0142a\u0142a si\u0119 po przes\u0142aniu wiadomo\u015bci tekstowej o okre\u015blonej tre\u015bci? Do dzie\u0142a!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-eca6a72 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"eca6a72\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0e69ed5\" data-id=\"0e69ed5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cc96225 elementor-widget elementor-widget-heading\" data-id=\"cc96225\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Budowa prototypu \"Radia\"<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-127e2da elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"127e2da\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b1379cd\" data-id=\"b1379cd\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-09ab915 elementor-widget elementor-widget-text-editor\" data-id=\"09ab915\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Do stworzenia opisywanego przez nas projektu musimy nauczy\u0107 si\u0119 jeszcze korzystania z funkcji odbierania wiadomo\u015bci tekstowych. Procedura nie jest trudna, jednak pami\u0119tajmy, \u017ce modu\u0142 domy\u015blnie zapisuje wiadomo\u015bci tekstowe w pami\u0119ci karty SIM, tak wi\u0119c przed wys\u0142aniem wiadomo\u015bci najlepiej b\u0119dzie usun\u0105\u0107 wszystkie, kt\u00f3re ju\u017c istniej\u0105. Do usuni\u0119cia wszystkich wiadomo\u015bci s\u0142u\u017cy polecenie pisane razem z cudzys\u0142owami:<br \/>AT+CMGDA=\u201dDEL ALL\u201d<\/p><p>Po usuni\u0119ciu wszystkich wiadomo\u015bci powinni\u015bmy ujrze\u0107 potwierdzenie wykonania zadania, czyli \u201cOK\u201d. Aby mie\u0107 mo\u017cliwo\u015b\u0107 odczytania przychodz\u0105cych wiadomo\u015bci, wprowadzamy komend\u0119 kt\u00f3ra ustala tryb odczytu jako tekstowy:<br \/>AT+CMGF=1<\/p><p>Teraz na numer, od kt\u00f3rego dostali\u015bmy wcze\u015bniej wiadomo\u015b\u0107 o tre\u015bci \u201cTest modulu Waveshare\u201d, wy\u015blijmy SMS o tre\u015bci \u201cTest odbierania wiadomosci\u201d i uwa\u017cnie obserwujmy, co dzieje si\u0119 w terminalu. Otrzymali\u015bmy powiadomienie, kt\u00f3re zawiera wa\u017cn\u0105 dla nas informacj\u0119 &#8211; jest to index naszej wiadomo\u015bci, dzi\u0119ki kt\u00f3remu \u0142atwo odnajdziemy wiadomo\u015b\u0107 w pami\u0119ci. Ze wzgl\u0119du na to, \u017ce przed chwil\u0105 usun\u0119li\u015bmy wszystkie wiadomo\u015bci, ta uzyska\u0142a numer 1.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-714d5f9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"714d5f9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-07ca4cf\" data-id=\"07ca4cf\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-65d8a52 elementor-widget elementor-widget-image\" data-id=\"65d8a52\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"605\" height=\"379\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/12.jpg\" class=\"attachment-large size-large wp-image-13619\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/12.jpg 605w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/12-300x188.jpg 300w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b512f03 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b512f03\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fc6c159\" data-id=\"fc6c159\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4021d21 elementor-widget elementor-widget-text-editor\" data-id=\"4021d21\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Teraz, aby odczyta\u0107 wiadomo\u015b\u0107, musimy wywo\u0142a\u0107 polecenie:<br \/>AT+CMGR=1,1<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-580abfc elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"580abfc\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9bbe750\" data-id=\"9bbe750\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3895dbf elementor-widget elementor-widget-image\" data-id=\"3895dbf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"601\" height=\"381\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/13.jpg\" class=\"attachment-large size-large wp-image-13626\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/13.jpg 601w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/13-300x190.jpg 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Odczytanie tre\u015bci wiadomo\u015bci.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-13b2858 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"13b2858\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ee64ffb\" data-id=\"ee64ffb\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-397f418 elementor-widget elementor-widget-text-editor\" data-id=\"397f418\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Wiemy ju\u017c jak odczyta\u0107 wiadomo\u015b\u0107 przy pomocy modu\u0142u Waveshare 13460 i Raspberry Pi. Przechodzimy dalej. Na malinie musimy wprowadzi\u0107 komend\u0119, kt\u00f3ra utworzy nam plik pythona. Wpisujemy:<br \/>cd \/home\/pi<br \/>sudo nano radio.py<\/p><p>Gdy otworzy si\u0119 edytor, wklejamy poni\u017cszy kod:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-15f6cf7 elementor-widget elementor-widget-text-editor\" data-id=\"15f6cf7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>import serial\nimport os, time, sys\nmodul = \"\/dev\/ttyS0\"\nserial1 = serial.Serial(modul, baudrate = 9600, timeout = 1)\n#Sprawdzenie pracy modulu\ntresc1=('AT' + '\\r\\n')\nserial1.write(tresc1.encode())\ntresc2=('\\x0D\\x0A')\nserial1.write(tresc2.encode())\nodczyt = serial1.read(10)\nprint(odczyt)\ntime.sleep(3)\n#Ustawienie formatu wiadomosci jako tekst\ntresc4=('AT+CMGF=1' + '\\r\\n')\nserial1.write(tresc4.encode())\nodczyt = serial1.read(10)\nprint(odczyt)\ntime.sleep(3)\n#Wlaczenie modulu GNSS\ntresc5=('AT+CGNSPWR=1' + '\\r\\n')\nserial1.write(tresc5.encode())\nodczyt = serial1.read(10)\nprint(odczyt)\ntime.sleep(10)\n#Ustawienie trybu przekazywania informacji\ntresc6=('AT+CGNSSEQ=\"GGA\"' + '\\r\\n')\nserial1.write(tresc6.encode())\nodczyt = serial1.read(10)\nprint(odczyt)\ntime.sleep(3)\n#Usuniecie wszystkich wiadomosci\ntresc7=('AT+CMGDA=\"DEL ALL\"'+'\\r\\n')\nserial1.write(tresc7.encode())\ntime.sleep(3)\nwiadomosc = serial1.read(serial1.inWaiting())\nprint (\"Oczekiwanie na wiadomosc...\")\n#Oczekiwanie na wiadomosc\nwhile True:\n\twiadomosc = serial1.read(serial1.inWaiting())\n\tif wiadomosc != \"\":\n\t\ttresc8=('AT+CMGR=1' + '\\r\\n')\n\t\tserial1.write(tresc8.encode())\n\t\ttime.sleep(3)\n\t\twiadomosc = str(serial1.read(serial1.inWaiting()))\n\t\t#Odczytanie wiadomosci\n\t\tprint (\"Wiadomosc odebrana: \")\n\t\tprint (wiadomosc)\n\t\ttresc=(\"Podaj lokalizacje\")\n\t\t#Sprawdzenie tresci wiadomosci\n\t\tif tresc in wiadomosc:\n\t\t\t#Pobranie lokalizacji\n\t\t\ttresc9=('AT+CGNSINF' + '\\r\\n')\n\t\t\tserial1.write(tresc9.encode())\n\t\t\ttime.sleep(3)\n\t\t\tpozycja = serial1.read(serial1.inWaiting())\n\t\t\tprint(pozycja)\n\t\t\t#Formatowanie tekstu\n\t\t\twspolrzedne = pozycja[46:65]\n\t\t\tprint(wspolrzedne)\n\t\t\t#Rozpocz\u0119cie procedury wysylanie wiadomosci\n\t\t\ttresc10=('AT+CMGS=\"+48XXXXXXXXX\"'+'\\r\\n')\n\t\t\tserial1.write(tresc10.encode())\n\t\t\ttime.sleep(3)\n\t\t\t#Wyslanie wiadomosci\n\t\t\tprint(\"Wysylanie lokalizacji\")\n\t\t\tserial1.write(wspolrzedne)\n\t\t\ttresc12=('\\r\\n')\n\t\t\tserial1.write(tresc12.encode())\n\t\t\ttresc13=('\\x1A')\n\t\t\tserial1.write(tresc13.encode())\n\t\t#Wyczyszczenie zmiennej\t\n\t\twiadomosc = ''\n\t\ttime.sleep(3)\n\t\t#Usuniecie wiadomosci\n\t\ttresc14=('AT+CMGDA=\"DEL ALL\"' + '\\r\\n')\n\t\tserial1.write(tresc14.encode())\n\t\ttime.sleep(3)\n\t\tserial1.read(serial1.inWaiting())\n\ttime.sleep(5)<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-705c026 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"705c026\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a1c2965\" data-id=\"a1c2965\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-74b3ef4 elementor-widget elementor-widget-text-editor\" data-id=\"74b3ef4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Gdy wkleimy kod do edytora, to zatwierdzamy ca\u0142o\u015b\u0107 skr\u00f3tem Ctrl + X, a p\u00f3\u017aniej potwierdzamy zapis wpisuj\u0105c liter\u0119 \u201cy\u201d i zatwierdzaj\u0105c Enterem. Program zosta\u0142 zbudowany tak, \u017ce widzimy, co si\u0119 w nim dzieje. Aby go uruchomi\u0107 wpisujemy w terminal:<br \/>python3 radio.py<\/p><p>Po chwili mo\u017cemy wys\u0142a\u0107 SMS o tre\u015bci \u201cPodaj lokalizacje\u201d na numer przypisany do karty SIM umieszczonej w module.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9f4cf56 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9f4cf56\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-043aeb5\" data-id=\"043aeb5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b223225 elementor-widget elementor-widget-image\" data-id=\"b223225\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"222\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/14.jpg\" class=\"attachment-large size-large wp-image-13644\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/14.jpg 602w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/14-300x111.jpg 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Dzia\u0142aj\u0105cy kod<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e89e43a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e89e43a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8be5ee9\" data-id=\"8be5ee9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8dd81fd elementor-widget elementor-widget-image\" data-id=\"8dd81fd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"571\" height=\"393\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/15.jpg\" class=\"attachment-large size-large wp-image-13645\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/15.jpg 571w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2020\/12\/15-300x206.jpg 300w\" sizes=\"(max-width: 571px) 100vw, 571px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Odpowied\u017a na nasz\u0105 wiadomo\u015b\u0107.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2199f1d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2199f1d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7e2e379\" data-id=\"7e2e379\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7456d1f elementor-widget elementor-widget-text-editor\" data-id=\"7456d1f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>W ten prosty spos\u00f3b nauczyli\u015bmy si\u0119 co nieco o \u0142\u0105czno\u015bciach bezprzewodowych i dzia\u0142aniu system\u00f3w lokalizacyjnych. Zbudowali\u015bmy tak\u017ce projekt lokalizatora. Je\u015bli poradnik Wam si\u0119 podoba\u0142, macie uwagi lub pomys\u0142y na inne gad\u017cety z film\u00f3w szpiegowskich, to koniecznie dajcie nam zna\u0107 w komentarzu!<\/b><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Budujemy szpiegowski modu\u0142, czyli Raspberry Pi i technologie GSM zasilaj\u0105 szeregi Si\u0142 Specjalnych Zr\u00f3b-To-Sam. Zobaczcie inspiracj\u0119 &#8220;Radiem&#8221; Bonda i projekt krok po kroku.<\/p>\n","protected":false},"author":13,"featured_media":61361,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[136,20,134],"tags":[302,303,95,100],"class_list":["post-13590","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ciekawostki","category-porady","category-raspberry-pi","tag-gps","tag-gsm","tag-python","tag-raspberry-pi-tag"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Raspberry Pi i modu\u0142 Waveshare 13460. GSM i GPS w s\u0142u\u017cbie jej kr\u00f3lewskiej mo\u015bci - Botland<\/title>\n<meta name=\"description\" content=\"Budujemy szpiegowski modu\u0142, czyli Raspberry Pi i technologie GSM zasilaj\u0105 szeregi Si\u0142 Specjalnych Zr\u00f3b-To-Sam. Zobaczcie inspiracj\u0119 &quot;Radiem&quot; Bonda i projekt krok po kroku.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/\" \/>\n<meta property=\"og:locale\" content=\"pl_PL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Raspberry Pi i modu\u0142 Waveshare 13460. GSM i GPS w s\u0142u\u017cbie jej kr\u00f3lewskiej mo\u015bci - Botland\" \/>\n<meta property=\"og:description\" content=\"Budujemy szpiegowski modu\u0142, czyli Raspberry Pi i technologie GSM zasilaj\u0105 szeregi Si\u0142 Specjalnych Zr\u00f3b-To-Sam. Zobaczcie inspiracj\u0119 &quot;Radiem&quot; Bonda i projekt krok po kroku.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/\" \/>\n<meta property=\"og:site_name\" content=\"Botland\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/Botland\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-03T16:02:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-24T07:57:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-okladka-waveshare-02.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1510\" \/>\n\t<meta property=\"og:image:height\" content=\"755\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Marcin Lesi\u0144ski\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Napisane przez\" \/>\n\t<meta name=\"twitter:data1\" content=\"Marcin Lesi\u0144ski\" \/>\n\t<meta name=\"twitter:label2\" content=\"Szacowany czas czytania\" \/>\n\t<meta name=\"twitter:data2\" content=\"17 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\\\/\"},\"author\":{\"name\":\"Marcin Lesi\u0144ski\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#\\\/schema\\\/person\\\/802076b13f8a358284688d7634c1bfe7\"},\"headline\":\"Raspberry Pi i modu\u0142 Waveshare 13460. GSM i GPS w s\u0142u\u017cbie jej kr\u00f3lewskiej mo\u015bci\",\"datePublished\":\"2021-02-03T16:02:23+00:00\",\"dateModified\":\"2023-05-24T07:57:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\\\/\"},\"wordCount\":3331,\"publisher\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/new2023-okladka-waveshare-02.jpg\",\"keywords\":[\"GPS\",\"GSM\",\"Python\",\"Raspberry Pi\"],\"articleSection\":[\"Ciekawostki\",\"Porady\",\"Raspberry Pi\"],\"inLanguage\":\"pl-PL\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\\\/\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\\\/\",\"name\":\"Raspberry Pi i modu\u0142 Waveshare 13460. GSM i GPS w s\u0142u\u017cbie jej kr\u00f3lewskiej mo\u015bci - Botland\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/new2023-okladka-waveshare-02.jpg\",\"datePublished\":\"2021-02-03T16:02:23+00:00\",\"dateModified\":\"2023-05-24T07:57:31+00:00\",\"description\":\"Budujemy szpiegowski modu\u0142, czyli Raspberry Pi i technologie GSM zasilaj\u0105 szeregi Si\u0142 Specjalnych Zr\u00f3b-To-Sam. Zobaczcie inspiracj\u0119 \\\"Radiem\\\" Bonda i projekt krok po kroku.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\\\/#breadcrumb\"},\"inLanguage\":\"pl-PL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/botland.com.pl\\\/blog\\\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\\\/#primaryimage\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/new2023-okladka-waveshare-02.jpg\",\"contentUrl\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/new2023-okladka-waveshare-02.jpg\",\"width\":1510,\"height\":755},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Strona g\u0142\u00f3wna\",\"item\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Raspberry Pi&nbsp;i&nbsp;modu\u0142 Waveshare 13460. GSM i&nbsp;GPS w&nbsp;s\u0142u\u017cbie jej kr\u00f3lewskiej mo\u015bci\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/\",\"name\":\"Botland\",\"description\":\"Blog Raspberry Pi, Arduino, elektronika i robotyka - Botland\",\"publisher\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pl-PL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#organization\",\"name\":\"Botland\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo_kolor_WP_2-1.png\",\"contentUrl\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo_kolor_WP_2-1.png\",\"width\":250,\"height\":57,\"caption\":\"Botland\"},\"image\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/facebook.com\\\/Botland\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#\\\/schema\\\/person\\\/802076b13f8a358284688d7634c1bfe7\",\"name\":\"Marcin Lesi\u0144ski\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/MarcinL-150x150.jpg\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/MarcinL-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/MarcinL-150x150.jpg\",\"caption\":\"Marcin Lesi\u0144ski\"},\"description\":\"Mi\u0142o\u015bnik elektroniki, druku 3D i nauk stosowanych, swoj\u0105 wiedz\u0119 gromadzi od 14-tego roku \u017cycia. W Botlandzie tworzy projekty i poradniki dla klient\u00f3w, a w wolnym czasie zajmuje si\u0119 automatycznymi uprawami i prototypowaniem. Fan muzyki rockowej i brytyjskiego kina.\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/author\\\/marcin-l\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Raspberry Pi i modu\u0142 Waveshare 13460. GSM i GPS w s\u0142u\u017cbie jej kr\u00f3lewskiej mo\u015bci - Botland","description":"Budujemy szpiegowski modu\u0142, czyli Raspberry Pi i technologie GSM zasilaj\u0105 szeregi Si\u0142 Specjalnych Zr\u00f3b-To-Sam. Zobaczcie inspiracj\u0119 \"Radiem\" Bonda i projekt krok po kroku.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/","og_locale":"pl_PL","og_type":"article","og_title":"Raspberry Pi i modu\u0142 Waveshare 13460. GSM i GPS w s\u0142u\u017cbie jej kr\u00f3lewskiej mo\u015bci - Botland","og_description":"Budujemy szpiegowski modu\u0142, czyli Raspberry Pi i technologie GSM zasilaj\u0105 szeregi Si\u0142 Specjalnych Zr\u00f3b-To-Sam. Zobaczcie inspiracj\u0119 \"Radiem\" Bonda i projekt krok po kroku.","og_url":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/","og_site_name":"Botland","article_publisher":"https:\/\/facebook.com\/Botland\/","article_published_time":"2021-02-03T16:02:23+00:00","article_modified_time":"2023-05-24T07:57:31+00:00","og_image":[{"width":1510,"height":755,"url":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-okladka-waveshare-02.jpg","type":"image\/jpeg"}],"author":"Marcin Lesi\u0144ski","twitter_card":"summary_large_image","twitter_misc":{"Napisane przez":"Marcin Lesi\u0144ski","Szacowany czas czytania":"17 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/#article","isPartOf":{"@id":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/"},"author":{"name":"Marcin Lesi\u0144ski","@id":"https:\/\/botland.com.pl\/blog\/#\/schema\/person\/802076b13f8a358284688d7634c1bfe7"},"headline":"Raspberry Pi i modu\u0142 Waveshare 13460. GSM i GPS w s\u0142u\u017cbie jej kr\u00f3lewskiej mo\u015bci","datePublished":"2021-02-03T16:02:23+00:00","dateModified":"2023-05-24T07:57:31+00:00","mainEntityOfPage":{"@id":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/"},"wordCount":3331,"publisher":{"@id":"https:\/\/botland.com.pl\/blog\/#organization"},"image":{"@id":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/#primaryimage"},"thumbnailUrl":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-okladka-waveshare-02.jpg","keywords":["GPS","GSM","Python","Raspberry Pi"],"articleSection":["Ciekawostki","Porady","Raspberry Pi"],"inLanguage":"pl-PL"},{"@type":"WebPage","@id":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/","url":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/","name":"Raspberry Pi i modu\u0142 Waveshare 13460. GSM i GPS w s\u0142u\u017cbie jej kr\u00f3lewskiej mo\u015bci - Botland","isPartOf":{"@id":"https:\/\/botland.com.pl\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/#primaryimage"},"image":{"@id":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/#primaryimage"},"thumbnailUrl":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-okladka-waveshare-02.jpg","datePublished":"2021-02-03T16:02:23+00:00","dateModified":"2023-05-24T07:57:31+00:00","description":"Budujemy szpiegowski modu\u0142, czyli Raspberry Pi i technologie GSM zasilaj\u0105 szeregi Si\u0142 Specjalnych Zr\u00f3b-To-Sam. Zobaczcie inspiracj\u0119 \"Radiem\" Bonda i projekt krok po kroku.","breadcrumb":{"@id":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/#breadcrumb"},"inLanguage":"pl-PL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/"]}]},{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/#primaryimage","url":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-okladka-waveshare-02.jpg","contentUrl":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-okladka-waveshare-02.jpg","width":1510,"height":755},{"@type":"BreadcrumbList","@id":"https:\/\/botland.com.pl\/blog\/raspberry-pi-i-modul-gsm-waveshare-13460-gsm-i-gps-w-sluzbie-jej-krolewskiej-mosci\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Strona g\u0142\u00f3wna","item":"https:\/\/botland.com.pl\/blog\/"},{"@type":"ListItem","position":2,"name":"Raspberry Pi&nbsp;i&nbsp;modu\u0142 Waveshare 13460. GSM i&nbsp;GPS w&nbsp;s\u0142u\u017cbie jej kr\u00f3lewskiej mo\u015bci"}]},{"@type":"WebSite","@id":"https:\/\/botland.com.pl\/blog\/#website","url":"https:\/\/botland.com.pl\/blog\/","name":"Botland","description":"Blog Raspberry Pi, Arduino, elektronika i robotyka - Botland","publisher":{"@id":"https:\/\/botland.com.pl\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/botland.com.pl\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pl-PL"},{"@type":"Organization","@id":"https:\/\/botland.com.pl\/blog\/#organization","name":"Botland","url":"https:\/\/botland.com.pl\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/botland.com.pl\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2018\/04\/logo_kolor_WP_2-1.png","contentUrl":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2018\/04\/logo_kolor_WP_2-1.png","width":250,"height":57,"caption":"Botland"},"image":{"@id":"https:\/\/botland.com.pl\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/Botland\/"]},{"@type":"Person","@id":"https:\/\/botland.com.pl\/blog\/#\/schema\/person\/802076b13f8a358284688d7634c1bfe7","name":"Marcin Lesi\u0144ski","image":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/MarcinL-150x150.jpg","url":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/MarcinL-150x150.jpg","contentUrl":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/02\/MarcinL-150x150.jpg","caption":"Marcin Lesi\u0144ski"},"description":"Mi\u0142o\u015bnik elektroniki, druku 3D i nauk stosowanych, swoj\u0105 wiedz\u0119 gromadzi od 14-tego roku \u017cycia. W Botlandzie tworzy projekty i poradniki dla klient\u00f3w, a w wolnym czasie zajmuje si\u0119 automatycznymi uprawami i prototypowaniem. Fan muzyki rockowej i brytyjskiego kina.","url":"https:\/\/botland.com.pl\/blog\/author\/marcin-l\/"}]}},"_links":{"self":[{"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/posts\/13590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/comments?post=13590"}],"version-history":[{"count":0,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/posts\/13590\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/media\/61361"}],"wp:attachment":[{"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/media?parent=13590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/categories?post=13590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/tags?post=13590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}