Arduino - Hello World

Hardware Required

1×Arduino UNO or Genuino UNO
1×USB 2.0 cable type A/B
1×(Optional) 9V Power Adapter for Arduino
1×(Recommended) Screw Terminal Block Shield for Arduino Uno
1×(Optional) Transparent Acrylic Enclosure For Arduino Uno

Or you can buy the following sensor kit:

1×DIYables Sensor Kit 30 types, 69 units
Please note: These are Amazon affiliate links. If you buy the components through these links, We will get a commission at no extra cost to you. We appreciate it.

Quick Steps

  • Connect Arduino to PC via USB cable.
  • Open Arduino IDE.
  • Select Arduino board
Arduino IDE - How to select Arduino board
  • Select Arduino serial port (number may be different)
Arduino IDE - How to select com port
  • Type the following code
void setup() { // put your setup code here, to run once: Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: Serial.println("Hello World!"); delay(1000); }
  • Click Upload button on Arduino IDE to upload code to Arduino
Arduino IDE - How to Upload Code
  • Open Serial Monitor by clicking the Serial Monitor icon
Arduino IDE - How to open serial monitor
  • See the result on Serial Monitor:
COM6
Send
Hello World! Hello World! Hello World!
Autoscroll Show timestamp
Clear output
9600 baud  
Newline  

Modifying Arduino Code

  • Replace “Hello World!” by any text, for example, “Arduino Get Started”.
  • Upload the code to Arduino
  • See the result on Serial Monitor
COM6
Send
Arduino Get Started
Autoscroll Show timestamp
Clear output
9600 baud  
Newline  

Video Tutorial

We are considering to make the video tutorials. If you think the video tutorials are essential, please subscribe to our YouTube channel to give us motivation for making the videos.

Function References

Congratulations!
You have just successfully taken the first step on the Arduino learning journey. Go ahead!

The Best Arduino Starter Kit

※ OUR MESSAGES