Arduino - Hello World

Hardware Required

1×Arduino UNO or Genuino UNO
1×USB 2.0 cable type A/B
Please note: These are affiliate links. If you buy the components through these links, We may get a commission at no extra cost to you. We appreciate it.
Or you can order electronic components from utsource.net

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 Arduino board
  • Type the following code
void setup() { // put your setup code here, to run once: Serial.begin(9600); Serial.println("Hello World!"); } void loop() { // put your main code here, to run repeatedly: }
  • 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!
    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.

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

If this tutorial is useful for you, please give us motivation to make more tutorials
We are available for hire. See how to hire us to code for you