Arduino Nano 33 IoT - Hello World

This guide teaches you how to create your first program with the Arduino Nano 33 IoT. You will learn how to set up the Arduino Nano 33 IoT so it shows "Hello World" on the Serial screen.

Hardware Preparation

1×Arduino Nano 33 IoT
1×Micro USB Cable
1×Optionally, DC Power Jack
1×Breadboard
1×Jumper Wires
1×Recommended: Screw Terminal Expansion Board for Arduino Nano
1×Recommended: Breakout Expansion Board for Arduino Nano
1×Recommended: Power Splitter for Arduino Nano

Or you can buy the following sensor kits:

1×DIYables Sensor Kit (30 sensors/displays)
1×DIYables Sensor Kit (18 sensors/displays)
Disclosure: Some of the links provided in this section are Amazon affiliate links. We may receive a commission for any purchases made through these links at no additional cost to you.
Additionally, some of these links are for products from our own brand, DIYables .

Detailed Instructions

If you are new to the Arduino Nano 33 IoT, be sure to check out our Getting Started with Arduino Nano 33 IoT tutorial. Then, follow these steps:

  • Connect the components to the Arduino Nano 33 IoT board as depicted in the diagram.
  • Use a USB cable to connect the Arduino Nano 33 IoT board to your computer.
  • Launch the Arduino IDE on your computer.
  • Select the Arduino Nano 33 IoT board.
How to select Arduino Nano 33 IoT board on Arduino IDE
  • Select the Arduino Nano 33 IoT COM port (the number might be different).
How to select COM port on Arduino IDE
  • Enter the following code.
void setup() { // Initialize system settings; this code runs once at startup: Serial.begin(9600); } void loop() { // Execute the main routine continuously; this code runs repeatedly: Serial.println("Hello World!"); delay(500); }
  • Build and send your code to the Arduino Nano 33 IoT board by clicking the Upload button in the Arduino software.
How to upload Arduino Nano 33 IoT code on Arduino IDE
  • Open the Serial Monitor in the Arduino application.
How to open serial monitor on Arduino IDE
  • Look at the output on the Serial Monitor. It appears like this:
COM6
Send
Hello World! Hello World! Hello World! Hello World!
Autoscroll Show timestamp
Clear output
9600 baud  
Newline  

Modifying Arduino Nano 33 IoT Code

  • Change "Hello World!" to any text you like, for example, "Hello newbiely.com".
  • Build and upload the program to your Arduino Nano 33 IoT board by clicking the Upload button in the Arduino IDE.
  • Look at the output on the Serial Monitor. It should appear as shown below.
COM6
Send
Hello newbiely.com Hello newbiely.com Hello newbiely.com Hello newbiely.com
Autoscroll Show timestamp
Clear output
9600 baud  
Newline  

Video Tutorial

Language References

Great job!
Your first step is easy but very important. Keep going!

※ OUR MESSAGES

  • As freelancers, We are AVAILABLE for HIRE. See how to outsource your project to us
  • Please feel free to share the link of this tutorial. However, Please do not use our content on any other websites. We invested a lot of effort and time to create the content, please respect our work!