Link Search Menu Expand Document

How to connect Ubique Panel with an Arduino

Goals

  1. Assume Arduino is the main control board. The data collected by the Arduino board will be shown on the Ubique Panel.
  2. The Ubique Panel interacts with the users and takes commands from the users. The Ubique Panel then sends the communication to the Arduino for further actions.

Preparation

  1. ADE: Please download from IOT Website

  2. Arduino IDE: Please download from Arduino Website

Step 1: Download IOT Binary Protocol

  1. Please go to IOT Github

  2. Download the ZIP file

  3. Please follow README.md for setting up

Step 2: Open Arduino IDE

  1. Please create a file folder and name it demobox_arduino

  2. Download the ZIP file from Github

  3. Copy IOTBinaryProtocol.cpp and IOTBinaryProtocol.h from src to demobox_arduino

  4. Copy demobox_arduino.ino from examples to demobox_arduino

  5. In Arduino IDE, open demobox_aruino.ino from demobox_arduino

  6. Select Arduino Nano

  7. Use a USB cable to connect the Arduino Nano and the PC. Select the right processor and the serial port.

    • Please select the right processor. Should there be questions, please refer to Arduino Website.

    • If the serial port can not be found, please refer to ftdichip Offical Site to download the FT232 USB UART Driver.

  8. Please cliclk ⇨ to download the Arduino program.

  9. Disconnect the USB cable.

Step 3: Launch ADE

  1. Open demobox.epgz from the examples > ade folder.

  2. Connect the DC power cable with the Ubique Panel.

  3. Turn on the power.

  4. Use a USB cable to connect the Ubique Panel with the PC running ADE.

  5. In System Menu, please click Export…

  6. Disconnect the USB cable.

Step 4: Connect the Arduino board with the Ubique Panel

  1. Please connect the Arduino board and the Ubique Panel with a Dupont Connector

    • Arduino Nano must have its own DC power supply.

    • Ubique Panel’s connector has 2.0mm pitch.