The first step to seeing 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").

The Serial Connection Manager

MegunoLink can receive data from many serial ports, Ethernet UDP ports and XBee devices. The Connection Manager is used to manage the active connections.

Open a Connection Manager by selecting it from the visualizer tool, Visualizers docker, or start page. By default, you will see a single serial connection. You can change the port and baud rate of the connection. 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.

Serial Connection Manager

Make a serial connection to your Arduino with the Connection Manager visualizer

Connect to the port by clicking the Connect button.

Each serial connection has a name: Arduino Uno, in the screenshot above. It is especially useful to help you remember what is connected to each port if you have many serial devices connected. If you were working on a wireless project, for example, you could have one connection to the transmitter and one to the receiver. To add additional connections, click on the Add Connection button on the connection manager’s toolbar.

Check out the main documentation page for more information about the Connection Manger, including making connections to Ethernet/UDP and XBee devices.

The first step to seeing 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").

Connection Manager

Open a Connection Manager using the Visualizer menu. The connection manager lets you edit serial connection properties.

Connecting a Visualizer to a Serial Source

Visualizers — such as monitors, plots and tables — take data received by a serial connection and present it in different forms. The simplest visualizer is a Monitor, which shows the raw data received by MegunoLink.

Open a Monitor visualizer using the menu on the main toolbar, the start page, or the Visualizers window docked to the right side of the MegunoLink window.

Select the connection used by the Monitor, or any visualizer, by clicking on the arrow at the end of the Connection Selector on the toolbar of any visualizer. Select the connection you want from the menu. You can also connect and disconnect from the selected port by clicking on the Connection Selector button.

Each serial connection can be used by any of the other visualizers. 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.

Select a Serial Connection

Select the connection used by a visualizer with the Connection Selector drop down menu

Recent Posts

Leave a Comment

Start typing and press Enter to search