MakerGram Logo

    MakerGram

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. Sara
    S
    • Profile
    • Following 0
    • Followers 1
    • Topics 1
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Sara

    @Sara

    0
    Reputation
    18
    Profile views
    5
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    Sara Unfollow Follow

    Latest posts made by Sara

    • RE: Help needed for ESP8266, GPS neo6m and Firebase

      @kowshik1729 I already did the same steps previously with no result.

      posted in Arduino
      S
      Sara
    • RE: Help needed for ESP8266, GPS neo6m and Firebase

      @kowshik1729 still I'm receiving error messages. I think because the esp is different from the esp that mentioned in the code.

      posted in Arduino
      S
      Sara
    • RE: Help needed for ESP8266, GPS neo6m and Firebase

      @kowshik1729 I received this error message

      Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, ck, 26 MHz, 40MHz, QIO, 512K (no SPIFFS), 2, v2 Lower Memory, Serial, None, Only Sketch, 115200"

      sketch_mar22b:3:55: fatal error: IOXhop_FirebaseESP32.h: No such file or directory

      #include <IOXhop_FirebaseESP32.h> // firebase library

                                                         ^
      

      compilation terminated.

      exit status 1
      IOXhop_FirebaseESP32.h: No such file or directory

      This report would have more information with
      "Show verbose output during compilation"
      option enabled in File -> Preferences.

      posted in Arduino
      S
      Sara
    • RE: Help needed for ESP8266, GPS neo6m and Firebase

      @salmanfaris yes I can see the latitude and longitude on the serial monitor and when I used them on the google map I can see my house. Also, there are no error messages received.

      posted in Arduino
      S
      Sara
    • Help needed for ESP8266, GPS neo6m and Firebase

      Good day all,
      I'm trying to upload the GPS neo-6m data to the firebase realtime database through the ESP8266 wifi module. but, after I uploaded the code nothing happen to the firebase and I can't find the latitude and longitude in the firebase.
      can you please have a look at my code, please? I didn't receive any error messages when I uploaded the code.

      
      #include <TinyGPS++.h>
      #include <SoftwareSerial.h>
      #include <ESP8266WiFi.h>
      #include <FirebaseArduino.h>
      #include <ArduinoJson.h>
      
      
      #define FIREBASE_HOST 
      #define FIREBASE_AUTH 
      #define WIFI_SSID 
      #define WIFI_PASSWORD
      
      
      static const int RXPin =0, TXPin =2;
      
      static const uint32_t GPSBaud = 9600;
      
      
      TinyGPSPlus gps;
      
      
      
      // The serial connection to the GPS device
      
      SoftwareSerial ss(RXPin, TXPin);
      
      void setup() {
         Serial.begin(9600);  
      
        // connect to wifi.
        WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
        Serial.print("connecting");
        while (WiFi.status() != WL_CONNECTED) {
          Serial.print(".");
          delay(500);
        }
        Serial.println();
        Serial.print("connected: ");
        Serial.println(WiFi.localIP());
        
        Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
        Serial.begin(9600);
      ss.begin(GPSBaud);
       //Serial.println("a");
      }
      
        
      void loop() {
      
       while (ss.available() > 0){
      
          gps.encode(ss.read());
      
          if (gps.location.isUpdated()){
            
            Serial.print("Latitude= ");
            Serial.print(gps.location.lat(), 6);
            Firebase.pushString("/lat", "sd");
      
            Serial.print(" Longitude= ");
           Serial.println(gps.location.lng(), 6);
           Firebase.pushString("/lng", "sd");
          }
      
      
       }}
      
      posted in Arduino
      S
      Sara