Hi-
I am developing a microcontroller (uC) based hand-held device. I'd like to include a self-power down capability. The idea being that after so-much-time of inactivity, the uC sends a signal through a digital output to physically power down the device. This is functionally and electrically equivalent to the momentary power pushbutton that I will have mounted on the front face of the device. Keep in mind that I am a software guy, so this hardware/circuitry stuff is familiar to me but not transparent, thus my difficulty.
But I'm running into a bit of difficulty with the implementation of that concept. Specifically, the problem is trying to determine the value of a pull-down resistor. First though, the implementation strategy that I have is to use a "latching circuit" to do the dirty work, or more specifically a chip in the form of a power on/off controller. The Maxim 16054 is what I found to do the job:
http://datasheets.maximintegrated.com/en/ds/MAX16054.pdf
And the uC that I am using is the Amtel 1284P:
http://www.mouser.com/ds/2/36/doc8272-71643.pdf
And the configuration that I have planned for these two is the same as shown in the MAX16054's datasheet under "Typical Operating Circuits" on page 1, although I plan to put the MAX16054 downstream of the voltage regulator, thus powering it with +5V. Otherwise the schematic I had in mind is the same as shown.
So the problem, again, is how to calculate the value for the external pull-down resistor as shown in that schematic. I've done a fair amount of research (including this forum) and have discovered that external pull-downs are typically about 10kΩ to 1MΩ or more, depending. I understand the concept as to why they are of such large values, BTW.
But I am having difficulty calculating the exact value I should use with the 1284. Based on the datasheet for the uC on page 329, I calculated a value for the pull-down that is much lower than what I was expecting, based on the rules-of-thumb that I found (1/10th for pull-up, 10X for pull-down of the internal uC pull-up). Based on those rules, it seems that I should use a 0.5MΩ pull-down.
So. I dunno. How far off base am I here? Anyone have any feedback? I'd appreciate it.
Thanks
I am developing a microcontroller (uC) based hand-held device. I'd like to include a self-power down capability. The idea being that after so-much-time of inactivity, the uC sends a signal through a digital output to physically power down the device. This is functionally and electrically equivalent to the momentary power pushbutton that I will have mounted on the front face of the device. Keep in mind that I am a software guy, so this hardware/circuitry stuff is familiar to me but not transparent, thus my difficulty.
But I'm running into a bit of difficulty with the implementation of that concept. Specifically, the problem is trying to determine the value of a pull-down resistor. First though, the implementation strategy that I have is to use a "latching circuit" to do the dirty work, or more specifically a chip in the form of a power on/off controller. The Maxim 16054 is what I found to do the job:
http://datasheets.maximintegrated.com/en/ds/MAX16054.pdf
And the uC that I am using is the Amtel 1284P:
http://www.mouser.com/ds/2/36/doc8272-71643.pdf
And the configuration that I have planned for these two is the same as shown in the MAX16054's datasheet under "Typical Operating Circuits" on page 1, although I plan to put the MAX16054 downstream of the voltage regulator, thus powering it with +5V. Otherwise the schematic I had in mind is the same as shown.
So the problem, again, is how to calculate the value for the external pull-down resistor as shown in that schematic. I've done a fair amount of research (including this forum) and have discovered that external pull-downs are typically about 10kΩ to 1MΩ or more, depending. I understand the concept as to why they are of such large values, BTW.
But I am having difficulty calculating the exact value I should use with the 1284. Based on the datasheet for the uC on page 329, I calculated a value for the pull-down that is much lower than what I was expecting, based on the rules-of-thumb that I found (1/10th for pull-up, 10X for pull-down of the internal uC pull-up). Based on those rules, it seems that I should use a 0.5MΩ pull-down.
So. I dunno. How far off base am I here? Anyone have any feedback? I'd appreciate it.
Thanks