⇤ ← Revision 1 vom 20.01.2016 11:40
1110
Kommentar:
|
1162
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 23: | Zeile 23: |
Read from BL-addresses (0x51, 0x53, 0x55, ...) in this order | Read from BL-addresses (0x51, 0x53, 0x55, ...) -> the lower bit means: read now The date comes in this order |
I2C bus protocol for BL-Ctrl
This describes the I2C-Protocol for the brushless controller
The I2C-protocol is compatible to BL-Versions 2&3
Setpoint
- Setpoint: just write the setpoint (0-255) to the BL-Ctrl
- if you use higher resolution, just send the lower bits as second byte:
BL-addresses
- 1 = 0x50
- 2 = 0x52
- 3 = 0x54
- 4...
reading
If you read from the BLs:
Read from BL-addresses (0x51, 0x53, 0x55, ...) -> the lower bit means: read now
The date comes in this order
- current
- state
- Temperature
- rpm (BL V3 only)
voltage (BL V3 only) Note: only low-byte -> if lower than 60, just add 255 -> '5' would be 25,5V+5 = 26,0V
state
For the state:
- 255 = motor running
- 254 = motor running and operating in redundant mode
- 250 = BL V2 ready for operation
- 248-249 = BL V3 ready for operation
- 40 = starting motor
- 39 = motor start failed
- 1-20 = error in selftest