Skip to main content
Visitor II
July 24, 2017
Question

Controller reset

  • July 24, 2017
  • 2 replies
  • 1518 views
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.

    2 replies

    Visitor II
    July 29, 2017
    Posted on July 30, 2017 at 01:45

    Add a tvs,you wiil have an amazing discovery.

    Graduate II
    July 30, 2017
    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?

    Visitor II
    July 30, 2017
    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.

    Visitor II
    August 8, 2017
    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.