2. Arduino Tutorial

2.1 Resource download

Arduino information contains library files and project code ,please click to download for follow-up study.

Data download: Arduino

2.2 Software Download

Open the browser and search: https://www.arduino.cc/en/software, we will take WINDOWS system as an example to show you how to download and install.

image1

You just need to click JUSTDOWNLOAD,then click the downloaded file to install it. And when the ZIP file is downloaded,you can directly unzip and start it.

image2

2.3 Set Arduino IDE

Connecting the board to the computer,and select the development board and port.

image3

image4

  • A- Used to verify whether there is any compiling mistakes or not.

  • B- Used to upload the sketch to your Arduino boar.

  • C-Used to send the serial data received from board to the serial monitor.

Start your first program

image5

Clickimage6to start compiling the program, check errors.

image7

Clickimage8to upload the program, upload successfully.

image9

Upload the program successfully, the onboard LED lights on for 1s, lights off for 1s. Congratulation, you finish the first program.

2.4 Add Library

Open the Arduino IDE, follow [Sketch] → [Include Library] → [Add .zip Library]. This method can only import one library file at a time. If the product has multiple libraries, please import them one by one following this process!

image10

2.5 Project