Introduction: Full Video How to Make a Spot Welding
How to make a spot welding from microwave transformer
Step 1: Make a Spot Welding With Arduino Timer
I want to show you my experience to make a spot welding from Microware Transformer.
Step 2: I Use a Microwave Transformer. 800W
Step 3: Use a Cutting Machine to Cut the Secondary Coils
Step 4: Remove All of the Wires to the Secondary Wires
Step 5: Use Can See Like This
Step 6: Use the Wire. Diameter Is 1cm
Step 7: Here Is the Diagram. How to Make Timer Use Arduino, Relay 5V, Rheostat, Travel Switch
//Code upload to Arduino int button = 8;
int out = 2; void setup(){ Serial.begin(9600); pinMode(out, OUTPUT); pinMode(button, INPUT); }
void loop(){ int value = analogRead(A0); Serial.println(value);
int voltage; voltage = map(value,0,1023,0,2000); Serial.println(voltage); int buttonStatus = digitalRead(button); Serial.println(buttonStatus); Serial.println(); delay(100); if ( buttonStatus == 1 ) { if ( voltage > 0 && voltage <= 100 ) { delay_0_0_5(); } else if ( voltage > 100 && voltage <= 200 ) { delay_0_1(); } else if ( voltage > 200 && voltage <= 300 ) { delay_0_1_5(); } else if ( voltage > 300 && voltage <= 400 ) { delay_0_2(); } else if ( voltage > 400 && voltage <= 500 ) { delay_0_2_5(); } else if ( voltage > 500 && voltage <= 600 ) { delay_0_3(); } else if ( voltage > 600 && voltage <= 700 ) { delay_0_3_5(); } else if ( voltage > 700 && voltage <= 800 ) { delay_0_4(); } else if ( voltage > 800 && voltage <= 900 ) { delay_0_4_5(); } else if ( voltage > 900 && voltage <= 1000 ) { delay_0_5(); } else if ( voltage > 1000 && voltage <= 1100 ) { delay_0_5_5(); } else if ( voltage > 1100 && voltage <= 1200 ) { delay_0_6(); } else if ( voltage > 1200 && voltage <= 1300 ) { delay_0_6_5(); } else if ( voltage > 1300 && voltage <= 1400 ) { delay_0_7(); } else if ( voltage > 1400 && voltage <= 1500 ) { delay_0_7_5(); } else if ( voltage > 1500 && voltage <= 1600 ) { delay_0_8(); } else if ( voltage > 1600 && voltage <= 1700 ) { delay_0_8_5(); } else if ( voltage > 1700 && voltage <= 1800 ) { delay_0_9(); } else if ( voltage > 1800 && voltage <= 1900 ) { delay_0_9_5(); } else if ( voltage > 1900 && voltage <= 2000 ) { delay_1(); } } }
void delay_0_0_5() { digitalWrite(out, HIGH); delay(50); digitalWrite(out,LOW); delay(2000); }
void delay_0_1() { digitalWrite(out, HIGH); delay(100); digitalWrite(out,LOW); delay(2000); }
void delay_0_1_5() { digitalWrite(out, HIGH); delay(150); digitalWrite(out,LOW); delay(2000); }
void delay_0_2() { digitalWrite(out, HIGH); delay(200); digitalWrite(out,LOW); delay(2000); }
void delay_0_2_5() { digitalWrite(out, HIGH); delay(250); digitalWrite(out,LOW); delay(2000); }
void delay_0_3() { digitalWrite(out, HIGH); delay(300); digitalWrite(out,LOW); delay(2000); }
void delay_0_3_5() { digitalWrite(out, HIGH); delay(350); digitalWrite(out,LOW); delay(2000); }
void delay_0_4() { digitalWrite(out, HIGH); delay(700400); digitalWrite(out,LOW); delay(2000); }
void delay_0_4_5() { digitalWrite(out, HIGH); delay(450); digitalWrite(out,LOW); delay(2000); }
void delay_0_5() { digitalWrite(out, HIGH); delay(500); digitalWrite(out,LOW); delay(2000); }
void delay_0_5_5() { digitalWrite(out, HIGH); delay(550); digitalWrite(out,LOW); delay(2000); }
void delay_0_6() { digitalWrite(out, HIGH); delay(600); digitalWrite(out,LOW); delay(2000); }
void delay_0_6_5() { digitalWrite(out, HIGH); delay(650); digitalWrite(out,LOW); delay(2000); }
void delay_0_7() { digitalWrite(out, HIGH); delay(700); digitalWrite(out,LOW); delay(2000); }
void delay_0_7_5() { digitalWrite(out, HIGH); delay(750); digitalWrite(out,LOW); delay(2000); }
void delay_0_8() { digitalWrite(out, HIGH); delay(800); digitalWrite(out,LOW); delay(2000); }
void delay_0_8_5() { digitalWrite(out, HIGH); delay(850); digitalWrite(out,LOW); delay(2000); }
void delay_0_9() { digitalWrite(out, HIGH); delay(900); digitalWrite(out,LOW); delay(2000); }
void delay_0_9_5() { digitalWrite(out, HIGH); delay(950); digitalWrite(out,LOW); delay(2000); }
void delay_1() { digitalWrite(out, HIGH); delay(1000); digitalWrite(out,LOW); delay(2000); }