An STM32 HAL demo of a half-duplex UART communication with the SCS15 Feetech (AKA SC15 Waveshare) servo drive.
The SC15 servo from Waveshare seems to be a rebranded SCS15 servo produced by Feetech - you can use manuals and examples from both companies to write your own library. I cannot share here a complete implementation for STM32 because writing the missing part is the lab exercise 😇 The demo code is written as a blocking one. One of the tasks is to rewrite the library into a non-blocking one (_IT, _DMA, _ReceiveToIdle).
Don't worry 🙂 Just hit Alt-K to generate /Drivers/CMCIS/ and /Drivers/STM32L4xx_HAL_Driver/ based on the .ioc file. After a couple of seconds your project will be ready for building.
- OLED: stm32-ssd1306 (MIT license)
- Yet Another Terminal :: Serial Communication :: Engineer/Test/Debug - check Terminal --> Settings --> Binary setting 🛠️
- USB to UART converter (Waveshare)
- Feetech manuals EN (Synthiam)
- Feetech manuals CH (Feetech)
- Synthiam support page (Synthiam)
- SCS15 memory control table (Synthiam)
- SC15 17kg Large Torque Programmable Serial Bus Servo (Waveshare)
- SC15 Servo (Waveshare)
- ST/SC serial bus servo control library (Arduino IDE) (Waveshare)
- SC series servo sample demo (Arduino IDE) (Waveshare)
- How to Communicate using Single Wire || Half Duplex Mode (ControllersTech)
- STM32 UART Half-Duplex (Single Wire) Tutorial & Examples (DeepBlueMbedded)
- How to use 1-wire Protocol to interface DS18B20 (ControllersTech)
- Understanding UART (Rohde Schwarz)
Use it/them in one of your projects. For example, build a robotic acrobat similar to Swinging Monkey by Antons Mindstorms. And here is my take on it. The SCS15/SC15 servos can be bolted to LEGO Technic/Mindstorms bricks without any machining or 3D printing - probably a coincidence but a pretty handy one 😎
Create your own home laboratory/workshop/garage! Get inspired by ControllersTech, DroneBot Workshop, Andreas Spiess, GreatScott!, ElectroBOOM, Phil's Lab, atomic14, That Project, Paul McWhorter, and many other professional hobbyists sharing their awesome projects and tutorials! Shout-out/kudos to all of them!
Warning
Automation and control engineering - do try this at home ❗
190+ challenges to start from: Control Engineering for Hobbyists at the Warsaw University of Technology.
Stay tuned!