Creating a new project
- Open My Projects and press Create Project, or use Quick search (Ctrl+K) → Create a new project.
- Pick the closest example: Temperature & Humidity, Smart Home: light, temperature, brightness, Smart Greenhouse, Smart Classroom, Complete Virtual Lab Example, or Build it yourself.
- Name the project. The summary box shows the widget token cost and your balance before the project is created.
- Follow the five steps in the project bar: 1 Device (choose a board) → 2 Data & Topics → 3 Program (test in the Virtual Lab) → 4 Dashboard → 5 Monitor Data (real device).
Tokens and widget cost
Tokens pay for dashboard widgets at the widget catalog price. Examples that add several widgets show the total in the wizard before you press Create Project. Deleting a widget does not refund tokens, so check the cost summary first.
GPIO pins and sensors
- The Smart Home example uses a DHT22 on GPIO 4, a light sensor (LDR, analog) on GPIO 34, and a lamp/relay on GPIO 18.
- The light value is an ADC reading from 0 to 4095 (not lux).
- Change pins in Data & Topics; the program blocks and wiring guide follow.
- Avoid GPIO 0, 2, 12, and 15 (boot pins) and GPIO 6–11 (flash). GPIO 34–39 are input-only.
Test in the Virtual Lab without hardware
On the Program tab press Test in Virtual Lab. The Virtual Lab opens in the same tab with a circuit built from the project pins and the program code kept in sync. Press Run to simulate; return to the project with the ← button at the top left.
Project code
Each project has an identity code (shown on the Overview) used in MQTT topics and device configuration. Keep it safe and use it only on this project's devices.
What a project contains
| Part | Example | Purpose |
|---|---|---|
| Project | Bedroom Smart Home | Holds devices, data, program, and dashboards. |
| Device | Bedroom ESP32 | The board that sends data and receives commands. |
| Data (variables) | temperature, lamp | Telemetry (sensor), command (actuator), or status. |
| Dashboard | Smart Home | Widget page to monitor and control. |
Next steps
- Connect a real board: Connecting a device.
- Write or assemble the program: Firmware Studio.
- Stuck? See the FAQ or email support@ruangiot.id.