Closed dkadish closed 9 months ago
Use a ~five minute interval
This might not work. Looks like the TPL5111 has a watchdog feature that causes it to shutdown at the interval if it has not been powered down yet.
LTC5956 (https://www.analog.com/media/en/technical-documentation/data-sheets/2956fa.pdf) should do the trick.
Soldering the test component didn't work. Just put it on the next version with a bypass.
Sounds like it can be hooked up to a button that does a full shutdown. I should look into this!. Would be nice to have a soft shutdown button...
Exits awake state when:
!SLEEP
pint_ONMAX
expiresSo, we need to make sure that t_ONMAX
does not expire. SLEEP should only occur on a falling edge to !SLEEP
performed by the teensy.
ONMAX is tied to GND because it is unused.
R_long
is 1.02 MOhms, corresponding to a power-up RUN mode and an 8.2 second LONG delay
R_RANGE
is set to 61.9 kOhms corresponding to a period between 102s and 14 minutes.
R_PERIOD
is set to 117 kOhms which is roughly 5 minutes
(1024 * 117) / 400 = 299.5 seconds
NB: Could also use 2-3 digital pots to set this...
Using the AD5248 (https://www.analog.com/media/en/technical-documentation/data-sheets/AD5243_5248.pdf) to switch the timing is an interesting idea, but too complicated for this. I should just set a 5-minute timer with fixed resistors and be done with it for this version.
Resolved with e5c251fa29a354784e84738623c5bc9274a97c33. Final checks required.
https://cdn-shop.adafruit.com/product-files/3573/3573_datasheet.pdf