- 1 Introduction
- 2 Features
- 3 Package List
- 4 DIY ESPWatch Guide
- 5 2. *Premuim* ESPWatch Remote Control
- 6 FAQ
- 7 Resources
This ESPWatch starter Kit is for the beginners to learn how to create an ESP watch with detailed guide, it is for the starters to dive into the electronic world, with 1~2 hours’ learning, a non-electronic starter can create this ESP watch, to enjoy the joy of creating something by oneself.
The ESPWatch is based on ESP12 WIFI module, it gets the date/ time and the weather forecasting in few days from Internet server, and can also remote control the local instruments, such as Relay/LED/Fan. With this learning, you will learn the basic skill of components soldering/Arduino Programming/WIFI usage/Basic http protocol, the first& easy step to get into the electronic/programming world.
There we also prepared simple case/watchband, so that you can get it works on your wrist within few minutes.
It can be an Internet Watch, with real Date&Time:
And also a weather forecasting:
And can be also a remote controller:
Noted: This is a DIY kit, you will need to soldering by yourself.
There the detailed solder guide at : https://www.youtube.com/watch?v=gcKN0VuYRUo&feature=youtu.be
- Kits with detailed guide for learners
- Video for learning
- Based on Arduino IDE/ESP
- Real time watch + weather forecasting + Remote control
- Open hardware+ Open software
- For ages 12+
- 1 x DIY ESPWatch Components Kit
- 1 x Mechanic case
- 1 x Watchband
- 1 x PL2303 USB2UART Programmer
DIY ESPWatch Guide[编辑]
1. Hardware Assembly[编辑]
The ESPWatch is a kit for customer assembling, users should firstly solder all the components. A soldering iron and some Tin wires are needed.
There the detailed soldering guide at youtube: https://www.youtube.com/watch?v=gcKN0VuYRUo
2. Setup Arduino IDE[编辑]
The ESPWatch is based on the Arduino IDE, if there no Arduino IDE in your Computer, please download the latest Arduino IDE at:
Install the IDE and all the related drivers:
Start the IDE, there would be a simple sketch by default:
3. Add the ESP8266 core into Arduino IDE :[编辑]
Start Arduino and open Preferences window, and enter https://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs , and clink OK.
And then you should find the ESP8266 in the Arduino IDE: Tools->board-> boards manager, let’s install it by click the “install”:
After the installing, you can find the NodeMCU 1.0(ESP12E module) platform at Tools-> Board Menu:
There at least these libraries need to be installed:
• Ntpclient library
• Arduino-mqtt: https://github.com/256dpi/arduino-mqtt
• Thingpulse ESP8266 OLED SSD1306: https://github.com/ThingPulse/esp8266-oled-ssd1306
• TimeLib: https://github.com/PaulStoffregen/Time
• ESP8266 Weather Station
• JSON Streaming Parser by Daniel Eichhorn
We can seach "ntpclient","lwmqtt", " ESP8266 OLED Driver for SSD1306 display","timekeeping",“ESP8266 Weather Station”, ”JSON Streaming Parser” to find these libraries in library manager, and install them.
5. MQTT register for Time:[编辑]
6. Weather forcasting:[编辑]
We use the thingpulse(https://docs.thingpulse.com/how-tos/openweathermap-key/) to get the weather forcasting data, the final data from openweathermap (https://openweathermap.org/price).
7. Hardware connection:[编辑]
Connect the ESPwatch to PC with PL2303 UART wire, the drivers at:
After driver installed , it will act as a COMM port:
Open the watch.ino sketches:
1. Change SSID and passowrd of the Wi-Fi, 2. Modify hostname, port, user and user_password for MQTT, 3. and the weather_map_ID and Location_ID
And we can now update the codes to ESPWatch now. Select the right COM port and board in Arduino IDE:
Hold the FLASH button; Power on the ESP8266 by the SW1, while the FLASH button holding on, to put ESP8226 into bootloader mode:
And click the upload to start the programming:
If no exceptions happen, the ESPwatch works!
2. *Premuim* ESPWatch Remote Control[编辑]
The ESPwatch can be also use to control other modules, such as the ESP relay: https://www.makerfabs.com/index.php?route=product/product&product_id=534&search=ESP+relay, and thus to create remote control application, such as AC lamp/Fans.
Note that the ESP12S module with relay do not included in the kit, users need to purchase them separately.
1. Create a new MQTT instance[编辑]
2. Sketch Modification[编辑]
Open the sketches relay.ino, change SSID and passowrd of the Wi-Fi, and modify hostname, port, user and user_password for MQTT.
Plug the ESP-01 on the ESP8266 debugger, and programming the ESP module, Select the right board to begin the programming
And now you can connect the Relay to your AC lamp/Fan,etc, to make it remote controlled by the ESPWatch.
You can list you question here or contact with firstname.lastname@example.org for technology support.