Hello All,
The default behavior of the new TPL5110 is
Quotethe timer cycles power ON/OFF at precise intervals (set by the delay)
Assuming i have the timer set for 1 hour (using a 124kohm resistor), does this mean that the tpl will power on my device for one hour, turn it off for another hour, and then turn it back on for another hour, etc?
also, if set as this default, will the TPL ignore a signal to the DONE pin?
My ideal scenario would be that the TPL turns on a device at each delay interval and then turn off the device when it receives a DONE signal which can happen just a few seconds after the device is turned on.
- TPL turns on device
- device does its thing and then sends DONE signal
- TPL receives DONE signal and turns off device
- TPL sleeps until delay time is reached
- GOTO 1
How would I be able to achieve this configuration?
Also, not to complicate things too much, but can the TPL also turn on a device based on a signal? I see that this may be possible in the one-shot mode, but don't know if this could be incorporated into my configuration.
Thanks for your help!
Quote from: [email protected] on February 28, 2019, 07:53:33 PM
Hello All,
The default behavior of the new TPL5110 is
Assuming i have the timer set for 1 hour (using a 124kohm resistor), does this mean that the tpl will power on my device for one hour, turn it off for another hour, and then turn it back on for another hour, etc?
also, if set as this default, will the TPL ignore a signal to the DONE pin?
My ideal scenario would be that the TPL turns on a device at each delay interval and then turn off the device when it receives a DONE signal which can happen just a few seconds after the device is turned on.
- TPL turns on device
- device does its thing and then sends DONE signal
- TPL receives DONE signal and turns off device
- TPL sleeps until delay time is reached
- GOTO 1
How would I be able to achieve this configuration?
Also, not to complicate things too much, but can the TPL also turn on a device based on a signal? I see that this may be possible in the one-shot mode, but don't know if this could be incorporated into my configuration.
Thanks for your help!
You will be happy to know that the 'normal' behavior of the TPL5110 exactly matches your 'ideal'!
As you noted, the TPL devices are 'programmed' with a resistor that sets the timing interval. In the case of the TPL5110, the end of the interval powers on the load. When the 'load' (presumably an MCU of some sort) has completed its task, it notifies the TPL5110 that it is 'done' and the TPL5110 shuts off the power, turning it back on at the end of the next interval. Note that the interval is based on power up time and is totally independent of 'done'ness. You'll get fixed intervals (within 1% by my experience and with extremely good repeatability) based on your resistor selection.
Tom
Thank you very much Tom.
Looking forward to using this little gem in my projects!
Andres
Let me ask a further question regarding the TPL: Can the TPL wake up a load based on a signal while in timer mode? Again, i see that when set as a one-shot,
Quotean ON! signal from or button press from the user restores power and cycle repeats
can this be done when in its timer default mode, too? if so, what's the TPL's ON pin?
Thanks again!
Andres
Quote from: [email protected] on March 01, 2019, 12:48:15 AM
Let me ask a further question regarding the TPL: Can the TPL wake up a load based on a signal while in timer mode? Again, i see that when set as a one-shot,
can this be done when in its timer default mode, too? if so, what's the TPL's ON pin?
Thanks again!
Andres
The pin is called Delay/M_DRV and it is where the programming resistor is tied. If you pull that pin to VDD and release it, the TPL5110 will turn on the downstream circuit and act as if the timer interval had expired so Done will cancel it. NOTE: The start of the timing interval is reset to when the switch was released so your intervals, while spaced the same, will not occur at the same time points as before the switch was pressed.
I expect that LPL's TPL5110 breakout board has a switch that does just this but I'm not certain of this.
That's great! I appreciate your responses!