55 Commits

Author SHA1 Message Date
Konrad Rieck
22b11de6ae
Monitor for LIS2DW accelerometer (#61)
This watch face displays the current reading of the LIS2DW12 accelerometer.
The axis (x,y,z) can be selected using the alarm button. A long press on the
light button allows to configure the sensor, including its mode, data rate,
low power mode, bandwidth filtering, range, filter type, and low noise mode.

The watch face is mainly designed for experimenting with the sensor and
configuring it for other developing other watch faces.
2025-08-03 13:12:43 -04:00
Joey Castillo
8fdcd78a44 acclerometer threshold setting: swap light and alarm button to match wider UI idiom 2025-06-25 17:28:19 -04:00
Joey Castillo
eeb31d6fd5 remove light meter face (did not work, could add back later) 2025-06-25 17:24:56 -04:00
Joey Castillo
b67867b7ef accelerometer status face: flash decimal when setting threshold 2025-06-25 17:23:31 -04:00
Joey Castillo
b1c67bea94 accelerometer: keep threshold across sleeps by tracking it in movement 2025-06-25 17:22:17 -04:00
Joey Castillo
918549a462 accelerometer status: documentation update 2025-06-11 23:27:17 -04:00
Joey Castillo
bb5aa4ff7c accelerometer status face: bug fixes 2025-06-11 23:06:40 -04:00
Joey Castillo
9459b7d01f temperature display: long press to toggle units 2025-06-08 07:48:46 -06:00
Joey Castillo
69b8048790 power down accelerometer unless a watch face requests it 2025-05-26 10:51:11 -04:00
Joey Castillo
310ad3d095 watch_adc: enable ADC when checking battery; let's get rid of this footgun once and for all 2025-05-21 08:51:39 -04:00
Joey Castillo
f017462ad4 temperature logger: skip if no temperature sensor is available 2025-05-21 01:15:03 -04:00
Joey Castillo
b4730da36b temperature logger: rename stuff to remove thermistor references 2025-05-21 01:12:20 -04:00
Joey Castillo
6c1fa9f4df temperature faces: no need to import thermistor driver 2025-05-21 01:10:09 -04:00
Joey Castillo
540222e949 voltage and temperature: clear sleep animation on activate 2025-05-20 23:36:20 -04:00
Joey Castillo
e048cdeb52 activity logging: try to ignore spurious active minutes 2025-05-20 17:34:45 -04:00
Joey Castillo
4a04db6ca6 light meter: was written today lol 2025-05-18 20:45:37 -04:00
Joey Castillo
94a08b531a light meter: rough half-working prototype 2025-05-18 20:32:36 -04:00
Joey Castillo
e511059da8 activity log: snap back to today on timeout 2025-05-18 13:29:45 -04:00
Joey Castillo
c281922e4d activity log: update today's count at top of minute 2025-05-18 13:29:45 -04:00
Joey Castillo
51e6d62a1b activity log: clear animation when waking from sleep mode 2025-05-18 13:29:45 -04:00
Joey Castillo
56366199e7 light meter: initial UI work 2025-05-18 13:29:45 -04:00
Joey Castillo
d72daf72bc light sensor: back to demo with you 2025-05-18 07:41:08 -04:00
Joey Castillo
7faa2656f4 light sensor: add warning to documentation 2025-05-17 23:21:31 -04:00
Joey Castillo
7cec3d59a4 light sensor: improvements for custom LCD 2025-05-17 23:18:10 -04:00
Joey Castillo
0e8d9d58c3 move accelerometer and light to sensor, not demo folder 2025-05-17 22:19:45 -04:00
Joey Castillo
8795579c4f activity log: update documentation 2025-05-17 22:02:34 -04:00
Joey Castillo
fd4744b144 activity faces: improve experience in low energy mode 2025-05-17 16:39:04 -04:00
Joey Castillo
a5131313b3 oops. activity tracking: high means stationary, low means active 2025-05-17 14:32:01 -04:00
Joey Castillo
7d8ad1b87b simplify activity tracking, just active minutes for now 2025-05-17 13:54:37 -04:00
Joey Castillo
63dbaad730 let temperature screen skip itself, restore it to the default firmware 2025-05-17 12:16:27 -04:00
Joey Castillo
47fbaccc77 add movement_get_temperature, works across different sensor boards 2025-05-17 11:03:51 -04:00
Joey Castillo
c5bda0faeb auto-detect accelerometer sensor (and don't fail build for lack of a temperature sensor) 2025-05-16 00:07:15 -04:00
Joey Castillo
0739382fb8 remove orientation change counter 2025-05-13 18:21:58 -04:00
Joey Castillo
e0746e06f1 custom LCD now has an 'arrows' indicator instead of a battery 2025-05-12 22:37:37 -04:00
Joey Castillo
e435969b51 WIP: accelerometer activity tracking 2025-04-20 13:47:04 -04:00
Joey Castillo
9844703364 activity log: add feature to quickly dump all data 2025-04-05 10:42:14 -04:00
Joey Castillo
0b20ae3e2d activity logging: if this was it, that was dumb. 2025-03-20 01:30:03 -04:00
Joey Castillo
b9c886f045 activity log improvements 2025-03-15 21:39:32 -04:00
Joey Castillo
e9ede6f060 show 100 data point backlog in activity logger (8-ish hours) 2025-03-15 09:37:50 -04:00
Joey Castillo
185b9b1b97 move activity logging into Movement core 2025-03-12 23:05:06 -04:00
Joey Castillo
bc08c5a05e add temperature data point for exploration 2024-11-27 10:43:23 -05:00
joeycastillo
c6af677b79 accel: count orientation changes with TC2 instead of waking up 2024-11-18 23:50:21 -05:00
joeycastillo
c8da4e5d82 use accelerometer to enter and exit low energy mode 2024-11-18 21:48:10 -05:00
joeycastillo
3e6079a24b track stationary, not active minutes 2024-11-18 21:39:12 -05:00
joeycastillo
9c3c09a021 activity watch face improvements 2024-10-27 15:13:24 -04:00
joeycastillo
af409b82f1 log activity to file 2024-10-25 08:28:11 -04:00
joeycastillo
13d98ef5c9 activity tracking proof of concept 2024-10-20 21:13:34 -04:00
joeycastillo
19376625d1 more accelerometer work 2024-10-19 12:35:46 -04:00
joeycastillo
a81b6960e3 more accelerometer testing 2024-10-16 08:20:20 -04:00
joeycastillo
4795818098 only build sensor features if sensor is available 2024-10-12 11:16:01 -04:00