With this online tool, users can write and save their sketches in the Arduino Cloud, making them accessible from anywhere with an internet connection and a browser. But to program Arduino boards directly using the web editor we need to install the Arduino Create Agent on the PC.
This article explains steps required to install the Arduino Create Agent on a PC.
Content for this Article:
Install Arduino Create Agent
To install the Arduino Create Agent on PC first we have to login to Arduino Web Editor. After that we can set up and download the Arduino Create Agent on the PC.
Sign In to Arduino Web Editor
Before using the editor, first set up the Arduino account.
Step 1: The first step to accessing the Arduino Web Editor is to open a web browser and search for it by name. It is recommended to use Google Chrome, although other browsers may work as well or click here to open the Arduino Web Editor.
Step 2: Now create an account using Google, Facebook, or other login credentials, or if you have already registered, then simply click on the “Sign in” option.
Step 3: After creating an account we can see an interface which is similar to an IDE. Arduino Web Editor also allows us to compile and upload sketches to Arduino boards, install libraries and manage different boards.
Downloading Arduino Create Agent
Now that we have set up our Arduino account, the next step is to download the Arduino Agent system.
Step 1: After opening the editor a new message will be prompted that asks us to download and set up the Agent on the PC. Without Arduino Agent serial communication cannot be established with Arduino boards. To proceed further click learn more.
Step 2: Now a new window will ask the Agent whether it is previously installed in the system or not. If the Agent was installed, then its color must be Black/Green. If the Grey color is shown right click and resume it.
However, it is recommended to install it again as it will refresh all old files. Now select INSTALL THE AGENT.
The Arduino Create Agent can be found in the system tray or the window search bar if you already had Agent installed.
Click Resume Agent if the Agent was not functioning properly due to any reason.
The Agent color must be Black or Green. If Grey color is shown, try to resume it again using the step above.
Note: You may need to disable anti-virus for Agent files if it does not work properly.
Now we will move towards the steps if we need to install the agent from scratch.
Step 3: Connect Arduino board to begin Agent installation.
Step 4: The Agent installation window will pop up on the browser. Click Start.
Step 5: Select the window operating system bit. Also, the Arduino editor can detect it automatically. Click Download to proceed further.
Step 6: Agent files will begin downloading in the browser.
Installing Arduino Create Agent
After successfully downloading, open it to install.
Step 1: Open download directory and double click the Agent file then select run as administrator.
Step 2: Click Next.
Step 3: Accept license agreement and click Next.
Step 4: Choose the installation directory or go with the default address.
Step 5: If you want to upload code from browsers other than chrome/Firefox then click Yes. Otherwise click No and proceed.
Step 6: Click Next to continue installation.
Step 7: After successful installation click Finish.
Step 8: A new window will open after Agent installation which will ask for permissions to install some necessary drivers. Click Yes to complete Arduino Create Agent installation.
Step 9: If the Agent was installed successfully the following message will appear. Click Next to continue.
Step 10: Now click Go to the web editor.
Uploading LED Blink Program
To verify the Arduino Create Agent installation we will upload a LED blink program.
Step 1: Connect Arduino board, the Arduino Editor will automatically detect the board type and COM port at which your board is connected.
Step 2: Now open the examples section in the editor.
Step 3: Open LED blink example by going to: Examples>Built In>Basics>Blink
Step 4: LED blink sketch will open in the new window click upload button.
LED Blinking Output
After uploading a sketch to board the built in LED will start to blink.
Our first program has been successfully uploaded using Arduino Web Editor.
Conclusion
The Arduino Web Editor is an excellent alternative to the Arduino IDE, as it offers all the features required for programming Arduino boards. To program an Arduino board using a web editor the Arduino Create Agent must be installed and working in your system. Follow the outline steps of this Article to program your board using the cloud IDE.