Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 3.71 KB

File metadata and controls

42 lines (31 loc) · 3.71 KB

Absolute encoder with RS-485 interface (STM32G431KB)

An STM32 HAL example of communicating with an absolute encoder over the RS-485 interface. A multi-turn 14-bit encoder from Same Sky (formerly/rebranded CUI Devices) is taken as an example. The relevant evaluation kit is AMT212D-V (2 Mbps data rate). A simple blocking mode is implemented.

Same Sky AMT21 in action

Missing files?

Don't worry 🙂 Just hit Alt-K to generate /Drivers/CMCIS/ and /Drivers/STM32G4xx_HAL_Driver/ based on the .ioc file. After a couple of seconds your project will be ready for building.

Hardware

Tools

DSLogic Plus in action

Tabby in action

RS-485

Call for action

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, RS Elektronika, and many other professional hobbyists sharing their awesome projects and tutorials! Shout-out/kudos to all of them!

Warning

Control in power electronics and drives - do try this at home ❗

190+ challenges to start from: Control Engineering for Hobbyists at the Warsaw University of Technology.

Stay tuned!