I have a motor controller and I'd like to communicate with it using Arduino. I can communicate with the controller using a software and I used it to sniff some data from RS-232 commnunication and thoses are the data I received:
3A 30 38 35 30 46 45 31 36 42 31 43 44 3B -> :0850FE16B1CD; 3A 30 45 30 30 46 46 30 30 30 30 30 30 42 38 43 43 37 45 3B -> :0E00FF000000B8CC7E; 3A 30 45 36 30 A2 6F 01 B6 34 C1 B0 C1 2E B4 35 81 35 45 3B -> :0E60T.Áï./å&.AAD0; 3A 30 45 31 30 AA 74 71 34 01 41 01 34 63 4F 11 98 39 34 3B -> :0E10ªtq4.A.4cO.˜94; Each package corresponds to values displayed by the software:
:0850FE16B1CD; -> 16B1 = 5809 - Corresponds to controller hour meter :0E00FF300032FEA07A; -> 30 and 32 corresponds to 48V 50A :0E60T.Áï./å&.AAD0; -> probably the fault code :0E10ªtq4.A.4cO.˜94; -> probably the type of controller Update
I tried to simulate different fault codes:
3A 30 45 36 30 54 11 C1 EF 01 2F E5 26 01 41 41 81 44 30 3B ->> 230 ON NODE 5 3A 30 45 36 30 54 11 C1 EF 01 2F E5 26 01 41 01 C1 44 30 3B ->> 230 ON NODE 2 3A 30 45 36 30 54 12 C1 EF 01 2F E5 26 01 41 01 C1 43 46 3B ->> 231 ON NODE 2 3A 30 45 36 30 56 12 C1 EF 01 2F E5 26 01 41 41 81 43 44 3B ->> 251 ON NODE 5 3A 30 45 36 30 56 12 C1 EF 01 2F E5 26 01 41 01 C1 43 44 3B ->> 251 ON NODE 2 ^^ ^^ ^^ ^^ ->> change according to the number of the fault code 01 C1 ->> (Appears when node is 2) 41 81 ->> (Appears when node is 5) Different pattern:
3A 30 45 36 30 55 81 30 81 EF F0 A6 41 53 01 01 41 34 31 3B ->> 74 ON NODE 2 3A 30 45 36 30 51 41 30 81 EF F0 A6 41 56 01 01 41 38 32 3B ->> 30 ON NODE 5 3A 30 45 36 30 57 41 F0 81 EF F0 A6 41 53 01 01 41 42 46 3B ->> 66 ON NODE 2 Question:
Is it possible to reverse engineer those packages?