chrispie
Published © MIT

A One-Axis Gimbal with the XIAO STM32C5 and a CAN Motor

The XIAO STM32C5's on-board IMU and CAN drive a BLDC motor: however you turn the base, the top keeps facing the same way.

IntermediateShowcase (no instructions)2 hours21
A One-Axis Gimbal with the XIAO STM32C5 and a CAN Motor

Things used in this project

Hardware components

XIAO STM32C5
×1
Unit RollerCAN
×1
2S LiHV/LiPo battery with an XT30 plug
×1

Software apps and online services

Zephyr RTOS
Zephyr Project Zephyr RTOS
PlatformIO IDE
PlatformIO IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Female DuPont pigtails

Story

Read more

Schematics

Wiring

RollerCAN XT30 (2+2): battery + / − on the power pins, XIAO CANH/CANL on CAN_H/CAN_L
RollerCAN Grove port: 5V and GND to the XIAO's 5V and GND (also the CAN ground)
XIAO's 120 Ω CAN termination: on (as delivered)

Code

Repo

Credits

chrispie
1 project • 0 followers

Comments