OK I will go then for PRU encoder. I tried to find example in https://github.com/machinekit/machinekit/blob/master/configs/ARM/BeagleBone/CRAMPS/CRAMPS.hal but I could not find it and I cannot see how it should be configured.
Any example? On Thu, Oct 27, 2016 at 4:15 PM, Charles Steinkuehler < [email protected]> wrote: > On 10/27/2016 7:28 AM, Klemen Zhivko wrote: > > From example posted by Charles > > (https://github.com/cdsteinkuehler/machine- > configs/blob/master/motorctrl/hardware.hal > > <https://github.com/cdsteinkuehler/machine- > configs/blob/master/motorctrl/hardware.hal>), > > I see: > > > > # 9/25 strobe - not connected > > # 9/27 B in - Hall sensor pin A - white > > # 9/41 index - not connected > > # 9/42 A in - Hall sensor pin B - yellow > > > > Does this means encoder expects wires on those pins and I cannot change > that > > anyhow? > > If you are using the hardware encoder modules (eQEP), they have very > specific pins that must be used. > > > I wonder if they are available on Cramps hat? > > The CRAMPS board was not designed to work with encoders, so you will > have to do some soldering (see the previous thread). > > Another option would be to use a PRU based encoder. This also has pin > restrictions, but you can use any PRU dedicated input pin, some of > which are available on the CRAMPS SPI expansion header and are already > protected against 5V signals. > > -- > Charles Steinkuehler > [email protected] > > -- > website: http://www.machinekit.io blog: http://blog.machinekit.io github: > https://github.com/machinekit > --- > You received this message because you are subscribed to a topic in the > Google Groups "Machinekit" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/machinekit/fAXkekPmHR8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > Visit this group at https://groups.google.com/group/machinekit. > For more options, visit https://groups.google.com/d/optout. > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
