GPS coordinates without GPS (using GSM) "not need GPRS"

What are you developing?
VadimEL
Posts: 33
Joined: Sat Aug 13, 2016 1:28 pm
Location: Ukraine Odessa

GPS coordinates without GPS (using GSM) "not need GPRS"

Postby VadimEL » Sat Feb 04, 2017 8:48 pm

Image

I want to share my code. The point is how it works in the picture. The code to optimize it but working. Have not seen that someone is either realized, maybe I'm wrong.



Example of use:

Code: Select all


                    String CENG_0;//вышка 0 информация
                    String CENG_1;//вышка 0 информация
                    String CENG_2;//вышка 0 информация
                    String String_CENG_INFO_not_encoded_in_base64;//строка не кодированная в base64
                    String http_BASE64_string;//строка http


     
                  String ALL_CENGs = Sim800l.Get_CELLS_INFO_type1(&CENG_0, &CENG_1, &CENG_2, &String_CENG_INFO_not_encoded_in_base64, &http_BASE64_string);//вызвали функцию получения информации по вышкам

                    ///////////////////////////////////////////////////////////////////////////////
                    tft.fillScreen(GREEN);//очистить
                    tft.setTextSize(1);
                    tft.setCursor(190, 10);//X,Y от крайнего верхнего угла экрана     
                    tft.println("---------------ALL_CENGs------------------");
                    tft.println(ALL_CENGs);
                    tft.println("---------------CENG_0---------------------");
                    tft.println(CENG_0);
                    tft.println("---------------CENG_1---------------------");
                    tft.println(CENG_1);
                    tft.println("---------------CENG_2---------------------");
                    tft.println(CENG_2);
                    tft.println("--String_CENG_INFO_not_encoded_in_base64---");
                    tft.println(String_CENG_INFO_not_encoded_in_base64);
                    tft.println("---------------http_BASE64_string-------");
                    tft.println(http_BASE64_string);
                    ///////////////////////////////////////////////////////////////////////////////

                       smsTEXT_toSend = http_BASE64_string;

                       Sim800l.sendSms(CurrentCallNumber, smsTEXT_toSend); //отправляем SMS со ссылкой на карту гугл



https://github.com/VadimEL/get-coordina ... MS-and-GSM

Прокопенко В.С (c) =)
Attachments
only_functionV2.zip
(3.34 KiB) Downloaded 10 times
base64.zip
(1.71 KiB) Downloaded 18 times
only_function.ino
(13.81 KiB) Downloaded 24 times
Last edited by VadimEL on Wed Feb 08, 2017 2:47 pm, edited 2 times in total.

stevestrong
Posts: 734
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: GPS coordinates without GPS (using GSM) "not need GPRS"

Postby stevestrong » Sun Feb 05, 2017 10:49 am

@Vadim,
thanks for sharing.

I am correctly understanding that you are detecting the coordinates of the STM32/SIM8001 on your mobile phone?

Or you are detecting the mobile phone coordinates with STM32/SIM8001?

VadimEL
Posts: 33
Joined: Sat Aug 13, 2016 1:28 pm
Location: Ukraine Odessa

Re: GPS coordinates without GPS (using GSM) "not need GPRS"

Postby VadimEL » Sun Feb 05, 2017 11:12 am

maple mini + SIM800L mini.
Mobile make call, (maple mini + SIM800L mini) send sms with http link.
Http link like (https://api.mylnikov.org/mobile/main.py ... g5OzI1MCww)
with info 3 gsm cell.

User avatar
Vassilis
Posts: 290
Joined: Thu May 21, 2015 6:42 am
Location: Thessaloniki, Greece
Contact:

Re: GPS coordinates without GPS (using GSM) "not need GPRS"

Postby Vassilis » Sun Feb 05, 2017 11:45 am

Thanks for sharing VadimEL!

I have to notice that this kind of cell triangular positioning method is extremely inaccurate, especially in populated areas such as cities.
It is very good if someone wants to use it as supplementary tool to his telemetry circuit design.
I wouldn't recommend it as primary usage (GPS).


Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest