Setting up the PC
Getting to know the Arduino IDE
Download and install the Arduino IDE from:
- the Microsoft Store (quicker install) - https://www.microsoft.com/store/productId/9NBLGGH4RSD8
- or from the Arduino website https://www.arduino.cc/en/Main/Software (pick the latest version)
Once the software has been installed on your computer, go ahead and open it up. This is the Arduino IDE and is the place where all the programming will happen. Take some time to look around and get comfortable with it.
- Menu Bar: Gives you access to the tools needed for creating and saving Arduino sketches.
- Verify Button: Compiles your code and checks for errors in spelling or syntax.
- Upload Button: Sends the code to the board that’s connected such as Arduino Uno in this case. Lights on the board will blink rapidly when uploading.
- New Sketch: Opens a new window containing a blank sketch.
- Sketch Name: When the sketch is saved, the name of the sketch is displayed here.
- Open Existing Sketch: Allows you to open a saved sketch or one from the stored examples.
- Save Sketch: This saves the sketch you currently have open.
- Serial Monitor: When the board is connected, this will display the serial information of your Arduino
- Code Area: This area is where you compose the code of the sketch that tells the board what to do.
- Message Area: This area tells you the status on saving, code compiling, errors and more.
- Text Console: Shows the details of an error messages, size of the program that was compiled and additional info.
- Board and Serial Port: Tells you what board is being used and what serial port it’s connected to.
Connect your Arduino
At this point you are ready to connect your Arduino to your computer. Plug one end of the USB cable to the Arduino Uno and then the other end of the USB to your computer’s USB port.
Once the board is connected, you will need to go to Tools then Board then finally select Arduino Uno.
Next, you must tell the Arduino which port you are using on your computer.
To select the port, go to Tools then Port then select the port that says Arduino.