This is Aotenjo Master board firmware repository. It controls the motors with the CAN protocol.
Features
- STM32G431CB (128KB Flash, 32KB RAM, 170MHz)
- CAN (up to 1Mbps)
- USB type C
Install this repo
git clone https://github.com/aotenjo-xyz/master.git Install dependencies(SimpleCanLib)
mkdir Libraries
cd Libraries
git clone https://github.com/yuichiroaoki/SimpleCanLib.git
git checkout CANSendByteDirectory structure
├── Libraries
│ └── SimpleCanLib
└── master
├── include
├── lib
├── LICENSE
├── platformio.ini
├── README.md
├── src
└── testM<motor<id>A<target>
e.g. Set motor 1 position to 6.28 rad
M0A6.28
M<motor_id>P
e.g. Get motor 1 position
M0P
ESTOP
Format
make format
