Build a robot – Part 8: First test drive with motor driver and ultrasonic sensor

The first prototype is done and is running very well. The missing steps for the final test drive were to assembly the power supply for the Arduino itself and the dc motors. For the Arduino I have used a simple 9V battery adapter. The robot base is using a bracket for two 18650 batteries, which was included within the assembly kit for the robot base. So, if you are vaping, you can use your batteries from your mod. I think for the future there is a need for replacement. Two 18650 will deliver together 7,2 V but the dc motors can run at 9V. So there is some improvement in performance possible.

Additionally some lines of code were needed for telling  “Horst” to turn right when an obstacle will appear in a giving range. The code is using the libs I have created in the previous posts. The repository for the project can be found here:

Finally, “Horst” is driving around and is recognizing obstacles. See the following clip:

14 thoughts on “Build a robot – Part 8: First test drive with motor driver and ultrasonic sensor

  • January 27, 2019 at 4:42 am
    Permalink

    Hello there, I found your blog via Google while looking for a related topic, your web site came up, it looks great. I’ve bookmarked it in my google bookmarks.

    Reply
  • February 15, 2019 at 3:49 am
    Permalink

    I truly appreciate this post. I¡¦ve been looking all over for this! Thank goodness I found it on Bing. You’ve made my day! Thanks again

    Reply
  • February 25, 2019 at 5:24 pm
    Permalink

    I constantly spent my half an hour to read this weblog’s articles all the time
    along with a cup of coffee.

    Reply
  • February 25, 2019 at 10:20 pm
    Permalink

    Wow that was strange. I just wrote an extremely long comment
    but after I clicked submit my comment didn’t show up.

    Grrrr… well I’m not writing all that over again. Regardless, just wanted to say superb blog!

    Reply
  • February 26, 2019 at 8:42 am
    Permalink

    Good man!
    Philadelphia Holistic Clinic quickly became the leading Acupuncture, homeopathy, and hypnotherapy center in the metro area. Dr. Tsan – Medical Director of the clinic has 40+ years of academic and practical experience in Internal Medicine (OB-GYN and Naturopathy). Victor Tsan, MD – an internationally recognized specialist in Traditional Chinese Medicine, Classical Homeopathy, and Clinical Hypnotherapy graduated from the most famous medical schools in Europe, Asia, and the USA.
    In our philosophy, each patient is a unique entity and not a case of a particular disease. The disease is a result of the bodily, psychic, public and ecological discrepancy. Thus, natural treatment becomes effective when all the fragments of human being converted into an appropriate set of balances. The holistic treatment techniques (Traditional Chinese Medicine, Homeopathic Medicine, Clinical Hypnotherapy, and Reiki, we teach your body systems to heal itself.
    Philadelphia Holistic Clinic accommodates five major departments:
    Philadelphia Acupuncture Clinic
    Philadelphia Homeopathic Clinic
    Philadelphia Hypnotherapy Clinic
    Philadelphia Addiction Center
    Philadelphia Weight Loss Clinic
    Details on this link. http://bit.ly/2U9V8cw

    Thank you for your attention.

    Reply
  • February 26, 2019 at 9:21 pm
    Permalink

    Way cool! Some very valid points! I appreciate you
    penning this write-up and the rest of the website is also really good.

    Reply
  • March 13, 2019 at 7:24 pm
    Permalink

    Hmm is anyone else having problems with the images on this blog loading?
    I’m trying to figure out if its a problem on my end or if it’s the blog.
    Any feedback would be greatly appreciated.

    Reply
  • March 14, 2019 at 12:35 am
    Permalink

    Fantastic site you have here but I was wanting to know
    if you knew of any user discussion forums that cover the same topics talked about in this article?
    I’d really love to be a part of online community where I can get
    feed-back from other knowledgeable individuals that share the same interest.
    If you have any recommendations, please let me know.

    Thanks a lot!

    Reply
  • March 23, 2019 at 3:53 pm
    Permalink

    Hello i am kavin, its my first occasion to commenting anywhere, when i read this piece of writing i thought i could also create comment
    due to this good article.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *