Open snigel opened 7 years ago
I plotted the values. http://i.imgur.com/icyJcDM.png
I'm not 100% convinced, then again, I haven't looked at duty cycle diagrams before and the bike is being slowly reved standing still, so I guess that jumpiness is expected.
I tried using 5 duty samples for averaging the value, it looks far more promising. http://i.imgur.com/KLwgh3M.png
I looked your values for doing a soft roll on with the engine on. If you don't have any other sensors than the PCV (autotune, speed, temp etc) value 3 & 4 may be the duty cycle.
Here are some values from your roll on, I have converted byte 3 & 4 to decimal.
throttle, rpm, duty cycle(?) 20 2029 707 20 1993 690 23 1975 687 29 1924 1537 41 1743 1392 57 1579 1313 74 1736 1144 91 2222 1277 100 2621 878 106 2650 2514 110 3252 1291 112 3539 1510 113 3930 2409 81 4315 880 21 4088 635 21 3550 713 20 3158 713 20 2831 245 21 2369 764 20 2053 731 19 1946 734 19 1748 651 21 1801 725 20 1757 694 21 1784 719 33 1834 763 55 1819 638 84 2056 1310 107 2518 1498 123 2704 1480 130 3134 1738 132 3514 1824 134 4022 1909 122 4565 952 28 4508 709 21 4122 719 21 3590 719 19 3118 719 19 2833 871 20 2360 788 19 2060 756 20 1973 705 19 1877 703
As you can see the value rises and falls with rpm and throttle, but not exactly the same.