Introduction: Homemade Smart Watch

About: I am Educate Students to make Science Projects for Schools and Collage.

Since they offer so many features in such a small form, smartwatches are incredibly exciting. But what actually distinguishes a cool smartwatch? It is unquestionably its appearance and qualities. Designing and building your own Smartwatch is the best approach to have customised features on it.

Using an ESP8266 chip, the ESP-12E, I will demonstrate how to build a DIY smartwatch in this project. I've written down every step.

The time, weather, and most significantly the ability to control other appliances using the watch's buttons are its key features. The watch must be linked to the internet in order to work because it receives all of its data online.


This is how it works:

1.Time: To obtain the time and date, the watch makes a connection to the closest NTP server.

2. Weather: The Yahoo Weather API is used to retrieve the temperature information.

3. Remotely operating other appliances: By connecting to the Blynk server, the watch can use its bridge feature to directly operate another ESP8266 Relay module.

Supplies

For Making Smart watch we need following Materials.

1) 1 x ESP-12e

2) 1 x OLED display

3) 3 x SMD buttons

4) 1 x 3.3V Voltage Regulator: You can get from an arduino uno or pro mini

5) 1 x TP4056

6) 2 x Small SMD buttons

7) 2 x 0603 LED

8) 2 x 0603 Resistor

9) 1 x SMD Slide Switch

10) 8 x 0805 10K Resistors

11) 2 x 0805 10uF Capacitor

12) 1 x 0603 112 Resistor

13) Hot Air Solder

14) 3.3 Volt Lipo Battery

Step 1: Get PCB

I didn't want the watch to be bulky or heavy, so I decided that making a PCB would be the best approach to use less cables. I used EasyEDA to create the schematic and printed circuit board, then I ordered the PCBs from JLCPCB.

The PCB gerber file is provided here: https://github.com/theTechnowright/DIY-Smartwatch...

You can order a 2-layer PCB from JLCPCB.com by following the ninth step

Step 2: Soldering

After that, solder each component to the PCB. For the SMD components and a hot air soldering gun for the THT components, respectively, I used soldering. I had no trouble soldering all the SMD components using the hot air soldering iron. But doing so is not insurmountably difficult.



Step 3: Soldering ESP12E and OLED Display

Then take ESP12E and carefully place on PCB and using hot air soldering machine solder. Then turn PCB to front side and place OLED display and solder using soldering iron.

Step 4: Power

Then take 3.3 volt Li-Po Battery and solder to + and - terminal of PCB.

Step 5: Cut

Then remove extra part of PCB using cutting tool.

Step 6: Belt

Then take one belt you liked and attach to this smart watch.

Step 7: Software Installation

We must first obtain the Weather API from Yahoo Weather API before uploading the code. Visit the website, click on the green text beneath the YQL query, and scroll all the way to the bottom until you see the text "nome, ak." The name of your city and the country code should go here. As an illustration, I wrote "Bengaluru, IN," where "Bengaluru" refers to a city and "IN" to India.

Once you've done that, click the "Test" button below and copy the link provided under "Endpoint" from "/v1" all the way to the end.

Then go to this link to obtain the Arduino code: https://github.com/theTechnowright/DIY-Smartwatch-using-ESP8266/blob/master/ESP8266__SmartWatch.ino

Insert the Blynk Authentication code that you will get through email after creating a new Blynk Project first in the code. Input the WiFi SSID and password next.

'const String url = ""' should be replaced with the copied Yahoo API link. Insert the authentication code of the other ESP8266 that manages the relays under BLYNK_CONNECTED after that. In the final section, scroll down until you find "TimeChangeRule". Here, adjust the UTC time according to your time zone.


Then install all these arduino libraries :

Time.h & TimeLib.h: https://github.com/PaulStoffregen/Time

Timezone.h: https://github.com/JChristensen/Timezone

SSD1306.h & SSD1306Wire.h: https://github.com/JChristensen/Timezone

NTPClient.h: https://github.com/JChristensen/Timezone

ESP8266WiFi.h & WifiUDP.h: https://github.com/JChristensen/Timezone

Download latest Blynk library here: https://github.com/blynkkk/blynk-library/releases...

Now wire the 4 pin serial communicator to the USB-TTL convertor accordingly;

ESP-12eUSB-TTL Convertor

GND - GND

RST - RTS

RX - TXD

TX - RXD

On the arduino IDE, select your device as NodeMCU 1.0 and choose the correct COM port and upload the code. While uploading the code make sure to press and hold the flash button on the watch.

Step 8: Working

Now slide the switch to turn ON your watch. Then a notice stating "Connected to WiFi" ought to appear. If it does, you've made a successful smartwatch! Congratulation!

When the middle button is pressed, the watch shows the temperature, time, and date. The WiFi Relay module's two relays are controlled by the other two buttons. Any electrical item that is connected to the relay can be operated by the watch. Connecting it to an extended power outlet is the best course of action. Additionally, make sure the relay switch is connected to the live wire and not the neutral.

Step 9: Order PCB

Visit www.jlcpcb.com and submit your gerber file to place an order for a PCB.

The PCB gerber file is provided here: https://github.com/theTechnowright/DIY-Smartwatch...

After two weeks, the PCBs showed up; for under $2, they were of decent quality.

Circuit schematic, PCB gerber file, and Arduino code are all available on Github:

https://github.com/theTechnowright/DIY-Smartwatch-...

Wear It Contest

First Prize in the
Wear It Contest