A library for Arduino to control BLVD20KM which is a brushless motor controller of Oriental Motor.
To use BLVD20KM in 115200bps via RS485 modbus, set switch 2 like this
No | State | Role |
---|---|---|
1 | OFF | Baudrate |
2 | OFF | Baudrate |
3 | ON | Baudrate |
4 | OFF | Not used |
5 | ON | Use Modbus Protocol |
6 | OFF | Not used |
7 | ON if the BLVD02KM is end of RS485 chain | End point register |
8 | OFF | Address upper bit |
Baudrate configuration
No1 | No2 | No3 | Baudrate |
---|---|---|---|
OFF | OFF | OFF | 9600 |
ON | OFF | OFF | 19200 |
OFF | ON | OFF | 38400 |
ON | ON | OFF | 57600 |
OFF | OFF | ON | 115200 |
Switch 3 means address of motor driver. If you use multiple motor, set different address for each motors.
No | Role |
---|---|
1 | NC |
2 | GND |
3 | TR+ |
4 | NC |
5 | NC |
6 | TR- |
7 | NC |
8 | NC |
Arduino | Uart to RS485 | BLVD20KM |
---|---|---|
None | A | TR+ (LAN 3) |
None | B | TR- (LAN 6) |
TX1 | DI | None |
RX1 | RO | None |
D3 | RE | None |
D2 | DE | None |
VCC | 5V | None |
GND | GND | GND (LAN 2) |
I checked connection with using SparkFun Transceiver Breakout - RS-485.
See example project and header file.
MIT
- BLVD20KM manual list ja en
- BLVD20KM
- ArduinoでRS-485に対応する
- CRC16を計算する