CubePilot
Where to buySupportArdupilotProducts
  • CubePilot
  • Licences
  • US Defence
  • Service Bulletins and Critical Notices
    • Safety/Service Bulletins
      • SB_0000001 Critical service bulletin for Beta Cube 2.1 (2016)
      • SB_0000002 Critical service bulletin for Cubes Purchased between JAN 2019 to JUL 2019. DO NOT FLY
      • SB_0000003 Flight with arming checks set anything other than 1 prohibited
      • SB_0000004 Limited power capacity of the RCIN power rail on Pixhawk Autopilots
      • SB_0000005 I2C Storm can cause inflight reboots, Chibios ONLY, not Nuttx (all cube and Pixhawk hardw
      • SB_0000006 time to Go Orange
    • Critical Notices
      • Powering Telemetry radios externally
  • Herelink
    • Herelink Overview
    • Herelink User Guides
      • Assembly and Connection
      • How To Update Firmware
      • Pairing, RC Calibration & Setup
      • Configure Modes & Mavlink Buttons
      • Configure Sbus Buttons & Wheel
      • Wireless Communication
      • Video and Data Sharing
      • Connecting to Mission Planner
      • Herelink 1.0 AirUnit to AirUnit instruction
      • System setting
      • Installing a custom app
      • OEM Image Setup
      • Generate a bug report
    • Herelink Accessories
    • Herelink QuickStart Guide
    • Herelink FAQ
  • HERE 2
    • Updating Here 2 Firmware
    • Here 2 CAN Mode Instruction
    • Here 2 Firmware Update Troubleshooting
  • Here 3
    • Here 3 Manual
  • Here+
    • Here+V2 User Manual
  • HERE 4
    • Here 4 Manual
    • Here 4 Base
  • HEREPRO
    • HerePro Manual
  • Autopilot
    • Cube Red
      • Specifications
      • Operating Conditions and Performance
      • Ports Standard and Definition
      • System Architecture
      • Carrier Board Information
    • The Cube Module Overview
    • The Cube User Manual V1.0
    • The Cube - Firmware Installation & Connection Troubleshooting
      • Installing Mission Planner
      • Installing Ardupilot
      • Installing Secure Firmware
    • Conducting the First Flight
      • Tips for New Pilots
    • The Cube FAQ
  • Carrier Boards
    • Cube Red Standard Carrier Board Pinout
    • Kore Carrier Board
    • ADS-B IN Carrier Board
    • Mini Carrier Board
    • Airbot Systems Mini Carrier Board
      • Airbot Systems Mini Carrier Board Set User Guide
    • EDU450 Carrier Board
    • Standard Carrier Board Footprint & Dimensions
    • Carrier Boards FAQ
  • Cube ID
    • Cube ID
  • CubeNode
    • Specifications
    • Functional Overview
    • Pin Descriptions
    • Footprint
    • CubeNode ETH
      • Specifications
      • Setting Up the Physical Connection between the Cube, CubeNode, and laptop/PC
    • Soldering a CubeNode onto a PCB
  • Switch
    • CubeLAN 8 Port Switch
  • FLOW SENSOR
    • Here Flow
  • ProfiLED
    • ProfiLED
  • Product Certificate
    • NCC Certificate
    • CE Certificate
    • UKCA Certificate
    • RoHS Certificate
    • FCC Certificate
    • IC Certificate
    • RCM Certificate
    • Material Safety Data Sheet - MSDS
    • EN 62368 CE LVD VOC Certificate
    • IEC 62368 CB Scheme Safety test Certificate
  • SOLO
    • Open Solo Installation
    • Open Solo
  • CubePilot Ecosystem
    • CubePilot Ecosystem Autopilot Wiring Diagram (Multilingual)
    • OEM Carrier Board
    • CubePilot USA
    • CubePilot Ecosystem MissionGO
    • CubePilot Ecosystem Doosan Hydrogen Zero Emission Vehicle
    • CubePilot Ecosystem Ardubee multipurpose platform
    • Silent Arrow
    • CubePilot Ecosystem Herelink
    • Acecore NOA, Cubepilot Ecosystem, and George Herelink, the right combination
    • CubePilot Ecosystem Inspired Flight IF1200A
    • CubePilot Ecosystem Here4
    • 2023 CubePilot Ecosystem Autopilot Wiring Diagram
    • CubePilot Ecosystem Cube ID
    • CubePilot Ecosystem Mission Planner
    • CubePilot Ecosystem BZB UAS ekoSKY
    • CubePilot Ecosystem 10th Anniversary of The Cube
    • CubePilot Ecosystem HerePro V2
    • CubePilot Ecosystem Mistral-Qualcomm MRD5165
    • CubePilot Ecosystem Precision Landing Air Test Operation (PLATO)
    • CubePilot Ecosystem Hionos
    • CubePilot Partners
      • SpektreWorks
      • RFDesign Pty Ltd
      • Vamatis
      • Airbot Systems
      • Bask Aerospace
      • HiTEC
      • uAvionix
      • LightWare
      • Gremsy
      • IR-Lock
      • Tattu
      • Mauch
      • T-MOTOR
      • APD
      • JAR Aerospace
      • BZB UAS
      • Kraus Hamdani Aerospace
      • Union Robotics
        • Meadowhawk 2
          • Meadowhawk 2 User Guide
            • TABLE OF CONTENTS
              • 1. GENERAL
              • 2. OPERATING LIMITATIONS
              • 3. EMERGENCY PROCEDURE
              • 4. NORMAL OPERATING PROCEDURES
              • 5. PERFORMANCE
              • 6. WEIGHT AND BALANCE EQUIPMENT LIST
              • 7. DESCRIPTION OF THE sUAS AND SYSTEMS
              • 8. HANDLING, CARE, AND MAINTENANCE
              • 9. SUPPLEMENTS
              • DISCLAIMER AND WARNING
              • LIMITATION OF LIABILITY
        • HereLink Blue
          • HereLink Blue User Guide
            • Air Unit
              • Air Unit Specifications
              • Air Unit LEDs
              • Air Unit Interface & Installation
            • Ground Station
              • Ground Station Specifications
              • Ground Station Buttons & LED
              • Ground Station Charging
          • UR/Solex TX App
          • Pairing & Calibration
          • Configure Buttons
          • Share Video Stream
          • Connecting to Mission Planner
          • Installing a Custom App
            • Installing QGC
          • Important Notes & Warnings
          • Update Firmware
          • Bug Report
          • HereLink Blue FAQs
      • Yates Electrospace Corporation
      • Hexsoon
        • Multirotor Frame
          • EDU-450
          • EDU-650
          • TD-900
          • TD-1100
  • Remote ID
    • France
  • 3D Printing
    • CubePilot product 3D model
    • Printable Camera Quad (Foldable)
    • Here 3 Istand
    • HerePro Istand
    • Kore Multi-Rotor Carrier Board Case
    • Hexsoon Multirotor Frame
  • Product Media
    • CubePilot Logos
    • Product Media Cloud Drive
  • OEM Carrier Board
Powered by GitBook
On this page
  • How to use CAN mode:
  • Using Ardupilot Firmware:
  • Allocating node ID method:
  • Using PX4 firmware:
  • How to use I2C mode:

Was this helpful?

  1. HERE 2

Here 2 CAN Mode Instruction

Last updated 3 years ago

Was this helpful?

Here2 Default factory setting is CAN mode with DroneCAN Protocol. Default Here2 CAN mode has three devices on CAN bus: GPS, magnetic compass, and barometer. The safety switch is not workable under CAN mode and the barometer is disabled in CAN mode by default. The barometer can be enabled by DroneCAN parameters setting.

How to use CAN mode:

Using Ardupilot Firmware:

Current official Ardupilot firmware (Copter3.6.7, Plane3.9.6 as well as previous versions) does not support Dynamic Node Allocator, hence user needs to allocate node ID to Here2 manually. The later released Copter3.7 firmware will support Dynamic Node Allocator, user only needs to set the parameters of their flight controller to use CAN mode.

Allocating node ID method:

For allocating node ID to Here2, user needs to use Cube as SLCAN (Serial port to CAN) device, and use the latest version of Mission Planner. At first, upgrade the MissionPlanner to 1.3.63 version, please go to the link: for downloading. Meanwhile the Cube which would be the SLCAN connector needs to be uploaded with copter3.7master firmware, firmware downloading link: . Connect the 4p CAN cable in Here2 with the CAN2 port in the Cube controller. Connect the cube to MissionPlanner 1.3.63version and select firmware upload, click on ‘upload custom firmware’ to upload the previously downloaded arducopter firmware.

After uploading successfully, click on ‘Connect’. Press Ctrl+L keys to enter into DRONECAN interface.

Click on ‘SLCan Mode CAN1’, then the information of Here2 device will show up. Click on ‘Parameters’ on the right side.

Pop up the parameters setting interface shown as the screenshot below, set the value of dronecan.node_id between 0 and 125. Click on ‘Writing parameters’, then click on ‘Commit Params’ to save the setting. With the above mentioned steps, manual Node allocation is completed. If the user would like to enable the barometer, it can be done by setting the value of BARO_ENABLE as 1.

After modifying the Node ID, the firmware and MissionPlanner can be changed into stable version.

Boot Cube controller and connect with MissionPlanner, enter into the MissionPlanner to change the parameters with corresponding values as follows:

CAN_D1_PROTOCOL:1 CAN_D2_PROTOCOL:1 CAN_P1_DRIVER:1 CAN_P2_DRIVER:1 GPS_TYPE:9 NTF_LED_TYPES:231

Writing the modified parameters, reboot the cube therefore the CAN mode can work properly.

CANBUS external compass will show up as the third compass with current Ardupilot firmware. Future firmware update will allow CANBUS external compass to be primary. Safety switch on the Here2 will not work under CAN mode. Modify the parameter BRD_SAFETYENABLE to 0 to disable the safety switch, or connect an external safety switch to GPS1 port.

Note: The later released Copter3.7 firmware will support Dynamic Node Allocator. To use the CAN mode user only needs to modify the parameters.

Using PX4 firmware:

Connect with CAN1 or CAN2 port. Connect with the controller to set the DRONECAN_ENABLE parameter as Sensors Automatic Config. The sensors should work properly.

How to use I2C mode:

Here2 also supports the traditional serial port + I2C communication. To use this mode, please disassemble the Here2 housing, Put the lever switch for CAN and Serial+I2C to Serial+I2C position shown as below.

Connect the here2 with GPS1 port of the Cube flight controller.

http://firmware.ardupilot.org/Tools/MissionPlanner/
http://firmware.ardupilot.org/Copter/latest/CubeBlack/