Arduino Serial Monitor Print Example (Serial.println)
easySerial MonitorArduino (C++)
The Serial Monitor is how an Arduino talks back to you — essential for checking sensor readings.
The question
Start serial communication at 115200 baud and print "Hello from Arduino" on a new line every 1000 ms.
The sketch
sketch.ino
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.println("Hello from Arduino");
delay(1000);
}Wiring
No wiring needed — open the Serial Monitor.
How it works
- 1Serial.begin(9600) in setup() starts communication at 9600 bits per second.
- 2Serial.println() sends text followed by a new line.
- 3The Serial Monitor's baud rate must match the number in Serial.begin().
Common mistakes
- A baud-rate mismatch, which shows garbage characters.
- Forgetting Serial.begin(), so nothing appears at all.
Now solve a similar question yourself
A new Arduino question every time, checked instantly.
