Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] asking about encoder..external interrupts or counter???

2005-01-10 by MuRaT KaRaDeNiZ

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


Ridho Alpha <pendekar_ridho@yahoo.com> wrote:

hello

i use AVR for motor control, I use ATMEGA16. i ask for encoder which is made just from optocoupler "U" model.the output is pulses. What do you think how i can read the counter???counting process.the best solution?? Using External Interrupt?? Using Counter??? please give a clue....

 

thank you

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Yahoo! Groups SponsorADVERTISEMENT


---------------------------------
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 - Helps protect you from nasty viruses.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.