Arduino Uno: control circuits and homebuilt servos

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

КОМЕНТАРІ • 331

  • @lowendguru
    @lowendguru 9 років тому +44

    Your accent is as strong as your electronics knowledge. Impressive.

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

      lowendguru Thanks! I am working on:
      1.) getting even more knowledge day by day...
      2.) ...improving my pronunciation and grammar with each new video.

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

      +HomoFaciens If you improve your accent any more how am I going to tell the diffrence between you and the post apocalyptic inventor? Are you sure that there isn't a correlation between the thickness of your accent and an overwhelming technical knowlege? I am concerned that if you start sounding less german you may become tired and lazy and start getting fat and before you know it your electrical panel is going to look like all the ones we have here in America. Entire nation states are relying on you here to preserve this knowledge, you know we don't read any more.
      P.S. I am also concerned about how annoying it will be once you've surpassed our English and start out shining us like the Koreans. Have you ever seen a Korean's English handwriting? It's impeccable!
      liked and subscribed.

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

      +Brady Rose Don't worry, I will never be able to wipe out my German accent and I'll stay focused on science & technology rather than on improving my pronunciation.
      My handwriting is horrible. I and some close relatives are the only ones that can read it.
      :-))

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

      @@HomoFaciens Your Pronunciation is Great . i ;love it , it sound like Arnold !

  • @dozerjohn
    @dozerjohn 9 років тому +171

    Thick german accent = guaranteed technical knowledge.

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

      John Grammaticus Danke!

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

      HomoFaciens Der Akzent ist halt echt Krass ! :D aber er hat Recht ^^

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

      lilprozen2 ...gibt's auch mit leischt hessischem Akzent: ua-cam.com/video/ZYu3hsRD85Q/v-deo.html ;)

    • @attack125
      @attack125 8 років тому +4

      +John Grammaticus i thought it was arnold

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

      +John Grammaticus good one

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

    I find myself coming back and watching these videos, still after a couple of years.
    Thank you! =)

  • @dreamtreater
    @dreamtreater 4 роки тому +2

    I saw this video for the first time a couple of years ago when I started with Arduino and I come back to it today april 2020. I have a background as chemical engineer and seeing PID like this inspired me very much. Now I'm finally going to try this myself and master some Home-PID stuff. Thanks for the inspiration!

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

      You're welcome! Good ideas need time to grow! I hope to find time to dive deeper into PID in the near future with my series about "Physical Computing".

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

      Thanks for the incouragement @@HomoFaciens Looking forward to it

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

      Have fun man 😊

  • @simongchadwick
    @simongchadwick 9 років тому +4

    Many, many thanks for a very inspiring video! This is UA-cam at its finest!
    You have given me many ideas for projects around the house, including directional ADS-B antenna motors for monitoring aircraft traffic.
    I have much to learn, and you are a wonderful teacher!

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

      +Simon Chadwick You're welcome! Monitoring the environment with computers will be a subject of future videos.

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

    The best video about servo control ever!! You're the man that really want to teach, Thank you!!!

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

    Great video. Good to understand how integrals and derivatives work in code to help better control the servo. I learned something new. Been wondering when I will every use the calculus one and two guess I better keep those notes and books.

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

    Kudos to those people that are true stewards of knowledge and chose to share such knowledge with others.

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

    I appreciate the meticulous setup made from everyday components. Thats pure genius . To explain an exotic concept with simplest of things , thats where you have excelled . keep up the excellent work. Omska

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

      omskariyaz maraikayer Thanks! Even if creating circuits especially for my videos eats a lot of time, it is worth doing it for followers like you.

    • @omskariyazmaraikayer913
      @omskariyazmaraikayer913 9 років тому +4

      Its pure charity , and charity is always rewarded . May God Bless you.

  • @fusauce5962
    @fusauce5962 8 років тому +53

    I never thought i'd be getting electronics lessons from Arnold Schwarzenegger!

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

      Never say never!

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

      Electronics:Terminator just like Biology:Human

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

      HA HA HA HA HA HA !!!

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

      Wir deutschsprachigeb Menschen können auch englich

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

      He's NOT a TOO-tah!

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

    Brilliant - the best explanation of PIDs I've ever seen. I still don't fully understand, but I just need to watch this a couple more times :)

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

    Great video. Illustrates a number of control techniques and compares micro controllers with the more fully fledged Raspberry.

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

    Brilliant. Thank you for sharing - one of the best youtube videos I've seen regarding electronics in general, and the best Arduino video I've ever seen by almost an order of magnitude. I was really impressed by the point to point wired H-bridge - superb!

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

      Ant Mallett Thanks! Soldering the circuits in such a way that all devices are arranged clearly and similar to the drawn schematics is one of the points that make my videos eat a lot of time to create, but I think it's better than using breadboards. A good picture is worth a 1000 words.

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

    1. In depth explanations, many examples.
    2. Comprehensive narration despite the strong accent. Most native english speakers could not be this simple btw!
    3. Servo, PID, Engine, rotary encoder, Raspi, engine etc in one video. Damn!
    4. No Windows/Mac and proprietary shits, open source all the way!
    5. Simple old laptop used in most videos rather than new computer, allowing most audience to easily implement due to backward compatibility.
    6. Closed-caption provided.
    7. Table of Content.
    8 Creative common.
    Thank you so much bro. This is the first time I comment, hit the like button and subscribe in one video! Regret not knowing you before!

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

      +Fariz Adnan
      9. You're welcome!

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

    It's very mazing to follow your way to explain and demonstrate technical knowledge, that reflet a height level knowledge and concept in germany . good thinks for all lessons.

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

    Linear control system explained really well......... Please also upload such practical examples for non linear control system

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

      I'll keep that in mind for future videos about control systems.

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

    Thank you for taking the time and trouble to prepare all of these demonstrations.
    Very useful information.

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

    This video was very informative in all aspects! First time I've heard about an H Bridge, i'ts a very nice setup! Thanks a lot!

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

      General Wrex You're welcome! H bridges are essential devices in robotics which is why I have made a video showing the working principles: ua-cam.com/video/SsB_ezlict4/v-deo.html

  • @Mots-mot
    @Mots-mot 9 років тому

    Thanks for sharing such a brilliant video.
    after watching your videos and reading your blogs I have started small mechanical and electronics projects at home.

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

      +pankaj motiyar You're welcome! Encourage people to start own projects is the main intention of my videos.

  • @VladVladimirov
    @VladVladimirov 9 років тому +27

    ARNY? ITS YOU?? YOU CAME TO TEACH US BACK TO FUTURE?

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

      VladVladimirov I came to teach you how to create the future!

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

      HomoFaciens Thanks for high video quality

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

      VladVladimirov He'll be back!

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

      HeathLedgersChemist I HAVE been back multiple times since that video about the Arduino.
      For example I told you how to do physical computing:
      ua-cam.com/video/9Qumu2h8FjY/v-deo.html
      and my latest video is about a CNC machine composed of cheap materials made with simple tools:
      ua-cam.com/video/mJ-TZvFpY58/v-deo.html
      The evolution of machines goes on...

  • @OffTheBeatenPath_
    @OffTheBeatenPath_ 9 років тому +18

    Who knew Arnold was into Arduino

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

      flahr1 You're wrong! Arduino is in Arnold, turning him into a terminating cyborg...

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

      ahah! I just thought about it)))

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

    Was Arduino the best choice for this project?

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

    One of the best videos on youtube on the subject. Thanks and God bless you.

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

      +Shane Mc Donagh You're welcome and: share the video and my project page with your friends.

  • @weneedfreedomtoo
    @weneedfreedomtoo 10 років тому +3

    Thanks for your teaching. Thanks for your sharing. I admire you so much!

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

    you are amazing. i am really impressed by your creativity

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

    This is a really good and comprehensive video.

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

    This is really cool. This kinda stuff looks addicting, keep up the good work!

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

      DankSun420 Thanks! I am trying to improve the quality with each new video...

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

    Help, how can I synchronise two dc motors.
    I am building a biped and each leg is a windscreen motor, I want to make sure the left motor does not get out of step position with the right leg.
    Any ideas gratefully received.

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

    Very good video... I dotn mean to cause offense when i say; despite the evident language barrier this was exceptionally well explained. I'll be referring back to this video when i start building control circuits, thank you for taking the time to produce and upload it ^^

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

      Alessio Yautja I indeed recognize that there is a language barrier each time I am recording the audio track of a new video so I don't mind if people refer to my German accent. I am trying to get better with each new video ;) Thanks in advance for sharing this video and maybe the project page that belongs to this chapter, too: www.homofaciens.de/technics-computer-arduino-uno_en_navion.htm

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

      I like hearing my native language spoken in other accents, I find that foriengers actually teach me more about my own language. They make me realise the subtle differences between words, instances of humor and just how difficult it is to learn English in general :D Your spoken English is superb though, I wish my German vocabulary and pronounciation were as good >.

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

      Alessio Yautja Let me know if you run into trouble when trying to copy my circuits, so I can improve my videos as well as the circuits I have built.

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

    großartiges Video! Ich möchte mehr Informationen über die linearen Servo mit digitalen Sensor mögen. Vielen Dank

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

      +Matthew Lawrence Danke! zu den Linearantrieben habe ich ein weiteres Video veröffentlicht:
      ua-cam.com/video/1lJO7Dwgeuo/v-deo.html
      Gibt's auch auf Englisch:
      ua-cam.com/video/XIUrnR8bLAI/v-deo.html
      Mehr infos auf meiner Projektseite:
      www.homofaciens.de/technics-base-circuits-encoder-disc_en_navion.htm

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

    Are there reasons to use brushless DC motors instead of brushed DC motors? Overall which one is better?

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

      Brushed DC motors are more easy to control (you just have to connect them directly to a DC power supply).
      Brushless motors need an electronic control circuit to make them work. The advantage is that there is no wear on brushes in a brushless motor.

  • @andyspoo2
    @andyspoo2 10 років тому

    How are you attaching the pot to the arm that makes it strong enough, centred, and not spin. It's hard to tell from the wiper motor video image. Thanks for the videos. Very professional looking.

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

      andy parry My solution is far from being perfect. Since it is not exactly centered, the pot is attached with a pice of (flexible) wire. My skills in video editing are higher than my mechanical capabillyties ;) I have added a picture at my project page: www.homofaciens.de/technics-computer-arduino-uno_en_navion.htm#PotentiometerMount

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

    I would give your video two thumbs up were it possible, great information.

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

      Kugruabay Thanks! Share the video with your friends. That might give me a second thumb up.

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

    I made a micro donation to your projects... Thank you much for this video

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

      +Menuka Gamage Thanks for your donations - each coin counts.

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

    WOW! thanks for posting! Lots and lots of interesting information. Very educational indeed!

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

    I love the DIY nature of the video.

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

      Lorenz Wolf It's because I like DIY machines - my latest project is a low tech CNC machine. That video will be online soon.

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

    Congratulations on your excellent explanation of automated positional control. Do you work with CNC machines professionally?

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

      +dazaspc Thanks! The only CNC machines I have been working with are those I have build by myself.

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

    were you polling the inputs, or using interrupts? i was under the impression that if you used interrupts it wouldn't skip pulses

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

      Yes, interrupts enable much faster processing. I will explain in more detail how things work in future videos. In my chapter about rotary encoders I am demonstrating how to control a printer paper feed with an Arduino, using interrupts:
      homofaciens.de/technics-base-circuits-encoder-disc_en.htm

  • @andyspoo2
    @andyspoo2 10 років тому

    Thanks for the extra info and photos,. Greatly apprrciated.

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

      andy parry You're welcome! Requests like yours help me to improve my project. If you'd like to get a quicker response, visit my project page and leave a comment (I'm not logged in to UA-cam every day...).

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

    Thanks for the video. How are you showing the waveform in laptop? Are there any easy mechanism to connect the multimeter to to it?

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

      Its done with my USB oscilloscope:
      homofaciens.de/technics-metrology-oscilloscope_en.htm

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

    Hi Norbert, really so much useful information in one video so, thanks again! It appears to me that the wiring diagram for your H bridge may not be correct. If so it is not of great importance as the message is clear but I thought you might like the feedback.

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

      Nobody is perfect. What error in which diagram at which time code of the video do you mean?

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

    Amazing video and lol, right at the end you sound like the "Terminator", when you said "I,I'll be back". :)

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

      +arif anwari ...it's a promise I have kept multiple times before. My latest video will go online at the end of this week and it is about an upgrade of my CNC v2.0 - stay tuned!

  • @СКФ-з3я
    @СКФ-з3я 4 роки тому

    Hi and thanks for your videos! What is the usb-oscilloscope you are using here?

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

      It is a DSO-2090 with OpenHantek under Linux as software.

    • @СКФ-з3я
      @СКФ-з3я 4 роки тому

      What ist your opinion about DSO-2090?

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

      I still like it. My chapter about oscilloscopes is:
      homofaciens.de/technics-metrology-oscilloscope_en.htm

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

    I can't find the video he refers to at 9:57. (How to build the servo)
    Can someone help me?

  • @MORAL1952
    @MORAL1952 2 роки тому

    How did you remove the mirrored part of the CD? Do you know any chemical process?
    Thanks.

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

      No chemistry, just a sharp knife: Cut along the edges and scratch off the infield.

    • @MORAL1952
      @MORAL1952 2 роки тому

      @@HomoFaciens Thanks

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

    Cool video, very understandable principles. Which car in the video is it ?

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

      ***** Thanks! It is a Citroen 2CV from 1985 I am currently overhauling. See www.entmontage.de for details.

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

    Nice Lesson well done easy to follow.

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

    This is absolutely brilliant. Thank you for sharing.

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

      +Martin Johansen You're welcome!

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

    Ausgezeichnet. Einsame Spitze!

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

    Awesome video 🇧🇷😉👍great video 👏👏👏👏👏👏 thank you bro, subscribed !

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

    Can't wait to apply this wiper motor servo control to my Halloween props! Excellent video!

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

      +Montclair I am currently working on a video about rotary encoders. I am showing how to build an even better wiper motor servo. Stay tuned!

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

    I need that control software, but, without the soft start, how can i eliminate the soft star of the software?

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

      As told in the video and written in the video description box, got to the project page:
      homofaciens.de/technics-computer-arduino-uno_en.htm

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

    Really impressive content! I'll be checking out more of your videos and trying new things! :)

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

    thanks a lot I have understood from this tutorial what I have been struggling for a long time to understand

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

      +Hossam Zayed You're welcome!

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

    I seek information about how one would integrate a Heidenhain glass scale TTL output into the Arduino. I have seen videos on how the step count is replaced with real numbers that are incremented according to the direction that the Heidenhain is reporting. That is an easy concept.
    However, I have not figured out nor have I seen anyone show how the TTL output for a 3 axis CNC can be put into the 3 axis output to the stepping motors. I understand that I need more input and output pins of the larger Arduino Mega 2560 R3 (It has 54 digital input/output pins (of which 15 can be used as PWM outputs), 16 analog inputs).
    It seems daunting or perhaps I am just terrified by the problem. Can you show me one axis output (I have seen that) and one axis input (I have NOT seen this)? Do you have this information in one of your videos that I have obviously have not watched?
    We bought an OpenBuilds C-Beam, and it became obvious that higher accuracy would be realized with minor changes that I have seen on large & expensive CNC machining centers, such as the glass scales. I have found that a Heidenhain set for 3 axis and a DRO can be purchased for ~~$300 which would increase the $1,000 value of the CNC machine tremendously.
    Louis DiFrancesco louisdifran@gmail.com 505 515 4700 Boston, MASS

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

      +Louis DiFrancesco I don't have a Heidenhain linear sensor, nor a OpenBuilds C-Beam. Send me both and I might start coding, but don't expect to get it back ;-)
      A high quality sensor doesn't necessarily improve the accuracy of a CNC as it doesn't eliminate backlash nor deflections of the mechanics. It won't turn your cheap machine into a tremendous CNC.

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

    Very informative and thank you for such wonderful explanation. It would be great if you could share how did you achieve potentiometer readings with zero fluctuation(07:23). I have tried the same couple times, but the values from potentiometer were never so stable even after implementing low pass filter on the software as well as hardware side.

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

      The potentiometer is a very large one with a wound resistance wire. The tiny carbon film potentiometers aren't that good. The input voltage should also be free from interferences. Batteries are a good voltage source.
      Finally I can't say for sure whether or not I had implemented a special software filter to get the stable output. I usually don't keep the source codes used for those short video sequences.
      I will talk about ADC input in a future video about "Physical Computing".

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

      Thanks for your instant reply. The experiments I conducted were based on 10 turn Wire wound resistor from Bournns(uk.farnell.com/bourns/3590s-2-103l/potentiometer-10k-5-linear-2w/dp/1612611) . Could you please share the model number of the potentiometer in the video?

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

      It was a potentiometer I salvaged from whatever old device. The label from the manufacturer is unfortunately no longer readable.
      ADCs usually show instability in the one or two least significant bits, so I guess I used some kind of software trick to get that stable display reading.

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

      If you ever recall the software trick you implemented, please share. Thankyou for your support. :)

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

      For example: only refresh the display if the change in ADC value exceeds a given threshold. That's what came to my mind first.

  • @PhG1961
    @PhG1961 10 років тому +1

    Excellent video/tutorial ! I enjoyed it very much and even learned from it! I hope you'll post many more.
    Btw, where are you from ?

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

      Philip Gevaert Thanks! The video I am currently working on is about physical computing (amplifying digital signals and sinple sensoring). Stay tuned!I am tinkering in a small village located at the center of Germany.

    • @PhG1961
      @PhG1961 10 років тому

      Nice to hear there's more on the way. I visited your site, so yes I already knew you are located in Germany. But I was wondering where in Germany?
      I'm from Belgium, near Antwerp.

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

      Philip Gevaert Near the mid point between Frankfurt and Cologne, about 330km away from Antwerp.

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

    What is the software you are using for the system simulation?

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

      I have used geany to write soma Java code for the animation sequences.

  • @mohammadbaber5770
    @mohammadbaber5770 10 років тому

    I was long waiting for your Video on servos controlled by Microcontroller. To my surprise you used my favorite microcontroller Arduino Uno. Would be great if you can explain about Software program/codes as well.

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

      The source code is available at the project page:
      www.homofaciens.de/technics-computer-arduino-uno_en_navion.htm
      Reading that code should be easy since the Arduino libraries do most of the job.

    • @mohammadbaber5770
      @mohammadbaber5770 10 років тому

      HomoFaciens Thank you very much for the codes. I was wondering if you could inform/send me the libraries link (for and
      ).
      I tried to find avr/io.h on google! but what I find is a code text. Sorry I am very beginner even to arduino and don't know how to use that.

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

      Mohammad Baber
      Simply delete the two lines including the libraries and . They are relicts from my first first code lines around the wiper servo (before programing the Arduino I used AVR microcontrollers and I did the coding in assembler ).

    • @mohammadbaber5770
      @mohammadbaber5770 10 років тому

      HomoFaciens Thanks. I already realized that without these libraries the code still works.

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

    hi
    the presented video is very useful. have you any idea about analog type of servo motor or digital? witch one is better?
    i see analog type before in your video collection.and what about use of encoder? witch one is best?
    thanks

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

      Wich type of servo is best depends on your application. Analog servos are cheap, compact drives, digital servos are usually more expensive but have a higher accuracy and no jitter.

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

      so i want to make a CNC machine. and i think the use of servo motor is better than stepper. but as i see in your video you use of microcontrollet to count each step(forward and backward). what happen if your motor turn fast? can microcontoller count encoder steps?

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

      Of course you must ensure that the pulses don't come in too fast.

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

    Very informative! Thank you!

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

    Спасибо большое.

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

      Mr ПоделкинЦ You're welcome!

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

    Great video. you did a amazing job, keep it up. I was wondering how many times you must have changed the code and how many times you must have changed hardware. I have a question. How to get the waveform in you mac book? as you did at 14.50 min.

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

      Trilok singh Thanks! That waveform was recorded using a USB oscilloscope type Hantek DSO2090. Here is my video about that device:
      ua-cam.com/video/haGg4iS-pFw/v-deo.html
      Why using a mac book if Linux runs on cheaper and better hardware ;-)

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

    you dont have any video when you explaine pi and pid regulation in software, "how to do"? have look a little bit but not finding..

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

      I have more videos about "Physical computing" and control circuits in mind, but currently they are not on top of my list...

  • @ДмитрийЛукьянов-м5о

    Hello. Can you help to write a sketch for Uno to control Nema17 (a4988) from ir remote. I need nema to do few step steps forward on 1 button, and same steps backward on another button.
    Please, i will really appreciate if you can

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

      Well, I am not the man that does your work for free. Learn to do coding with the Arduino - there are Gigabytes of documentation and Tutorials and if you know how to control motors you can start to rule the world.

  • @76Raby
    @76Raby 8 років тому

    Excelent video + you shared the source code. Thanks a lot.

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

      +Radek Bystřický All my projects are open source. Makers all over the world must be able to replicate machines they need.

  • @sjohn-777
    @sjohn-777 7 років тому

    Can I use a stepper motor or a regular DC motor with Arduino without using a motor driver/shield ?
    I found few from a printer/scanner

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

      You can't connect them directly. You must build an amplifying circuit or an H-Bridge to control motors, I made a video about "Pyhsical Computing" showing the basics:
      ua-cam.com/users/edit?o=U&video_id=9Qumu2h8FjY
      More videos about creating and controlling DIY peripherals will follow.

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

    amazing work. thank you for sharing.

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

    what are u making
    .

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

    Great tutorial. Thank you, Schwarzi.

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

    I thought connecting motors directly to the Arduino would burn the arduino due to inductive spikes in voltage. Why didn't that happen?

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

      severalmalfunctions Connecting really bad electric motors might eventually cause damage, but that did not happen to one of my Arduinos so far. Remember that each servo has an electric motor and I often connect servos directly to my Arduino (as long as the current is below 400mA). The fan I have used is from a computer, thus there are internal suppressor capacitors which is also true for servo motors. The lower the power of the motor the less powerful the inductive peaks. Using a flyback diode or capacitors is always a good idea. I will point that out more clearly in future videos.

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

    Is it possible to design a PID control circuit similar to this using "state-space" methods programmed into the microcontroller?

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

      The real question is, if this makes any sense for your application. Is there a reason why you think state-space would be an improvement over conventional PID control?

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

      HomoFaciens
      We learned the theory behind state-space methods years ago in college. We ran a SS simulation in MatLab for a motor control system. The tracking error reduction was supurb. I'm interested in trying it myself just to see if i can achieve the same results. I think it would be a great learning experience. There is no particular high accuracy application. I just want to drive a permanent magnet DC Motor using state space methods only for "academic" purposes

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

      Definitely something worth trying. Share the results of your experiments. I will keep the solid state method in mind for future videos about control loops.

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

    I have an old lathe that power feeds the carriage in both directions, alas, at much too high speed/ I have been told an auto wiper motor has enough torque to provide a geared down drive to the main lead screw. My question is can a wiper motor rotate as a stepper motor or servo motor using and arduino circuit and a potentiometer to vary the speed from very low rpm without sacrificing torque. My lead screw has a clutch that makes it independent of the normal lathe drives and I can fabricate a connection to the right end from such a drive. Is this feasible. I am a machinist but a newby in arduino capabilities. I used to program in 'Turbo C' and Basic as a hobby.

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

      +RTOHIO In my video under construction about rotary encoders I will demonstrate how to turn a wiper motor into a digital servo using an Arduino. Nonetheless you need some programming skills to adapt such a motor control to your special needs. When reducing the speed by PWM, the torque is also lowered, thus you have to implement a PID control loop, especially the Integral (time) variable is what keeps the torque up.

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

      +HomoFaciens Thanks so much for considering my problem. My original solution was to use a variable speed DC gear head motor and step the speed down with a belt pulley arrangement. I had heard that automotive wiper motors were powerful and ran relatively slow, so thought they might be cheaper way to go. I used to program in Basic and Turbo C, going to play with an Arduino this winter but spend most of my spare time machining now. Thanks again.
      Ron

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

      +RTOHIO Well, your problem is very special, thus I can't give you a perfect solution. Yes, the wiper motors are very strong with relative low rotation speed. They draw a high current, thus you need a power H bridge to control those motors through a microcontroller.
      Learning to handle an Arduino is a good idea for long winter nights.

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

    you are genius. ..can I have the technical specifications and software of a wiber motor via potentiometer (the last revision with improved tourge and precise response ) ,I need to implement it ..thanks

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

      +marine yard
      Did you have a look at the project page?
      www.homofaciens.de/technics-computer-arduino-uno_en_navion.htm
      You can get the software in the download section.

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

      Thanks alot for taking the time to respond. ..I saw the page after i comment. ..my problem is my servo is 24 vdc with 1kohm feedback resistor attached to it in addition the set point resistor that already exists is 5kohm ..the system is to control a woodword governor that drive the speed of an engine ... I guess one to do it is to use the motor drive BTS7960s you suggested as its rated voltage is 45vdc ..still thinking of a way to accommodate the resistors ..

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

      +marine yard Sorry, but I don't understand what the trouble with the resistors is: You can use a 1kOhm as well as a 5kOhm potentiometer. Why do you talk about two different types?

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

    hi
    am looking for how to make dc motor as stepper motor step by step ?
    any tube for that ?
    thanks

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

      I have written chapters about rotary encoders with sample circuits and codes:
      homofaciens.de/technics-base-circuits-encoder-disc_en.htm

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

    good the best proyect i have seen , i need one just like that can you make one for me and tell me how much will cost ?
    thanks

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

      Sorry, I am just a teacher, not your hardware supporter ;-)
      Learn how things work and try to build your door opener.

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

    Excellent video. Thanks for that...

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

    I need this code as you are sowing 06:12 controlling an H bridge, by rotating the encoder disk the other motor is rotating in the same direction and same speed.

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

      Have a look at my page(s):
      homofaciens.de/technics-computer-arduino-uno_en.htm

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

    the old system is analog card designed with two types of resistance 1k for the feedback and 5k for the set point , I am not sure why ...I am trying to update the system with out replacing the servo motor as its attached to the governer with perfect fit

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

      +marine yard Yes, a tight fit of the sensor servo is essential for precise movement. Maybe you must cut at least one of the pins to isolate the potentiometer from the old circuit.

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

      Thanks a lot for your help

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

    buen proyecto pero creo que hay un error en el grafica tiempo 11:44 se ve que la salida 6 va los gate de los Mosfet verde y rojo simultaneamente habria un cortocircuito
    los mosfet verde deben prender juntos

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

      The upüper MOSFETS are in fact P channel types. I accidentely painted the MOSFET arrow into the wrong direction, thus they are drawn as N channel - my bad!

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

    does all servos spin 360 deg or more?

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

      +Sayf Alattar Usually all RC hobby servos can be modified for continuous rotation. Without that mod, the angle of rotation is 180 degrees.

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

    So frickin' excellent! Thank you!

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

    can u share the code hat you used in 17:04 soft start and emergency stop

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

      The sources of my videos are available on my project page:
      homofaciens.de/technics-computer-arduino-uno_en.htm

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

      thank u alot

  • @sagsolyukariasagi
    @sagsolyukariasagi 10 років тому +2

    great video. I would like to be your trainee for some days!

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

      Thanks!
      You are my trainee whenever you watch my videos ;)

    • @mohammadbaber5770
      @mohammadbaber5770 10 років тому

      HomoFaciens I also want to become your trainee! By you are right, you videos are excellent source of information with visionary ideas getting realistic. And this all with simple components.

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

    Thanks its very important to my contry

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

      You're welcome! Share my projects with your friends to help them, too.

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

    can you help to connect arduino with printer sensor?

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

      +Hamza Rehman How to reuse photo sensors of old printers with an Arduino will be a subject of one of my next videos - stay tuned!

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

    amazing project !

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

    Great explanation !

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

    Great video, thanks for sharing!

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

      Didier Lauwerys You're welcome!

  • @Huynh-Tan-Quoc
    @Huynh-Tan-Quoc 9 років тому

    Can you for me the software simulor ?

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

      +Quoc Huynh The animation sequences of this video were written in Java.

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

    please guys tell how to rotate modified servo motor in clockwise and anticlockwise i mean that i want to rotate the a continuous servo in both direction forward and backward

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

      Shashi Kataria Use an Arduino to generate the pulse-width signal. There are examples shipping with the Arduino IDE (Look in the main menue: File->Examples->Servo). Read the documentation about myservo.attach(pin_number) and myservo.write(servo_pos).

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

      +HomoFaciens Can u please tell me code to rotate it clockwise and anticlockwise with ardunio uno I have modified its gear to make it continues rotation servo help me

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

      Shashi Kataria Have a look at the Arduino playground. You will find something like this: playground.arduino.cc/Learning/SingleServoExample

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

    Excellent video/tutorial

  • @lhtechnology
    @lhtechnology 10 років тому

    how did you learn to program?

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

      I started with Amiga Basic and oldschool paper books in 1987. I also came in touch with assembler using my Amiga500.
      I used assembler when starting to program ATmega chips with mikrocontroller.net as the source of my choice (German language). There is lots of ducumentation around the Arduino available:
      arduino.cc/en/Guide/HomePage

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

    you are just awesome man... thank you.

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

    I watched this video, very informative, thanks!

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

      +Bogdan Czarnecki You're welcome!

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

    excellent video thanks for shareing

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

    Exellent video. well done.

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

    Would be awesome if you could make exact same video only showing software part of this.

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

      You can't learn software by watching it - you must read the source code and try to understand the logic behind!
      You can get the source on my project page:
      homofaciens.de/technics-computer-arduino-uno_en.htm
      ...and I will create chapters about "Physical Computing", explaining in more detail how my machines work - stay tuned!

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

      yeah you right, i found most of the source code on your webpgae except the position controlling of the dc motor with pid. Do you mind to upload that code please

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

      herantd
      You should tell me exactly what project you are talking about. I have done multiple projects with postion controlling of DC motors. The one of this video is named wiper_motor_servo.zip

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

      code for project that starts 11:48 and ends at 18:35

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

      That's what I have implemented in the wiper_motor_servo.zip - not perfectly. I will go in more details when starting the physical computing series - stay tuned!

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

    Ill be nice now , this is an exceptional video , definitely getting a subscribe now !!!

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

    Really great man