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
The **Pinetime** smartwatch is built around the NRF52832 MCU (512KB Flash, 64KB RAM), a 240*240 LCD display driven by the ST7789 controller, an accelerometer, a heart rate sensor, and a vibration motor.
* Music (control the playback of the music on your phone)
50
-
* Heart rate (controls the heart rate sensor and display current heartbeat)
49
+
* Music (control the playback of music on your phone)
50
+
* Heart rate (measure your heart rate)
51
51
* Navigation (displays navigation instructions coming from the companion app)
52
52
* Notification (displays the last notification received)
53
53
* Paddle (single player pong-like game)
54
-
* Two (2048 clone game)
55
-
* Stopwatch (with all the necessary functions such as play, pause, lap, stop)
56
-
* Motion sensor and step counter (displays the number of steps and the state of the motion sensor in real-time)
54
+
* Twos (2048 clone game)
55
+
* Stopwatch
56
+
* Steps (displays the number of steps taken)
57
+
* Timer (set a countdown timer that will notify you when it expires)
57
58
* Metronome (vibrates to a given bpm with a customizable beats per bar)
58
59
- User settings:
59
60
* Display timeout
60
61
* Wake-up condition
61
62
* Time format (12/24h)
62
63
* Default watch face
64
+
* Daily step goal
63
65
* Battery status
64
66
* Firmware validation
65
67
* System information
@@ -70,18 +72,21 @@ As of now, here is the list of achievements of this project:
70
72
***[Experimental]**[WebBLEWatch](https://hubmartin.github.io/WebBLEWatch/) Synchronize time directly from your web browser. [video](https://youtu.be/IakiuhVDdrY)
71
73
- OTA (Over-the-air) update via BLE
72
74
-[Bootloader](https://github.com/JF002/pinetime-mcuboot-bootloader) based on [MCUBoot](https://juullabs-oss.github.io/mcuboot/)
73
-
75
+
74
76
## Documentation
75
77
76
78
### Getting started
79
+
77
80
-[Getting started with InfiniTime 1.0 (quick user guide, update bootloader and InfiniTime,...)](doc/gettingStarted/gettingStarted-1.0.md)
78
81
-[Flash, upgrade (OTA), time synchronization,...](doc/gettingStarted/ota-gadgetbridge-nrfconnect.md)
79
82
80
83
### Develop
84
+
81
85
-[Generate the fonts and symbols](src/displayapp/fonts/README.md)
82
86
-[Creating a stopwatch in Pinetime(article)](https://pankajraghav.com/2021/04/03/PINETIME-STOPCLOCK.html)
83
87
84
88
### Build, flash and debug
89
+
85
90
-[Project branches](doc/branches.md)
86
91
-[Versioning](doc/versioning.md)
87
92
-[Files included in the release notes](doc/filesInReleaseNotes.md)
@@ -94,20 +99,23 @@ As of now, here is the list of achievements of this project:
94
99
- Using files from the releases
95
100
96
101
### Contribute
102
+
97
103
-[How to contribute ?](doc/contribute.md)
98
104
99
105
### API
106
+
100
107
-[BLE implementation and API](./doc/ble.md)
101
-
108
+
102
109
### Architecture and technical topics
110
+
103
111
-[Memory analysis](./doc/MemoryAnalysis.md)
104
-
112
+
105
113
### Using the firmware
114
+
106
115
-[Integration with Gadgetbridge](doc/companionapps/Gadgetbridge.md)
107
116
-[Integration with AmazFish](doc/companionapps/Amazfish.md)
This project is far from being finished, and there are still a lot of things to do for this project to become a firmware usable by the general public.
@@ -121,21 +129,23 @@ Here a quick list out of my head of things to do for this project:
121
129
- Measure power consumption and improve battery life
122
130
- Improve documentation, take better pictures and video than mine
123
131
- Improve the UI
124
-
- Create companion app for multiple OSes (Linux, Android, iOS) and platforms (desktop, ARM, mobile). Do not forget the other devices from Pine64 like [the Pinephone](https://www.pine64.org/pinephone/) and the [Pinebook Pro](https://www.pine64.org/pinebook-pro/).
132
+
- Create companion app for multiple OSes (Linux, Android, iOS) and platforms (desktop, ARM, mobile). Do not forget the other devices from Pine64 like [the Pinephone](https://www.pine64.org/pinephone/) and the [Pinebook Pro](https://www.pine64.org/pinebook-pro/).
125
133
- Design a simple CI (preferably self-hosted and easy to reproduce).
126
-
134
+
127
135
Do not hesitate to clone/fork the code, hack it and create pull-requests. I'll do my best to review and merge them :)
128
136
129
137
## Licenses
138
+
130
139
This project is released under the GNU General Public License version 3 or, at your option, any later version.
131
140
132
141
It integrates the following projects:
133
142
- RTOS : **[FreeRTOS](https://freertos.org)** under the MIT license
134
143
- UI : **[LittleVGL/LVGL](https://lvgl.io/)** under the MIT license
135
144
- BLE stack : **[NimBLE](https://github.com/apache/mynewt-nimble)** under the Apache 2.0 license
136
145
- Font : **[Jetbrains Mono](https://www.jetbrains.com/fr-fr/lp/mono/)** under the Apache 2.0 license
137
-
138
-
## Credits
146
+
147
+
## Credits
148
+
139
149
I’m not working alone on this project. First, many people create PR for this projects. Then, there is the whole #pinetime community : a lot of people all around the world who are hacking, searching, experimenting and programming the Pinetime. We exchange our ideas, experiments and code in the chat rooms and forums.
Copy file name to clipboardExpand all lines: doc/gettingStarted/gettingStarted-1.0.md
+19-12Lines changed: 19 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
1
# Getting started with InfiniTime 1.0
2
+
2
3
On April 22 2021, InfiniTime and Pine64 [announced the release of InfiniTime 1.0](https://www.pine64.org/2021/04/22/its-time-infinitime-1-0/) and the availability of PineTime smartwatches as *enthusiast grade end-user product*. This page aims to guide you with your first step with your new PineTime.
3
4
4
5
## Firmware, InfiniTime, Bootloader, Recovery firmware, OTA, DFU... What is it?
6
+
5
7
You might have already seen these words by reading the announcement, release notes, or [the wiki guide](https://wiki.pine64.org/wiki/Upgrade_PineTime_to_InfiniTime_1.0.0) and, you may find them misleading if you're not familiar with the project.
6
8
7
9
Basically, a **firmware** is just a software running on the embedded hardware of a device, the PineTime in this case.
@@ -13,9 +15,10 @@ Basically, a **firmware** is just a software running on the embedded hardware of
13
15
**OTA** and **DFU** refer to the update of the firmware over BLE (**B**luetooth **L**ow **E**nergy). **OTA** means **O**ver **T**he **A**ir, this is a functionality that allows the user to update the firmware how their device using a wireless communication like BLE. When we talk about **DFU** (**D**igital **F**irmware **U**pdate), we refer to the file format and protocol used to send the update of the firmware to the watch over-the-air. InfiniTime implement the (legacy) DFU protocol from Nordic Semiconductor (NRF).
14
16
15
17
## How to check the version of InfiniTime and the bootloader?
18
+
16
19
Since September 2020, all PineTimes (devkits or sealed) are flashed using the **[first iteration of the bootloader](https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v4.1.7)** and **[InfiniTime 0.7.1](https://github.com/JF002/InfiniTime/releases/tag/0.7.1)**. There was no recovery firmware at that time.
17
20
18
-
The bootloader only runs when the watch starts (from an empty battery, for example) or after a reset (after a succesful OTA or a manual reset - long push on the button).
21
+
The bootloader only runs when the watch starts (from an empty battery, for example) or after a reset (after a successful OTA or a manual reset - long push on the button).
19
22
20
23
You can recognize this first iteration of the bootloader with it greenish **PINETIME** logo.
21
24
@@ -30,51 +33,56 @@ And for version >= 1.0 :
30
33
31
34

32
35
33
-
34
-
PineTime shipped from June 2020 (to be confirmed) will be flashed with the [new version of the bootloader](https://github.com/JF002/pinetime-mcuboot-bootloader/releases/tag/1.0.0), the [recovery firmware](https://github.com/JF002/InfiniTime/releases/tag/0.14.1) and [InfiniTime 1.0](https://github.com/JF002/InfiniTime/releases/tag/1.0.0).
36
+
PineTime shipped from June 2021 (to be confirmed) will be flashed with the [new version of the bootloader](https://github.com/JF002/pinetime-mcuboot-bootloader/releases/tag/1.0.0), the [recovery firmware](https://github.com/JF002/InfiniTime/releases/tag/0.14.1) and [InfiniTime 1.0](https://github.com/JF002/InfiniTime/releases/tag/1.0.0).
35
37
36
38
The bootloader is easily recognizable with it white pine cone that is progressively drawn in green. It also displays its own version on the bottom (1.0.0 as of now).
37
39
38
40

39
41
40
42
## How to update your PineTime?
43
+
41
44
To update your PineTime, you can use one of the compatible companion applications. Here are the main ones:
42
45
43
46
-**[Amazfish](https://github.com/piggz/harbour-amazfish)** (Desktop Linux, mobile Linux, SailfishOS, runs on the PinebookPro and the Pinephone)
See [this page](ota-gadgetbridge-nrfconnect.md) for more info about the OTA procedure using Gadgetbrige and NRFCOnnect.
51
+
See [this page](ota-gadgetbridge-nrfconnect.md) for more info about the OTA procedure using Gadgetbridge and NRFConnect.
49
52
50
53
### From InfiniTime 0.7.1 / old bootloader
54
+
51
55
If your PineTime is currently running InfiniTime 0.7.1 and the old bootloader, we strongly recommend you update them to more recent version (Bootloader 1.0.0 and InfiniTime 1.0.0 as of now). We also recommend you install the recovery firmware once the bootloader is up-do-date.
52
56
53
57
Using the companion app of your choice, you'll need to apply the OTA procedure for these 3 firmwares in this sequence (failing to follow this specific order might temporarily or permanently brick your device):
54
-
58
+
55
59
1. Flash the latest version of InfiniTime. The file to upload is named **pinetime-mcuboot-app-dfu-x.y.z.zip**. Here is the link to [InfiniTime 1.0](https://github.com/JF002/InfiniTime/releases/download/1.0.0/pinetime-mcuboot-app-dfu-1.0.0.zip).
56
-
2. Update the bootloader by applying the OTA procedure with the file named [**reloader-mcuboot.zip** from the repo of the bootloader](https://github.com/JF002/pinetime-mcuboot-bootloader/releases/download/1.0.0/reloader-mcuboot.zip).
60
+
2. Update the bootloader by applying the OTA procedure with the file named [**reloader-mcuboot.zip** from the repo of the bootloader](https://github.com/JF002/pinetime-mcuboot-bootloader/releases/download/1.0.0/reloader-mcuboot.zip).
57
61
3. Install the recovery firmware by applying the OTA procedure with the file named [**pinetime-mcuboot-recovery-loader-dfu-0.14.1.zip** from the version 0.14.1 of InfiniTime](https://github.com/JF002/InfiniTime/releases/download/0.14.1/pinetime-mcuboot-recovery-loader-dfu-0.14.1.zip).
58
62
59
63
You'll find more info about this process in [this wiki page](https://wiki.pine64.org/wiki/Upgrade_PineTime_to_InfiniTime_1.0.0). You can also see the procedure in video [here](https://video.codingfield.com/videos/watch/831077c5-16f3-47b4-9b2b-c4bbfecc6529) and [here (from Amazfish)](https://video.codingfield.com/videos/watch/f7bffb3d-a6a1-43c4-8f01-f4aeff4adf9e)
60
64
61
65
### From version > 1.0
66
+
62
67
If you are already running the new "1.0.0" bootloader, all you have to do is update your version of InfiniTime when it'll be available. We'll write specific instructions when (if) we release a new version of the bootloader.
63
68
64
69
### Firmware validation
65
-
The bootloader requires a (manual) validation of the firmware. If the watch reset with an updated firmware that was not validated, the bootloader will consider it as non-functionning and will revert to the previous version of the firmware. This is a safety feature to prevent bricking your device with a faulty firmware.
70
+
71
+
The bootloader requires a (manual) validation of the firmware. If the watch reset with an updated firmware that was not validated, the bootloader will consider it as non-functioning and will revert to the previous version of the firmware. This is a safety feature to prevent bricking your device with a faulty firmware.
66
72
67
73
You can validate your updated firmware on InfiniTime >= 1.0 by following this simple procedure:
68
-
74
+
69
75
- From the watchface, swipe **right** to display the *Quick Actions menu*
70
76
- Open the **Settings** app by tapping the *gear* icon on the bottom right
71
77
- Swipe down and tap on the entry named **Firmware**
72
78
- This app shows the version that is currently running. If it's not validated yet, it displays 2 buttons:
73
79
-**Validate** to validate your firmware
74
80
-**Reset** to reset the watch and revert to the previously running version of the firmware
75
-
81
+
76
82
## InfiniTime 1.0 quick user guide
83
+
77
84
### Setting the time
85
+
78
86
By default, InfiniTime starts on the digital watchface. It'll probably display the epoch time (1 Jan 1970, 00:00). The time will be automatically synchronized once you connect on of the companion app to your PineTime using BLE connectivity. InfiniTime does not provide any way to manually set the time for now.
79
87
80
88
### Navigation in the menu
@@ -90,7 +98,7 @@ By default, InfiniTime starts on the digital watchface. It'll probably display t
90
98
- Start the **flashlight** app
91
99
- Enable/disable vibrations on notifications (Do Not Disturb mode)
92
100
- Enter the **settings** menu
93
-
- Settings
101
+
- Settings
94
102
- Display timeout
95
103
- Wake up event (Tap, wrist rotation)
96
104
- Time format (12/24H)
@@ -104,9 +112,8 @@ By default, InfiniTime starts on the digital watchface. It'll probably display t
104
112
Most of the time, the bootloader just runs without your intervention (update and load the firmware).
105
113
106
114
However, you can enable 2 functionalities using the push button:
107
-
115
+
108
116
- Push the button until the pine cone is drawn in **blue** to force the rollback of the previous version of the firmware, even if you've already validated the updated one
109
117
- Push the button until the pine cone is drawn in **red** to load the recovery firmware. This recovery firmware only provides BLE connectivity and OTA functionality.
110
118
111
119
More info about the bootloader in [its project page](https://github.com/JF002/pinetime-mcuboot-bootloader/blob/master/README.md).
0 commit comments