Skip to content

ZoreAnuj/STS3215

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Feetech STS3215 Servo Monitor and Visualizer

A Python tool for real-time monitoring and visualization of Feetech STS3215 servo parameters (position, speed, load, voltage, temperature) over a serial connection.

Features

  • Real-time plots for position, speed, voltage, and temperature for up to 6 servos
  • Color-coded lines for each servo
  • Rolling 10-second window for live data
  • Pause/resume live update with the spacebar
  • Robust to communication errors and missing data
  • Debug output for troubleshooting

Requirements

  • Python 3.7+
  • Feetech STS3215 servos (or compatible)
  • USB-to-serial adapter

Installation

  1. Clone this repository or copy the files to your machine.
  2. Install dependencies:
    pip install -r requirements.txt

Usage

  1. Connect your servos to your computer via a USB-to-serial adapter.

  2. Run the monitor:

    python read.py --port COM5

    Replace COM5 with your serial port (e.g., /dev/ttyUSB0 on Linux).

  3. Optional arguments:

    • --baudrate 1000000 (default: 1000000)
    • --ids 1 2 3 (specify servo IDs)
    • --debug (enable debug output)

image

Troubleshooting

  • If only position updates, check your servo model and wiring.
  • If speed/load/voltage/temperature are always zero, check the register map and power supply.
  • Use --debug to see raw communication data.
  • If you get shape mismatch errors in the plot, update to the latest code.

License

MIT

About

Feetech Servo Viz tool

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages