The first step to viewing, plotting or sending serial data in MegunoLink is making a serial connection.

The most common connection is a serial port over a USB cable. This is the connection used with the Arduino Serial library for commands such as Serial.println("Hello").

Quick Start

  1. Use the Connection Manager Visualizer to create and configure connections.
  2. Link connections to Visualizers using the Connection Selector on visualizer toolbars.

The Connection Manager Visualizer

The Connection Manager is the Visualizer used to manage connections. You can make connections using:

Data and commands sent through the connection will be displayed by all the visualizers linked to the connection.

Creating a Connection Manager Visualizer

Open a Connection Manager by selecting it from the visualizer tool or docker.

By default, you will see a single serial connection. MegunoLink supports multiple connections; simply select the type of connection you would like to add from the Add Connection menu.

A new panel will be added for each connection. The panel lets you configure the connection.

Connection Manager

Open a Connection Manager using the Visualizer menu. Use the Connection Manager to add and configure connections to your Arduino.

Configure the Serial Connection

Use the connection’s panel in the Connection Manager visualizer to configure connections.

For a serial connection you can set:

  • Name: the name of the connection. It is to help you keep track of multiple connections and can be anything you like. The name is displayed in the connection selector shown on visualizer toolbars.
  • Port: the COM port the Arduino is connected to
  • Baud rate: the baud-rate your Arduino is using. Make sure that the baud rate selected matches the value set when your Arduino program calls Serial.begin(9600). The most common value is 9,600 baud.
  • Connect/Disconnect: opens and closes the the connection to your device.
  • Reset: restarts the program running on the Arduino for supported devices.
Arduino serial connection

Configure the serial connection to your Arduino with the Connection Manager visualizer

Linking a Visualizer to a Serial Source with the Connection Selector

The Connection Selector is used to manage visualizer connections. It can be found in the toolbar at the top of every visualizer. Each visualizer processes data and commands for the selected connection.

Select the connection linked to a visualizer by clicking the arrow to open the Connection Selector drop down. Select the connection you wish to use from the list of available connections.

Click the Connection Selector button to connect and disconnect the serial connection.

select serial connection

Link a connection to a visualizer by opening the Connection Selector

make a serial connection

Click the Connection Selection to open and close the serial connection.

Each serial connection can be used by any visualizer. You don’t need to create a separate connection for each visualizer. This lets you quickly change the physical COM port a connection uses without updating each visualizer separately.

Start typing and press Enter to search