An open API service indexing awesome lists of open source software.

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

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)

Aotenjo One

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)