https://github.com/aotenjo-xyz/one
Aotenjo One firmware
https://github.com/aotenjo-xyz/one
bldc-motor-controller canbus foc stm32
Last synced: 4 months ago
JSON representation
Aotenjo One firmware
- Host: GitHub
- URL: https://github.com/aotenjo-xyz/one
- Owner: aotenjo-xyz
- License: mit
- Created: 2025-03-04T08:10:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-17T15:35:14.000Z (11 months ago)
- Last Synced: 2025-07-17T17:57:27.139Z (11 months ago)
- Topics: bldc-motor-controller, canbus, foc, stm32
- Language: C++
- Homepage:
- Size: 1.46 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aotenjo One
This is Aotenjo One board firmware repository. It controls a gimbal motor and communicates with the main controller with the FDCAN protocol.
[Docs](https://aotenjo.xyz/docs/category/aotenjo-one) | [Shop](https://shop.aotenjo.xyz/products/aotenjo-one-v2-0)

Features
- STM32G431CB (128KB Flash, 32KB RAM, 170MHz)
- Closed loop FOC control
- FDCAN (CAN with Flexible Data-Rate)
- I2C, UART, SPI
- based on DRV8313
- 2.5A peak current
- 8-35V input voltage
- 14-bit magnetic encoder
- Emergency stop command
- VCC voltage sensing
## Install
Install this repo
```bash
git clone https://github.com/aotenjo-xyz/one.git
```
## Compatibility
This firmware is compatible with Aotenjo One v2.0 and later.
> [!WARNING]
> This firmware is not compatible with Aotenjo One v1.x.
If any board in the CAN network is an Aotenjo One v1.x or Aotenjo Master v1.x, **all boards must run the v1.x firmware** for compatibility.
In this case, even v2.x boards must be flashed with the v1.x firmware.
### Development
Format
```bash
make format
```
## References
- [Igitigit2/SimpleCanLib: CAN bus library for ESP32 and STM32 G431](https://github.com/Igitigit2/SimpleCanLib)
- [mackelec/meFDCAN: Arduino FDCAN library for stm32G4 microcontrollers](https://github.com/mackelec/meFDCAN)