Hello Randy & Zonya, Here is quadrature encoder decoding code in assembly. I use one external interrupt for a encoder and handle both the rising and falling edges of one encoder signal ( one of A or B ). This translates to 2x resolution. If you have a single motor and the other external interrupt is free for use, you can listen to both encoder signal for both edges which will give you 4x resolution. Regarding to my software YahooGroup Agent on my site, lately i found a bug in it and suspended its download. I'll inform you when I fix it. Regards Murat Karadeniz http://www.onlinefavbar.com/mukas/ Randy & Zonya Ledyard <rledyard@bigfoot.com> wrote: Murat I would be interested in that code for the quadrature encoders decoding - assembly is fine By the way, I was on your website, and tried to download the YahooGroup Agent program, but it won't download - can you check that? Randy -----Original Message----- From: MuRaT KaRaDeNiZ [mailto:karademu@yahoo.com] Sent: Monday, January 10, 2005 2:51 PM To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] asking about encoder..external interrupts or counter??? I use At90s8535 in a motor controller board I designed. Look at: http://www.onlinefavbar.com/mukas/index.htm?electronics.htm I use external interrupts to increment/decrement the software counters. If you are interested I can give you the quadrature encoder decoding code in assembly. regards Murat Karadeniz --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/AVR-Chat/ To unsubscribe from this group, send an email to: AVR-Chat-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less.
Message
RE: [AVR-Chat] asking about encoder..external interrupts or counter???
2005-01-13 by MuRaT KaRaDeNiZ
Attachments
- No local attachments were found for this message.