nodemcu esp8266 12e with gps & oled display

by:LCD Mall     2020-08-18
In this manual, I will describe how to connect the Ublox 6m GPS module and OLED display to the NodeMCU or ESP8266-
12e wifi module showing current GPS location and other information.
Look at the Youtube video I described this.
I will describe how I can connect the Ublox 6m GPS module and OLED display to a NodeMCU or ESP8266-
12e wifi module showing current GPS location and other information.
With a little extra programming, you can use wifi on esp8266 to broadcast your GPS location to the Internet and upload it to ioadafruit or another MQTT cloud
Maybe stick it on your dog and see where and how much he is in the yard!
Step 1: Ingredients 1.
You need an ESP8266-
Wifi module 2.
OLED Display ($5-$10 from Ebay)3.
Ublox 6m GPS receiver or similar model 4.
A breadboard and some jumpers.
First place the ESP8266 on the bread board.
Connect the grounding of ESP and the jumper of the output VCC to the power supply and ground rail of the breadboard. 3.
Connect the ground and VCC of the GPS and Oled display to the power rail of the breadboard.
Make sure the ground is (Ground -)
And VCC is (Red +)4.
Connect the cl pin of the Oled display to the ESP D1 pin (
Yellow line in Figure)
, And connect the SDA pin of the Oled display to the D2 pin (
Blue line in Figure)
These are your I2C communication connections. 5.
Connect the TX pin of the GPS to the d4 pin of the ESP (the Blue wire)
, And connect the RX pin of the GPS to the D7 pin of the ESP (the white wire)
These are your serial communication pins.
You can choose any data pin you like, but you also have to make the necessary changes to the code.
Here is a link to the pinout diagram of ESP-
12 E board to assist you.
First, I assume that you have installed the Arduino IDE (preferably 1. 6. 4 or later)
You have installed all necessary libraries such as: TinyGPS plus, software serial number and Adafruit OLED display library.
You can get these from Github.
If not, install the latest version of the Arduino IDE and library first.
I also assume that you have installed all the drivers required by the computer to recognize ESP8266, and if not Adafruit, here is a good tutorial.
If this is your first time using ESP8266Next, it is critical to go to github and download the code and run it in the Arduino IDE.
Enter your latitude and longitude into the area of the code \"home_lat =\" and \"home_lng =\", compile it and upload it to your NodeMcu esp-
12e, in the Arduino IDE, be sure to select the correct motherboard (ESP-
12E module in my case)
Memory size-4M(3M SPIFFS)
Go for a walk or drive and see your GPS location update and remember to stare at you on the road.
Custom message
Chat Online 编辑模式下无法使用
Chat Online inputting...