SETTING UP

We will now learn how to use a computer (Arduino Nano) to control an LED. 
If you have not gone through UNDERSTANDING THE BASICS I strongly recommend you do so. 
You should also have Downloaded the Arduino IDE, if not, download it here – LESSON 3 (CODING).
Programming languages are collections of words and rules, we as humans use to talk to computers. The 2 most important for robotics is Python and C++. We will be using C++, it can be very frustrating and confusing when you start, that’s normal. 
 
Follow the Set Up Instructions here so we can start coding.

STEP 1

Plug the USB cable into TURL-X as shown, and the other end into your computer.

STEP 2

Open the Arduino IDE. This is what you should see

STEP 3

Go to TOOLS (top left), choose  Arduino Boards, choose Arduino Nano. As shown Below.

STEP 4

Go to TOOLS, choose Port, then choose the port connected to your Arduino. Here mine is COM3 but yours could be CH340. If you are not sure, unplug the Arduino and see which port disappears. Plug it back in and choose that one. If you still struggle, you may not have installed the CH340 Driver, follow the instructions in this link CH340 Driver (it is at the end of the page). 

STEP 5

Go to Processor, Choose ATmega328p (Old Bootloader). Double check it is the Old Bootloader!

Everything is now Set Up and we can start coding.