Author |
Message |
Topic: DC Motor position using Rotary Encoder and PWM |
maryp
Replies: 23
Views: 46006
|
Forum: General CCS C Discussion Posted: Tue Jul 13, 2010 6:25 am Subject: DC Motor position using Rotary Encoder and PWM |
Thank you for your time and help, really appreciate it. Seems like the problem has been solved.
I assumed that being TTL, signals were already wee-bit noise-immune but even then, like I'd mentioned ... |
Topic: DC Motor position using Rotary Encoder and PWM |
maryp
Replies: 23
Views: 46006
|
Forum: General CCS C Discussion Posted: Fri Jul 02, 2010 9:43 am Subject: DC Motor position using Rotary Encoder and PWM |
I apologize if in my posts i sounded like i was blaming the code for my problems. I'm sure this code works very well like many other people have said and it sure helped me a lot. My code is just very ... |
Topic: DC Motor position using Rotary Encoder and PWM |
maryp
Replies: 23
Views: 46006
|
Forum: General CCS C Discussion Posted: Thu Jul 01, 2010 9:46 am Subject: DC Motor position using Rotary Encoder and PWM |
thank you.
seems like i need to read-up some more on encoders....
but besides that, link to the encoder datasheet:
http://www.beiied.com/PDFs2/L15_Incremental_Encoder.pdf
though this one has onl ... |
Topic: DC Motor position using Rotary Encoder and PWM |
maryp
Replies: 23
Views: 46006
|
Forum: General CCS C Discussion Posted: Thu Jul 01, 2010 6:35 am Subject: DC Motor position using Rotary Encoder and PWM |
Appreciate your response...
The encoder is a rotary optical 256-line incremental encoder with standard gray-code output. only 4 lines coming out of the encoder: A, B, +5 & GND. Seemingly, its no ... |
Topic: DC Motor position using Rotary Encoder and PWM |
maryp
Replies: 23
Views: 46006
|
Forum: General CCS C Discussion Posted: Wed Jun 30, 2010 3:27 pm Subject: DC Motor position using Rotary Encoder and PWM |
Thanks a lot for the explanation, though I'm seemingly having some problems getting that code to work perfectly- using PIC18F4550 with 40MHz clock. At a glance it looks like its working fine, but its ... |
Topic: DC Motor position using Rotary Encoder and PWM |
maryp
Replies: 23
Views: 46006
|
Forum: General CCS C Discussion Posted: Wed Jun 30, 2010 11:00 am Subject: encoder problems |
Could somebody PLEASE explain what the "#byte PORTB" & "#bit bchanged" statements do? I don't have the CCS compiler...
thank you. |
|