Skip to content

matthieuvigne/STS_servos

Repository files navigation

Arduino STS_Servos driver

arduino-library-badge ci status badge

feetech_sweep_demo.mp4

A library to drive Feetech's STS smart servos - in particular the STS 3215. This low-cost servo offers very interesting properties at a quite cheap price (approx. $20 at 2024-10-05):

  • Stall torque 19kg.cm
  • Running speed 50rpm @ 7V.
  • 360° servo mode - plus multiturn and step mode
  • Open and close loop velocity commands
  • Position, current and temperature sensors

This library was made mostly with simple, "Hello World" applications in mind. Thus, its high-level API only provides access to the main, basic functions. However, all commands and registers are exposed, thus more complex applications can be easily written from it.

Example

To debug STS servo control, official interface board, FE-URT-1, is essential. You can change Servo ID with this board.

The I/F board has pins to communicate with a micro-controller. The following table shows sample connections between ESP32 and the I/F. SimpleSweepWithInterfaceBoard.ino is a sample sketch to drive a STS servo. The video in this README is results of this sketch.

ESP32 -- FE-URT-1
5V -- 5V
GND -- GND
32 (RX) -- RXD (Silk)
26 (TX) -- TXD (Silk)

About

Arduino library for Feetech's STS smart servo

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages