arduino hang from interference

Hi
I build TCI control by arduino. When coil spike my arduino hang. How to fix the problem.
Thanks.

Hang, or reset.

Hang could be code related (post your code).
Reset could be supply related.

I don't see how you power the 7805, and I don't see the coil supply, kickback diode, etc. in your diagram.
Leo..

Wawa:
Hang, or reset.

Hang could be code related (post your code).
Reset could be supply related.

I don't see how you power the 7805, and I don't see the coil supply, kickback diode, etc. in your diagram.
Leo..

I not know it hang or reset.
This program i use.

void setup() {
  
  pinMode(7,OUTPUT);
 
  
}

void loop() {
   
  digitalWrite(7, HIGH);
  delayMicroseconds(5);           
  digitalWrite(7, LOW); 
  delay(15);           
  


}

This vdo
http://www.dailymotion.com/video/x32lw0f

5 microseconds on?
1/200000th of a second...

What sort of super fast coil is this.

What is TCI.
Leo..

Wawa:
5 microseconds on?
1/200000th of a second...

What sort of super fast coil is this.

What is TCI.
Leo..

Sorry DC-CDI not TCI

Sorry, can't help you there.
Maybe enter "DC-CDI" in the search box on top of this page while waiting for others to answer your questions.
I found many posts about this subject. Here's one.
http://forum.arduino.cc/index.php?topic=261815.0
Leo..

Although it is not quite the same situation and you likely require more drastic methods, I discussed this problem here.

Thanks. All