Skip to content

QuickStart

This walkthrough uses a Teensy 4.1, but it works similarly with other compatible boards.

Upload a Sketch from the Arduino IDE

  1. Connect your Teensy board to the PC with a USB cable.
  2. In the Arduino IDE, open File > Examples > ViewPoint > Cartesian > HelloPlotter.

    Arduino IDE with the HelloPlotter example open

    Read through the example comments if you want to understand the test behavior before uploading.

    HelloPlotter is the “Hello, world!” of ViewPoint

    HelloPlotter is our recommended first test. The sketch uses the ViewPoint default configuration and streams one live trace labeled A0.

  3. Choose your exact Teensy board model using the top dropdown, then select the Teensy USB serial port from the board and port selector.

    Arduino IDE board and port selector

  4. Click Upload Upload button and wait for the compile and upload process to finish.

Teensy 4.1 bootloader button and USB connector
Bootloader button and USB Mini cable connection

The sketch contains additional details on use with other MCUs (e.g., Arduino and ESP32).

Open ViewPoint and Connect to the Teensy

  1. Close the Arduino Serial Monitor and Serial Plotter if either is open.
  2. Open ViewPoint.
  3. Open the Settings panel by clicking the gear icon Settings gear in the top left.
  4. In the Serial Port section, click the port button (the top button) and choose the Teensy device. The correct port will clearly say “PJRC: Teensy” or “Teensyduino: Teensy”.

    ViewPoint Settings panel, Serial Port section

    Select the Teensy device from the port list, then close the panel.

    Selecting the Teensy 4.1 port

  5. Click Connect Connect button.

Note

Because the Teensy 4.1 runs emulated serial over USB, specific serial parameters are unused.

The Connect/Disconnect icon looks like a plug: a red means no active connection, while a green checkmark means an active connection. The Play/Pause button stops and starts streaming without disconnecting from the serial port.

Disconnected Connected
Disconnected and paused icons Connected and playing icons

Confirm the First Live Plot

HelloPlotter live burst waveform in ViewPoint

If nothing is connected to A0, the signal will usually show floating analog noise. That is still a valid first-pass test, because it confirms that data is being streamed from the Teensy into ViewPoint.

For a more obvious changing signal, see Signal Input Requirements first, then connect a signal generator, potentiometer, or sensor to A0 and watch the plot update in real time. Once you've added the “ADC” library to your Arduino libraries folder, SignalAnalyzer_A0 is a more robust live-signal example that offers 800 kSPS and 400 kHz bandwidth in both the time and frequency domains.

Mind your input levels

Depending on your MCU, use 3.0 Vpp with a 1.65 V offset and 50 Ω termination. See Signal Input Requirements before connecting a function generator.