Experiment 4 Serial Port Communication

1,493

4

1

Introduction: Experiment 4 Serial Port Communication

The components used in this experiment are shown below:

The experiment needs only the Arduino board.

Step 1: Wire Diagram

Plug the Arduino to PC  through the USB port.

Step 2: Arduino Code

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

Be the First to Share

    Recommendations

    • Leather Challenge

      Leather Challenge
    • Build a Tool Contest

      Build a Tool Contest
    • Stone Concrete Cement Contest

      Stone Concrete Cement Contest

    Comments

    0
    dahmaneh
    dahmaneh

    6 years ago

    very good