TITAN Haptics Effects Terminal Firmware Flasher Documentation
Made by TITAN Haptics for
Haptics Industry Forum Logo

Vector Haptics Serial Terminal - Documentation

Getting Started

Browser Requirements

Recommended: Chrome or Edge browser for full Web Serial API support.
Not Supported: Safari (firmware flasher will not work)

Hardware Requirements

Connecting to a Device

  1. Connect your Vector Haptics device to your computer via USB
  2. Open the Effects Terminal or Firmware Flasher
  3. Click the Connect button
  4. Select your device from the system dialog
  5. The connection status will update to "Connected"

Using the Effects Terminal

Sending Commands

Building Custom Effects

  1. Click "Open Primitives Tool" to access haptic primitives
  2. Adjust parameters using sliders or input fields for:
    • Vibrate: Frequency, intensity, duration, and sharpness
    • Pulse: Intensity, duration, and sharpness
    • Tick: Intensity, duration, and sharpness
    • Pause: Duration for timing effects
    • ERM: Duration and intensity
  3. Click "Play" to test the effect
  4. Click "[+]" to append the primitive to your command
  5. Send the complete command when ready

Configuring Baud Rate

Select the appropriate baud rate from the dropdown menu. Supported rates: 9600, 19200, 38400, 57600, 115200 (default).

Haptic Command Syntax

The terminal uses a command-based syntax for controlling haptic effects. Commands are separated by semicolons.

Basic Commands

Command Syntax Description
Channel Selection CHNL 0; Selects channel 0 (required before other commands)
Vibrate vibrate <duration> <intensity> <frequency> <sharpness>; Creates a vibration effect
Pulse pulse <duration> <intensity> <sharpness>; Creates a pulse effect
Tick tick <duration> <intensity> <sharpness>; Creates a tick effect
Pause pause <duration>; Pauses execution for specified duration (milliseconds)
ERM erm <duration> <intensity>; Controls ERM actuator

Example Commands

CHNL 0; vibrate 100 1 250 1;

Single vibration effect on channel 0.

CHNL 0; vibrate 100 1 250 1; pause 500; vibrate 100 1 250 1;

Two vibration effects with a 500ms pause between them.

CHNL 0; pulse 6 1; tick 21 1; pause 500; pulse 6 1; tick 21 1;

Sequence of pulses and ticks with pauses.

Firmware Flasher

Flashing Firmware

  1. Open the Firmware Flasher page
  2. Click Connect to Device and select your device
  3. Review the firmware information in the table
  4. Click Flash Firmware to begin flashing
  5. Monitor progress in the console and progress bar
  6. Wait for the "Firmware flashed successfully!" message
Note: The firmware file (TITAN_CORE_DK_VH2.1.bin) is automatically loaded from the firmware directory. Ensure you have a stable connection during flashing.

Erasing Flash

To erase all data from the device flash memory:

  1. Connect to your device
  2. Click Erase Flash
  3. Confirm the action (this cannot be undone)

Configuring Baud Rate

For firmware flashing, select from: 115200, 230400, 460800, 921600 (default). Higher baud rates provide faster flashing but may be less stable.

Troubleshooting

Device Not Appearing

Connection Issues

Firmware Flashing Fails

Browser Console

For debugging, open the browser console (F12) to view:

Sample Effects

The Effects Terminal includes several pre-configured haptic effects:

Click any effect name in the terminal to send it to your connected device.

Additional Resources