DIY encoder

More
06 Oct 2024 18:26 #311422 by russkinch
DIY encoder was created by russkinch
Hi all. Thanks for all the advice given over the many years. I have scrapped my recently purchased 1000ppr encoder (some good advice given here) and gone back to my old DIY 60 slot disc. It worked perfectly for screw cutting before. BUT!!!! I have lost my wiring diagram and serious need help. Its a 60 slot disc with a LM393 opto sensor. This was working perfectly before but I cannot remember how I wired it. (good example of why documentation and drawings are IMPORTANT). So, I have the Chinese BOB and the pins are 10 for index, 11 for A and 12 for B. The LM393's are powered via the 5V and GND from the board. Then A0 from the LM393 to the pin. But......it needs something to the input pin ground and I cannot remember how I got this working before. I am almost complete with this lathe and this is the last step. Any help is much appreciated

Please Log in or Create an account to join the conversation.

More
06 Oct 2024 18:37 #311424 by tommylight
Replied by tommylight on topic DIY encoder
Pictures of the LM393 board?

Please Log in or Create an account to join the conversation.

More
06 Oct 2024 18:45 - 06 Oct 2024 19:53 #311426 by russkinch
Replied by russkinch on topic DIY encoder
Hi,

Here we go. They worked perfectly before for me. I could screw cut at 1200 rpm easily.
Any help is appreciated. Just need to know what pin to what pin. I currently have BOB +5v to LM393 vcc. BOB gnd to LM393 gnd. and D0 to pin 10. Lights come on, lights blink when slots are recognisded, but nothing in Linuxcnc, both halscope and hal port test
Attachments:
Last edit: 06 Oct 2024 19:53 by russkinch.

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum