Categories
Break This Glass

Microcontroller | 1

Checkbox 3

The board can run a basic program

To verify that the microcontroller works correctly, we must check if it can run a piece of software.

The simplest example of software that comes with Arduino is called Blink. This software turns an LED on for one second, then off for one second, repeatedly, and you can find it in the Examples > 01. Basics directory.

Using a web browser, go to the Arduino IoT Cloud Web Editor.

Once you are in the Web Editor, you can see the board that is connected to the computer – in this case, the Arduino MKR WiFi 1010 connected at port usbmodem141201. Yours may look differently. This means that the board is recognized and the Create Agent is working.

Checking that the board is recognised.

To test it out, upload the Blink example. This is done by navigating to Examples > 01. Basics > Blink as it is shown in the image below (steps 1, 2, and 3).

Selecting the Blink example.

To upload the software, click on the arrow in the top left corner of the editor. Do not disconnect the board during the upload phase.

Upload the sketch to the board.

Once the code is uploaded, there should be a message in the bottom of the editor saying:

Success. Saved on your online Sketchbook and done uploading Blink.

Looking at the board, the onboard LED should blink with an interval of 1 second.

Blink code running.