Build an ESP32-CAM Robot Car

Поделиться
HTML-код
  • Опубликовано: 1 июл 2024
  • Build a remote-controlled robot car using the ESP32CAM module and TB6612FNG Motor Controller.
    Article with all the code: dronebotworkshop.com/esp32cam...
    More articles and tutorials: dronebotworkshop.com
    Join the conversation on the forum: forum.dronebotworkshop.com
    Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
    Discuss this video and show off your creations at forum.dronebotworkshop.com/20...
    Today we will be building a fun project, a small “robot car” based upon the popular ESP32CAM module. Our car will create its own WiFi access point, so you can control it using a phone, tablet, or computer and you can use it anywhere, indoors or outdoors. It streams video and has some basic controls, and it would be a great project for those just getting started with electronics.
    And the best thing is that you don’t have to build it the way I did, in fact, it would be more fun to build it into an existing toy car or to use a base of your own design. Of course, if you want to follow my design you can get step-by-step instructions in the article accompanying this video.
    You can also modify the web-based interface and you could even add additional components. You’re limited only by your imagination, and by the small number of GPIO pins on the ESP32CAM module!
    Here is the Table of contents for this video:
    00:00 - Introduction
    01:50 - ESP32CAM Robot Car Overview
    08:46 - Design Considerations
    16:03 - Robot Car Hookup - FTDI
    18:25 - Robot Car Hookup - Motor Controller
    21:32 - Robot Car Hookup - Power Supply
    25:19 - Robot Car Assembly
    30:22 - Robot Car Code
    39:15 - Robot Car Demo
    43:03 - Conclusion
    Hope you enjoy the video. If you want to discuss it further, or if you’d like to post a picture or video of your own ESP32CAM robot car, you can visit the DroneBot Workshop Forum where you will find a thread dedicated to this project at forum.dronebotworkshop.com/20...
  • ХоббиХобби

