This is a multi-part message in MIME format. ------=_NextPart_000_0042_01C23C66.8DAC3840 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit > When sleeping, the PIC16F628@4MHz consumes about > 42uA @ 5V. If I suply it with some AA Alkaline batteries, it > would mean rougly: 2850mAh / 42uA = 67857 hours = > 2827 days = 7.74 years without use What are you basing the "2850mAh" figure on ? Alkaline AAs I've seen have been under 1000mAh, usually 800mAh, which would give you more likie 2 years than 8 (btw, the frequency of the micro is irrelevant when it's asleep) I think you could simplify the circuit by eliminating the gates too. The attached shows two switches. As Aaron says, get the PIC to hold a port pin high to supply its own Vcc until it's finished transmitting or learning. After it's powered itself down there will be NO current consumption at all until the next switch push I know others have suggested low power PICs but only under ideal conditions does the SLEEP current approach the book value, and it's still too high for small batteries. Most remote controls use fractions of a uA on standby and you won't get down that far with a micro ------=_NextPart_000_0042_01C23C66.8DAC3840 Content-Type: image/gif; name="pb_boot.gif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="pb_boot.gif" R0lGODlheACqAPcAAAAAAP////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////ywAAAAAeACqAAAI/gADCBxI sKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDihxJsuRIAChTqlzJsqXLlzBjtjSZEEDI lCdpIrR5kyRPnQV/fhQKkijQAEY5Ju24lGbTjE81RvUpcipGq1Wz5jxKECtFrxXBDtVKlivSskXN DhQbka1Et0rRHlw5Ee5Guw2nCmWLF6pcg3vXOux79W9QugKxEr64uCbDwIgVNg5ruKvlxIPVYu65 MPDmx5rPcpassm7oyXOpakYNWLVa1kE7w8y8eijLxyjfnq6cWnftorlptwUus/jthziFQ4TN+3By 0L5DI0deOq9p6dPzHu98Hbt17ZEl/nffKji6cujDSxJ1KxYse6flkQaXv7T9cp5eme8s/9Nm/97Z DYZfgOqJZuBn+y33FYFU/XeZYwqOx51Onp3lYGwRmjchfF3N9xyGDFJnlX5pZdjWfOJ5912I56Wo 4oYtxpjgiy7KiN6NNAJoI4w85gjijoANCCSN9lGHYI8+xjfkgyYmyeSKULLoZJFLtuaklVLO2OSV B0aJJI5cUunlmFOmV+WPXHYJZo1Z+ugeiqRJGKZxdG635ZUkwilbeGWOdmefJd5HokeD8qUnoGMJ eqibzQX5IZ6NdshnkoUq+iilkWKZpppxaRgmeW3mOOiRayKa6J+Y+hkqkaqu+qJ+/naNylSrZ2JX qaeQZvrkTtWZJauYEJLKIa1f/nihSbeaSVqvsqLZKa6a+tera7MueOOxBQaqbLAGNrvrs6hKuiiy un5rarXbfkpssWvNRmG5SuLmrY6EyskutfVCy+1RyYZLL1D9umouueuyWSrBd7l7sJb8ipruu4Ta ufC/EL/68LAR83WisKB6156QFasYa8OsWhuyx5QB7PBX454qclgt52uxyRijTDPCL9+c7cz2dmzr xpz6LN3HHMO7c60y5yywtjYv7XLTSKOrdNTgQk0mzlZPLPRu/m79Wswdrlbn2GSXfenJmx72W9oM q8x222i/XfTRcsfrdt0D0433arwUy823pngHjfXeawc+t9d++2p43oin/beziRde9+OAT8714pTb TfjiP3Muued3g06y6KOTXrrpcaPeuOpJs46v60bDrrPsT9Neu+1S49667owpzPvvREoM/PAig038 8cgnr/zyzKcZEAAAOw== ------=_NextPart_000_0042_01C23C66.8DAC3840-- -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu