Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

sleep mode hardware problem

Status
Not open for further replies.

ismu

Full Member level 2
Full Member level 2
Joined
May 12, 2009
Messages
145
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
nil
Activity points
2,340
look bellow picture
u can see upper diode and resistor used to charge battery when 5v power supply present at same time PIC will work normal mode bcz ~3v present in RB0 pin, if suppoly become 0v then RB0 !=0v so pic can,t goto sleep mode , when i give RB0=0v from externaly(directly to gnd removing from previous connection) then its work fine. program is when RB0=0 then goto sleep else work in normal mode.Can u find wats the hardware fault/ is there any other simple good ckt instead of this?
 

Attachments

  • sleep.png
    sleep.png
    26.8 KB · Views: 78

are you using interrupt in RB0? could you post your code? also, add another diode and a pull-down resistor for RB0...
 
  • Like
Reactions: ismu

    ismu

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top