Комментарии • 259

  • @Dronebotworkshop
    @Dronebotworkshop  5 месяцев назад +1

    Hi everyone - It's come to my attention that there has been someone masquerading as myself, responding to some comments here with a link to a Telegram chat to win a prize from me. THIS IS A SCAM, I am not holding a contest, nor do I have a Telegram account. PLEASE DO NOT RESPOND TO THESE MESSAGES!!
    It's happening on a lot of my videos, I'm taking steps to remove them manually, but as I have 162 videos, it will take some time. If you do run across a suspicious comment, I would appreciate you letting me know at info@dronebotworkshop.com.
    Thanks!
    Bill (The real one!)

  • @Dronebotworkshop
    @Dronebotworkshop  3 года назад +103

    My apologies for taking so long to get this video out, I'm "breaking in" some new equipment and the recording didn't go as smoothly as planned (which is an understatement LOL)! Two broken cameras and a couple of power failures didn't help either. There are also a few audio glitches due to a loose cable that I have tried to correct as best I can, however, I didn't want to wait any longer to release this. Thanks for your understanding.

    • @philgo2024
      @philgo2024 3 года назад +11

      You don't have to apologize, you always offer us good quality content, we can imagine the time it takes to you, nothing necessarily goes as planned, it's just life ...

    • @gravestoner2488
      @gravestoner2488 3 года назад +4

      Unplug it, lick it, and plug it back in 😉

    • @vax_ta
      @vax_ta 3 года назад +2

      please build arduino based rc transmitter and receiver for drone okay ?

    • @NIKOLA_KOLOSOV
      @NIKOLA_KOLOSOV 3 года назад +3

      URL of "Article with all the code" is 404. Please change it)

    • @RogerTannous
      @RogerTannous 3 года назад

      @@NIKOLA_KOLOSOV That's right, the link at the bottom of the description is good (forum.dronebotworkshop.com/2021/build-an-esp32cam-robot-car/)

  • @BeefIngot
    @BeefIngot 3 года назад +9

    I've just realized that I haven't seen a 3d printer on this channel. I feel like this channel would benefit greatly by getting into 3d printing. It quickly makes everything a nail to it, the hammer for small projects.
    Need a project box? 3d print it, and add a custom cutout for a screen and maybe a camera or encoder too.
    Need a gear set? 3d print it, and for low speed applications it'll do just fine (and even medium/high speed with the appropriate bearings/lube)
    Need to make a latch system? 3d print it.
    Want to make a stand for that thing that's shaped weird? You guessed it.
    One of the greatest things is how quickly you can go from idea in your head to physical thing in your hand of relative high quality. Of course there's still a place for manual assembly of physical components, but for projects like the ones featured on the channel, you could slap a 3d printer in all over the place.
    It doesn't even have to be features, it could just be useful for setting up demonstrations.
    Just a suggestion I think would be an awesome addition to this channels arsenal.

  • @musaadejoshuaibuopaluwa1712
    @musaadejoshuaibuopaluwa1712 3 года назад +6

    Bill, I really love your tutorials.
    I am making a living out of them by designing stuffs based on your ideas.
    Thank you for your efforts and time.
    You have changed my life for better.

  • @philgo2024
    @philgo2024 3 года назад +5

    It is always with great pleasure that I watch your videos.
    Many thanks from France, for your meticulous work!

  • @ed.puckett
    @ed.puckett 3 года назад

    Thank you once again for an inspiring video. Your patient and thorough teaching style is great!

  • @StephenKoplin
    @StephenKoplin 2 года назад +5

    This is such a great tutorial! I'm trying to build something like this with my son, and this is perfect. Thank you!

  • @BeefIngot
    @BeefIngot 3 года назад +28

    Really small technical note: The 18650s are not lipos, but lion batteries.
    The difference is you can let a lion get down to 2.5v whereas the same voltage for a lipo would severely harm the battery.

    • @leglessinoz
      @leglessinoz Год назад

      What you're calling a lipo is still a lithium-ion battery. In a standard Li-ion battery, the electrolyte is a liquid while in a Li-ion polymer battery it's a polymer.

  • @gcmlrd12
    @gcmlrd12 2 года назад

    Great project. Thanks Bill your work is truly appreciated.

  • @bclamore
    @bclamore 3 года назад +1

    I'm a HS tech teacher, and I do teach electronics. This would be a perfect project for them. Going to price it out and try it myself over the summer. Thank you!

  • @karllaun2427
    @karllaun2427 3 года назад

    Yet another well-produced video. I can see me adapting this to a Devastator chassis I have in my shop.

  • @brendanowen7563
    @brendanowen7563 3 года назад +1

    I have been looking forward to this video since you announced it in your news letter email. Thank you again for such great content. Looking forward to building one of my own.

  • @tatavox1408
    @tatavox1408 3 года назад

    Hi Bill , Good job ! Thank You for yor time ! Thank You for sharing with us ! Very interesting project !
    I have been waiting for so long for this video,and others with ESP32-cam !

  • @tubeDude48
    @tubeDude48 3 года назад +1

    I have had the same base with motors for a couple of years, but did nothing with it. I guess I'll build one now! Thanks Bill.

  • @herbertattema9890
    @herbertattema9890 3 года назад +3

    I have been waiting for so long for this video, thank you so much

  • @Telboy-fv8ke
    @Telboy-fv8ke 3 года назад +4

    This was really cool as usual . I would love to see a servo steering version

  • @Lumiobyte
    @Lumiobyte 3 года назад

    You are the best electronics channel on RUclips I swear

  • @ktwice7481
    @ktwice7481 3 года назад

    Great and clear detailed video, and nice style of working. Thanks for inspiring

  • @hrithikhu
    @hrithikhu 3 года назад +8

    No one can replace your channel in terms of explaining stuffs.
    Thanks for being so great and motivating small hobbyist.

    • @3DShe
      @3DShe 3 года назад

      Hello Shaw, It seems you know about the video content... May I ask you to help me know all the names of all componentes needed to build this project?

    • @hrithikhu
      @hrithikhu 3 года назад

      @@3DShe do you want take my test ? BTW not interested in your stupidity.
      Thanks

    • @paarthsstudio
      @paarthsstudio 2 года назад

      @@3DShe sure, esp32 cam, antenna, tb6612fnd MOTOR DRIVER MODULE, Flashing LED, 2xli-ion holder, 2 x 18650 li-ion abtteries, dc boost converter, ftdi adapter, dupont cables, dc geared motors, castor wheel and a frame

  • @madwurst7670
    @madwurst7670 3 года назад

    Exactly what I searched for. Nice Video!

  • @zyghom
    @zyghom 2 года назад

    your workshop is VERY CLEAN and neat - it is very rare ;-)

  • @tanjiro3285
    @tanjiro3285 3 года назад +2

    liked first, not yet seen the video
    but much much needed 😘 ♥️ Thank you. Ur videos gives deep insights 🔥🔥🔥🔥

  • @Oldfogey2014
    @Oldfogey2014 3 года назад

    Many thanks for making this video...I think you explain everything really clearly and that's why I am subscribing. I am looking forward to making a robot car.

  • @ranjithshetty7078
    @ranjithshetty7078 3 года назад

    Best teacher🙏

  • @mafhper
    @mafhper 3 года назад +8

    Excellent content. One of the best I've seen around here. kudos for speaking cascade style sheet instead of css ;)

  • @xidameng
    @xidameng 3 года назад

    Just what I wanted to make! Great content

  • @AbhipolV
    @AbhipolV 3 года назад +1

    Awesome project! Please consider making a FreeCAD tutorial. I think many ppl would benefit from your teaching style!

  • @onecircuit-as
    @onecircuit-as 3 года назад +1

    Excellent video. Also the same combo for my luggage! 👍😀

  • @andreparaiso6565
    @andreparaiso6565 3 года назад +1

    Great video, I'm currently working on getting a IKEA KALLAX modified to hold my PS5, and I was going to try and use some simple relays to control a couple of computer fans to provide ventilation, but that TB6612FNG module looks like a good fit, with the benefit of providing some speed control. Once again thank you for the Idea :)

  • @ermakers1297
    @ermakers1297 2 года назад +2

    Built something similar using a L298N motor driver and a Tamiya tank base. The big advantage with the L298N is that is has a 5V regulator built into the module so there is no need for the buck boost converter. Supply power to the motor driver and it outputs 5V at upto 500mA which is more than enough for the ESP module. Simplifies the design and reduces part count significantly. The L298N is a big larger though, but it can also handle higher current loads if needed.

  • @donaldkormos5529
    @donaldkormos5529 3 года назад +2

    Wonderful video ... might have applications to my model train layout ... thanks Bill !!!

    • @EcoHamletsUK
      @EcoHamletsUK 3 года назад

      I've had the applications in my head for ages, but this looks like reducing the amount of work I need to do to make them real!

  • @anwar6971
    @anwar6971 3 года назад

    Thanks for teaching sir.

  • @retrorocketman6969
    @retrorocketman6969 2 года назад +6

    Thanks for using your time to educate everyone in robotics. I have had a little difficult time finding a video that is clear and to the point. Speaking of video, the quality and clarity is perfect. The affordability of the esp32 cam has sparked my interest in robotics. I would like to use the facial detection to make a device that will recognize a individual and speak there name in a sentence. Such as a simple greeting. Would it be difficult to incorporate that into the code? Could you make a video on that subject if you haven't already. Thanks for the awesome work!!

  • @BrokenDude2009
    @BrokenDude2009 3 года назад

    Thanks dude you are a life saver

  • @kltr007
    @kltr007 3 года назад +1

    I think it was as much fun for me to watch the video as for you testing the robot :-)
    BTW: Did you ever considered a video about how you make your videos (animations, schematics, etc)?

  • @mcneill64
    @mcneill64 2 года назад

    Thank you, thank you, thank you!

  • @abpccpba
    @abpccpba 3 года назад +1

    Great Project as usual. : - ))

  • @JoseBerruezo
    @JoseBerruezo 3 года назад

    Nice video. Thank you

  • @vijayjayaram606
    @vijayjayaram606 3 года назад

    Wow.... Always superb content...
    One stop solution to whatever you explain
    🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼

    • @razorscythe7258
      @razorscythe7258 3 года назад

      hey are you from India? Can you tell me the best website to purchase the modules?

  • @DurgeshYadav-np3nx
    @DurgeshYadav-np3nx 3 года назад

    Thanks you for this .... I am working on similar project and this helps a lot 🙏

  • @r_s_steam_cr
    @r_s_steam_cr 5 месяцев назад

    Usted es genial!!! No solo porque comprende la lógica, sino porque su manera de explicarlo todo es muy sencilla y fácil de comprender. Cuando inicié en el mundo de los arduinos, su canal fue uno de los primeros que encontré, y desde entonces tiene un seguidor. Saludos. Ricardo.

  • @petfrogg
    @petfrogg 3 года назад

    Really liked this video. It would be fun to see how to expand this project to use a 2-channel rc controller to drive it while watching the video stream.

  • @erikschmidt2571
    @erikschmidt2571 Год назад

    I'm really happy I got some of the code!

  • @antoinedevos3765
    @antoinedevos3765 3 года назад

    Thank you for your very good video .. allways 👍🏿👍🏼👍
    😊

  • @alejandroosorio8154
    @alejandroosorio8154 3 года назад +1

    Thanks for the video, Im a teacher in México and several proyects yours help me to my students I apreciet your time

  • @nixo0077
    @nixo0077 2 года назад +1

    Doskonały pomysł, doskonałe wykonanie. Sam sobie zazdroszczę, że tyle ciekawych tematów jeszcze mam do zobaczenia i testowania. Co do ciekawych i pożytecznych dla domu pomysłów to interesuje mnie temat arduino lub esp32 kosiarki do trawników. Pozdrowienia z PL

  • @CarsonNiepper7118
    @CarsonNiepper7118 3 года назад

    Thank you very much for a interesting tutorial. ,,👍👍👍

  • @johnhadley1117
    @johnhadley1117 2 года назад

    really good video really admire your work

  • @fabiolus2007
    @fabiolus2007 3 года назад

    Master is showing the way, I shall look into now.

  • @anwar6971
    @anwar6971 3 года назад

    At last you are back.

  • @larrybud
    @larrybud 2 года назад +1

    My dog is going to hate you :-) Thanks for a nice tutorial!

  • @sddiymakeitworthit7512
    @sddiymakeitworthit7512 3 года назад

    Always amazing and speechless you are awesome

  • @debasishm5189
    @debasishm5189 3 года назад +1

    Sir your explanations are so good and understandable , you are the best teacher!

    • @razorscythe7258
      @razorscythe7258 3 года назад

      hey are you from India? Can you tell me the best website to purchase the modules?

    • @debasishm5189
      @debasishm5189 3 года назад

      @@razorscythe7258 yes these are the best sites - sharvielectronics.com , robu.in

  • @piconano
    @piconano 3 года назад

    Nice tutorial.

  • @soumitradey8208
    @soumitradey8208 3 года назад

    Fantastic Sir

  • @inlywang8157
    @inlywang8157 3 года назад

    Great content

  • @aa-bu7ml
    @aa-bu7ml 3 года назад

    Excellent

  • @johnglielmi6428
    @johnglielmi6428 3 года назад

    Your link in your description for the article gives a 404 error code on the page. however the recent articles link gets you to the page. just thought you'd like to know this. All your videos are quite informative and educational. Never miss them when you make a new one. Keep up the good work. I don't see many articles using the SBC Beaglebone Black, it's a linux based SBC with 2 40 pin GPIO ports.

  • @rsstorm1
    @rsstorm1 2 года назад

    Great job, this video help me alot

  • @zainalhas7416
    @zainalhas7416 3 года назад

    Thanks

  • @Amperekaefer
    @Amperekaefer 3 года назад

    Guter Job 👍👍👏!

  • @RenatoCorreaRJ
    @RenatoCorreaRJ 3 года назад

    Congratulation very great vídeo.

  • @sevenjames5403
    @sevenjames5403 3 года назад

    Great video I built one of these 2 years ago from a Walmart rc car and use exactly what you have used no need for internet it connect to AP point only using esp8266 board thing I didn't have was the video this will be my next project as I use the esp32 cam for surveilance locally where I connect to acess point so I can watch and save video without internet.

  • @logicfacts9964
    @logicfacts9964 2 года назад +1

    I have 4 such modules and there is no any issues with camera quality. If you have problem then run camera demo and manually adjust camera focus by rotating plastic part that holds the camera lens. Also dont forget to remove the protective film at first

  • @Bianchi77
    @Bianchi77 3 года назад

    Cool video :)

  • @mostafasohrabi5634
    @mostafasohrabi5634 Год назад

    good video.

  • @mohammedk.h.f3016
    @mohammedk.h.f3016 3 года назад

    You are great...

  • @gelustoicescu9060
    @gelustoicescu9060 7 месяцев назад

    A good interface would be to slide your finger on an area, with vertical as speed / reverse and horizontal as left/right. It would move much smoother and it allows for turn as you go

  • @TriggerThat
    @TriggerThat 3 года назад

    About the the camera quality. You can buy replacement cameras for $4. You can cameras with wide or zoom lens and some even have longer ribbon cables to overcome the board positioning issue.

  • @vilash2458
    @vilash2458 3 года назад

    Impressive..

  • @madlogik
    @madlogik 3 года назад +1

    Bill, as always, great content! I was looking for a reason to get one of those ESP32-CAM modules. I had loads of fun remotely controlling lights with my NodeMCU (ESP-8266 module) and I now have a new project in mind thanks to you :D
    I Will have to build something with HomeAssistant soon ... especially with that bot in mind ... hummm :D
    I'm finally done with my hand sanitizer project. Did about a hundred of them and learned a ton doing so ...
    I'm sure your viewers could appreciate some box design / PCB mounting tips. it's easy to use some proto boards ... it's hard to plan the inside of a box, get the switches or pots connected in the box (learning about the basics of component mounting in a box) ... that would make a boring, but oh so useful video... I'm almost certain you could make any topics interesting anyway!!
    Thanks again for all your hard work, sorry for your lost friend too, it's bad enough to be losing someone you care about, worst when we cant see each other..
    #CaVaBienAller right? :P

    • @schirmcharmemelone
      @schirmcharmemelone 2 года назад

      depends on how you make the box. you could reuse metal boxes. Or you could make them from wood, acryl glass or 3d print.

    • @madlogik
      @madlogik 2 года назад

      @@schirmcharmemelone Thanks for your reply. We were short on time and had 100 units to do... we opted for a pre-built waterproof enclosure we got from the local electronic shop .. they were expensive ... I need to learn sheet metal work :D

  • @matt3403
    @matt3403 3 года назад

    This is a really good talk through many thanks. Could you make this into a grass cutting automated robot?

  • @viperone1000
    @viperone1000 3 года назад +1

    Great video as usual. I think your article page link is off...check it out.

  • @bignosethethird
    @bignosethethird 3 года назад

    One can get compatible cameras with longer kapton leads on eBay, up to 10 cm long (that's equal to 4 old-world units of length in the USA). The leads do break easily.

  • @lightcapmath2777
    @lightcapmath2777 3 года назад

    More fun...One of the best videos !!! I have a project: 2-4 wheeled robot w/cam and a pressured air/water to clean out gutters. Yes sounds silly..but I am not about to go the a 3-story roof. Have DC motor from a child's fun cart...have two. both do not have any labels on them. Assume 12 VDC but Amps not known. What DC motor regulator would you suggest? How can I test/check Volts needed and Amps. Thank you in advance for your time. David :) AKA DVD:)

  • @philippeantonietti
    @philippeantonietti 3 года назад +1

    I've done a robot mower using a very similar setup 👍

    • @pmontgomery
      @pmontgomery 3 года назад +1

      I've been looking at starting this project. Any good guides/resources you'd recommend?

    • @philippeantonietti
      @philippeantonietti 3 года назад +1

      @@pmontgomery there is something called ArduMower but is arduino based, I still thinking about a way to automatically the mowing rather than have a remote control mower (yeah that is what I ended with) which is quite satisfying step but is not a final solution for sure, I'm trying to understand the "boundary wires" approach as I'm convinced that would be the cheapest and most effective way to go, also be careful with energy spikes from the motor as it can damage the boars 👍

  • @pippaknuckle
    @pippaknuckle 3 года назад +2

    The soldering to enable the external antenna on an esp32 is really hard. It's so tiny. Shame they didn't just make a jumper for that.
    Come on Expressif!

  • @hydromakers
    @hydromakers 3 года назад

    Could you do a VID on timing a stepper motor with a RTC.

  • @leglessinoz
    @leglessinoz Год назад

    I'd like to do something with this basic idea but instead of driving motors for a car it would control a couple of servos and a momentary switch. Also with proportional control.

  • @jimmykan7873
    @jimmykan7873 3 года назад

    Thanks for a good tutorial, got everything working except the screen layout does not fit on mobile browsers correctly, screen is too big for mobile devices. Where can we change the settings?

  • @qwkimball
    @qwkimball 3 года назад +11

    The article link points to a 404. The link from within your site's ESP32 page points to the correct link. Also, great video.

    • @jchiang471
      @jchiang471 3 года назад +1

      +1

    • @krukhlis
      @krukhlis 3 года назад +4

      Yes, just use the right one dronebotworkshop.com/esp32cam-robot-car/

    • @amelliamendel2227
      @amelliamendel2227 Год назад

      The code no longer works

  • @aboudezoa
    @aboudezoa 3 года назад +1

    It will be nice to do self balancing robot with ESP32

  • @erikschmidt2571
    @erikschmidt2571 Год назад

    Great video! Are there any major changes I have to do if I wanna use a L298N motor driver instead?

  • @vermontmario
    @vermontmario 3 года назад

    thank you for this video, you are great.
    one question where can i find these rainbow leds?
    i am a fan of it.

  • @grhgorhsliaphs4166
    @grhgorhsliaphs4166 2 года назад

    Hi , amazing work ! Can html buttons pressed prolonged for the movement ?

  • @mrAlfikri.robotics
    @mrAlfikri.robotics Год назад

    Terimakasih!🫡

  • @cbasmadjian
    @cbasmadjian 3 года назад

    @DroneBot Workshop, I clicked on your article to your website listed in the description and it states "Page Not Found". Any chance you can fix the broken link? Would like to read about this in more detail.
    By the way I am really enjoying your videos. I am a newly subscribed member. Great content.

  • @faysaldjibril1017
    @faysaldjibril1017 3 года назад

    cool je vous kif

  • @starryskywatermirror7586
    @starryskywatermirror7586 3 года назад

    Hi, how would you approach it if you want to have 4 dc motors and control all of them independently, at least to the point that you can turn each individual on and off?

  • @fabiolus2007
    @fabiolus2007 3 года назад

    Now you need to setup a website so we can connect to the robot and we could go driving around the workshop

  • @ramon921
    @ramon921 2 года назад

    Great invention I like but I have a couple of questions.
    The first question is can the robot car be controlled from anywhere in the world?
    The other question is is there any app for mobile devices such as cell phones or tablets?

  • @hadisiswanto1062
    @hadisiswanto1062 2 года назад

    perkakasnya byk banget om.. ^_^

  • @jeremyviny6817
    @jeremyviny6817 2 года назад

    Would you mind sharing the code that you used to control and the pan and tilt , using servos?

  • @mosesbinzi339
    @mosesbinzi339 3 года назад

    please review the new esp32 s3

  • @milesmoore5422
    @milesmoore5422 3 года назад

    Can't a different camera sensor up grade be installed in the same 24 pin socket ?

  • @uyegidgg
    @uyegidgg 3 года назад

    I have an Frsky with crossfire for flying drones. I want to use it to control my arduino robot. Do you know of a way to get the arduino to read the crossfire receiver signals?

  • @mmenjic
    @mmenjic 2 года назад

    11:42 what would you do with led if you extend cable for the camera ?
    Or if you would go into trouble of desoldering led the you certainly can extend the camera cable :)

  • @GilNahmias
    @GilNahmias Год назад

    So exciting! Thank you for making this video - I'm inspired to build an FRV R/C tank. Is there a way to make the ESP 32 CAM module control 4 DC motors instead of 2? The extra 2 would spin the turret and fire the gun, respectively.

    • @gizmowizard352
      @gizmowizard352 11 месяцев назад

      Yeah,you can do that by connecting the the left drive motor with the turret and right motor with fire.

  • @petr6067
    @petr6067 2 года назад

    Hi, great project. Please, but for advice. After installation, I have a rotated image. How to please rotate the camera image 90 °. Thanks

  • @fabriziolongo83
    @fabriziolongo83 Год назад

    Great project. Is it possible to add a label with a sensor value on a web page? If yes....how I can do it?