odroid_go:arduino:01_arduino_setup

Getting started with Arduino


Follow this guide to build the Arduino examples.
First, you have to install Arduino IDE for ESP32, not the existing Arduino. Then setup the Board configuration for ODROID-GO.

You have to install following IDE for ESP32, not the existing Arduino.

There are official step-by-step guides for the supported platforms which are maintained by community members.

Using the Arduino IDE Library Manager

Not working yet
We're going to release the ODROID-GO libraries soon.

https://github.com/arduino/Arduino/wiki/Library-Manager-FAQ#how-can-i-add-my-library-to-library-manager

- Run the ESP32 Arduino IDE
- Choose Sketch → Include Library → Manage Libraries…
- Search ODROID-GO and install the library.
- Reload the Arduino IDE

Windows

Execute a Git Bash program from the Start Menu and enter the following commands.

host
git clone https://github.com/hardkernel/ODROID-GO.git $USERPROFILE/Documents/Arduino/libraries/ODROID-GO

Linux

Open a Terminal by pressing CTRL-ALT-T and enter the following commands.

host
git clone https://github.com/hardkernel/ODROID-GO.git ~/Arduino/libraries/ODROID-GO

macOS

Open a Terminal from the launcher and enter the following commands.

host
git clone https://github.com/hardkernel/ODROID-GO.git ~/Documents/Arduino/libraries/ODROID-GO

Arduino IDE has to know which board will be used for compiling and sending a data.
Select Tools → Board → ODROID ESP32.


Arduino IDE has to know which port the device is connected to.
The port number depends on your system.
You might need to installCP2104 VCP drivers on your host computer if you can't open the serial port.

Windows


Select Tools → Port: “COM#” → COM#.

Linux


Since ODROID-GO always connects to the host PC via USB cable, select a USB device file.
Select Tools → Port → /dev/ttyUSB#.

Now you're ready to write your source code.
To learn how to write source code, please refer to this guide: Hello World.

  • odroid_go/arduino/01_arduino_setup.txt
  • Last modified: 2019/01/11 10:16
  • by john1117