Don't ad-block us - support your favorite websites. We have safe, unobstrusive, robotics related ads that you actually want to see - see here for more.
0 Members and 1 Guest are viewing this topic.
Great idea, not to difficult to achieve at first glance but i imagine there may be more that i am some how missing
QuoteGreat idea, not to difficult to achieve at first glance but i imagine there may be more that i am some how missingyah and you can't beat it at 4 dollars an encoder. They worked great!I simply took datasheet dimensions of the photo interrupters and catered my code wheels and interrupter mounting to fit. I was able to make a 20Hz PID controller using these encoders. I actually just wrote a paper on the design and implementation. I'd attached it to this post but it about 10meg. I have since learned more about PID implementation. I have developed a pretty nice controller that can run on an atmega168 using an Output compare interrupt and two external interrupts. My latest build had the controller taking 37 us for the PID loop to complete. The software is currently running in the arduino environment but The code is pure c so I can easily port it to avr studio and post a copy if there is a need.
I am making an encoder wheel for the community project. I'll post and keep people updated with plans ,shematics, and 3D files which will be Sketchup and/or Auto Cadwhat do people think of this module idea?
I'll work on writing the code in a way that will not get too complicated (lots of comments and such). I'll probably post it in a day or two ok?
I also shoot to have the maximum ticks per PID cycle to be greater than my pwm resolution (0-255 for an 8 bit timer ).