dkadish / BioAcousticIndexTool

Smart sensor to calculate acoustic indices and capture environmental data in the field.
MIT License
3 stars 0 forks source link

Add TPL5111 for super low-power shutdown #29

Closed dkadish closed 9 months ago

dkadish commented 10 months ago

https://cdn-shop.adafruit.com/product-files/3573/3573_datasheet.pdf

dkadish commented 10 months ago

Use a ~five minute interval

dkadish commented 10 months ago

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.

dkadish commented 10 months ago

LTC5956 (https://www.analog.com/media/en/technical-documentation/data-sheets/2956fa.pdf) should do the trick.

dkadish commented 10 months ago

Soldering the test component didn't work. Just put it on the next version with a bypass.

dkadish commented 10 months ago

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...

dkadish commented 10 months ago

LTC2956 Operation

RUN Mode

Awake State

Exits awake state when:

So, 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.

Settings

ONMAX

ONMAX is tied to GND because it is unused.

Resistors

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...

dkadish commented 10 months ago

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.

dkadish commented 9 months ago

Resolved with e5c251fa29a354784e84738623c5bc9274a97c33. Final checks required.