Many PICs run only with a 3V supply. I have one using a 16LC505 with a 4x4 key matrix on port B and an IR LED in series with a 10R resistor both driven by a transistor conected through a 1k resistor to one of the PIC pins. It wakes up on port B change, so when a key is pressed it sends an IR bit stream (it repeats four times the same code, just to make sure it will be correctly received) related to the code of the desired function and then it goes to sleep, and when the key is released, the PIC wakes up once again, sending a "stop everithing" code. It was not the best choice, sometimes the reception fails and I do not get the function or I do not get the "stop" condition, but most of the times it works. Edson Brusque (Listas) wrote: >Hello, > > We're wanting to make our own remote control for using with our >products. So, I'm doing some experiments with wake-on-rb-change, learning >remotes etc. > > One thing that is bothering me is how to make the power supply of a >remote control. An ideal supply would draw zero miliamps from the battery >when the PIC is sleeping. I could do the supply simply using a battery and a >78L05, but the regulator would draw some energy from the battery even >without the microcontroller. > > Any sugestion? Someone have the squematics of a remote control using a >PIC? > > Thank you very much, > > Brusque > >----------------------------------------------------------------- >Edson Brusque C.I.Tronics Lighting Designers Ltda >Research and Development Blumenau - SC - Brazil >Say NO to HTML mail www.citronics.com.br >----------------------------------------------------------------- > >-- >http://www.piclist.com#nomail Going offline? Don't AutoReply us! >email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > > > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads