This is a fully opensource clock which can display time, Date etc, alarms can be set ,has games and has 4 inbuilt buttons to control them. I decided to make this because i wake up from sleep, I cannot se the time clearly because the clock is far away from my bed and im feeling lazy to move near the clock and see the time , So i designed ClockX which has my most favourite and usefull things at one place. First, I thought of soldering them in a zeropcb but as I was curious in learning cad and pcb designing I made a pcb and enclosure for it.t.
It is powered by a wemos d1 mini for proccessing all data and has 0.96 inch i2c oled display for displaying all the datas. It has a menu with 4 options which are NTP clock, Alarm, Setting, and game. It has 1000 MaH which would power them for some hours. It derives time using the NTP protocol and inbuilt WiFi of wemos d1 mini. It has a chrome dino game in the game menu.nu.
https://www.youtube.com/shorts/HJBQToIP37M
| Item | Description | Qty | Unit Price (INR) | Total (INR) | Unit Price (USD)* | Total (USD)* | Link |
|---|---|---|---|---|---|---|---|
| Microcontroller | Wemos D1 Mini | 1 | ₹699.00 | ₹699.00 | $8.42 | $8.42 | makerbazar.in |
| DISPLAY | 128x64 I2C OLED Display | 1 | ₹189.00 | ₹189.00 | $2.28 | $2.28 | makerbazar.in |
| Boost Module | Step-up Converter | 1 | Self Sourced | Self Sourced | Self Sourced | ||
| Buzzer | Hdp1206 Active Buzzer | 1 | ₹19.00 | ₹19.00 | $0.23 | $0.23 | makerbazar.in |
| Button | 6x6mm Push Button | 1 | ₹20.00 | ₹20.00 | $0.24 | $0.24 | makerbazar.in |
| Battery | 800mAh LiPo Battery | 1 | ₹150.00 | ₹150.00 | $1.81 | $1.81 | quartzcomponents.com |
| Charger | TP4056 Charger Module | 1 | ₹16.00 | ₹16.00 | $0.19 | $0.19 | makerbazar.in |
| Resistor | 10kΩ THT Resistor (Pack of 10) | 1 | ₹5.00 | ₹5.00 | $0.06 | $0.06 | makerbazar.in |
| Power Switch | Slide Switch (SPDT) | 2 | ₹8.00 | ₹16.00 | $0.10 | $0.19 | makerbazar.in |
| Capacitor | 100µF 16V Capacitor (Pack of 10) | 1 | ₹12.00 | ₹12.00 | $0.14 | $0.14 | makerbazar.in |
| Header | Female Berg Strip (40-pin) | 1 | Self Sourced | Self Sourced | Self Sourced | ||
| Nut | M3*12mm nut (Pack of 10) | 1 | ₹42.00 | ₹42.00 | $0.51 | $0.51 | quartzcomponents.com |
| Heat Insert | M3x12mm Brass Heat Set Insert Nut (10 Pcs) | 2 | ₹42.00 | ₹84.00 | $0.51 | $1.02 | quartzcomponents.com |
| Heatshrink | Black Heatshrink (1m) | 1 | ₹7.00 | ₹7.00 | $0.08 | $0.08 | makerbazar.in |
| Subtotal (Purchased Components) | ₹1259.00 | $15.17 | |||||
| Maker Bazaar Delivery | +₹60.00 | +$0.72 | |||||
| Quartz Components Delivery | +₹50.00 | +$0.60 | |||||
| Quartz Components Tax | +₹58.68 | +$0.71 | |||||
| PCB Grant | PCB Manufacturing Grant | +728.61 | +$8 | ||||
| 3D Print Grant | Shipping Grant | +₹273.23 | +$3.00 | ||||
| GRAND TOTAL | ₹2429 | $26.80 |
*Note: USD conversions are approximate and based on an exchange rate of 1 USD = 83 INR. Actual rates may vary at the time when you see. It is approximately 27 dollar according to today's exchange rate.
- Maker Bazar Purchased Items: 9 items totaling ₹983.00 (Wemos + Display + Buzzer + Button + Charger + Resistor + Switch + Capacitor + Heatshrink)
- Quartz Components Items: Battery + Nut + 2×Heat Insert = ₹276.00
- Self Sourced Items: Boost Module (₹65) + Header (₹8.50) = ₹73.50
- Delivery & Tax:Tax: Maker Bazaar Delivery (₹60) + Quartz Delivery (₹50) + Quartz Tax (₹58.68) = ₹168.68
- Grants: PCB Grant (₹728.61) + 3D Print Grant (₹273.23) = ₹1002
- Grand Total: 2429 INR (approximately $27 USD)
- Boost Module (Step-up Converter) - ₹65.00
- Header (Female Berg Strip 40-pin) - ₹8.50
-
Game high scores are saved in EEPROM
-
Alarms will still continue even when the game is being used
-
All the alarm's are saved in EEPROM
-
Live and accurate time with no mistake
-
The use of a specific button can be changed by coding
- Wire.h
- u8g2lib.h
- ESP8266WiFi.h
- EEPROM.h
- NTPClient.h
- WiFiUDP.h
Reference and inspiration
https://youtu.be/3gI2dTkNN_A?si=NC1nUjIlxpC8zosO
Project url- https://blueprint.hackclub.com/projects/9123
Installation
First, Solder the wemos d1 mini after thar Solder other Components and flash the firmware.Now Solder the battery wires in Vcc and gnd pad. Next, Insert the heart inserts into case usin a soldering iron and keep that pcb in place,keep the lod above it and tighten the screws.Finally, You're ready to go with ClockX!
Estimated battery life
4.5 to 6 hours~