Skip to main content
ST MICROCONTOLLER
Associate II
Jul 24, 2017 9:11 AM UTC
Question

Controller reset

Posted on July 24, 2017 at 11:11

I know it is a common question but still we cannot get rid of it. We are using stm8s003f3 in our project. An ac motor is switched ON and OFF by a 12V relay (using timer).

The controller frequently resets itself when a relay is tripped ON or OFF. We used pf on the controller pin, pulled up the NRST pin with a 10K and a pf, used 7805 instead of lm1117, and tried a few other things, but couldn't succeed.

It would be a great relief for us if anybody can provide solution for it.

THANK YOU.   
    This topic has been closed for replies.

    5 replies

    li guodong
    Visitor II
    Jul 29, 2017 11:45 PM UTC
    Posted on July 30, 2017 at 01:45

    Add a tvs,you wiil have an amazing discovery.

    Tesla DeLorean
    Guru
    Jul 30, 2017 2:25 AM UTC
    Posted on July 30, 2017 at 04:25

    What is 'pf' in this context? You've tried what? You have a schematic of what you've implemented?

    Do you have adequate bulk capacitance on either side of the regulator?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    li guodong
    Visitor II
    Jul 30, 2017 7:53 AM UTC
    Posted on July 30, 2017 at 07:53

    just add a tvs

    in front of the power supply of mcu,in my sch the NRST pin  is 100nF,but the most  problem is EFT when the AC motor on or off.

    ST MICROCONTOLLER
    Associate II
    Aug 8, 2017 2:21 PM UTC
    Posted on August 08, 2017 at 14:21

    Ok. But can you suggest the value of tvs? I think 9 to 19V tvs is the most widely used one.