-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I tried to connect my HC-05 / HC-06 Bluetooth module to my EBC-A20 tester so i can wirelessly use ZKETECHS EBTester Software.
I was also not happy with their Software but I didnt manage to compile @JOGAsoft pascal application for Windows (sadly no explanation on how to do this).
Anyways. Because i didnt want to reverse engineer the UART communication parameter myself i used @JOGAsoft parameter from EBC-controller source code:
Line 734 in ae13528
| Parity = pOdd |
It says the UART config is 9600 Baud, 8 bits, 1 Stopbit AND ODD parity. Short 9600 8O1.
However, the communication with my HC-05/HC-06bluetooth modules never worked and i didnt know why until i hooked up my Oszilloskop with UART decode function and it gave me the clue that ODD parity is wrong. Also this russian document apparently says its EVEN parity:
At least my EBC-A20 tester uses EVEN parity (9600 8E1).
Many TTL-UART-USB converters (like my Waveshare USB to RS232/TTL/RS485) still accept wrong parity settings nevertheless. Just both my HC-05 and HC-06 UART-Bluetooth modules did not.
I realized this after i notices the EBC-A20 tester accepted the connection telegram (FA 05 00 00 00 00 00 00 05 F8) and started sending something on the EBC-Testers Tx line. My HC-05 with 9600 8O1 setting did not accept it and didnt pass the reponse thru to my EB Tester Software on my Windows machine over Bluetooth (Bluetooth SPP).