common:android_things:relay_board

'ODROID-N2' on this page refers to the ODROID-N2 series (N2, N2+, N2L).

Android Things with Relay Board

  • ODROID-C4
  • ODROID-N2
  • ODROID-M1
  • ODROID-M1S
target board Device Tree Overlay config file path
ODROID-N2/C4 /odm/env.ini
ODROID-M1/S /fat/config.ini
Pin Number Name Usage
11 Ch0 Relay Board Channel 0
11 Ch1 Relay Board Channel 1
33 Ch2 Relay Board Channel 2
35 Ch3 Relay Board Channel 3

Create the Project

  1. Start Android Studio & Select “Get from VCS”.
  2. Insert the repository url “https://github.com/xiane/thingsGpioExample” and clone it.

Building && Uploading

  1. Select the Relay4ch from Run Configurations menu.

  2. Connect otg cable to the ODROID Board.
  3. Select a target board and run.
  • common/android_things/relay_board.txt
  • Last modified: 2023/11/17 16:24
  • by luke.go