TechBuzzPro

How to Make an Arduino Smartwatch

· 6 min read · Audio & Wearables

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can build a fully functional Arduino smartwatch that shows the time, counts steps, and displays notifications from your phone. It’s a classic weekend electronics project that teaches you about microcontrollers, sensors, and low-power design. You don’t need a 3D printer or advanced soldering skills—just a few components, an Arduino-compatible board, and about two hours of assembly time. Below is a complete guide that takes you from a bare PCB to a wrist-worn gadget you can actually use.

What You'll Need

  • Arduino-compatible board (e.g., Arduino Nano, Pro Mini, or a LilyPad for a softer form factor)
  • 1.3-inch or 0.96-inch OLED display (I2C interface, SSD1306 driver)
  • RTC module (DS3231 or DS1307) for accurate timekeeping
  • MPU6050 accelerometer/gyroscope for step counting and gesture wake
  • 3.7V Li-Po battery (100–300 mAh) with a charging module (TP4056)
  • Push button (tactile switch) for navigation
  • Resistor (10kΩ) for the button pull-up
  • Slide switch or toggle switch for power
  • Wires, solder, and a soldering iron
  • Watch strap or band (any 18–22mm strap works)
  • Optional: 3D-printed case or a simple box to house the electronics

Step-by-Step

  1. Design the schematic. Connect the OLED display to the Arduino’s I2C pins (A4 for SDA, A5 for SCL on most Nano/Pro Mini boards). Connect the RTC module to the same I2C bus. Connect the MPU6050 also to I2C, but use separate power pins if needed. Attach the button between a digital pin (e.g., D2) and ground, with a 10kΩ pull-up resistor to 5V or 3.3V. Connect the battery through the TP4056 module to the Arduino’s 5V or RAW pin (check your board’s voltage regulator).
  2. Assemble the hardware. Solder the headers onto the Arduino and the modules. Use short wires to keep the board compact. If you’re using a Pro Mini, you’ll need an FTDI programmer to upload code later. For a Nano, the USB port is enough. Mount the components on a small protoboard or use a custom PCB if you have one. Ensure the OLED faces outward and the button is reachable from the side.
  3. Install the required libraries. In the Arduino IDE, go to Tools > Manage Libraries and install: Adafruit SSD1306, Adafruit GFX, RTClib (by Adafruit), and MPU6050 (by Jeff Rowberg). These libraries handle the display, RTC, and motion sensor respectively.
  4. Write the firmware. Start with a basic sketch that initializes the OLED, RTC, and MPU6050. Display the current time on the OLED. Use the button to cycle between screens: time, date, step count, and maybe a stopwatch. For step counting, read the accelerometer values and detect a threshold crossing (e.g., when the magnitude of acceleration exceeds 1.5g) with a debounce delay of 200ms. For time, read the RTC every second and refresh the display.
  5. Upload the code. Connect the Arduino to your PC via USB (or FTDI). Select the correct board and port in the IDE. Upload the sketch. Open the Serial Monitor (115200 baud) to see debug messages. If you get errors, check that all libraries are installed and the I2C addresses are correct (0x3C for OLED, 0x68 for MPU6050, 0x68 for DS3231—note that DS3231 and MPU6050 share the same address, so you may need to change the MPU6050 address to 0x69 by connecting its AD0 pin to VCC).
  6. Set the RTC time. In your sketch, add a one-time block that sets the RTC from the compile time: rtc.adjust(DateTime(F(__DATE__), F(__TIME__))); Run it once, then comment it out and re-upload to avoid resetting the time every boot.
  7. Power management. To save battery, put the Arduino to sleep between button presses. Use the Low-Power library (by Rocket Scream) to enter sleep mode. Wake on an interrupt from the button or the MPU6050’s motion interrupt. A simpler approach: use a delay of 10 seconds after the last interaction, then turn off the OLED by calling display.ssd1306_command(SSD1306_DISPLAYOFF);. The Arduino still runs, but the display is off, which saves the most power.
  8. Build the case. If you have a 3D printer, print a simple two-part case with a cutout for the display and button. Otherwise, use a small plastic box or even a watch strap with a pouch. Secure the battery with double-sided tape. Make sure the button is accessible and the charging port (if you have one) is reachable.
  9. Final assembly. Place the electronics in the case, attach the strap, and power on. Test the button cycles through screens, the time is correct, and the step counter increments when you walk. Charge the battery via the TP4056 module’s micro-USB port.

Common Mistakes

  • I2C address conflict: The DS3231 RTC and MPU6050 both default to 0x68. If you connect both without changing the MPU6050 address, neither will work. Fix: tie the MPU6050’s AD0 pin to VCC to set it to 0x69.
  • Powering the OLED from 5V: Most OLED modules are 3.3V logic but can be powered from 5V. However, the I2C pull-up resistors may be 5V, which can damage the Arduino’s 3.3V pins if you’re using a 3.3V board. Use a level shifter or buy a 3.3V-compatible module.
  • Battery voltage too high for the Arduino’s regulator: A fully charged Li-Po is 4.2V, which is fine for a 5V regulator, but if you use a 3.3V Pro Mini, you need a regulator that accepts 4.2V. Check your board’s specs.
  • Not debouncing the button: Without debouncing, the button may register multiple presses, making navigation jumpy. Add a 50ms delay after detecting a press.

Tips

  • Use a 0.96-inch OLED for a smaller footprint; the 1.3-inch is easier to read but bulkier.
  • Solder the MPU6050 on a small breakout board with pin headers so you can replace it if needed.
  • For step counting, place the watch on your wrist and test the threshold. A simple threshold works, but a better algorithm uses a high-pass filter to remove gravity.
  • If you want notifications from your phone, add a Bluetooth module (HC-05) and use a phone app like “Serial Bluetooth Terminal” to send messages. This adds complexity, so do it after the basic watch works.
  • Use a 3D-printed case with a transparent window for the OLED. You can find free designs on Thingiverse.

Troubleshooting

If the display shows nothing, check the I2C connections: SDA and SCL must be on the correct pins. Run an I2C scanner sketch (available in the Wire library examples) to see if the devices are detected. If the OLED is detected but shows garbage, check the contrast and reset pins. If the RTC loses time, replace the coin cell battery on the module. If the step counter is too sensitive, increase the threshold or add a debounce time. If the battery drains in a few hours, the Arduino is not sleeping—verify that the sleep code is actually executed.

If the button does nothing, check the pull-up resistor and the pin number in your code. If the watch resets when you press the button, the power supply may be unstable—add a 100µF capacitor across the power rails.

Frequently Asked Questions

Can I use an Arduino Uno for this?

Yes, but it’s too large for a wrist. Use a Nano or Pro Mini for a compact build.

How long does the battery last?

With a 200mAh battery and the display off most of the time, you can get 1–2 days. With the Arduino in deep sleep, up to a week.

Can I receive phone notifications?

Yes, but you need a Bluetooth module and a custom app. It’s an advanced modification.

Is this waterproof?

No, unless you seal the case with silicone and use a waterproof button. Avoid wearing it in the shower.

Do I need to know programming?

Basic Arduino C++ is helpful. The code for this project is simple: loops, if statements, and library calls.

Can I use a different display?

Yes, any I2C OLED or even an LCD will work, but the code will need changes.