The Arduino IoT Cloud is an online platform that allows users to create, deploy, and monitor IoT projects. It provides a user-friendly interface for configuration, writing code, uploading, and visualization.
Steps:
(1)Create an Arduino Cloud account using your Google account or use one of these accounts:
Arduino Create 1. UN: ardcre1@aceraschool.org PW: Neopixel
Arduino Create 2. UN: ardcre2@aceraschool.org PW: Neopixel
Arduino Create 3. UN: ardcre3@aceraschool.org PW: Neopixel
Arduino Create 4. UN: ardcre4@aceraschool.org PW: Neopixel
Arduino Create 5. UN: ardcre5@aceraschool.org PW: Neopixel
jonathandietz27@gmail.com #AceraIOT123
(2)Sign in to create.arduino.cc
(3) Add a Device (Arduino)
Find Device( Nano ESP 32)
Configure- get name
Save Device and Secret key
Continue-Done
After configuring a device, we can create a Thing, which is the virtual twin of your board. Here we configure network details, select device we want to associate and create the variables that we want to synchronize.
Give it a name- "My Weather Station" etc.
Define cloud variables:
Sensor Values( integer (i.e. 24) or floating point( i.e. 25.73)- typically read only, at intervals
Switches(boolean)- read/write on change
Alarm Indicators(boolean) -read/write on change
Use camelCase to name variables
Add Network Credentials: Wifi Name, Password, Secret Key
ArduinoStudent , daisyJet91
(5)Create a Dashboard to display values and switches
Give the dashboard a name
Edit- add numeric indicators, associate with cloud variables
Choose from switches, sliders, RGB picker, message box, gauges and much more to create dashboards. Dashboards are not linked to a specific Thing/device, meaning you can control many different boards from the same dashboard.
If desired, create a Trigger to Send an Email using boolean alarm indicators
(6)Edit Sketch- includes
Secrets Tab( Wifi name and password, secret code)
Thing Properties tab
Read me tab
Main Tab: This is where you decide what you want to create, and what data you want sent to the Cloud- update your previous code to update the cloud variables defined in the Thing Properties tab. Test connection using fixed numbers.
(7) Upload Sketch
Arduino Create Log-Ins(Free Accounts):
(2) Add a Device
(3)Create a Thing with variables
(4)Create a Dashboard
(5) Create a Trigger:
(6) Edit Sketch in Cloud Editor:
Below: In Loop section, give cloud variables values, using the sensors.
In the absence of a sensor, one could assign random numbers to the cloud variables:
void loop() {
delay(2000);
humidity= random(30, 80);
temperature= random(20, 40);
pressure= random(900,1100);
ArduinoCloud.update();
}