A simple I2C library for ESCs using the Blue Robotics version of SimonK's TGY firmware (https://github.com/bluerobotics/tgy). This library supports the BlueESC, but also the Afro Nfet 30A. I2C is an alternative interface for micro-controllers, rather than using PWM (as a servo) -- this provides some additional features like temperature level, RPM, etc.
Dependents: SimonK_I2C_ESC_Example
SimonK I2C Addresses
I2C Addresses Used by the ESCs¶
The provided library left shift's the 7bit i2C address for you, so that they are compatible with Mbed's way of doing things.
The default address (ESC 0) is 0x29 (41 in decimal). Each ESC after that (ESC 1, ESC 2, etc) is 0x29 + 1, 2, etc. Here is a full list of addresses for reference:
ESC # | Hex Address To Use | Decimal Address |
---|---|---|
1 | 0x29 | 41 |
2 | 0x2A | 42 |
3 | 0x2B | 43 |
4 | 0x2C | 44 |
5 | 0x2D | 45 |
6 | 0x2E | 46 |
7 | 0x2F | 47 |
8 | 0x30 | 48 |
9 | 0x31 | 49 |
10 | 0x32 | 50 |
11 | 0x33 | 51 |
12 | 0x34 | 52 |
13 | 0x35 | 53 |
14 | 0x36 | 54 |
15 | 0x37 | 55 |
16 | 0x38 | 56 |