cancel
Showing results for 
Search instead for 
Did you mean: 

stm8s003f3 resets occurs randomly while switching AC load by relay

ahmadaneequekhalid
Associate
Posted on April 19, 2014 at 06:47

i am trying to measure 220 volt using the resistor divider network. with respect to the measured input voltages i am switching AC load from relay but the problem is that after random number of switching the micro-controller is reset. please help any suggestion what i am doing wrong or any alternative approach .also there is no watchdog timer enabled 

#reset-stm8
2 REPLIES 2
projnikdroid
Associate II
Posted on April 21, 2014 at 13:04

Could U post ur Hardware Design, Check Whether U Have Placed a Flyback Diode .

ahmadaneequekhalid
Associate
Posted on April 22, 2014 at 11:14

i have replaced the relay and for now the problem has been solved

________________

Attachments :

Untitled.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzN2&d=%2Fa%2F0X0000000bKo%2Fvr52hBCYcAcpx3fpT418BWkz.YMxPj3hE_iXVqtXuSI&asPdf=false