Hiwonder Arduino Set Environment Development Installation Guide

June 11, 2024
Hiwonder

Hiwonder Arduino Set Environment Development Installation Guide

Set Environment Development1. Arduino Software Installation

Arduino IDE is a software specially designed for Arduino microcontroller withpowerful function. No matter which versions, the installation process are thesame.

  1. This section takes Arduino-1.8.12 windows version as example. 1) Enter the Arduino official website to download:
    https://www.arduino.cc/en/Main/OldSoftwareReleases#1.0.x

  2. After downloading, double click “arduino-1.8.12-windows.exe”.

  3. Click “I Agree” to install.

  4. ) Select all the default options, and then click “Next” to come to the next step

  5. Click “Browser” to select the installation path, and then click “Install”

  6. Wait for the installation to complete

  7. If the installation of chip driver is prompted, click “Install”

  8. After the installation is completed, click “Close”.

2. Software Description

  1. After opening the software,the home interface of Arduino IDE is as following:

  2. Click “File/Preferences” to set the sketchback of IDE projects, the font size, the display line numbers according to your person preference in the pop-upwindow

  3. The home interface of Arduino IDE is mainly divided into five parts, whicharetool bar, project TAB, serial port monitor, code edit area, debug prompt area.
    The distribution is as follow:

  4. Tool bar contains some shortcut keys for the commonly used functions, asthe following table:

2.Library File Import Method

  1. Take library “U8g2” needed by OLED display as example. The importing methodis as follow:
    Double click to open Arduino IDE.

  2. Click “Sketch” in menu bar, and then click “Include library” -> “Add .ZIPLibrary…”

  3. Find U8g2.zip in dialog, and then click “Open”.

  4. Return to IDE home interface. When the prompt “Library added to your libraries. Check “Include library” menu” appears, it means that library has beenadded successfully.

  5. ) After adding, the following operation does not need to add repeatedly

4. Compile and Upload Program1)

  1. Connect UNO development board to computer with USB cable, and thenconfirm the corresponding port number of the UNO development board. Right
    click “This Computer” and click “Properties-> Device manger”

  2. Double click Arduino IDE.

  3. Write the program in the blank area, or open the programfile with thesuffix .ino. Here we directly open the program in .ino format as exampletoillustrate
    If you can not see .ino extension name in the suffix of file, you can click “View->File
    extension name” in “This computer”.

  4. Then confirm the selection of the development board and port. (Select
    Arduino/Genuino UNO for the development board. Here select COM17port as example. Each computer may be different and you just need to select corresponding port according your computer. If COM1 port appears, it is generally a communication port but not the actual port of the development port.)

  5. Click icon in toolbar to compile program. Then wait for the prompt “Donecompiling” in the lower left corner to complete the compiling

  6. After the steps above are completed, you can upload the programintoArduino. Click “Upload”( ) . When the prompt “Done uploading” appearsin the lower left corner, it means that the upload is completed.
    After the program is downloaded successfully, Arduino will automatically execute the downloaded program (The program restarts when power is reconnected or the chip receivesa “reset” command

Read More About This Manual & Download PDF:

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals