UC2 Logo OpenUC2 Online Tool

A Web Serial interface to control a UC2 ESP device using your browser.

Microscope Webcam Livestream
Timelapse Settings

Snaps Taken: 0

Hardware Control

Light Source / PWM Control
Slider only active when the channel is On. Range: 0–1023.
Motor Control
Each axis moves in steps. Axis mapping: A=0, X=1, Y=2, Z=3.
LED Array
Enable Motors
Once enabled, the motors will remain powered even after movement.
Pair with PS4 Controller
Advanced Motor/Driver Control
TMC Stepper Driver
Only relevant if using CAN-based motor drivers. Axis: 0=A, 1=X, 2=Y, 3=Z.

CAN Address
Hint: MASTER=256, X=273, Y=274, Z=275, A=272

Homing
Serial Terminal

Port Status: Disconnected


# TMC Act
{"task":"/tmc_act", "msteps":16, "rms_current":700, "sgthrs":15, "semin":5, "semax":2, "blank_time":24, "toff":4, "axis":2}

# CAN Act
{"task":"/can_act", "address":256}  // MASTER=256, X=273, Y=274, Z=275, A=272

# Home Act
{"task":"/home_act", "home":{"steppers":[{"stepperid":2,"timeout":20000,"speed":15000,"direction":-1,"endstoppolarity":0}]}}

# Motor Act
{"task":"/motor_act","motor":{"steppers":[{"stepperid":1,"position":4800,"speed":30000,"isabs":0,"isaccel":0,"accel":100000}]}}