D dmta Member Jun 4, 2013 #1 Hi all, Does anyone have an application note or a sample code on how to configure and read speed/position from the QEI module in PIC 18FXX31???????? Regards
Hi all, Does anyone have an application note or a sample code on how to configure and read speed/position from the QEI module in PIC 18FXX31???????? Regards
Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member Jun 5, 2013 #2 I wrote my own Quadrature encoder.. Is that the output from the encoder.
D dmta Member Jun 5, 2013 #3 Hi Ian thank you for the reply !!!!!!! The output from the encoder is 200 counts per rev with phase A, B and an Index pulse.
Hi Ian thank you for the reply !!!!!!! The output from the encoder is 200 counts per rev with phase A, B and an Index pulse.
Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member Jun 5, 2013 #4 I don't use an Index signal.... Just the quad input. The small pic is just a state machine to determine motion and direction.
I don't use an Index signal.... Just the quad input. The small pic is just a state machine to determine motion and direction.
Mr RB Well-Known Member Jun 5, 2013 #5 Microchip have appnotes for the inbuilt quadrature encoder module. Check the Microchip page for the PIC "PIC 18FXX31" datasheet, down the bottom will be lots of PDFs including special appnotes.
Microchip have appnotes for the inbuilt quadrature encoder module. Check the Microchip page for the PIC "PIC 18FXX31" datasheet, down the bottom will be lots of PDFs including special appnotes.