1. Designing the Hardware:

The first step in designing the hardware was for me to research components and select the ones that I thought would be sufficient. I wanted this project to run on 3.3V and draw as little current as possible, so I selected components that could meet these requirements.

Next, I began testing the schematic. I wanted to use a breadboard so that I could easily connect and disconnect pins as I encountered errors. However, all of the components I was using were SMD, so connecting them to a breadboard would only be possible with a breakout board for each IC. So, I designed a PCB for each SMD device using JLCPCB. Below are the breakout boards for the ST7789 (display) and the DS1302ZM RTC (real-time clock).

2. Software:

https://github.com/MadCat67/Smart-Watch

Once I had each component connected on the breadboard, I was able to begin programming the main microcontroller (ATmega328P-AU). To do this, I connected my laptop to an Arduino Uno to send binary code to the ATmega328P. 

Programming the microcontroller was one of the most difficult parts of this project. Interfacing with all of the other devices was confusing, and one slight mistake could cause numerous errors. The most difficult things that I had to program were:

3. Final Schematic:

After I had verified that all of the software and hardware were working correctly, I could get started on making the PCB for the watch. To do this, I first had to make a schematic with EasyEDA. The schematic shows how everything is to be connected in the final version of the watch and serves as a guide for designing the PCB.

When designing the PCB, I had to ensure that each device would operate with minimal noise from the outside environment. This meant I had to carefully route signals apart from each other, as well as place decoupling capacitors between the VCC and GND pins of each device. Once this was complete, I was able to order the PCB and assemble the final version of the watch.

To solder everything to the PCB, I used a cheap soldering iron from Amazon, standard lead solder, and some liquid flux.

Smartwatch Schematic Summary