Skip to content

aotenjo-xyz/master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aotenjo Master

This is Aotenjo Master board firmware repository. It controls the motors with the CAN protocol.

Aotenjo Master

Features

  • STM32G431CB (128KB Flash, 32KB RAM, 170MHz)
  • CAN (up to 1Mbps)
  • USB type C

Aotenjo Master Diagram

Install

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 CANSendByte

Directory structure

├── Libraries
│   └── SimpleCanLib
└── master
    ├── include
    ├── lib
    ├── LICENSE
    ├── platformio.ini
    ├── README.md
    ├── src
    └── test

Usage

Send target command to the motor

M<motor<id>A<target>

e.g. Set motor 1 position to 6.28 rad

M0A6.28

Get motor position

M<motor_id>P

e.g. Get motor 1 position

M0P

Emergency stop

ESTOP

Development

Format

make format

References

About

Aotenjo Master firmware

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published