LinuxCNC connecting lathe encoder signals to LPT port

Sdílet
Vložit
  • čas přidán 11. 01. 2021
  • #LinuxCNC#DIY
    Hey! Today short answer for a question from a comment! How to connect encoder to LPT
    Instagram: / quick_engin
  • Věda a technologie

Komentáře • 25

  • @Nordic_Goon
    @Nordic_Goon Před rokem

    I'll probably be referencing this soon. I use one of these bobs on a cnc router using a 7i92m, but plan to do a similar setup but for a Chinese lathe I have. So I should be able to use the 0-10v optoisolated to the factory motor control board in place of the potentiometer for speed control and then wire the encoder up the way you have here. I'll be using pncconf though, not stepconf.

  • @hosseinashkboos5188
    @hosseinashkboos5188 Před 2 lety

    very helpful thank you.

  • @TechBuild
    @TechBuild Před 3 lety

    Nice work. Thanks for sharing.

    • @jatseq
      @jatseq  Před 3 lety +2

      Thanks for your comment. 😀

  • @drnda2007
    @drnda2007 Před 2 lety

    Very nice video, looks simple. I am planning on doing similar with Gecko G540 controller with only 4 inputs, normally intended for limit switches. I use same Gecko for both CNC mill and lathe (Have to switch connectors). What is not explained in this video is this encoder "index" which supposed to be pin 13. Your slotted wheel has one slot longer and at the other place, one teeth is missing. Where do you get your "index" signal from as you are only using a simple photo sensor?

    • @drnda2007
      @drnda2007 Před 2 lety

      ok, checked this encoder index .. it is an additional pulse, produced once per rotation as a confirmation. Maybe your optical sensor has two channels then?

    • @jatseq
      @jatseq  Před 2 lety +1

      Hey! I’m using two photosensors one for index one for rotation

  • @johannescordier7923
    @johannescordier7923 Před 2 lety

    Thank you was looking for this , got the same board.

    • @jatseq
      @jatseq  Před 2 lety

      You're welcome, if You have any questions just ask and I will try to help

    • @johannescordier7923
      @johannescordier7923 Před 2 lety

      @@jatseq thanks very much appreciated,busy with setting everything up then I'll call you 🙂.

    • @johannescordier7923
      @johannescordier7923 Před 2 lety

      Hey , hope you are well ...phew time flew i have two boards ... i want to install linear encoders ...i wanted to buy a 7i76E but they are out of stock ...can you please help me . i want to install on X and Y axis thanks

  • @mohamedkellal9118
    @mohamedkellal9118 Před rokem

    Nice

  • @SKTechnology44RUS
    @SKTechnology44RUS Před 2 lety

    👍 хорошо что показал.

    • @jatseq
      @jatseq  Před 2 lety

      спасибо!!
      жаль, что мой русский такой плохой :/

  • @mahdiarepicgame6889
    @mahdiarepicgame6889 Před 3 lety

    thanks for your great video.how can i learn cnc linux?what kind of break out board do you use?

    • @jatseq
      @jatseq  Před 3 lety +1

      Hey! For lathe I use cheap lpt board. For mill I use mesa card. The best solution to learn linuxcnc is to read documentation linuxcnc.org/docs/html/. You will find everything there. If you have any questions just ask and I will try to help :)

    • @mattivirta
      @mattivirta Před 11 měsíci

      @@jatseq not has how connect home switch inductive 3 wire sensor, not found anywere, i use normal mechanic SW to limit SW but home SW need use inductive M5 3 wire pnp NO sensor, i has orden npn sensor, and i use similar cheap chinese controller board were home input have pin 11,12,13, but i not understand how connect 3 wire sensor to board, GND to GND, sensor positive to power supply ? and signal/load wire to board input etc, 11,12,13,15 ? maybe this ? positive i have board input power 12V same wire need connect sensor positive ?

    • @jatseq
      @jatseq  Před 11 měsíci

      @@mattivirta hello! you are on good track! The inductive sensor needs power to work. So in case of pnp you connect gnd to gnd sensor + to +12V or whatever the voltage rating of the sensor is. And the 3rd wire is a signal wire and that is what you connect to input on your board. But remember that you are using the pnp NO sensor so when the switch is engaged it will "output" +12v on signal wire

    • @mattivirta
      @mattivirta Před 11 měsíci

      @@jatseq yes thats i worry have right, i use same cheap chinese parallerport board, i worry if this positive volt to pin 12 etc, burn board. or need me orden NPN sensor NO, working this better this board, same board but you have blue colour i have green colour but sensors need 12 volt then working , limit SW mechanic working well my project, i build CNC my son. i use linux cnc too, but have my first time use linux, before i has build same board many windows base mach3 cnc but windows not have good, not realtime and problem lot interrupts and not can customise (if undertand make code and hal and ui and ini files) but i not understand hahaha. but i want use linux because have later lot better customise if my son interesting more build and make code better than me. if sensors working next step have i need understand how automatic 3 axis zeroing can make linux, i has try learn lot but not totally understand what need doing. my english not good and translator not work whit code translate good all go wrong.

    • @jatseq
      @jatseq  Před 11 měsíci

      @@mattivirta check if your boardd has opto-isolator at input, if yes you are good to go. Good luck with the build if you will need help with homing sequence write a comment or send me message on my IG quick_engineeringpl

  • @rafapietrzyk7610
    @rafapietrzyk7610 Před 3 lety

    gdzie zamawiałes potrzebne rzeczy ? daj link
    dzieki

  • @mattivirta
    @mattivirta Před 11 měsíci

    i has made my spindle, optical sensor arduino RPM meter to spindle, and 800W air cooled ER 16 spindle have own power were have potentiometer can adjust speed.
    basic cheap cnc less than 800 € all cost. SBR 16 1200 mm Y axis, MGN 20 X, 800mm, MGN 15 300mm , Z rails, T12 screws Z T8, nema 450 OZ motors, DM556 drivers. dual paraller port controllers, 36V power and 12 volt power sensors, 5 volt to boards and arduino RPM meter, usb led strip under beam, old HP guad PC linuxcnc 2.8

  • @rafapietrzyk7610
    @rafapietrzyk7610 Před 3 lety

    czy tarcza enkodera moze miec tylko 18 zebow ? , czy ilosc 60 jest wymagana do prawidłowego funkcjonowania

    • @jatseq
      @jatseq  Před 3 lety

      Tarcza może mieć 18 zębów. Problem zaczyna się jeśli mamy tokarkę z lekkim wrzecionem i podczas toczenia gwintu Wrzeciono zwolni na tyle pomiędzy zębami tarczy, ze wpłynie to na dokładność skoku gwintu. Z drugiej strony mach3 wykorzystuje tylko jeden impuls na obrót Wrzeciona i daje radę toczyć gwinty.