Compiling and Updating Arduino Uno Software
This section describes how to compile and program my software onto an Arduino Uno board using the Arduino IDE.
​​
-
If you have an Arduino Uno clone that uses the CH340 USB-Serial IC, then you need to download and install these drivers.
-
Details can be found here: https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all​
-
-
Download and install the Arduino IDE: https://www.arduino.cc/en/software​
-
Open the Arduino IDE and open the project file that you downloaded from Github https://github.com/MJGNZ/NZHS_ANNEALER
-
Install the libraries needed for this project:​
-
Go to Tools > manage Libraries in the Arduino IDE
-
Start typing the library name
-
Find the library in the list below
-
Click install (it will install the latest version)
-
If there are other dependencies it wants to install, just select “Install All”
-
Repeat for all libraries: Adafruit SSD1306 • Adafruit GFX Library • DallasTemperature​
-
-
Go back to the main Arduino IDE window
-
You should now be able to compile the software. Click the "tick" button top left and it should build and give you a message like this "Done compiling". Check the compiler output window at the bottom of the screen and make sure there are no error or warning messages. It should look like the picture below if it compiled successfully.
-
In the Arduino IDE software go to Tools> Board and select "Arduino Uno" from the list
-
Plug the Arduino board into your PC with the USB cable
-
Next go to Tools> Port and select the highest number COM port (this is just a guess but the most likely)
-
Now just press the arrow button top left and it will compile and then upload the software. The window at the bottom will say "Done uploading" when it's finished. If this fails, then the port number selected could be wrong.
-
Unplug the USB and plug the Arduino Uno into the annealer baseboard and you're good to go.
​