]>
git.earman.xyz Git - sensor-watch.git/log
Joey Castillo [Sun, 20 Feb 2022 01:53:35 +0000 (20:53 -0500)]
working data acquisition face!
Joey Castillo [Sat, 19 Feb 2022 21:41:35 +0000 (16:41 -0500)]
connect training data face to accelerometer
Joey Castillo [Sat, 19 Feb 2022 19:22:23 +0000 (14:22 -0500)]
documentation and such
Joey Castillo [Sat, 19 Feb 2022 19:03:10 +0000 (14:03 -0500)]
lis2dw: reasonable defaults when initializing
Joey Castillo [Sat, 19 Feb 2022 18:42:55 +0000 (13:42 -0500)]
fixup
Joey Castillo [Sat, 19 Feb 2022 18:28:09 +0000 (13:28 -0500)]
stuff parameters into the bits we're not using
Joey Castillo [Sat, 19 Feb 2022 18:12:04 +0000 (13:12 -0500)]
lis2dw: add support for temperature sensing
Joey Castillo [Sat, 19 Feb 2022 18:11:47 +0000 (13:11 -0500)]
lis2dw: add support for high performance mode
Joey Castillo [Sat, 19 Feb 2022 17:53:42 +0000 (12:53 -0500)]
lis2dw: add support for bandwidth filtering
Joey Castillo [Fri, 18 Feb 2022 21:34:52 +0000 (16:34 -0500)]
movement: WIP app for capturing accelerometer data
Joey Castillo [Fri, 18 Feb 2022 15:05:21 +0000 (10:05 -0500)]
add additional watch face types to generator
Joey Castillo [Fri, 18 Feb 2022 14:53:22 +0000 (09:53 -0500)]
lis2dw: dump all fifo data in loop
Joey Castillo [Fri, 18 Feb 2022 14:52:41 +0000 (09:52 -0500)]
tweaks to SPI test
Joey Castillo [Fri, 18 Feb 2022 14:23:58 +0000 (09:23 -0500)]
lis2dw: bugfix, only read once
Joey Castillo [Fri, 18 Feb 2022 05:05:57 +0000 (00:05 -0500)]
WIP accelerometer logging to flash
Joey Castillo [Thu, 17 Feb 2022 21:36:21 +0000 (16:36 -0500)]
lis2dw: add FIFO support
Joey Castillo [Thu, 17 Feb 2022 19:48:40 +0000 (14:48 -0500)]
no need to build lis2dh driver anymore
Joey Castillo [Thu, 17 Feb 2022 19:44:40 +0000 (14:44 -0500)]
movement: move thermistor to 'sensor' watch faces
Joey Castillo [Thu, 17 Feb 2022 19:28:25 +0000 (14:28 -0500)]
SPI test: just read the chip ID
Joey Castillo [Thu, 17 Feb 2022 16:59:19 +0000 (11:59 -0500)]
move pins.h include to watch.h
Joey Castillo [Thu, 17 Feb 2022 15:56:47 +0000 (10:56 -0500)]
sensor boards: add UART breakout
Joey Castillo [Mon, 14 Feb 2022 19:00:35 +0000 (14:00 -0500)]
movement: add moon phase complication
Joey Castillo [Mon, 14 Feb 2022 04:32:17 +0000 (23:32 -0500)]
remove obsolete low battery function from simulator
Joey Castillo [Sun, 13 Feb 2022 21:04:21 +0000 (16:04 -0500)]
on second thought: keep BOD33 disabled in sleep mode
Joey Castillo [Sun, 13 Feb 2022 19:15:00 +0000 (14:15 -0500)]
enable high-efficiency low power regulator
Joey Castillo [Sun, 13 Feb 2022 19:00:50 +0000 (14:00 -0500)]
remove obsolete low battery check
Joey Castillo [Sun, 13 Feb 2022 18:59:22 +0000 (13:59 -0500)]
always turn off PA20 at boot
Joey Castillo [Sun, 13 Feb 2022 04:10:49 +0000 (23:10 -0500)]
sleep / deepsleep: update low power numbers
Joey Castillo [Sun, 13 Feb 2022 03:52:26 +0000 (22:52 -0500)]
world clock: store settings in backup register if possible
Joey Castillo [Sun, 13 Feb 2022 03:34:36 +0000 (22:34 -0500)]
movement: start time zone list at UTC
Joey Castillo [Sun, 13 Feb 2022 03:23:13 +0000 (22:23 -0500)]
movement: add mechanism for watch faces to use backup registers
Joey Castillo [Sun, 13 Feb 2022 03:19:01 +0000 (22:19 -0500)]
movement: prevent invalid tick frequency from breaking scheduled tasks
Joey Castillo [Fri, 11 Feb 2022 17:22:11 +0000 (12:22 -0500)]
osc32kctrl: implement CONF_SLCDCTRL_SRC setting
Joey Castillo [Fri, 11 Feb 2022 17:20:50 +0000 (12:20 -0500)]
slcd: lower LCD refresh frequency (~57Hz -> ~34Hz)
Joey Castillo [Fri, 11 Feb 2022 17:17:10 +0000 (12:17 -0500)]
slcd: lower reference refresh frequency (saves energy)
Joey Castillo [Fri, 11 Feb 2022 17:16:03 +0000 (12:16 -0500)]
rtc: disable debouncing on external wake inputs
Joey Castillo [Fri, 11 Feb 2022 14:13:51 +0000 (09:13 -0500)]
eic: clock from OSCULP32K for power savings
Joey Castillo [Wed, 9 Feb 2022 18:40:29 +0000 (13:40 -0500)]
simulator: add geolocation support
joeycastillo [Mon, 7 Feb 2022 15:19:47 +0000 (10:19 -0500)]
Merge pull request #53 from joeycastillo/stopwatch-improvements
Make stopwatch work off-screen and in low energy mode
Joey Castillo [Sun, 6 Feb 2022 20:05:28 +0000 (15:05 -0500)]
movement: make stopwatch work off-screen + in low energy mode
Joey Castillo [Sun, 6 Feb 2022 20:00:58 +0000 (15:00 -0500)]
utility: add function for formatting a duration in days + HMS
Joey Castillo [Sun, 6 Feb 2022 17:00:58 +0000 (12:00 -0500)]
test board for NFC with onboard antenna
Joey Castillo [Sat, 5 Feb 2022 22:42:43 +0000 (17:42 -0500)]
movement: add low battery warning to simple clock
Joey Castillo [Sat, 5 Feb 2022 22:33:34 +0000 (17:33 -0500)]
remove debug statements
Joey Castillo [Sat, 5 Feb 2022 21:06:02 +0000 (16:06 -0500)]
sunrise/sunset: align date at extreme latitudes
Joey Castillo [Sat, 5 Feb 2022 20:13:50 +0000 (15:13 -0500)]
sunrise/sunset: update display after sunrise/sunset
Joey Castillo [Sat, 5 Feb 2022 19:05:33 +0000 (14:05 -0500)]
sunrise/sunset: improve timeout behavior
Joey Castillo [Sat, 5 Feb 2022 18:54:02 +0000 (13:54 -0500)]
sunrise/sunset: remove test locations
Joey Castillo [Sat, 5 Feb 2022 18:37:19 +0000 (13:37 -0500)]
fix paste layer on some sensor boards
joeycastillo [Sat, 5 Feb 2022 18:36:47 +0000 (13:36 -0500)]
Merge pull request #49 from davidskeck/patch-4
Added output to watch face script
David Keck [Sat, 5 Feb 2022 03:44:45 +0000 (21:44 -0600)]
Added output to watch face script
changed `--author_name` to `--author-name` to match typical style of command line arguments
changed some function names and implementations to improve readability
changed to `sys.exit` instead of exit as `sys.exit` is recommended for use in programs and `exit` is intended for use in the interactive shell (this can cause issues for some terminal emulators)
Joey Castillo [Tue, 1 Feb 2022 05:24:20 +0000 (00:24 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch
Joey Castillo [Tue, 1 Feb 2022 05:22:48 +0000 (21:22 -0800)]
sunrise/sunset: deal with timezones, other improvements
Joey Castillo [Tue, 1 Feb 2022 05:17:10 +0000 (21:17 -0800)]
add function for converting to 12 hour time
Joey Castillo [Tue, 1 Feb 2022 01:17:34 +0000 (17:17 -0800)]
sunrise/sunset: always set the sign bit
joeycastillo [Thu, 27 Jan 2022 19:33:45 +0000 (14:33 -0500)]
Merge pull request #43 from a2/rtc-disable-matching-mask
Add new function to disable certain RTC periodic callbacks
Joey Castillo [Thu, 27 Jan 2022 19:28:46 +0000 (14:28 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Thu, 27 Jan 2022 19:28:37 +0000 (14:28 -0500)]
spi test: set first 4096 bytes to 0
Alexsander Akers [Thu, 27 Jan 2022 16:23:27 +0000 (11:23 -0500)]
Adjust function semantics by "flipping" bit order
Alexsander Akers [Thu, 27 Jan 2022 16:23:14 +0000 (11:23 -0500)]
Add new function to disable certain RTC periodic callbacks
joeycastillo [Thu, 27 Jan 2022 17:02:51 +0000 (12:02 -0500)]
Merge pull request #45 from a2/simulator-buzzer
Implement buzzer methods with AudioContext API
Joey Castillo [Thu, 27 Jan 2022 16:24:25 +0000 (11:24 -0500)]
you don't belong here
Alexsander Akers [Thu, 27 Jan 2022 01:24:15 +0000 (20:24 -0500)]
Update main loop to fix reentrancy runtime errors
Alexsander Akers [Thu, 27 Jan 2022 16:12:01 +0000 (11:12 -0500)]
Implement buzzer methods with AudioContext API
Joey Castillo [Thu, 27 Jan 2022 15:51:15 +0000 (10:51 -0500)]
add SPI to the index
Joey Castillo [Thu, 27 Jan 2022 15:46:53 +0000 (10:46 -0500)]
fix doxygen generation
Joey Castillo [Thu, 27 Jan 2022 15:45:01 +0000 (10:45 -0500)]
fix spi test (again)
Joey Castillo [Thu, 27 Jan 2022 14:17:58 +0000 (09:17 -0500)]
fix spi test
Joey Castillo [Thu, 27 Jan 2022 03:39:09 +0000 (22:39 -0500)]
implement SPI flash chip
Joey Castillo [Thu, 27 Jan 2022 03:15:53 +0000 (22:15 -0500)]
silence compiler warning
Joey Castillo [Thu, 27 Jan 2022 02:32:55 +0000 (21:32 -0500)]
watch library: implement SPI
Joey Castillo [Thu, 27 Jan 2022 02:04:56 +0000 (21:04 -0500)]
silence compiler warning
Joey Castillo [Thu, 27 Jan 2022 01:36:49 +0000 (20:36 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Thu, 27 Jan 2022 01:36:40 +0000 (20:36 -0500)]
PCB: add final temperature sensor board
Joey Castillo [Thu, 27 Jan 2022 01:31:04 +0000 (20:31 -0500)]
watch face script: autopopulate year
joeycastillo [Thu, 27 Jan 2022 01:29:27 +0000 (20:29 -0500)]
Merge pull request #47 from davidskeck/main
Added rough draft of watch_face script
Joey Castillo [Thu, 27 Jan 2022 01:16:52 +0000 (20:16 -0500)]
silence compiler warnings
Joey Castillo [Thu, 27 Jan 2022 00:31:49 +0000 (19:31 -0500)]
watch library: implement UART
David Keck [Thu, 27 Jan 2022 00:15:16 +0000 (19:15 -0500)]
minor typo fix
David Keck [Thu, 27 Jan 2022 00:12:12 +0000 (19:12 -0500)]
added missing newlines to template files
David Keck [Thu, 27 Jan 2022 00:07:51 +0000 (19:07 -0500)]
Added license info to script
David Keck [Wed, 26 Jan 2022 23:59:48 +0000 (18:59 -0500)]
Added rough draft of watch_face script to generate custom watch faces from template. Corrected template file's missing includes and incorrect memset placeholder.
joeycastillo [Tue, 25 Jan 2022 23:59:40 +0000 (18:59 -0500)]
Merge pull request #46 from a2/simulator-workflow
Add GitHub Workflow job to build and archive simulator
Alexsander Akers [Tue, 25 Jan 2022 23:17:51 +0000 (18:17 -0500)]
Remove dangling `if` condition
Alexsander Akers [Tue, 25 Jan 2022 23:16:31 +0000 (18:16 -0500)]
Don't compile starter-project or accelerometer-test
These apps have not been tested in the simulator runtime yet.
Alexsander Akers [Tue, 25 Jan 2022 23:09:56 +0000 (18:09 -0500)]
Add GitHub Workflow job to build and archive simulator
joeycastillo [Tue, 25 Jan 2022 22:57:25 +0000 (17:57 -0500)]
Merge pull request #44 from a2/voltage-reference
Remove ADC_* defines in favor of hardware-specific mapping
Joey Castillo [Tue, 25 Jan 2022 22:36:04 +0000 (17:36 -0500)]
movement: add documentation mentioned in #42
Joey Castillo [Tue, 25 Jan 2022 22:28:22 +0000 (17:28 -0500)]
movement: add blinky face
Alexsander Akers [Tue, 25 Jan 2022 00:06:54 +0000 (19:06 -0500)]
Remove ADC_* defines in favor of hardware-specific mapping
Joey Castillo [Tue, 25 Jan 2022 22:27:40 +0000 (17:27 -0500)]
movement: remove blinky face
Joey Castillo [Tue, 25 Jan 2022 22:12:56 +0000 (17:12 -0500)]
movement: add template for watch face generator
Joey Castillo [Tue, 25 Jan 2022 22:06:04 +0000 (17:06 -0500)]
movement: move watch face includes to a separate file
Joey Castillo [Tue, 25 Jan 2022 22:04:07 +0000 (17:04 -0500)]
movement: slight reorganization
Joey Castillo [Tue, 25 Jan 2022 20:53:18 +0000 (15:53 -0500)]
movement: add two faces to default build
Joey Castillo [Tue, 25 Jan 2022 20:39:04 +0000 (15:39 -0500)]
movement: move beat time to clock folder
Alexsander Akers [Tue, 25 Jan 2022 20:03:22 +0000 (15:03 -0500)]
Sensor Watch Simulator (#35)
* Put something on screen
* Use the 32bit watch_date_time repr to pass from JS
* Implement periodic callbacks
* Clear display on enabling
* Hook up watch_set_led_color() to SVG (green-only)
* Make debug output full-width
* Remove default Emscripten canvas
* Implement sleep and button clicks
* Fix time zone conversion bug in beats-time app
* Clean up warnings
* Fix pin levels
* Set time zone to browser value (if available)
* Add basic backup data saving
* Silence format specifier warnings in both targets
* Remove unnecessary, copied files
* Use RTC pointer to clear callbacks (if available)
* Use preprocessor define to avoid hardcoding MOVEMENT_NUM_FACES
* Change each face to const preprocessor definition
* Remove Intl.DateTimeFormat usage
* Update shell.html title, header
* Add touch start/end event handlers on SVG buttons
* Update shell.html
* Update folder structure (shared, simulator, hardware under watch-library)
* Tease out shared components from watch_slcd
* Clean up simulator watch_slcd.c inline JS calls
* Fix missing newlines at end of file
* Add simulator warnings (except format, unused-paremter)
* Implement remaining watch_rtc functions
* Fix button bug on mouse down then drag out
* Implement remaining watch_slcd functions
* Link keyboard events to buttons (for keys A, L, M)
* Rewrite event handling (mouse, touch, keyboard) in C
* Set explicit text UTF-8 charset in shell.html
* Address PR comments
* Remove unused directories from include paths
Joey Castillo [Sun, 23 Jan 2022 18:02:18 +0000 (13:02 -0500)]
movement: add blinky face
Joey Castillo [Fri, 21 Jan 2022 17:06:06 +0000 (12:06 -0500)]
movement: didn't mean to add sunrise/sunset by default
Joey Castillo [Fri, 21 Jan 2022 16:25:43 +0000 (11:25 -0500)]
movement: simple UI for entering wearer location