Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Ads

Discussion Groups

Discussion Groups | Piclist | Powering Off and On

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

Powering Off and On - jmsmith871 - Sep 17 17:51:37 2008

Greetings,

I'm new here, and would like your suggestions on a technical issue.

My current PIC project is an infrared hand-held remote contol for
controlling the speed, direction, and sound of DC-powered model
locomotives. The processor will be a PIC16F818, probably.

Earlier controllers I've done have a power switch that must be turned
off when the controller is not in use; otherwise, the battery is
drained in a few days of idle time.

It would be nice to eliminate the power switch, and let the controller
turn itself off after 10-15 minutes of non-use. Two approaches have
come to mind:

1. Turn off power from the (9 volt) battery with a circuit like the
one Chad Russel has posted in the Files Section here (P-MOS Power.jpg).

2. Power down with the PIC SLEEP instruction, and use a regulator that
uses very little power itself.

It would be preferable to turn the controller on with an existing
push-button (there will be six), as opposed to adding something
specifically for that purpose. Any suggestions or comments would be
appreciated.

Best regards,
John
Germantown, Ohio

------------------------------------

to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )


Re: Powering Off and On - "John J. McDonough, WB8RCR" - Sep 17 19:02:48 2008

There are a couple of things to consider.

First, think in terms of a 3 V battery supply that doesn't require a
regulator. This eliminates loss in the regulator, and running the PIC at a
lower voltage also results in lower current drain.

A lot of low power circuits use the wake on change feature to bring the PIC
back from sleep when a button is pressed.

Design your circuit so that little current is drawn outside the PIC

At low clock frequencies and low voltage, the PIC will draw amazingly little
current. In sleep mode, many PICs will draw less than the loss current in
the battery, so actually turning the curcuit off wastes effort.

72/73 de WB8RCR http://www.qsl.net/wb8rcr
didileydadidah QRP-L #1446 Code Warriors #35
----- Original Message -----
From: "jmsmith871"
To:
Sent: Wednesday, September 17, 2008 3:19 PM
Subject: [piclist] Powering Off and On
> Greetings,
>
> I'm new here, and would like your suggestions on a technical issue.
>
> My current PIC project is an infrared hand-held remote contol for
> controlling the speed, direction, and sound of DC-powered model
> locomotives. The processor will be a PIC16F818, probably.
>
> Earlier controllers I've done have a power switch that must be turned
> off when the controller is not in use; otherwise, the battery is
> drained in a few days of idle time.
>
> It would be nice to eliminate the power switch, and let the controller
> turn itself off after 10-15 minutes of non-use. Two approaches have
> come to mind:
>
> 1. Turn off power from the (9 volt) battery with a circuit like the
> one Chad Russel has posted in the Files Section here (P-MOS Power.jpg).
>
> 2. Power down with the PIC SLEEP instruction, and use a regulator that
> uses very little power itself.
>
> It would be preferable to turn the controller on with an existing
> push-button (there will be six), as opposed to adding something
> specifically for that purpose. Any suggestions or comments would be
> appreciated.
>
> Best regards,
> John
> Germantown, Ohio
>
> ------------------------------------
>
> to unsubscribe, go to http://www.yahoogroups.com and follow the
> instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: Powering Off and On - jmsmith871 - Sep 17 19:57:19 2008

--- In p...@yahoogroups.com, "John J. McDonough, WB8RCR"
wrote:
>
> A lot of low power circuits use the wake on change feature to bring
> the PIC back from sleep when a button is pressed.
>
> Design your circuit so that little current is drawn outside the PIC
>
> At low clock frequencies and low voltage, the PIC will draw
> amazingly little current. In sleep mode, many PICs will draw
> less than the loss current in the battery, so actually turning
> the curcuit off wastes effort.

Thanks, John. I'll study the wake-on-change feature some more. I
have the code of Microchip's AN552 running in a 16F628.

Best regards,
John
------------------------------------

to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )