This is the Basic function you will need to adjust the pulse if you want to build your own spot welder.
My code is here:
Required library is here:
you can buy them in the links below:
Aliexpress: https://bit.ly/2H5ZlMW
the best so far: https://s.click.aliexpress.com/e/_A5nxIK https://bit.ly/3lT31ke https://bit.ly/3nTZEev
Ebay: https://ebay.to/3nSnszn
Amazon: https://amzn.to/3nSnIyl
Arduino Nano: https://bit.ly/3953j2p
Arduino Pro mini: https://bit.ly/2XdXfiL
Arduino Uno: https://bit.ly/3orcm4s
Arduino Mega: https://bit.ly/2Mzodix
Arduino Shield LCD: https://bit.ly/2XgeqQB
Arduino Micro: https://bit.ly/2LtGn4F
Arduino Leonardo: https://bit.ly/3njYtU4
Amazon: Arduino Uno: https://amzn.to/35jkxIu
Arduino Pro mini: https://amzn.to/3hUVr7J
Arduino Nano: https://amzn.to/35g5IX2
Arduino Mega: https://amzn.to/2KZ5DAg
Arduino LCD shield: https://amzn.to/3opHVvi
Arduino Micro: https://amzn.to/3pVHs4e
Arduino Leonardo: https://amzn.to/2Xj5J8h
Other sales on Ali Laser distance meter very cheap! -55% of price https://bit.ly/38QhOIO
Yi security Camera outdoor wireless -55% off price https://bit.ly/3kqmck8
Wifi camera water proof discount -31%: https://bit.ly/35tZKCg
Car 100W speakers with -41% discount: https://bit.ly/3lvZng8
Wireless Android Car play system wireless link -50% : https://bit.ly/36CgWF5
YI dash camera -19% off : https://bit.ly/3f40Nfp
Sony 18650 batteries with huge discount -58% : https://bit.ly/2ICoteX
Uni-T multimeter -30% off!!: https://bit.ly/2KaRsaq
Accurate marking laser -69% off! : https://bit.ly/2H4uLDD
Makita 18V 50% off! : https://bit.ly/35yCqTZ
One of the best smartphone -33% very fast charging!: https://bit.ly/3lFrOrZ