Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 858 Bytes

ARDUINO_SERIAL.md

File metadata and controls

33 lines (19 loc) · 858 Bytes

Connecting arduino to Bot Box via serial port

  1. Arduino boilerplate is the simplest start with Bot Box.

  2. Setup .env file to use serial communication:

    output_mode = serial
    port_name = "/dev/serial0"
    baud_rate = 115200
    

    NOTE: if arduino connected via USB, port_name will be different.

  3. Create controls mapping for your robot in RoboPortal UI

    Assign key to one of control boxes:

    control

    And set key - value:

    form

  4. Enable widgets required for your robot:

    widgets

  5. Connect arduino over the Serial port and start Bot Box.

  6. Open your robot, widget panel should look like this:

    widgets_panel