Homemade Smart Watch

14K17934

Intro: Homemade Smart Watch

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.

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-...

19 Comments

How big should those 0603 resistors be?
how and where do you get the 3.3v battery
and the 3.3v regulator
answer this please ive been waiting 2 whole months
I take it the photo with "slide to unlock" is faked?
If you placed OLED display and other code to operate watch. Then it is possible.
Sorry need to use ips display for that type of results.
Very nice project. Thanks.
It's a bit tiresome to always see these custom pcbs - not everyone has access to, can order/make them, so the projects are a bit inaccessible to most people.
You can easily download pcb Gerber file and order through this
Very nice, innovative project.
$2 for pcb
$5 for other materials.
Not any slot for camera. It is for time, temperature and operate appliances.
How does the battery in the smart watch get recharged?
By charging port. There is also soldering charging port.