Kerry, How do you read brownout setting in software? AA ________________________________ From: Kerry Wentworth To: Microcontroller discussion list - Public. Sent: Monday, October 10, 2011 6:27 AM Subject: Re: [PIC:] Distinction between RESET and BOWNOUT Looking at the data sheet, I see some interesting features. Brownout can be enabled/disabled in software The brownout threshold can be adjusted during programming Brownout reset can be detected So theoretically, you could bump up the brownout threshold to a value=20 that would allow the PIC to continue operating for a while.=A0 If a=20 brownout is detected, leave brownout disabled and signal "low battery",=20 otherwise enable brownout and operate normally. No hardware changes=20 needed to implement this. Kerry IB Peter Feucht wrote: >=A0=20 > Resend, tag added, sorry. > >=A0=20 > Dear Piccers, > > I developped a small battery operated device, using a 16F684, everything > works fine. Now the customer shows up, and wants to have any sort of > batt-low indication. For already 1000 PCS are made and assembled, there i= st > no chance to make any hardware modifications. Even more, there is no room > left on the PCB to add any components and I also have no PIC pins left fo= r > any batt voltage detection. > Now the 684 has an brown out reset, which is pricipally doing what I want= , > but I see no possibility to distict between a "cold boot reset" (made whe= n > e.g. batteries are changed) and brown out reset. > In case of a cold boot reset the devide should work normally, but when a > brownout occured, I'd like to simply disable any further operation until = new > batteries are inserted. > > Does anybody have an idea, know of any sort of "hidden features", any sor= t > of dirty tricks to make this? > > Thanks for any help. > > Peter > > -- > http://www.piclist.com PIC/SX FAQ & list archive View/change your members= hip > options at http://mailman.mit.edu/mailman/listinfo/piclist > >=A0=20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .