Merhaba tekrardan sizi rahatsız ediyorum kusura bakmayın lutfen. Ben esp32sim800l kullanarak anlık konumu SMS atan ve arama yapan bir porje üzerinde çalışıyorum. Esp32 sim800l de herhangi bir sorun yaşamıyorum. Ancak GPS modülünu açık alanda kullanmama rağmen ışığı bile yanmıyor. Arduino ile gps modülünu kullandığımda ise tek seferlik bile olsa konumu doğru bir şekilde verdi.ve diğer denemelerimde konumu vermese bile en azından ışığı yanıyordu. Ancak dediğim gibi espde hiçbir türlü ne ışık alabildim ne de doğru konum bilgisi. Kullandığım kodun da daha önce uygulamasını yapan olmuş ve çalışan bir kod. Yardımcı olursanız çok sevinirim
Tekrardan merhaba.Size attığım linkte gps modullerinin kullanimi var eğer bakmadiysaniz bir ona bakabilirsiniz.Normalde çalışıyorsa da bir esp ile açık tutun ve 1 2 saat bekleyin Yani açıp başka bir işle ilgilenin arada da kontrol edin.
Sorry bro, I have some problems with this. Serial port: rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1216 ho 0 tail 12 room 4 load:0x40078000,len:10944 load:0x40080400,len:6388 entry 0x400806b4 E (43) psram: PSRAM ID read error: 0xffffffff What does it happen ?
Really, oh bro thanks. When ı shared this video ı was young. So I didn't pay more attention to such security vulnerabilities. Did you try to run the code?
Tabi ki yardımcı olabilirim Kodu bu yoruma yazıyım daha kolay olur. #include TinyGPS gps; #include SoftwareSerial ss(16,17);//arduino rx,tx #include const char* ssid = ""; const char* password = ""; WiFiServer server(80); String yazi; void setup() { Serial.begin(9600); ss.begin(9600); Serial.print("Connecting to "); Serial.println(ssid); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(""); Serial.println("WiFi connected"); Serial.println("IP address: "); // this is the address to use for viewing the map Serial.println(WiFi.localIP()); server.begin(); } void loop(){ smartdelay(1000); WiFiClient client = server.available(); // listen for incoming clients float flat, flon; unsigned long age; gps.f_get_position(&flat, &flon, &age);
if (client) { Serial.println("new client"); String currentLine = ""; // make a String to hold incoming data from the client while (client.connected()) { if (client.available()) { // if there's client data char c = client.read(); // read a byte if (c == ' ') { // check for newline character, if (currentLine.length() == 0) { // if line is blank it means its the end of the client HTTP request
yazi="My Google Map#map{height:400px;width:100%;} My Google Mapfunction initMap(){var options = {zoom:8,center:{lat:"; yazi+=flat; yazi+=",lng:"; yazi+=flon; yazi+="}};var map = new google.maps.Map(document.getElementById('map'), options);google.maps.event.addListener(map, 'click', function(event){addMarker({coords:event.latLng});});var markers = [{coords:{lat:"; yazi+=flat; yazi+=",lng:"; yazi+=flon; yazi+="}}];for(var i = 0;i < markers.length;i++){addMarker(markers[i]);}function addMarker(props){var marker = new google.maps.Marker({position:props.coords,map:map,});if(props.iconImage){marker.setIcon(props.iconImage);}if(props.content){var infoWindow = new google.maps.InfoWindow({content:props.content});marker.addListener('click', function(){infoWindow.open(map, marker);});}}}";
client.print(yazi); // The HTTP response ends with another blank line: client.println(); // break out of the while loop: break; } else { currentLine = ""; } } else if (c != ' ') { // if you got anything else but a carriage return character, currentLine += c; // add it to the end of the currentLine } // here you can check for any keypresses if your web server page has any } } // close the connection: client.stop(); Serial.println("client disconnected"); } } static void smartdelay(unsigned long ms) { unsigned long start = millis(); do { while (ss.available()) gps.encode(ss.read()); } while (millis() - start < ms); } Anlamadığınız bir yer veya yapamadığınız bir yer olursa tekrar yorum yazabilirsiniz.
@@enesmahmutkulak çok teşekkür ederim. Kodu çalıştırdığımda ESP32 Wrover Module kartı için derleme hatası verdi. Bu hatayı nasıl düzeltebilirim. Bende böyle bir proje üzerinde çalışıyorum Esp32 sım800l kartını kullanıyorum konum bilgisini telefona mesaj olarak attıp google haritasına göstermeye çalışıyorum. Benim kodumda aynı hatayı vermişti. Bana yardımcı olursanız çok sevinirim.
@@gulsevimozen1370 esp32 ile esp32 sim800l kütüphaneleri farklı olabilir.sizin kullandığınız kartı tanıtan internette herhangi bir Türkçe kaynak bulamadım.Ama th-cam.com/video/ps1m6bWwvEM/w-d-xo.html bu videoda sizin istediğini yapıyorlar.Bu videoda anlamadığınız yer olursa sorabilirsiniz.
@@enesmahmutkulak bende bu videoda yararlanıyorum ama burda blynk diye bi uygulama var oraya konum bilgisini atıyor. Ben telefona mesaj olarak yollaması istiyorum. th-cam.com/video/ps1m6bWwvEM/w-d-xo.html bu videodaki kod ve sizin kodunuzda aynı derleme hatası veriyor. Sorunun kütüphanede olduğunu düşünmüyorum. Ama sorunun nerde olduğunu da anlamadım.
@@Nur-ew7ot diğer yorumlara bakarsanız kodu yorum olarak yazdım isterseniz bir de onu deneyin.Kodda olan hatayı bana yazın orada sizin değiştirmeniz gereken belli parametreler var mesela internet şifreniz internet adınız vb.
sorry,i have gotten your code on Arduino,but it does not work; 未使用: C:\Program Files (x86)\Arduino\libraries\WiFi exit status 1 開發板 ESP32S2 Dev Module 編譯錯誤。
i got this error c:\Users\Deche\Documents\Arduino\libraries\SoftwareSerial\SoftwareSerial.cpp:41:10: fatal error: avr/interrupt.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. exit status 1 Compilation error: exit status 1
#include TinyGPS gps; #include SoftwareSerial ss(16,17);//arduino rx,tx #include const char* ssid = ""; const char* password = ""; WiFiServer server(80); String yazi; void setup() { Serial.begin(9600); ss.begin(9600); Serial.print("Connecting to "); Serial.println(ssid); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(""); Serial.println("WiFi connected"); Serial.println("IP address: "); // this is the address to use for viewing the map Serial.println(WiFi.localIP()); server.begin(); } void loop(){ smartdelay(1000); WiFiClient client = server.available(); // listen for incoming clients float flat, flon; unsigned long age; gps.f_get_position(&flat, &flon, &age);
if (client) { Serial.println("new client"); String currentLine = ""; // make a String to hold incoming data from the client while (client.connected()) { if (client.available()) { // if there's client data char c = client.read(); // read a byte if (c == ' ') { // check for newline character, if (currentLine.length() == 0) { // if line is blank it means its the end of the client HTTP request
yazi="My Google Map#map{height:400px;width:100%;} My Google Mapfunction initMap(){var options = {zoom:8,center:{lat:"; yazi+=flat; yazi+=",lng:"; yazi+=flon; yazi+="}};var map = new google.maps.Map(document.getElementById('map'), options);google.maps.event.addListener(map, 'click', function(event){addMarker({coords:event.latLng});});var markers = [{coords:{lat:"; yazi+=flat; yazi+=",lng:"; yazi+=flon; yazi+="}}];for(var i = 0;i < markers.length;i++){addMarker(markers[i]);}function addMarker(props){var marker = new google.maps.Marker({position:props.coords,map:map,});if(props.iconImage){marker.setIcon(props.iconImage);}if(props.content){var infoWindow = new google.maps.InfoWindow({content:props.content});marker.addListener('click', function(){infoWindow.open(map, marker);});}}}";
client.print(yazi); // The HTTP response ends with another blank line: client.println(); // break out of the while loop: break; } else { currentLine = ""; } } else if (c != ' ') { // if you got anything else but a carriage return character, currentLine += c; // add it to the end of the currentLine } // here you can check for any keypresses if your web server page has any } } // close the connection: client.stop(); Serial.println("client disconnected"); } } static void smartdelay(unsigned long ms) { unsigned long start = millis(); do { while (ss.available()) gps.encode(ss.read()); } while (millis() - start < ms); }
@@enesmahmutkulak please sir I worked with ESP8266 I manage to connect to the router but the maps appear empty if you can help me, maybe the choice of pins is wrong
@@imadeloirdi4742 hi sir,you need to get api key.then you need to paste this code instead of "src='maps.googleapis.com/maps/api/js?key=AIzaSyDHNUG9E870MPZ38LzijxoPyPgtiUFYjTM&callback=initMap'>";" .just change the maps.googleapis.com/maps/api/js?key=AIzaSyDHNUG9E870MPZ38LzijxoPyPgtiUFYjTM&callback part
I have a similar code, but my gt u7 gps module takes a very long time to start working, is that normal?
is it possible to use map API using ESP32 on offline mode in real time situation?
Hi, I can't compile the sketch because it always gives me the same error (#include ), how can I solve it? Thank you.
Bro just showed his location but great job💀💀💀
Ohh yea it was a mistake, but if you come to my house, we can drink a cup of tea😉
@@enesmahmutkulak on my way 👌🥶
which sensor are you using
Merhaba tekrardan sizi rahatsız ediyorum kusura bakmayın lutfen. Ben esp32sim800l kullanarak anlık konumu SMS atan ve arama yapan bir porje üzerinde çalışıyorum. Esp32 sim800l de herhangi bir sorun yaşamıyorum. Ancak GPS modülünu açık alanda kullanmama rağmen ışığı bile yanmıyor. Arduino ile gps modülünu kullandığımda ise tek seferlik bile olsa konumu doğru bir şekilde verdi.ve diğer denemelerimde konumu vermese bile en azından ışığı yanıyordu. Ancak dediğim gibi espde hiçbir türlü ne ışık alabildim ne de doğru konum bilgisi. Kullandığım kodun da daha önce uygulamasını yapan olmuş ve çalışan bir kod. Yardımcı olursanız çok sevinirim
Tekrardan merhaba.Size attığım linkte gps modullerinin kullanimi var eğer bakmadiysaniz bir ona bakabilirsiniz.Normalde çalışıyorsa da bir esp ile açık tutun ve 1 2 saat bekleyin Yani açıp başka bir işle ilgilenin arada da kontrol edin.
Kütüphaneyi indirdiniz mi?
Oh man it is awesome .please also do kokorec spinner 😂😂
stupid but good idea😂😂
@@arduinocreator2474 he is mu friend . İ am joking. Understand?😀
Oooo amerikan dublaj söyleyen bir turk
@@gizlikullanc713 man what are you talking about
@@helios6926 az önceki yorumu neden sildin keşke silmeseydin komikti
Sorry bro, I have some problems with this.
Serial port:
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10944
load:0x40080400,len:6388
entry 0x400806b4
E (43) psram: PSRAM ID read error: 0xffffffff
What does it happen
?
Is your gps working?
the softwareserial library just used for arduino board, not for esp32
Great job! Is it OK to work offline, such as a downloaded map? thanks.
The interface is on laptop so, you can use a downloaded map but if you don't have internet you can't get data from ESP32.
@@enesmahmutkulak Thanks for your reply.
the google maps is not loading the location map anything i can do?
Sorry for late reply, the google maps is related to your pc's internet.
from which pins i connect the gps's rx and tx
I think You can find this info in the project's code.
SoftwareSerial ss(16,17);//arduino rx,tx
@@enesmahmutkulak ok thank you
this sketch is totaly not working and gives error at start
can you send error message?
Thanks. You left your Google API Key in the code ;p
Really, oh bro thanks. When ı shared this video ı was young. So I didn't pay more attention to such security vulnerabilities. Did you try to run the code?
@@enesmahmutkulak NP. No just bookmarked it for a project I have.
hi my map is blank did u use api key ? for this ?
hi, i cant remember correct but i didnt. Thats why the map looks kinda gray and says this is just for develeopment
can you show me the connection clearly
Merhaba videonun altına bırakmış oldunuz kodu açamadım yardımcı olabilir misiniz
Tabi ki yardımcı olabilirim
Kodu bu yoruma yazıyım daha kolay olur.
#include
TinyGPS gps;
#include
SoftwareSerial ss(16,17);//arduino rx,tx
#include
const char* ssid = "";
const char* password = "";
WiFiServer server(80);
String yazi;
void setup()
{
Serial.begin(9600);
ss.begin(9600);
Serial.print("Connecting to ");
Serial.println(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
Serial.println("IP address: "); // this is the address to use for viewing the map
Serial.println(WiFi.localIP());
server.begin();
}
void loop(){
smartdelay(1000);
WiFiClient client = server.available(); // listen for incoming clients
float flat, flon;
unsigned long age;
gps.f_get_position(&flat, &flon, &age);
if (client) {
Serial.println("new client");
String currentLine = ""; // make a String to hold incoming data from the client
while (client.connected()) {
if (client.available()) { // if there's client data
char c = client.read(); // read a byte
if (c == '
') { // check for newline character,
if (currentLine.length() == 0) { // if line is blank it means its the end of the client HTTP request
yazi="My Google Map#map{height:400px;width:100%;} My Google Mapfunction initMap(){var options = {zoom:8,center:{lat:";
yazi+=flat;
yazi+=",lng:";
yazi+=flon;
yazi+="}};var map = new google.maps.Map(document.getElementById('map'), options);google.maps.event.addListener(map, 'click', function(event){addMarker({coords:event.latLng});});var markers = [{coords:{lat:";
yazi+=flat;
yazi+=",lng:";
yazi+=flon;
yazi+="}}];for(var i = 0;i < markers.length;i++){addMarker(markers[i]);}function addMarker(props){var marker = new google.maps.Marker({position:props.coords,map:map,});if(props.iconImage){marker.setIcon(props.iconImage);}if(props.content){var infoWindow = new google.maps.InfoWindow({content:props.content});marker.addListener('click', function(){infoWindow.open(map, marker);});}}}";
client.print(yazi);
// The HTTP response ends with another blank line:
client.println();
// break out of the while loop:
break;
} else { currentLine = ""; }
} else if (c != '
') { // if you got anything else but a carriage return character,
currentLine += c; // add it to the end of the currentLine
}
// here you can check for any keypresses if your web server page has any
}
}
// close the connection:
client.stop();
Serial.println("client disconnected");
}
}
static void smartdelay(unsigned long ms)
{
unsigned long start = millis();
do
{
while (ss.available())
gps.encode(ss.read());
} while (millis() - start < ms);
}
Anlamadığınız bir yer veya yapamadığınız bir yer olursa tekrar yorum yazabilirsiniz.
@@enesmahmutkulak çok teşekkür ederim. Kodu çalıştırdığımda ESP32 Wrover Module kartı için derleme hatası verdi. Bu hatayı nasıl düzeltebilirim. Bende böyle bir proje üzerinde çalışıyorum Esp32 sım800l kartını kullanıyorum konum bilgisini telefona mesaj olarak attıp google haritasına göstermeye çalışıyorum. Benim kodumda aynı hatayı vermişti. Bana yardımcı olursanız çok sevinirim.
@@gulsevimozen1370 esp32 ile esp32 sim800l kütüphaneleri farklı olabilir.sizin kullandığınız kartı tanıtan internette herhangi bir Türkçe kaynak bulamadım.Ama th-cam.com/video/ps1m6bWwvEM/w-d-xo.html bu videoda sizin istediğini yapıyorlar.Bu videoda anlamadığınız yer olursa sorabilirsiniz.
@@enesmahmutkulak bende bu videoda yararlanıyorum ama burda blynk diye bi uygulama var oraya konum bilgisini atıyor. Ben telefona mesaj olarak yollaması istiyorum. th-cam.com/video/ps1m6bWwvEM/w-d-xo.html bu videodaki kod ve sizin kodunuzda aynı derleme hatası veriyor. Sorunun kütüphanede olduğunu düşünmüyorum. Ama sorunun nerde olduğunu da anlamadım.
@@gulsevimozen1370 tekrardan merhaba yorumunuzu görmemişim kusura bakmayın eğer sim800l yi çalıştıramıyorsanız o bozuk olabilir.
merhaba. sizin kodu çalıştırırken hata alıyorum yardımcı olabilir misiniz?
Tabi ki olur nasıl yardımcı olabilirim?
@@enesmahmutkulak kütüphane yüklü olmasına rağmen kütüphane hatası veriyor. Kodda bir sıkıntı var sanırım zahmet olmazsa tekrar atabilir misiniz?
@@Nur-ew7ot kodu linkten mi aldınız?
@@enesmahmutkulak evet
@@Nur-ew7ot diğer yorumlara bakarsanız kodu yorum olarak yazdım isterseniz bir de onu deneyin.Kodda olan hatayı bana yazın orada sizin değiştirmeniz gereken belli parametreler var mesela internet şifreniz internet adınız vb.
sorry,i have gotten your code on Arduino,but it does not work;
未使用: C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
開發板 ESP32S2 Dev Module 編譯錯誤。
I think you couldn't install libraries.did you install libraries?
@@enesmahmutkulak sorry, i do not know how to get the librart?
@@milkegg9996 i think you should search how install arduino library
@@enesmahmutkulak ok,thanks bro,my is ESP32,maybe download all library for adding my arduino
@@enesmahmutkulak can you tell me about arduino library how to download?
When will the video come?
New video will come soon.
i got this error
c:\Users\Deche\Documents\Arduino\libraries\SoftwareSerial\SoftwareSerial.cpp:41:10: fatal error: avr/interrupt.h: No such file or directory
#include
^~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
did you install required library?
@@enesmahmutkulak yes but do you have anything where i can send you pictures of the libraries i installed ?
@@enesmahmutkulak i have some code but instead of software serial its written with hardware serial, would you like to see it
@@danech7445 you can upload the photo to imgur.com and then share the link itself here
Which library did you install??
The code is not opening bro
#include
TinyGPS gps;
#include
SoftwareSerial ss(16,17);//arduino rx,tx
#include
const char* ssid = "";
const char* password = "";
WiFiServer server(80);
String yazi;
void setup()
{
Serial.begin(9600);
ss.begin(9600);
Serial.print("Connecting to ");
Serial.println(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
Serial.println("IP address: "); // this is the address to use for viewing the map
Serial.println(WiFi.localIP());
server.begin();
}
void loop(){
smartdelay(1000);
WiFiClient client = server.available(); // listen for incoming clients
float flat, flon;
unsigned long age;
gps.f_get_position(&flat, &flon, &age);
if (client) {
Serial.println("new client");
String currentLine = ""; // make a String to hold incoming data from the client
while (client.connected()) {
if (client.available()) { // if there's client data
char c = client.read(); // read a byte
if (c == '
') { // check for newline character,
if (currentLine.length() == 0) { // if line is blank it means its the end of the client HTTP request
yazi="My Google Map#map{height:400px;width:100%;} My Google Mapfunction initMap(){var options = {zoom:8,center:{lat:";
yazi+=flat;
yazi+=",lng:";
yazi+=flon;
yazi+="}};var map = new google.maps.Map(document.getElementById('map'), options);google.maps.event.addListener(map, 'click', function(event){addMarker({coords:event.latLng});});var markers = [{coords:{lat:";
yazi+=flat;
yazi+=",lng:";
yazi+=flon;
yazi+="}}];for(var i = 0;i < markers.length;i++){addMarker(markers[i]);}function addMarker(props){var marker = new google.maps.Marker({position:props.coords,map:map,});if(props.iconImage){marker.setIcon(props.iconImage);}if(props.content){var infoWindow = new google.maps.InfoWindow({content:props.content});marker.addListener('click', function(){infoWindow.open(map, marker);});}}}";
client.print(yazi);
// The HTTP response ends with another blank line:
client.println();
// break out of the while loop:
break;
} else { currentLine = ""; }
} else if (c != '
') { // if you got anything else but a carriage return character,
currentLine += c; // add it to the end of the currentLine
}
// here you can check for any keypresses if your web server page has any
}
}
// close the connection:
client.stop();
Serial.println("client disconnected");
}
}
static void smartdelay(unsigned long ms)
{
unsigned long start = millis();
do
{
while (ss.available())
gps.encode(ss.read());
} while (millis() - start < ms);
}
Hocam video cekmeyi biraktin sanirim
Yeni video yakında gelecek.
@@enesmahmutkulak gecen haftada arduino creatore ayni cevabi vermistiniz
@@gizlikullanc713 yeni video geldi😊
THANKSSS!
Hi buddy,
Can we use esp8266 instead of esp32
I think yes,but you need to change some codes
@@enesmahmutkulak please sir I worked with ESP8266 I manage to connect to the router but the maps appear empty if you can help me, maybe the choice of pins is wrong
@@imadeloirdi4742 hi sir,you need to get api key.then you need to paste this code instead of "src='maps.googleapis.com/maps/api/js?key=AIzaSyDHNUG9E870MPZ38LzijxoPyPgtiUFYjTM&callback=initMap'>";"
.just change the maps.googleapis.com/maps/api/js?key=AIzaSyDHNUG9E870MPZ38LzijxoPyPgtiUFYjTM&callback part
@@enesmahmutkulak thank you sir,indeed I just created an API key but which service I must activate for the key, is it "Maps JavaScript API"?
@@imadeloirdi4742 It's been almost a year since I uploaded the video so I don't remember exactly but I think "Maps JavaScript API"