As Gene pointed out, the typical Chinese BOB for sell uses optocouplers on the input/outputs. The reason this is done is to prevent damage to the mothership should a short or another nasty occur on the far end of the connection. I’ve not tried his suggestion of bypassing them, but I have tried three different BOB variations and each provided the same results with my encoder.
On Sun, May 24, 2020 at 7:32 PM andy pugh <[email protected]> wrote: > On Mon, 25 May 2020 at 00:17, R C <[email protected]> wrote: > > > I have been following this thread. I wrote some code that runs on an > > RPI that can read a quadrature encoder, I have a few of them, with > > different resolutions. > > Is this something different to the normal LinuxCNC software encoder > that reads GPIO? > Is there some dedicated encoder counter hardware on the Pi? > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > > > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
