- Thu Jul 29, 2021 9:42 pm
#52146
So i've decided to have a go at the Renix 44-2-2 & 66-2-2-2 decoder. (the post originally said 44 tooth only but i got carried away, did the 66 and have had to come back and edit this!)
Due to the fact the 44 teeth on the trigger wheel don't nicely divide into 360 degrees I'm having to do a tiny fudge. Basically if you try to use every tooth you end up 0.1818 degrees out on the first tooth, that error increases every tooth. The solution is to find the teeth that line up nicely. This gives you eight teeth in total. Four at 0, 90, 180 & 270 degrees that are perfectly aligned. We then have 40.909090 degrees later we have another tooth. I've decided 0.1 degrees is close enough to give us an 8 tooth decoder.
(Technically you could add another 4 teeth using the same logic than less than 0.1 degrees accuracy is ok but the positioning doesn't I believe add to the solution).
I don't have one of these trigger wheels so i'll need some willing testers to have a play with it shortly. Please comment on this thread if you're interested in being involved. You will have to compile the code yourself (instructions are in the wiki and I'll provide a link).
No promises I'll finish this - I did say I wasn't doing any more trigger patterns till the winter to work on my car but I seem to have got carried away tonight.
Due to the fact the 44 teeth on the trigger wheel don't nicely divide into 360 degrees I'm having to do a tiny fudge. Basically if you try to use every tooth you end up 0.1818 degrees out on the first tooth, that error increases every tooth. The solution is to find the teeth that line up nicely. This gives you eight teeth in total. Four at 0, 90, 180 & 270 degrees that are perfectly aligned. We then have 40.909090 degrees later we have another tooth. I've decided 0.1 degrees is close enough to give us an 8 tooth decoder.
(Technically you could add another 4 teeth using the same logic than less than 0.1 degrees accuracy is ok but the positioning doesn't I believe add to the solution).
I don't have one of these trigger wheels so i'll need some willing testers to have a play with it shortly. Please comment on this thread if you're interested in being involved. You will have to compile the code yourself (instructions are in the wiki and I'll provide a link).
No promises I'll finish this - I did say I wasn't doing any more trigger patterns till the winter to work on my car but I seem to have got carried away tonight.