Portable Weather Station With GPS Tracker

by DamirSharafutdin in Circuits > Gadgets

230 Views, 4 Favorites, 0 Comments

Portable Weather Station With GPS Tracker

WhatsApp Image 2024-08-24 at 19.05.59 (1).jpeg

I want to introduce you a portable weather station with GPS tracker that shows data on a web server.

Supplies

For this project you will need:

  1. ESP32 ( i used a PICO-D4 model)
  2. BME 280
  3. GPS NEO-6M with antena
  4. JUMP wires

Installing ESP32 Board in Arduino IDE 2

Arduino-ide-2-preferences-menu.png
Arduino-IDE-2-preferences-additional-boards-manager-esp32.png
Install-esp32-arduino-ide-2-board-version-3.png
arduino-ide-2-boards-manager.png

1. In your Arduino IDE 2, go to File Preferences.

2. Copy and paste the following line to the Additional Boards Manager URLs field.

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

3. Open the Boards Manager. You can go to Tools Board Boards Manager… or you can simply click the Boards Manager icon in the left-side corner.

4. Search for ESP32 and press the install button for esp32 by Espressif Systems version 3.X.

Downloud and Install Librarys

  1. Downloud Adafruit Sensor library here

https://github.com/adafruit/Adafruit_Sensor

  1. Downloud Adafruit BME280 library here

https://github.com/adafruit/Adafruit_BME280_Library

  1. Downloud Adafruit I2CDevice library here

https://github.com/adafruit/Adafruit_BusIO/tree/master

Now Install this libratis to your Arduino IDE 2.0

Uploading the Sketch to Esp32

Downloud and open following scetch down bellow ⇩⇩⇩

Enter your SSID and PASSWORD at 21 and 22 line of code.

And finaly uploud this sketch to your ESP32

Assembly of the Project Scheme

WhatsApp Image 2024-08-24 at 22.49.06 (2).jpeg
WhatsApp Image 2024-08-24 at 22.49.06 (1).jpeg
WhatsApp Image 2024-08-24 at 22.49.06.jpeg

Now unplug your ESP32 from your PC or laptop.

  1. Conection of GPS NEO-6M

GPS NEO-6M --- ESP32

VSS ----------------- 5V

GND ---------------- GND

RX ------------------- 14 pin

TX -------------------- 12 pin

  1. Conection of BME280

BME280 --- ESP32

VSS --------- 3.3V

GND -------- GND

SCL --------- 22 pin

SDA --------- 21 pin

Start of ESP32 Web Server

tttt.png
WhatsApp Image 2024-08-24 at 19.05.59.jpeg

Now plug your ESP32 to your PC or laptop

Open serial monitor (sometimes you need to press the button on your esp32 after opening serial monitor)

At serial monitor you shoold see web server IP adress.

Copy and paste this ip adress to your browser (you must be conected to the same network with esp32)

After this steps you shoold see your location, humidity, temperature, altitude, time, date.