กลับไปหน้ารวมไฟล์
getting-started-with-nano-33iot-and-blynk-faf8c3-en.md

Why did I decide to make it?

I wanted to create and then to share this project for other peoples like me who want to start manage this type of products, in particular to begin controlling remotly some objects. Since I was in this situation, when I bought the Nano 33IoT, I want to gives other people a starting point to gain confidence.

About this project.

So in this project we will to see how turn on/off a simple LED remotly with Blynk. Blynk is a simple app that allows us to control objects connected to our boards.It is really flexible, has a beautiful user interface, works with all kinds of IoT platforms, and runs on both Android and iPhone.

Hardware

For this project we will use Nano 33 IoT that handle wifi connection, 2 LEDs (green, red), 2 resistors (560 Ohms) and some wires.Power is supplied through the USB cable.That cable can go to your computer when programming or to a plug-in USB power supply when in use as a weather station.

Software

For the software that will run on the arduino board is also very easy to get, because we will take it from the sketch examples. First of all open the Arduino IDE. Select tools->ManageLibraries. Then search and install Blynk library.

At this point open File -> Examples. Find Blynk -> Boards_Wifi and select Arduino_MKR1010. With this sketch we can connect the board to the WIFI through WIFI NINA. But Blynk does support WiFiNINA, which is used by the Nano 33 IoT and several other Arduino processors. So adding these two includes solved that problem: #include and #includeManageLibraries and install WIFI NINA. At the end verify and upload the sketch to NANO 33IoT.

Then insert the auth code, and wifi credentials (ssid, password). I will explain the auth code in the next paragraph and how we can get it.

Blynk side

Now we can go on with the project on Blynk. Open the application on your smartphone, insert your data to create an account and then create a new project.

Insert a ProjectName then select ArduinoNANO as device and touch CREATE. Now you are in an empty page, touch the button '+'. From the list select Button. Here you can move it everywhere and change the size but now make a simple tap to the icon and it will open its configuration sheet. Insert D2 as pin output, set up to SWITCH and then you can go back and we finished the configuration.

Once you have created the project blynk sends you by email an authentication token that you must put in your arduino sketch and it needs to identificate your project on the blynk server.

After preparing your Nano 33 IoT touch the PLAY top right icon on Blynk. At this point when you touch the button on the smartphone, the led should change its state.

EXPANDED TECHNICAL DETAILS

Cloud-Based IoT Control

This project introduces the Arduino Nano 33 IoT, a board designed specifically for secure internet-connected projects.

  • SAMD21 Architecture: Features an ARM Cortex-M0+ processor and an onboard WiFi module. The Arduino connects to the Blynk Cloud using a secure AUTH token.
  • Virtual Pin Mapping: Instead of physical pins, the code uses "Blynk Virtual Pins" ($V0, V1, etc.$). This allows you to create sliders, charts, and buttons in the Blynk mobile app that interact directly with the Arduino's code.

Real-World Usage

  • Over-the-Air Monitoring: View a live line-graph of your room's temperature on your smartphone or toggle your lights while you are miles away from home, proving the power of a modern IoT ecosystem.

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

title: "Getting started with Nano 33IoT and Blynk"
description: "We begin to enter the world of the IoT, starting to remote simple LEDs."
author: "Cristiaaa"
category: ""
tags:
  - "remote control"
  - "internet of things"
views: 4254
likes: 2
price: 1120
difficulty: "Easy"
components:
  - "1x Through Hole Resistor, 560 ohm"
  - "1x Arduino Nano 33 IoT"
  - "1x 5 mm LED: Red"
tools: []
apps:
  - "1x Blynk"
  - "1x Arduino IDE"
downloadableFiles:
  - "https://projects.arduinocontent.cc/19e88f51-bbc2-454d-a33c-57d9df8d9df0.ino"
documentationLinks: []
passwordHash: "540af267d0eba5a73742d2a81d85f0336af8f3e0a8497de586a3b19176207f1e"
encryptedPayload: "U2FsdGVkX1+zCHMMkpKARSaVDSPGaJeEZ8Yy2gL047F09DqSANnbGedjAP8ZygH0zF/3eUc3EY52+ChSFw3ATaKpHtR6k2pHD5x2nhUztj0="
seoDescription: "Learn how to get started with Nano 33IoT and Blynk to control LEDs remotely in the world of IoT."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/getting-started-with-nano-33iot-and-blynk-faf8c3_cover.jpg"
lang: "en"