This Tutorial will show you how to upload the latest Spot Welder Software V3.2.2 to your Arduino Nano
The new Software is compatible with all V3 and later Arduino Spot Welders.
To upload the Arduino Code of the Spot Welder V3 to the Arduino Nano you need to do some preparation.
- download the Arduino IDE from https://www.arduino.cc/en/Main/Software
- download the Arduino Code from Github
Once you have installed the Arduino IDE you need to add two libraries. The “Adafruit_GFX” and “Adafruit_SSD1306” library. Make sure to use Vesion 1.1 of the SSD1306 libraray. The newer versions seem to cause problems.
Install them through the library manager in the Arduino IDE (click: Sketch -> Include Library -> Manage Libraries)
Then go to the SSD1306 library folder (on windows typically like this: C:UsersMarcDocumentsArduinolibrariesAdafruit_SSD1306-master ) and open the “SSD1306.h” with a text editor.
In the SSD1306.h you need to define line 51 (#define SSD1306_I2C_ADDRESS 0x3C) and line 69 (#define SSD1306_128_64) . In the latest version of the library its line 55 and 73.
The code should look like this after you changed it:
#define SSD1306_I2C_ADDRESS0x3C// 011110+SA0+RW - 0x3C or 0x3D // Address for 128x32 is 0x3C// Adress for 128x64 is 0x3D (default) or 0x3C (if SA0 is grounded)#define SSD1306_128_64 //#define SSD1306_128_32 //#define SSD1306_96_16
After you have done this dont forget to click save.
Now you can go back to the Arduino IDE and open the Arduino Code from the Github project you downloaded. The file is the Arduino_Spot_Welder_V3.2.2.ino . Make sure all unziped files of the Spot Welder code are in the same folder and the folder is named Arduino_Spot_Welder_V3.2.2 .
Connect the Arduino Nano to your computer with an USB cable and it should automatically install the drivers for the Arduino Nano. If it does not connect you need to install the driver for the USB chip manually. CH340 Windows Driver – CH340 Mac Driver – CH340 Linux Driver
If the Arduino is connected correctly a new Com Port should show up in your Arduino IDE under Tools -> Port
Select the new Com Port . Also select as Board: “Arduino Nano” and Processor: “ATmega328”
Finally click on “sketch -> upload” to write the programm into the Arduino Nano. When it is finished the Display on the Spot Welder should show a low battery warning because the default low battery warning is set to 11V.