In servers, IPMI is common, on PCs, Pi-KVM (IP-KVM) is common(?), and on BPI-R4, Console is very common.
Can I easily debug and repair the BPI-R4 remotely via UART (TTL)?
A convenient solution is provided here.
We use HC-06(Slave) Bluetooth module to connect to the console of BPI-R4.
One side of the HC-06(Slave) Bluetooth module is UART (TTL), and the other side is Bluetooth serial protocol.
We can pair computer Bluetooth with the HC-06(Slave) Bluetooth module.
After pairing, our computer can connect to the HC-06(Slave) Bluetooth module, and it will be directly mapped to a Bluetooth serial port.
- prepare a HC-06(Slave) Bluetooth module。
HC-06 has two modes: master and slave.
We need the slave mode version.
There are different versions of HC-06 power supply voltage, some only support 3.3v, and some support 3.3v ~ 6v.
To avoid wrong connection, it is recommended to buy the 3.3v ~ 6v version.
- setup HC-06(Slave) Bluetooth module.
Setup HC-06 as 115200, 8N1.
Rename HC-06 and change PIN code.
- connect to the BPI-R4 board.
HC-06(Slave) Vcc connect to Left Top PIN(3.3v Power) of BPI-R4 GPIO Header.
HC-06(Slave) GND, TXD, RXD connect to G, RX, TX of BPI-R4 Console.
HC-06(Slave) RXD - BPI-R4 Console TX.
HC-06(Slave) TXD - BPI-R4 Console RX.
4. pair the computer Bluetooth with HC-06.
Search and pair HC-06(Slave).
- Connct it and use minicom to display BPI-R4 Console.
minicom -D /dev/rfcomm0 |
Now, we can directly operate the BPI-R4 Console via Bluetooth.