Commit Graph
100 Commits
Author SHA1 Message Date
Joey Castillo b1bec8f187 lis2dw: add support for bandwidth filtering 2022-02-19 12:53:42 -05:00
Joey Castillo efde4190f1 movement: WIP app for capturing accelerometer data 2022-02-18 16:34:52 -05:00
Joey Castillo 8cba4516bb add additional watch face types to generator 2022-02-18 10:05:46 -05:00
Joey Castillo 2670f611cc lis2dw: dump all fifo data in loop 2022-02-18 09:53:22 -05:00
Joey Castillo 75c98a6c97 tweaks to SPI test 2022-02-18 09:52:41 -05:00
Joey Castillo 8e1c7f0631 lis2dw: bugfix, only read once 2022-02-18 09:23:58 -05:00
Joey Castillo df2cc7e94f WIP accelerometer logging to flash 2022-02-18 00:05:57 -05:00
Joey Castillo 0c59c972e7 lis2dw: add FIFO support 2022-02-17 16:36:21 -05:00
Joey Castillo deda65b313 no need to build lis2dh driver anymore 2022-02-17 14:48:40 -05:00
Joey Castillo 4f29cf24f3 movement: move thermistor to 'sensor' watch faces 2022-02-17 14:47:47 -05:00
Joey Castillo 0337d198ff SPI test: just read the chip ID 2022-02-17 14:28:53 -05:00
Joey Castillo 15cbe09410 move pins.h include to watch.h 2022-02-17 11:59:19 -05:00
Joey Castillo 37f97023a5 sensor boards: add UART breakout 2022-02-17 10:56:47 -05:00
Joey Castillo 0fcc60e388 movement: add moon phase complication 2022-02-14 14:07:52 -05:00
Joey Castillo 2d9192dff1 remove obsolete low battery function from simulator 2022-02-13 23:32:17 -05:00
Joey Castillo c7f6387aee on second thought: keep BOD33 disabled in sleep mode 2022-02-13 16:04:21 -05:00
Joey Castillo b91f025542 enable high-efficiency low power regulator 2022-02-13 14:15:00 -05:00
Joey Castillo 203850104d remove obsolete low battery check 2022-02-13 14:01:21 -05:00
Joey Castillo 7815b0f64e always turn off PA20 at boot 2022-02-13 13:59:22 -05:00
Joey Castillo df3db08021 sleep / deepsleep: update low power numbers 2022-02-13 11:25:28 -05:00
Joey Castillo ee95229e19 world clock: store settings in backup register if possible 2022-02-13 11:25:28 -05:00
Joey Castillo 0bb267c702 movement: start time zone list at UTC 2022-02-13 11:25:28 -05:00
Joey Castillo 96017d6ec1 movement: add mechanism for watch faces to use backup registers 2022-02-13 11:25:28 -05:00
Joey Castillo b8cb6f3bcf movement: prevent invalid tick frequency from breaking scheduled tasks 2022-02-12 22:19:01 -05:00
Joey Castillo 5dac14974c osc32kctrl: implement CONF_SLCDCTRL_SRC setting 2022-02-11 12:22:11 -05:00
Joey Castillo 74f8747764 slcd: lower LCD refresh frequency (~57Hz -> ~34Hz) 2022-02-11 12:20:50 -05:00
Joey Castillo 21f8a9f7cf slcd: lower reference refresh frequency (saves energy) 2022-02-11 12:19:10 -05:00
Joey Castillo 87be905fee rtc: disable debouncing on external wake inputs 2022-02-11 12:18:16 -05:00
Joey Castillo 27fa69ccac eic: clock from OSCULP32K for power savings 2022-02-11 12:17:55 -05:00
Joey Castillo 108b9991d2 simulator: add geolocation support 2022-02-09 13:40:29 -05:00
joeycastilloandGitHub 79b037b4fb Merge pull request #53 from joeycastillo/stopwatch-improvements
Make stopwatch work off-screen and in low energy mode
2022-02-07 10:19:47 -05:00
Joey Castillo 275960be83 movement: make stopwatch work off-screen + in low energy mode 2022-02-06 15:05:28 -05:00
Joey Castillo aae9160422 utility: add function for formatting a duration in days + HMS 2022-02-06 15:00:58 -05:00
Joey Castillo 0542357dc0 test board for NFC with onboard antenna 2022-02-06 12:00:58 -05:00
Joey Castillo 18302bf9c4 movement: add low battery warning to simple clock 2022-02-05 17:42:43 -05:00
Joey Castillo df0c2bfd80 remove debug statements 2022-02-05 17:33:34 -05:00
Joey Castillo 505f692037 sunrise/sunset: align date at extreme latitudes 2022-02-05 16:06:02 -05:00
Joey Castillo 74e47f9857 sunrise/sunset: update display after sunrise/sunset 2022-02-05 15:13:50 -05:00
Joey Castillo 7096435738 sunrise/sunset: improve timeout behavior 2022-02-05 14:05:33 -05:00
Joey Castillo f4bfe45b7c sunrise/sunset: remove test locations 2022-02-05 13:54:02 -05:00
Joey Castillo 3d7a21e3c3 fix paste layer on some sensor boards 2022-02-05 13:37:19 -05:00
joeycastilloandGitHub c74cacd34f Merge pull request #49 from davidskeck/patch-4
Added output to watch face script
2022-02-05 13:36:47 -05:00
Joey Castillo a3085cb136 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch 2022-02-01 00:24:20 -05:00
Joey Castillo 658739c880 sunrise/sunset: deal with timezones, other improvements 2022-01-31 21:22:48 -08:00
Joey Castillo 518a9aa919 add function for converting to 12 hour time 2022-01-31 21:17:10 -08:00
Joey Castillo 7085f89bfa sunrise/sunset: always set the sign bit 2022-01-31 17:17:34 -08:00
joeycastilloandGitHub 932e10529d Merge pull request #43 from a2/rtc-disable-matching-mask
Add new function to disable certain RTC periodic callbacks
2022-01-27 14:33:45 -05:00
Joey Castillo 5fb8dabdd2 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main 2022-01-27 14:28:46 -05:00
Joey Castillo 45aa04f4ac spi test: set first 4096 bytes to 0 2022-01-27 14:28:37 -05:00
joeycastilloandGitHub d3e484dc98 Merge pull request #45 from a2/simulator-buzzer
Implement buzzer methods with AudioContext API
2022-01-27 12:02:51 -05:00
Joey Castillo 3801ee6b19 you don't belong here 2022-01-27 11:24:51 -05:00
Joey Castillo 14e4562b7a add SPI to the index 2022-01-27 10:51:15 -05:00
Joey Castillo 29fa605283 fix doxygen generation 2022-01-27 10:46:53 -05:00
Joey Castillo a26e6786ee fix spi test (again) 2022-01-27 10:45:01 -05:00
Joey Castillo 5e4dc9ae51 fix spi test 2022-01-27 09:17:58 -05:00
Joey Castillo 523a5d2f0b implement SPI flash chip 2022-01-26 22:40:49 -05:00
Joey Castillo b2dbc4feeb silence compiler warning 2022-01-26 22:15:53 -05:00
Joey Castillo a11275d84c watch library: implement SPI 2022-01-26 21:33:05 -05:00
Joey Castillo 1b1bba2de0 silence compiler warning 2022-01-26 21:04:56 -05:00
Joey Castillo fe5a3eecff Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main 2022-01-26 20:36:49 -05:00
Joey Castillo f036d6a515 PCB: add final temperature sensor board 2022-01-26 20:36:40 -05:00
Joey Castillo 5d5e5b125a watch face script: autopopulate year 2022-01-26 20:31:04 -05:00
joeycastilloandGitHub 97da35da26 Merge pull request #47 from davidskeck/main
Added rough draft of watch_face script
2022-01-26 20:29:27 -05:00
Joey Castillo d65103b03b silence compiler warnings 2022-01-26 20:16:52 -05:00
Joey Castillo 0c78fdf535 watch library: implement UART 2022-01-26 19:31:49 -05:00
joeycastilloandGitHub 725f17bfb6 Merge pull request #46 from a2/simulator-workflow
Add GitHub Workflow job to build and archive simulator
2022-01-25 18:59:40 -05:00
joeycastilloandGitHub bbda09e23f Merge pull request #44 from a2/voltage-reference
Remove ADC_* defines in favor of hardware-specific mapping
2022-01-25 17:57:25 -05:00
Joey Castillo 71ea3b9de9 movement: add documentation mentioned in #42 2022-01-25 17:36:04 -05:00
Joey Castillo 2a59ae950f movement: add blinky face 2022-01-25 17:28:22 -05:00
Joey Castillo bcca6cc596 movement: remove blinky face 2022-01-25 17:27:46 -05:00
Joey Castillo f819a18791 movement: add template for watch face generator 2022-01-25 17:12:56 -05:00
Joey Castillo 34c7ecfd96 movement: move watch face includes to a separate file 2022-01-25 17:06:04 -05:00
Joey Castillo 2e345d9f66 movement: slight reorganization 2022-01-25 17:04:07 -05:00
Joey Castillo fcfb651c11 movement: add two faces to default build 2022-01-25 15:53:18 -05:00
Joey Castillo 249bfc183c movement: move beat time to clock folder 2022-01-25 15:39:04 -05:00
Joey Castillo 9e24f6c336 movement: add blinky face 2022-01-23 13:04:38 -05:00
Joey Castillo 6ca8c78e0d movement: didn't mean to add sunrise/sunset by default 2022-01-21 12:06:06 -05:00
Joey Castillo a21ad54aac movement: simple UI for entering wearer location 2022-01-21 11:25:43 -05:00
Joey Castillo 68f17c8970 movement: add time zone conversion in sunrise/sunset face 2022-01-21 00:11:43 -05:00
Joey Castillo 3efdcd78a1 fix out of bounds access when position != 0 2022-01-19 17:22:31 -05:00
Joey Castillo c012a65ea2 accelerometer test face: hacks 2022-01-19 17:20:29 -05:00
Joey Castillo 99c518e421 movement: long press on MODE always dismisses the active face 2022-01-19 14:32:33 -05:00
joeycastilloandGitHub a499cebc3c Merge pull request #38 from davidskeck/patch-2
Simple Clock: Update to signal exactly on the hour
2022-01-19 14:14:39 -05:00
joeycastilloandGitHub e0168c6de2 Merge pull request #39 from davidskeck/patch-3
Reset selection to 0 on resign from setting state
2022-01-19 13:24:58 -05:00
Joey Castillo 138b3d0c5e movement: reset tick to 1 Hz between watch faces (fixes #36) 2022-01-19 11:16:10 -05:00
joeycastilloandGitHub fb71be55ee add movement to the workflow 2022-01-19 09:23:21 -05:00
joeycastilloandGitHub 1ae83e8fd4 Merge pull request #37 from davidskeck/patch-2
Countdown: Added ability to reset to default timer value
2022-01-19 09:15:47 -05:00
Joey Castillo 903ae6eff8 movement: sunrise/sunset face documentation 2022-01-16 09:39:18 -05:00
Joey Castillo 010bb3be95 sunrise/sunset face: no need to update this every second 2022-01-15 19:35:47 -05:00
Joey Castillo 5fccc24c98 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main 2022-01-15 19:27:24 -05:00
Joey Castillo baf25aaa7a movement: add sunrise/sunset face 2022-01-15 19:23:49 -05:00
joeycastilloandGitHub 3be8b03c4f Merge pull request #29 from tahnok/countdown
Countdown
2022-01-15 19:01:06 -05:00
Joey Castillo 41eaa9c1c0 add MIT license text to movement files 2022-01-15 14:53:56 -05:00
Joey Castillo 19fd519209 add gettimeofday function 2022-01-15 12:26:17 -05:00
Joey Castillo 0c68b9fba5 motion board express 2022-01-10 19:12:13 -05:00
Joey Castillo c356a81bbd Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main 2022-01-09 15:26:58 -05:00
Joey Castillo 669673fd4b accelerometer test: stream data to UART 2022-01-09 15:26:45 -05:00
Joey Castillo 68e792f9b7 lis2dw: add low power / low noise mode 2022-01-09 12:25:56 -05:00
Joey Castillo a102675522 set correct registers for range and rate 2022-01-09 12:12:41 -05:00
Joey Castillo 54762248a3 use lowest power LP mode 2022-01-09 12:06:44 -05:00