19 Commits

Author SHA1 Message Date
Christian Chapman
462f24b313
Aperture priority light meter face (#230)
* initial commit, added opt3001 light meter test app

* tested working light meter board, i2c communication still has issues

* fixed i2c; rudimentary lightmeter works!

* added aperture priority ui

* added aperture priority ui

* added README

* adjusted cal

* fixed bugs (HI shutter speed, lux mode toggle)

* made it possible to advance to the next face

* initialized lux variable

* lowered tolerance for HI and LO

* Changed EV display from always showing EV100 to showing EV[iso setting]

* dont display old ev when ISO changes

* changed mode and light behavior

* updated readme

* fixed indentation

* made lightmeter display logic more consistent

* made lightmeter display logic more consistent

* reverted rules.mk (for merge into upstream)

* reverted rules.mk (for merge into upstream)

* removed OPT3001 PCB model

* made lux mode default, corrected timeout behavior

---------

Co-authored-by: Christian Chapman <user@debian>
2023-04-16 10:05:55 -04:00
Joey Castillo
cd40573535 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into motion-express 2022-05-02 18:39:45 -05:00
Joey Castillo
6e9e264c65 rewrite lis2dh logger for lis2dw 2022-04-10 18:13:22 -04:00
Joey Castillo
d91274e782 remove old lis2dh driver 2022-04-10 18:10:49 -04:00
Joey Castillo
54f1873785 documentation and such 2022-02-19 14:22:23 -05:00
Joey Castillo
09f79f782f lis2dw: reasonable defaults when initializing 2022-02-19 14:05:38 -05:00
Joey Castillo
ee60d97d25 fixup 2022-02-19 13:42:55 -05:00
Joey Castillo
9f0f72eb20 lis2dw: add support for temperature sensing 2022-02-19 13:12:04 -05:00
Joey Castillo
3392f73d36 lis2dw: add support for high performance mode 2022-02-19 13:11:47 -05:00
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
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
4f29cf24f3 movement: move thermistor to 'sensor' watch faces 2022-02-17 14:47:47 -05:00
Joey Castillo
df0c2bfd80 remove debug statements 2022-02-05 17:33:34 -05:00
Joey Castillo
45aa04f4ac spi test: set first 4096 bytes to 0 2022-01-27 14:28:37 -05:00
Joey Castillo
523a5d2f0b implement SPI flash chip 2022-01-26 22:40:49 -05:00
Alexsander Akers
b8de35658f
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
2022-01-25 15:03:22 -05:00