กลับไปหน้ารวมไฟล์
iot-cloud-getting-started-6eb6c2-en.md

The Native IoT Solution: Arduino IoT Cloud

For years, makers had to struggle with 3rd party APIs like Blynk or ThingSpeak to get data on their phones. The Arduino IoT Cloud is Arduino's official, integrated platform. It automatically writes 80% of the complicated network C++ for you.

button_led_basic_interaction_1772681969235.png

The Cloud Variable Architecture

The magic of the platform is "Cloud Variables".

  1. The Website Configuration: You log into the Arduino Create platform. You declare a variable online: int temperature. You assign it a "Read" status.
  2. The Auto Generation: The website automatically generates an entire .ino sketch for you. In the background, it handles the Wi-Fi credentials connection, the SSL cryptography, and the MQTT handshake servers.
  3. Your Only Job: You open the sketch on your PC. Inside the loop, you simply type: temperature = dht.readTemperature();.
  4. That's it! Because that variable is synced to the cloud, the instant that number changes on the physical board, the gauge widget on your web dashboard across the world updates in real time!

Bi-Directional Control

It works exactly the same in reverse.

  • You create a variable online: bool CloudLight (Read & Write).
  • You create an ON/OFF Switch widget on your browser dashboard.
  • In your Arduino sketch, the auto-generated code gives you an empty function: void onCloudLightChange() { }.
  • You insert digitalWrite(LED_BUILTIN, CloudLight);.
  • Every time you click the switch on the website, it instantly executes that function on your physical board.

Seamless Hardware Integration

  • Required: An official Arduino Nano 33 IoT, MKR WiFi 1010, or an ESP8266 / ESP32 (The cloud explicitly supports 3rd party ESP chips natively now!).
  • An active Wi-Fi connection router.
  • The free Arduino Cloud account.

ข้อมูล Frontmatter ดั้งเดิม

title: "IoT Cloud - Getting Started"
description: "The official Arduino cloud! Step-by-step guide to linking an internet-capable Arduino to the official 'Arduino IoT Cloud' platform to create instant global web dashboards."
category: "Wireless & IoT"
difficulty: "Easy"