Experiment 4 Serial Port Communication

by pcduino in Circuits > Arduino

1773 Views, 4 Favorites, 0 Comments

Experiment 4 Serial Port Communication

1.png
The components used in this experiment are shown below:

The experiment needs only the Arduino board.

Wire Diagram

2.png
Plug the Arduino to PC  through the USB port.

Arduino Code

1.png
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println(“Hello World!”);
delay(1000);
}
Observe the output using a serial terminal console.