Skip to main content

Software Installation

Connection

  • Install the shield on the Arduino Mega 2560;
  • Connect the shield to the OrbiX constructor network via a standard cable;
  • Connect the Arduino Mega 2560 to a personal computer with a standard USB Type B cable;
danger

When connecting the Arduino to the computer, make sure that the external power supply to the designer is turned off

Instructions for installing the library for the interaction of OrbiX and Arduino

  • Install the latest version of ArduinoIDE;
  • Install the CAN library via the built-in manager. Sketch → Connect Library → Manage libraries (in the search for a manager, search for "Supports Microchip MCP2515 based");
  • Find the libraries folder in the ArduinoIDE directory and unzip the archive with the UnicanArduino library. The library File → Examples → UnicanArduino will appear in the IDE;
  • The UnicanArduino library contains an example of LEDUNICAN, which shows the implementation of LED control on a PN board via Arduino via Houston. _API of the unican library used in the example is located at the root of UnicanArduino/API.txt.
tip

Before downloading the program to Arduino, you need to change the board type in ArduinoIDE: Tools → Board → Arduino Mega or Mega 2560. In the same place, select the COM port to which the Arduino is connected.