Appearance
WEEK 15 – Interface and Application Programming
Assignments
Group Assignment
- Compare as many tool options as possible
Individual Assignment
- Write an application that interfaces a user with an input &/or output device that you made
Group Work
Our group work is accessible HERE (add the link)
Individual Work
FROM MY INTIAL WEEK 11 !!!...
Individual Work
(Add general introduction about the intent of this week's work)
Arduino Cloud Platform Configuration
1. Account Registration and Login
Visit the official website of Arduino Cloud and register an account. I create my account using my Google ID.
Click "Discover Cloud"

Click "Getting Started for Free"

Click "Create your account"

In my case, click the "Google" button

Select my prefered Google account and define my username

Done 😃 "LET'S GET STARTED" 😉 😉 😉

2. Register and connect a Device
Click "New Device"

Apply Cloud Blink "Via Serial (USB)", this connects the Device to a computer via USB to update through the Arduino Cloud - Note: we need to use Google Chrome if we wish to connect via Bluetooth instead

As advised, install the latest Arduino Cloud Agent by clicking "INSTALL"






Connect my board to my computer via USB port

First trial with the XIAO ESP32-S3... It doesn't work 😦 - with this easy/quick setup I have followed, I can only use specific Arduino boards as specified in the picture below.


Second trial with the Arduino UNO R4... It works 😃




Connect to my mobile phone - Enter SSID and Password


3. Testing the Dashboard with Arduino UNO R4 Wi-Fi
- From Dashboard on my laptop... Switch on/off the LED 😃


SUCCESSSSSSS!!! 😃 😃 😃
- From Dashboard on my mobile phone... Switch on/off the LED 😃

SUCCESSSSSSS!!! 😃 😃 😃
Test with my PCB board Xiao ESP32-S3
1. Create New Project
To create a New Project in Arduino Cloud, select "Things" on the left bar menu, and then click the "+THING" button on the top right corner.

Rename the Project with a relevant name


2. Define my Variables
To define my Variables in my project ("my Thing"), select the "Variables" icon (1) on the left bar menu, and click the "+VARIABLE" button (2) on the top right corner. Then, select the appropriate type of variable, give it a name (3), set the parameters (4&5), and click "CREATE" (6).


My first variable is defined:

Repeat the same actions to create all my other variables: (Obstacle, PushButton, StepMotor/ LED)

3. Device Registration and Set-up (Xiao ESP32-S3)
Select the "Associated Device" icon (1) on the left bar menu, and click "New Device" (2). Then, click on "Compatble Device" (3). Select "ESP32" (4), in the drop-down menu "XIAO_ESP32S3" (5), and click the "CONTINUE" button (6). Give a Name to the device (7) - e.g. Cristal (in my case).



Set-up Device: Save the "Device ID" and "Secret Key" by downloading the file (1) to my laptop, tick the box "I have saved the Device ID and Secret Key" (2), and click the "CONTINUE" button (3).


4. Data Visualisation: Dashboard
Select the "Linked Dashboards" icon (1) on the left bar menu, and click "+BUILD DASHBOARD" (2).

Add my first Widget component: Click "ADD" (3) and select the appropriate Widget component (4) - e.g. Push Button (in my case). Then, click the "Link Variable" button (5) and select the "PushButton" variable in the available list (6) and click the "LINK VARIABLE" button (7). Click the "DONE" button (8) to conclude this first Widget.




Repeat the same actions to add all my other Widgets, and rearrange the layout and size if necessary:


