You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+68-16Lines changed: 68 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,19 +31,69 @@ which is closer to your location in line 44 ```const char* ntpServer = "pool.ntp
31
31
Below are a few common NTP server URLs:-
32
32
<br>
33
33
34
-

34
+
Area | HostName
35
+
-------:|:-------------------------
36
+
Asia | asia.pool.ntp.org
37
+
Europe | europe.pool.ntp.org
38
+
North America | north-america.pool.ntp.org
39
+
Oceania | oceania.pool.ntp.org
40
+
South America | south-america.pool.ntp.org
35
41
36
42
## For Platformio users
37
43
### TQT pro N4R2 (Flash: 4MB, PSRAM: 2MB)
38
44
Just upload the code without any changes to the ```platformio.ini``` file. It should look like this:
39
45
<br>
40
-

46
+
```
47
+
; PlatformIO Project Configuration File
48
+
49
+
50
+
[platformio]
51
+
boards_dir = ./board
52
+
;default_envs = T-QT-Pro-N8
53
+
default_envs = T-QT-Pro-N4R2
54
+
description = Open source watch OS for ESP32 based watches
55
+
56
+
;[env:T-QT-Pro-N8]
57
+
[env:T-QT-Pro-N4R2]
58
+
platform = espressif32@6.6.0
59
+
board = esp32-s3-t-qt-pro
60
+
framework = arduino
61
+
build_flags =
62
+
-DBOARD_HAS_PSRAM
63
+
lib_deps =
64
+
lennarthennigs/Button2@^2.3.3
65
+
adafruit/Adafruit GFX Library@^1.11.11
66
+
adafruit/Adafruit MPU6050 @ ^2.0.3
67
+
adafruit/Adafruit Unified Sensor @ ^1.1.4
68
+
```
41
69
42
70
Note:- Platformio is currently assuming we have total 1MB of flash and not detecting the PSRAM.
43
71
### TQT pro N8 (Flash: 8MB, PSRAM: none)
44
72
You will need to do some changes in the ```platformio.ini``` file before uploading the code. It should look like this:
45
73
<br>
46
-

74
+
```
75
+
; PlatformIO Project Configuration File
76
+
77
+
78
+
[platformio]
79
+
boards_dir = ./board
80
+
default_envs = T-QT-Pro-N8
81
+
;default_envs = T-QT-Pro-N4R2
82
+
description = Open source watch OS for ESP32 based watches
83
+
84
+
[env:T-QT-Pro-N8]
85
+
;[env:T-QT-Pro-N4R2]
86
+
platform = espressif32@6.6.0
87
+
board = esp32-s3-t-qt-pro
88
+
framework = arduino
89
+
build_flags =
90
+
; -DBOARD_HAS_PSRAM
91
+
lib_deps =
92
+
lennarthennigs/Button2@^2.3.3
93
+
adafruit/Adafruit GFX Library@^1.11.11
94
+
adafruit/Adafruit MPU6050 @ ^2.0.3
95
+
adafruit/Adafruit Unified Sensor @ ^1.1.4
96
+
```
47
97
48
98
## For Arduino IDE users
49
99
All of the required code is in the ```src``` directory, just rename the file ```main.cpp``` to ```main.ino``` and install the below libraries and upload the code
@@ -56,7 +106,7 @@ All of the required code is in the ```src``` directory, just rename the file ```
56
106
Note:- also refer to the README.md at [TQT pro](https://github.com/Xinyuan-LilyGO/T-QT/tree/main?tab=readme-ov-file#quick-start) for setting up the board in arduino ide.
57
107
58
108
## Configurator Tool
59
-
The OpenTimeWatch Configurator tool is a python script which allows users to configure the WiFi network and time settings before compiling and uploading the firmware to the watch. This tool does not configure your board type nor does it compile and upload the code. To run the tool type
109
+
The OpenTimeWatch Configurator tool is a python script which allows users to configure the Board, WiFi network and time settings before compiling and uploading the firmware to the watch. This tool does not compile and upload the code. To run the tool type
60
110
61
111
```python otwConfigurator.py```
62
112
@@ -66,6 +116,8 @@ or
66
116
67
117
in your terminal.
68
118
119
+
Note:- This tool only configures the board for the usage in PlatformIO IDE
120
+
69
121
# Features
70
122
1. Home screen with custom background
71
123
2. Activity view shows steps walked, calories burned and weather (It is just a dummy and not functionally implemented yet)
@@ -87,25 +139,25 @@ in your terminal.
87
139
4. While playing pong scroll button moves the paddle up and the menu button moves the paddle down
88
140
89
141
# Release Notes
90
-
1.**V0.3.2** - New OpenTimeWatch Configurator tool.
91
-
2.**V0.3.1** - otwUI bug fix, updated configuration for TQT pro N8 in ```platformio.ini``` file and better documentation.
92
-
3.**V0.3** - New UI (created using [lopaka.app](https://lopaka.app/sandbox)), multiple watch faces, Wifi support, time synchronisation, back option in menus, accelerometer support and apps and sub menus separated from the ```main.cpp``` file.
93
-
4.**V0.2.1** - Added refinements to the OS navigation, added a manual in the ```README.md``` and changed the tone of the speaker.
94
-
5.**V0.2** - A significant update compared to V0.1, as it introduced menus, pong, interaction with peripherals (torch and speaker), OS being open sourced, matrix effect, settings menu.
95
-
6.**V0.1** - The initial release it just had a home screen and an about screen.
142
+
1.**V0.3.3** - OpenTimeWatch Configurator tool can now configure board settings.
143
+
2.**V0.3.2** - New OpenTimeWatch Configurator tool.
144
+
3.**V0.3.1** - otwUI bug fix, updated configuration for TQT pro N8 in ```platformio.ini``` file and better documentation.
145
+
4.**V0.3** - New UI (created using [lopaka.app](https://lopaka.app/sandbox)), multiple watch faces, Wifi support, time synchronisation, back option in menus, accelerometer support and apps and sub menus separated from the ```main.cpp``` file.
146
+
5.**V0.2.1** - Added refinements to the OS navigation, added a manual in the ```README.md``` and changed the tone of the speaker.
147
+
6.**V0.2** - A significant update compared to V0.1, as it introduced menus, pong, interaction with peripherals (torch and speaker), OS being open sourced, matrix effect, settings menu.
148
+
7.**V0.1** - The initial release it just had a home screen and an about screen.
96
149
97
150
# What to expect in V0.4?
98
151
1. Support for our new watch hardware:- OpenTimeWatch 1
99
152
2. Weather synchronisation
100
153
3. Accent colours
101
154
4. IR transmitter support
102
155
5. Support for 3 navigation buttons
103
-
6. Pulse sensor support
104
-
7. Screen brightness adjustment
105
-
8. Screen on-time adjustment
106
-
9. Watch endurance
107
-
10. Flappy bird clone
108
-
11. UART console support
156
+
6. Screen brightness adjustment
157
+
7. Screen on-time adjustment
158
+
8. Watch endurance
159
+
9. Flappy bird clone
160
+
10. UART console support
109
161
110
162
# Can I contribute ?
111
163
Yes, you can contribute to the project by the following ways :
0 commit comments