Dear all, I am doing an undertaking wherein pc and atmega32 convey by means of rs232. The microcontroller convey level message and furthermore get order to impel 220v contactor.
All is well until I interface the transfers to drive the contactor I have checked electrical confinement between the board and the high volt, it is alright.
The issue happen haphazardly when the contactor switch. At the point when the issue happens the microcontroller won't reset it actually acknowledge order from the pc yet it will quit giving information to the pc through rs232. To settle this I attempted to close and return the sequential port automatically when the issue happens however the issue not tackled the issue possibly disappears when I restarted the microcontroller.
The wellspring of the issue appears to be electromagnetic commotion however I have done a microcontroller board which controls 220v burdens easily. The main contrast here is the microcontroller speak with PC and with each other microcontroller. Likewise tbe code is composed with arduino ide with atmega modules.
All is well until I interface the transfers to drive the contactor I have checked electrical confinement between the board and the high volt, it is alright.
The issue happen haphazardly when the contactor switch. At the point when the issue happens the microcontroller won't reset it actually acknowledge order from the pc yet it will quit giving information to the pc through rs232. To settle this I attempted to close and return the sequential port automatically when the issue happens however the issue not tackled the issue possibly disappears when I restarted the microcontroller.
The wellspring of the issue appears to be electromagnetic commotion however I have done a microcontroller board which controls 220v burdens easily. The main contrast here is the microcontroller speak with PC and with each other microcontroller. Likewise tbe code is composed with arduino ide with atmega modules.