Rotary encoder or: How to build a digital servo using an Arduino and photo sensors

Поділитися
Вставка
  • Опубліковано 22 лис 2024

КОМЕНТАРІ • 489

  • @unacceptableminority7101
    @unacceptableminority7101 5 років тому +1

    I think your videos are the clearest tutorials out of any Arduino tutorials. I always wind up watching your videos when I want to learn new stuff.

  • @sajalchuttani2519
    @sajalchuttani2519 3 роки тому +2

    I just got to know that old UA-cam videos are better than most of the new ones🙃
    Thoroughly enjoyed every part of your vid

  • @DataWaveTaGo
    @DataWaveTaGo 8 років тому

    Your demonstration of principles is so effective I have sent your video links to young children who can understand and begin projects in no time at all. Great work!

    • @HomoFaciens
      @HomoFaciens  8 років тому

      Thanks for sharing. More videos using old printer parts will follow - stay tuned!

  • @MrStaplez
    @MrStaplez 8 років тому

    I like the way you demo your circuits with the right angle wiring, thats pretty clever.
    I fell on this video from UA-cam just auto playing, I was't looking for anything related to rotary encoders. But that little touch you do with the wiring is awesome and is a great idea, it will certainly help novices and experts alike. Thumbs up to you

  • @kingredleg6747
    @kingredleg6747 9 років тому

    Excellent display of using a Photo sensor and a Arduino. I had lots of questions. You just answered all of them. Thank You.

    • @HomoFaciens
      @HomoFaciens  9 років тому

      +King Red Leg You're welcome!

  • @astroninstruments189
    @astroninstruments189 3 роки тому +1

    Your videos are amazing for our students. Best wishes from Pakistan

    • @HomoFaciens
      @HomoFaciens  3 роки тому

      Great to know they are used in education, because that's what I recorded them for.
      Best wishes from Germany!

  • @habiks
    @habiks 8 років тому

    All the questions I had about driving dc motors with encoders in a single video - Brilliant!!

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +Google+ SUCKS BALLS - the worst forced social network It's always good to find answers...

  • @TheKoodus
    @TheKoodus 4 роки тому +1

    Man I don't know if I said thank you already somewhere else on your channel, but just in case I didn't, THANK YOU so much for all this amazing information!!! I still have a looong way to go and a lot of learning to do, I'm just starting to understand the very basics of electronics. However I'd really like to get to the point of being able to reproduce some of what you have done here, especially to re use the sensors from old printers to have an extremely useful recycled possibility.
    If I manage to do it, I will make some videos and hook you up, but it is at least a few months away still!! Danke!!

    • @HomoFaciens
      @HomoFaciens  4 роки тому +1

      Thanks! Keep tinkering and create new things. Your skills will grow over the years same as mine do with each new project.

  • @kokeskokeskokes
    @kokeskokeskokes 8 років тому

    This is awesome, clear, easy going, to the point. Thank you very much!
    I am thinking about making my CNC with just Arduino UNO, nothing fancier , no motor shields. Two wires from digital to MOSFETs per motor (back and forth movement), one gnd from Arduino to all the motors, one signal from rotary sensor to analog per motor. This way I should have capacity for 6 axis from single Ardiono UNO. I don't really need to detect which direction motors are spinning since I must already know. I spin them! I only need to count number of steps, incrementing and decrementing depending on which MOSFET I am using at a time, calculating distance from angle and thread, recursively increasing interrupt periods and toggling direction if I overshoot until I get to where I want to be. Awesome tutorial, you are the best.

    • @HomoFaciens
      @HomoFaciens  8 років тому

      You definitely need two sensors per motor. There is always overshooting: you can't say the motor starts spinning into the opposite direction as soon as you swap the polarity. Inertia causes the motor to continue spinning into the 'wrong' direction before following the new command.
      Creating an h bridge from nothing but 4 transistors is also a bad idea. There is shoot through whenever you switch polarity of a half bridge which might destroy your transistors. Especially MOSFETS are killed instantly when the current is over the limit.
      My CNC series starts here:
      homofaciens.de/technics-machines-cnc-v0-5_en.htm

    • @kokeskokeskokes
      @kokeskokeskokes 8 років тому

      Thank you for your answer. I don't think I was being clear. Let me try once more:
      First, I employ one sensor and count number of transitions. I want to move axis Z by 100 steps. Motor overshoots and moves it 103 steps (if I fail to tune the motor run with interrupts). I know I overshot, out of one sensor.
      Second, I need no H-bridge. I will connect one digital pin with one MOSFET gate, operating one circuit running a motor, and second digital pin to second MOSFET gate to second circuit running the same motor backwards. I will activate one mosfet if I want to spin one direction and second if I want to spin other direction.

    • @kokeskokeskokes
      @kokeskokeskokes 8 років тому

      Never mind about my previous comment. I drew a sketch to show what I mean and I found short circuits. I added more transistors and guess what I invented? An H bridge... Yes, that is me. At university I discovered integration by parts, later I realized that weightlessness could be achieved if something spun Earth fast enough so that the centrifugal forces would negate the gravity, yes, it was 10.2 kmps, and then I noticed that light emmited by lamps correlates in spectrum to the light put off by flame test, and from there I rediscovered magnesium lamp. Next time I will listen to ZZ Top's ME SO STUPID like ten times and then will I post something. Sorry for that. Thank you very much for suggesting the diods with mosfets, I think I will greatly appreciate it soon enough.

    • @HomoFaciens
      @HomoFaciens  8 років тому +2

      ...you will never ever forget what you have learned by reinventing the wheel ;-)

    • @kokeskokeskokes
      @kokeskokeskokes 7 років тому

      I will support you. I can't do so right now but I will. I am getting my CNC ready. It is scheduled on March. It will be Arduino uno, 1 photo sensor per rotary encoder connected to digital pin. I will use BTS7960 and my H-bridge, whether it is an H-bridge or not, 'I am not sure:
      Battery: B+, B-
      Motor: M+ M-
      --------------------
      wire1: B+ -> M+
      wire2: M- -> B-
      wire3: B+ -> M-
      wire4: M+ -> B-
      One transistor (T1 - T4) on each wire.
      transistors T1 + T2 go to one digital pin
      transistors T3 + T4 go to another digital pin
      The rotary encoders will be made of clear disks plus silver coated vinyl foil with slots cut into it by cutiing plotter. Recently I worked on the sw side mainly. I have my CNC driver ready up to the point where it knows a correct sequence of steps (for example motor 1 step +1 motor 2 step -1 motor 3 step 0, motor 1 could go +1 +1 +1 +1 +1 motor 2 coudl go -1 0 -1 0 -1 0..., depending on vector of travel). Arduino is connected to my computer and it recieves and serializes instructions form USB port, it calculates vector of travel from where it is (remembers its position from previous instruction), turns it into the sequence, cycles this many times as Arduino can only digest very few cycles at a time otherwise it bites its own tail, eventually when finished with all the steps in intruction Arduino rings my computer which sends it another instruction and so on. Now I am working on CAM, I have very special shape to make at an extreme precision ahead, I need a special CAM that can handle meshes, not vecotrs, plus I want to test my own tool path type, but once I have my mold I will start producing arrow vanes which can and will be sold all over the place eventually so I will have means to support you. Not yet. I am a janitor.

  • @fortzero1552
    @fortzero1552 8 років тому

    I really like that u are using lot of salvaged parts in your projects and test setups. Its helps to understand how other machines works like printers etc... thnx for sharing

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +Fortzero You're welcome! And: share my project(s) with your friends.

  • @killerbeenl83
    @killerbeenl83 8 років тому +1

    You can buy some encoders on the market but when they fail or you have issues it is great to understand the principle. Great video. You just told about PWM and PID control also. A broad beginning to it. Love it really enjoyed your video.

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +killerbeenl Yes, knowing what devices you are using is always helpful. Some more about PID is in my video covering the Arduino Uno:
      ua-cam.com/video/PQ1FBcQT0AI/v-deo.html
      It's a fascinating subject, thus more chapters might follow...

  • @Engineer.Critics
    @Engineer.Critics 5 років тому

    man you are the rock-star i love your voice.....you look like more mechanical engineer rather then electronics one

  • @matschase
    @matschase 9 років тому

    Thank you for sharing! I'm a non technician and able to understand most of the things you explain. I enjoy your videos a lot :) Always pleased to hear you'll be back ;)

    • @HomoFaciens
      @HomoFaciens  9 років тому +1

      +Matschase Who ever is able to understand what I am talking about has been turned into a technician. Start to build one of my machines and you are also turned into a maker (or a "Homo Faciens" as I call that species).

  • @everettbradford
    @everettbradford 9 років тому +24

    Thank you for another excellent video!

    • @HomoFaciens
      @HomoFaciens  9 років тому +7

      +Everett Bradford You're welcome and tell it to your friends.

  • @bigchrisrogers
    @bigchrisrogers 8 років тому +6

    Watched this twice now, really interesting video, so well put together and so much information covered, well done.

    • @HomoFaciens
      @HomoFaciens  8 років тому +1

      +bigchrisrogers Thanks! Yes, I try to put as much information as possible in my videos, thus watching them once usually isn't enough to get it all if you don't now much about the subjects I am treating. You can also read what I am talking about on my project page and you can get the schematics to build your own circuits:
      www.homofaciens.de/technics-base-circuits-encoder-disc_en_navion.htm

  • @mackk123
    @mackk123 6 років тому +1

    Dude having a table of contents is rad. Awesome work I'm gonna subscribe

  • @johncongerton2725
    @johncongerton2725 8 років тому

    Beautifully explained. Complete clarity at every step.

  • @malgailany
    @malgailany 9 років тому

    Impressive how you go from simple idea and escalate to sophisticated one in easy to follow steps.
    Thanks for the great video.

    • @HomoFaciens
      @HomoFaciens  9 років тому

      +Mohammed Algailani ...looks like I can't create short videos ;)

  • @bonin3660
    @bonin3660 5 років тому +3

    Thank you man, for real. Your serie of videos about encoders and optic sensors aplications is helping me a lot.
    More one satisfated subscriber!!!

  • @jaimebortoni
    @jaimebortoni 5 років тому +1

    Awesome Video, Thank you very much for it, Greetings from Monterrey, Mexico.

  • @alijabari8715
    @alijabari8715 6 років тому

    first off, thaks for your complete introduction to encoders and stuff.
    I think the only problem with DC motors would be the starting torque.since steppers have higher torque in lower speeds.

    • @HomoFaciens
      @HomoFaciens  6 років тому +1

      You're welcome!
      Torque is a question of the motor design. There are also high torque DC motors available. Considering DIY servo motors made of common DC motors you are right, they are usually not designed for permanent Start/Stop operation.

  • @bobdurk5180
    @bobdurk5180 8 років тому

    This is such a thorough demonstration. Thank you so much for sharing this .
    I definitely will watch this again and learn from the code.

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +Bob Durk ...you can lean more from code by reading it. The source code is available as download on my project page:
      www.homofaciens.de/technics-base-circuits-encoder-disc_en_navion.htm

  • @unestudiantedemecatronica3621
    @unestudiantedemecatronica3621 5 років тому +2

    I'm so excited to see this video so interesting and so guiding!!! Greetings from Puebla Mexico!

  • @Charley7771
    @Charley7771 8 років тому +1

    Thank you so much!!! its been so easy for someone with little knowledge

  • @cp_guitar
    @cp_guitar 6 років тому

    Excellent overview of servos. Thanks!

  • @bikefarmtaiwan1800
    @bikefarmtaiwan1800 8 років тому

    Super video- Exceptionally educational and precise. Great that you do it with home made stuff so that we get to see the technique rather than feel mystified by the tech aspects.. I watched this video and liked before- now I have subscribed, Thanks for your effort!

    • @HomoFaciens
      @HomoFaciens  8 років тому

      You're welcome! There is nothing mystical in science and technology. It's my mission to show that ;-)

  • @srdjansavic2223
    @srdjansavic2223 8 років тому

    A simple way to make a encoder disc is just to use cardboard with some black insulating tape taped over it. Insulating tape is very good at blocking IR light. It could save some time for someone who wants to play with encoder wheel designs.

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +Srdjan Savic Insulating tape and cardboard are indeed a simple solution. Thanks for that hint.

  • @serhioromano
    @serhioromano 8 років тому

    Now I know everything about servo motors. thank you. Very usefull stuff.

  • @jlucasound
    @jlucasound 8 років тому

    Awesome!! You can bet on it, "I'll be back" as well! :-)
    I Love the demos and the straightforward way you explain the "steps".
    The software code (for me) is going to be the tough part.
    Your apparatus' and lighting are superb for "laying it out".
    Thank You. (You KNOW you sound like him... sorta) :-)

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +jlucasound
      There will be chapters about programming GPIOs (Physical Computing) in the (not so far) future on my project pages - stay tuned!

  • @gauravumbarkar9141
    @gauravumbarkar9141 4 роки тому

    Best video to understand encoder 👌👌👌

  • @MrAlbrtvg
    @MrAlbrtvg 8 років тому

    Excelente video, felicitaciones.. uno aprende mucho con tus videos y das buenas soluciones a problemas de falta de recursos..
    puesto que usar DC motor en ves de steeper motor.. congratulatios!!!!!

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +MrAlbrtvg vizarreta
      You're welcome!

  • @lowendguru
    @lowendguru 8 років тому

    This is awesome. Highly educational. Truly inspirational.

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +lowendguru I like to inspire ;)

  • @khymemmu8597
    @khymemmu8597 8 років тому

    Hello Norbert Heinz
    Many many thanks for your time and tutorial video!
    It's a great tutorial I've ever seen...I'll be patient for the program tutorial

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +khymem MU You're welcome and: stay tuned!

  • @cornjulio4033
    @cornjulio4033 8 років тому

    Du bist unglaublich Mann. Solltest nen Preis bekommen :)

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +Corn Julio ...für Preise gibt's eine "Spenden"-Schaltfläche auf meiner Projektseite ;)
      www.homofaciens.de/technics-base-circuits-encoder-disc_ge_navion.htm

  • @albertoosset4090
    @albertoosset4090 8 років тому

    Just what I need, how to switch my old racing wheel imprecisse poty for an accurate encoder.
    Even more, it even shows the concept behind force feedback.
    Love it, simply perfect ;)

  • @MC-Cali
    @MC-Cali 7 років тому

    fantastic. thank you so much. you are a natural educator.

  • @XerotoLabs
    @XerotoLabs 9 років тому

    Very good and thorough video . Thanks for taking the time to go into details.

    • @HomoFaciens
      @HomoFaciens  9 років тому

      +XerotoLabs Yes, going into details eats most of my time. Thanks for pointing that out.

  • @chutetearer1253
    @chutetearer1253 7 років тому

    great video, clear to understand and very informative - will definitely put this into practice - danke HomoFaciens

  • @saman_mardani
    @saman_mardani 8 років тому

    Very good! I liked learn more about step motors and control them.

  • @vincentleyhausen8528
    @vincentleyhausen8528 9 років тому

    I understand and can speaj German (since im from germany) but only until i was 6 so i cant write it well. Keep up the awesome videos and keep inspireing others to create and experiment with engineering. Also, its amazing how you upload every video in english AND german. At the moment im building a 3 axis cnc machine from cd-rom drives based off of your plotter and Tinkernuts 3d printer. Keep on making amazing vids

    • @HomoFaciens
      @HomoFaciens  9 років тому

      +Vincent Leyhausen (Maker and Gamer) Thanks for all the good words.
      A machine using steppers from old optical drives is a good point to start CNC.
      Viel Spaß beim Basteln!

    • @vincentleyhausen8528
      @vincentleyhausen8528 9 років тому

      One of the motors broke so i only have 2 :(

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +Vincent Leyhausen (Maker and Gamer) You could use a micro servo to lift or lower the pen.

    • @vincentleyhausen8528
      @vincentleyhausen8528 8 років тому

      +HomoFaciens i was going to do that but i would have to buy some and i dont have money

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +Vincent Leyhausen (Maker and Gamer) Another way was using a low power DC motor (e.g. that of the CD tray) and activate that motor to lift the pen and deactivate the motor to lower the pen by gravity (or a spring). Or using an old relay.

  • @slucas601
    @slucas601 8 років тому

    Super great presentation! Thorough coverage and simple explanation.
    Here are some stars: ** ** **
    Thanks.

  • @Ogma3bandcamp
    @Ogma3bandcamp 9 років тому

    Great video. It doesn't get much better than that.

    • @HomoFaciens
      @HomoFaciens  9 років тому

      +InnaSoulSounds Thanks, but there is always something to improve...

  • @toashwin
    @toashwin 8 років тому

    Very informative.. Excellent video learnt so many things...

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +Ashwin Thirunahari ...this video was meant to teach - mission accomplished!

  • @peterboy209
    @peterboy209 8 років тому +1

    This is what I need for my new project, great!

  • @builtrodewreckedit
    @builtrodewreckedit 9 років тому +3

    very helpful video. I will be watching it many more times for sure.

    • @HomoFaciens
      @HomoFaciens  9 років тому +2

      +builtrodewreckedit Yes, most of my videos provide a lot of information that can't be absorbed in a single run.

  • @woodywong76
    @woodywong76 8 років тому +2

    I would like to thank you for this video. I have learned so much from this!

  • @choupi4719
    @choupi4719 8 років тому +23

    Thanks Arnold S. !

    • @MARS-GREENH0USE
      @MARS-GREENH0USE 5 років тому

      "Consequently eight signals were counted"

  • @nelsonlupolibutavand8688
    @nelsonlupolibutavand8688 8 років тому

    Hola Amigo:Te felicito por tus trabajos, soy profesor de escuelas técnicas y trabajo con hardw y softw libre, por lo que implementaré algunas de tus ideas.Tambien hicimos un clon de arduino y emplearemos el Pinguino 18f4550.Gracias por compartir!.Saludos de Argentina.Te compartiré nuestros avances

  • @bikefarmtaiwan1800
    @bikefarmtaiwan1800 6 років тому

    Really great stuff- packed with info! Very good job!

  • @peterismobiel
    @peterismobiel 7 років тому

    Great video, I roughly knew how these things work but now it is crystal clear.
    Many thanks!!

  • @gksle.5879
    @gksle.5879 7 років тому

    Magnificient education video! Thanks

  • @zumpitu
    @zumpitu 8 років тому

    Hi ! Very nice tutorial ! An Arduino DUE can actually directly reed the quadrature encoder on the Hardware with e very high frequency and do not take extra power from the micro controller :)

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +Sacha Franceschini Yes, hardware implementation of a counter or a quadrature encoder is a nice feature!

  • @babis600
    @babis600 8 років тому

    Fantastic video....very thorough explenations,just what i was looking for,for my project!Thanks!

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +babis600 You're welcome!

    • @babis600
      @babis600 8 років тому

      +HomoFaciens i am trying to compile your sketches to the arduino but i keep getting a sketch\commands-host.c:15:21: fatal error: termios.h: No such file or directory
      #include error.What is the problem?

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +babis600 Your Arduino IDE opens the file "commands-host.c" in a second tab. Close that tab so that the only file open is the *.ino and try again.

    • @babis600
      @babis600 8 років тому

      +HomoFaciens yep...you were wright.Thanks for that!

  • @anhkiethoang3333
    @anhkiethoang3333 8 років тому

    excellent demonstration!

  • @felipeps7oi
    @felipeps7oi 3 роки тому

    através destas explicações vou fazer meu projeto de rotor de antena de radioamador

  • @norm1124
    @norm1124 9 років тому

    Sehr schöner Aufbau

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +norm1124 ...weniger schön, aber funktionierend. Danke!

  • @AdityaMehendale
    @AdityaMehendale 9 років тому +13

    Hats off to you, Norbert, on a thoroughly made and highly informative video! How do you get the time to do all the work?

    • @HomoFaciens
      @HomoFaciens  9 років тому +10

      +Aditya Mehendale Thanks! Yes, many hours passed by while creating this video. I don't count the hours/days/weeks...

    • @ElMaarco
      @ElMaarco 4 роки тому

      el tipo es un genio

  • @shaikhfamily2508
    @shaikhfamily2508 8 років тому

    thanks dude for this video u give me every thing about rotary thanks once again

  • @edupuertasfruns
    @edupuertasfruns 7 років тому

    Great video, love it!

  • @benjamingalindodelarosa4311
    @benjamingalindodelarosa4311 6 років тому +2

    God dammit man! I Admire you! Keep the good work! :)

  • @cemyasam
    @cemyasam 6 років тому

    yaw hacı sen varya süper bi insansın , yaw arkadaş bukadar şeyle nası uğraştın , her videon birbirinden harika , yani öyle güzel anlatıyorsunki , bir eşşeğe anlatsan yinede anlar :)

  • @frijoli9579
    @frijoli9579 8 років тому

    Excellent video. Well done and thanks for the effort!

  • @HilltopComputing
    @HilltopComputing 8 років тому

    Excellent video!

  • @joeseif
    @joeseif 8 років тому

    I really enjoy your videos.

  • @AmyAndrewAdventures
    @AmyAndrewAdventures 8 років тому

    Your videos are so awesome. Thank you!

  • @jorgesilvalemoscristina4123
    @jorgesilvalemoscristina4123 8 років тому

    Excellent video! Thank you for sharing.

  • @sinhho7528
    @sinhho7528 5 років тому

    helpful tutorial and supply a lot of things fundamental of encoder, thank you !!!

  • @omersidiqui
    @omersidiqui 7 років тому +1

    Sir you truly rock, what a great set of information .. really nice :-)

  • @alshiraalshat9856
    @alshiraalshat9856 8 років тому

    Thank you! Great Work as usually!

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +Alshira Alshat You're always welcome!

  • @BernhardHofmann
    @BernhardHofmann 9 років тому +1

    Thanks for a great video. It's so clear and well paced. I love the "rough" electronics and mechanics you do. Ist aber wirklich wunderbar, Danke! :)

    • @HomoFaciens
      @HomoFaciens  9 років тому +2

      +Bernhard Hofmann I don't have enough time to give my machines a smooth design ;)
      Die Einfachheit animiert mehr Menschen zum Nachbauen - bitte gerne!

    • @BernhardHofmann
      @BernhardHofmann 9 років тому +1

      +HomoFaciens For the non-German speakers, he said that the simplicity encourages more people to try this as well. I completely agree; that's what draws me to it and makes me think I might also be able to make something. I particularly liked the progress of your video as well, showing the issues you might encounter (IR light, overspin, accuracy of gears, etc.) and how to overcome them.

    • @HomoFaciens
      @HomoFaciens  9 років тому +2

      +Bernhard Hofmann That's it! I am sure you are able to make something and so to become a maker, too (or a HomoFaciens as I call that species).

    • @vilmarmoccelin
      @vilmarmoccelin 9 років тому

      +HomoFaciens You realy do that with your "Barbarian" (not bavarian) aproach to solve problems. You shows that you don't need to buy expensive partes to archieve success.
      But if you use a power enought controller with a windshield wiper motor and a high precision sensor disk from a printer (free from garbage) we can archieve "CNC precision" and high power to build a CNC???
      Here in Brazil is cheaper to buy a windshield wiper motor than a stepper motor!!!

    • @HomoFaciens
      @HomoFaciens  9 років тому

      +Vilmar Antônio Moccelin Júnior Yes, you can build a CNC with windscreen wiper motors, but I suggest to start with a low power version (you can use the motors from printers):
      ua-cam.com/video/5rQ4xKRfXts/v-deo.html
      The precision depends more on the build quality of your mechanics than on the resolution of the sensor disc.

  • @freddotu
    @freddotu 9 років тому

    Can you position one of the two sensor assemblies to one side, opposite of the first assembly, but slightly less than 180 degrees apart? If, for example, the sensor assemblies were five degrees different from 180 apart, the gap in the sensor wheel could be also smaller, for more direct measurement of smaller steps. I realize that the number of steps per rotation would increase, perhaps reaching the software limits to handle fast counts.
    Your videos are very educational and quite clear and easily understood. Thank you for making these efforts.

    • @HomoFaciens
      @HomoFaciens  9 років тому

      +Fred U. Yes, with an arrangement like that you can indeed use smaller teeth & gaps and so increase the resolution (number of teeth) without having to use a large sensor disc. But the teeth must be wide enough to reliably block the light of both sensors simultaneously, thus the adjustment is more tricky which is why I did not demonstrate that in the video.

  • @feo3h2o
    @feo3h2o 8 років тому

    Felicitaciones, muy buen trabajo.

  • @garyo8501
    @garyo8501 9 років тому

    Thanks for your generosity!

  • @jfperkins3
    @jfperkins3 8 років тому

    Very nice. Well done. Thank you.

  • @marcosraphael3390
    @marcosraphael3390 5 років тому

    You are the best! Thank you!

  • @ACIDITYRAIN
    @ACIDITYRAIN 9 років тому

    Спасибо за ваш труд!

    • @HomoFaciens
      @HomoFaciens  9 років тому

      +ACIDITYRAIN You're welcome!

  • @LIVERPOOLFRANK
    @LIVERPOOLFRANK 8 років тому

    Amazing indeed. Keep the amazing work going on.
    PS. I realized you published on 23rd December. This was your Christmas present ah!

  • @5paxys
    @5paxys 8 років тому +1

    Always entertaining and very informative videos, thanks for making them!
    I will try and build a rotary encoder soon.
    Where did you learn all this about electronics? Electrical engineering master?

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +Daniel W I learned the basics about semiconductors during my education as physics laboratory assistant long ago...

  • @nejatkaraca
    @nejatkaraca 8 років тому

    Many thanks for this video.

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +nejat karaca You're welcome!

  • @cdsmith
    @cdsmith 8 років тому

    All you have to do to make the steps happen evenly is to space the two sensors apart by the same distance as the notches in the disc.

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +Carl Smith Yes, adjusting the sensors gives a better result. A simple solution is to use a disc with more teeth, so that the uneven stepwidth doesn't matter that much (usually the clearance of my simple machines is larger than the uneven stepwidth...).

  • @smoothloser
    @smoothloser 9 років тому

    Great job ! Thanks for sharing !

    • @HomoFaciens
      @HomoFaciens  9 років тому

      +Marshall Bruce You're welcome and share it with your friends, too.

  • @amwomt7528
    @amwomt7528 5 років тому

    Just keep up the hard work
    Thanks for sharing

  • @pch4287
    @pch4287 6 років тому

    Very helpful video. Thank you for sharing

  • @dasraiser
    @dasraiser 8 років тому +1

    thank you for an awesome, very informative video :)

  • @kirknelson156
    @kirknelson156 9 років тому +5

    I was wondering why you did not use the windshield wiper motor on your DIY CNC project, seems the extra torque would be beneficial.

    • @HomoFaciens
      @HomoFaciens  9 років тому

      +Kirk Nelson Sometimes, extra torque is very destructive. The good thing with the low power motors in my CNC machines is that they are not self destructive if something goes wrong and trust me: a lot of things go wrong if you are new to CNC and especially if you try to do some coding around those machines...

    • @kirknelson156
      @kirknelson156 9 років тому

      guessing you gave it some thought and rejected the idea for safety then. I was mostly thinking of your early cnc videos when you were having problems with the brushes on the motors burning up.

    • @HomoFaciens
      @HomoFaciens  9 років тому +1

      +Kirk Nelson If you know what you are doing, it's worth spending some days trying to build a very solid wiper motor CNC.

  • @rklauco
    @rklauco 9 років тому

    Great video, thanks.

    • @HomoFaciens
      @HomoFaciens  9 років тому

      +Robert Klauco You're welcome!

  • @magnusjohansson9284
    @magnusjohansson9284 8 років тому

    Hi many thanks for your fantastic video//Magnus

  • @ganeshpingle.8423
    @ganeshpingle.8423 Рік тому +1

    excellent video and excellent knowlagable video. thank you for this knowlage sharing. at timestamp 23:48 can you plz tell me how you make it. becouse i am also triying to make this for my project. please reply and help me..

    • @HomoFaciens
      @HomoFaciens  Рік тому

      Did you have a look at my pages as I told you in the video?
      homofaciens.de/technics-base-circuits-encoder-disc_en.htm

    • @ganeshpingle.8423
      @ganeshpingle.8423 Рік тому

      yes i visit your pages but i cant find the timestamp 23:48 like system so please tell me how is the connection of this system and code.
      @@HomoFaciens

    • @HomoFaciens
      @HomoFaciens  Рік тому

      That's why I have created a "subjectindex" page, listing all my projects with "Servo". You can easily find this one here:
      homofaciens.de/technics-computer-arduino-uno_en.htm

  • @ledc131
    @ledc131 8 років тому

    Cool, like your style, passion.

  • @giantneuralnetwork
    @giantneuralnetwork 9 років тому +2

    Very cool! Really appreciate each of your videos. They're very informative and have an easy to follow logical flow. Cool that you can get that much speed out of the optical encoder using an arduino. I wonder what RPM you could get using a raspberry pi with its higher CPU clock speed. Thanks again for the great vids!

    • @HomoFaciens
      @HomoFaciens  9 років тому +3

      +LogicGodTV The Raspberry has a higher clock speed, but no realtime operating system, thus it won't be faster but slower!

    • @lazyh-online4839
      @lazyh-online4839 7 років тому

      HomoFaciens I'm pretty sure there are a couple of real time operating systems for both raspi and the more expensive beagle bone black. The BBB seems to be better suited to robotics, sensors, mechanics, and processing of that kind anyways, there is CNC controller software for BBB but not raspi anyways so I would recommend that one.

  • @arunakumari5929
    @arunakumari5929 4 роки тому

    Sir, your videos were really superb . Can you make a video basing how to control the position of the encoder with keypad to type degree ,lcd display to see the position , arduino h-bridge please if you could help me

    • @HomoFaciens
      @HomoFaciens  4 роки тому

      1.) Set up a motor with encoder as described on my pages (software examples are part of the download package):
      homofaciens.de/technics-base-circuits-encoder-disc_en.htm
      2.) Add an LCD and try to display messages
      3.) Add a keypad and read numbers.
      Don't expect me to do it all for you (at least not for free). Go through your project step by step. You can ask me specific questions if you stumble over problems.

  • @pravinpadale8787
    @pravinpadale8787 7 років тому +1

    excellent video !!! .. it cleared a lot of fundamentals to me.. !! .. Thank you very much for this video..

  • @notionSunday
    @notionSunday 9 років тому

    Excellent video.

  • @aliensali7128
    @aliensali7128 8 років тому

    gracias por proyectos, si que sirvieron mucho

  • @-ahvilable-6654
    @-ahvilable-6654 8 років тому

    Excellent, thank you. But didn't you think of sensors from optical mouse? You can place them in front of simple wheel and they seem to give precise results. Very grateful for your reply.

  • @ravindragaddamwar3724
    @ravindragaddamwar3724 4 роки тому

    1.7 degrees per step is a precision stepper motors cant even achieve.GREAT

  • @2008koss
    @2008koss 8 років тому

    excellent !- subscribed !

  • @killerbeenl83
    @killerbeenl83 8 років тому

    Don't you love does old ball mice having this system in them. The small transmission between big ball and small rotary parts is done for resolution purposes. Don't just trow away those old mice.

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +killerbeenl Unfortunately new mice no longer use those balls, but I still have some in my cellar waiting to be brought to life again...

  • @Waffenschmiedinx
    @Waffenschmiedinx 8 років тому

    that was very interesting Ty for sharing

    • @HomoFaciens
      @HomoFaciens  8 років тому

      +Waffenschmiedin x You're welcome!

  • @3dprintwiz378
    @3dprintwiz378 8 років тому

    Hi man. Nice explanation I think I get it now. I am planning to make a robot arm, and I am still confuse on what motor to use for actuators. There are three choices available, namely, stepper, hobby servo, or dc motor with encoder. Does a DC motor with encoder have holding torque same as a servo, I am planning to gear it down for more torque.

    • @HomoFaciens
      @HomoFaciens  8 років тому

      What holding torque a servo or a DC motor has, depends on the electrical characteristics of that device, not on the construction principle.