The Experimental Case of the Introduction to the Internet of Things---Helloword Experiment

Case 02 Helloword experiment

  1. Purpose:

Make students master the principle of serial communication, use Arduino to write programs, compile and download programs.

  1. experiment equipment:

A computer with Arduino software installed, and a set of UNO development boards.

  1. Experimental effect:

 

  1. Experimental theory:

 

  1. Circuit Connection Diagram

 

  1. Experimental procedure:

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 word");

delay(1000);

}

After compiling and downloading the program, click Open to observe the experimental effect.

 

  1. Summary after class:

Make students master the principle of serial communication, use Arduino to write programs, compile and download programs.

Guess you like

Origin blog.csdn.net/m0_69311549/article/details/130573378