No video

Raspberry Pi Pico W: WiFi Controlled Robot

Raspberry Pi Pico W robot tutorial, using a Pololu Zumo chassis and L298N, with the robot controlled over WiFi from a local web page.
Here you can find the wiring diagram and a link to all code:
www.explaining...
This video is a follow-up to my first Raspberry Pi Pico W video, in which I detailed setting up the board with MicroPython and creating a simple weather station: • Raspberry Pi Pico W: W...
The video in which I constructed the Zumo chassis is here:
• Raspberry Pi Robotics ...
And the video in which I demonstrate speed control with an L298N is here:
• Raspberry Pi Devastato...
You can also learn about writing HTML in my video here:
• HTML Introduction: How...
The excellent Pi Pico W "Getting Started" instructions from the Raspberry Pi Foundation are here:
projects.raspb...
You can download the design for the 3D printed bracket for the Pico W Zumo robot here: www.thingivers...
The Zumo robot chassis, micro metal gear motors and L298N motor controller are in this part of the ExplainingComputers Amazon.com store: www.amazon.com... Note that as an Amazon Associate I earn from qualifying purchases when you make a purchase from or via the store.
THE PICO’S IP ADDRESS
As we saw in the video, the local IP address allocated to the Pico W may change, depending on other devices connected to and active on the local area network. To prevent this from happening you can provide the Pico W with a fixed IP address in your router’s control panel. You can also scan to see what IP address has been allocated to the Pico using a free tool such as Angry IP Scanner -- angryip.org/ -- I personally use the legacy edition that does not require installation.
RE-SETTING THE PICO
If during your experimentation you end up with a Pi Pico W that executes a program that you cannot interrupt by pressing Ctrl-C or Ctrl-F2 in Thonny, you can return the board to its factory state by holding down the boot select switch, connecting to a PC, and copying over a special UF2 file to reset the flash. You can find a link to this UF2 file at the bottom of this page under “Resetting Flash Memory”:
www.raspberryp...
Note that after execution you will have to reinstall MicroPython. All programs will also be erased. Hence, during program development, it is wise to save your programs on the PC, and of course to keep backups. :)
For additional ExplainingComputers videos and other content, you can become a channel member here:
/ @explainingcomputers
More videos on computing and related topics can be found at / explainingcomputers
You may also like my ExplainingTheFuture channel at: / explainingthefuture
Chapters:
00:00 Introduction
00:37 Hardware
01:40 WiFi Interface
06:15 Zumo & L298N
10:19 Motor Code & Test
13:56 Final Robot
17:01 Wrap
#PicoW #RaspberryPi #Robot #ExplainingComputers

Пікірлер: 388

  • @r1273m
    @r1273m Жыл бұрын

    Hardware - check. Soldering - check. Breadboard - check. Coding - check. All adds up to my kind of project and video. Great stuff Chris!

  • @RoboNuggie
    @RoboNuggie Жыл бұрын

    Chris, you always take me back to my school days of robots and BBC Micros in these videos, and I thank you greatly for that. As great as modern tech is, the idea that we can move a robot with a computer seems as fresh now as it was over 40 years ago and with your delivery, doubly so. Top stuff indeed!

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    I think that, because our brains are so intensely programmed to react to independent objects that move, we will always be fascinated by robots. :)

  • @perrymcclusky4695
    @perrymcclusky4695 Жыл бұрын

    I have to admit that the Pico is more impressive than I first thought. I really like the 3D printed bracket you created. With that being said, your friends Friction and Gravity haven’t always friendly with me. “Ouch, me fall down!” “Looking forward to your next video.” says Zeberdee.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    :)

  • @KennethScharf

    @KennethScharf

    Жыл бұрын

    I wish the pico came with more than 2mb of flash, some third party clones (such as Adafruit) have 8 or 16mb of flash. They do cost a bit more though.

  • @perrymcclusky4695

    @perrymcclusky4695

    Жыл бұрын

    @@KennethScharf More always seems to be better. My first computer was a Timex Sinclair 1000 and with its memory expansion pack it had a whole 16 k of memory. Now I suspect 16 gb of memory is a little small for my needs. LOL. With that being said, I do hope the next version of the Raspberry Pi Zero 2 W gets more memory too. We can only hope.

  • @ahmad-murery

    @ahmad-murery

    Жыл бұрын

    ​@@perrymcclusky4695 My MSX1 machine has 64K of memory (only 23K available for BASIC) and I was able to make almost everything I can think of, just remeber to not include unnecessary libraries. Programming back then was more exciting.

  • @perrymcclusky4695

    @perrymcclusky4695

    Жыл бұрын

    @@ahmad-murery Yes, truly back then programming was fascinating!

  • @rohankeenoy2199
    @rohankeenoy2199 Жыл бұрын

    I am a computer science major with an interest in robotics and engineering. These videos are incredible. Thank you.

  • @deepsleep7822
    @deepsleep782211 ай бұрын

    Respectfully, I’m Impressed with the response time. It executes the commands almost immediately. Good job.

  • @lesliedeana5142
    @lesliedeana5142 Жыл бұрын

    My favorite way to spend Sunday morning!

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Greetings Leslie -- and a silver medal for being super early! :) I hope that all is well with you.

  • @PS_Tube
    @PS_Tube Жыл бұрын

    Robot stuffs always seem cool. And you've explained the steps so eloquently. Great stuff ! Thanks. Have a productive and fun week ahead!

  • @Riborwahz

    @Riborwahz

    Жыл бұрын

    Zumo robot had come to said goodbye

  • @Im_DJ
    @Im_DJ Жыл бұрын

    Wow that was very impressive , I was thinking I can't understand the code but your explanation was exceptional. I understood everything.

  • @maffysdad
    @maffysdad Жыл бұрын

    Woohoo! Back to robots and Raspberry Pi stuff!... Yep, a screen, little arms, a camera which feeds back to the interface, and oh look, we have a baby Vector Robot!!! 😊 All we need to do then is add voice commands!🤔 Really happy for this video, it's exactly what I've been struggling with getting working... Thank you soooo much!

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Thaks for this, and good luck with your project. :)

  • @PatrickConstant
    @PatrickConstant Жыл бұрын

    With our friend Christopher we go back to childhood. But today I could see this robot bringing my glass of Sunday night whiskey from the bar to my chair. I have until Christmas to finalize it. Thanks.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Whiskey-bot!

  • @alerey4363
    @alerey4363 Жыл бұрын

    Very tightly put, both in hardware (looks almost like a little chair on caterpillars) and software (you have almost real time reaction to the web controls) 👏

  • @Paul-wd8cz
    @Paul-wd8cz Жыл бұрын

    The project episodes are always my favourite

  • @kevincaulkett9358
    @kevincaulkett9358 Жыл бұрын

    Brilliant stuff as always Chris, thanks! (I bet Zebedee would love to replace his spring with that chassis)!

  • @howardwilliams2587
    @howardwilliams2587 Жыл бұрын

    Great content as always. I really like going from simple to complex as the project develops. Next, let's add a joystick for control!

  • @ridefast0
    @ridefast0 Жыл бұрын

    Nice project, and I think Zebedee managed without an 'R' for most of his career!

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Ah, I stand (spring) corrected. :)

  • @raspberrypi
    @raspberrypi Жыл бұрын

    Lovely tutorial Christopher! We'll share it on the blog soon.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Awesome, thank you!

  • @srtcsb
    @srtcsb Жыл бұрын

    Gotta love the Zumo. And the Pico. And the web interface. Easily accessed parts and code... Very cool project Chris, thanks for another great video. 😎👍

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Thanks Steve! :)

  • @none941
    @none941 Жыл бұрын

    This is precisely the kind of thing that I enjoy most! I tried to get an RPi RP2040, but was forced to settle for a board with the RP2040 included. The Cytron Maker Pi RP2040 includes 2 motor relays and 7 discrete 4-pin Grove connectors. So far it has been a disappointment, but that's likely because this is so different from using Python via GPIO on a Zero W or other CPU packing RPi. It would interest me to see the Maker Pi board run through its paces in your most capable hands as I am without much joy using the board so far. Perhaps you could repeat today's exercise using the Maker Pi RP2040? The whole smash cost me $12 and it will do as I require ... eventually!

  • @TimmyXaero
    @TimmyXaero Жыл бұрын

    3.. 2.. 1.. Activate! I loved watching Robot Wars back in the day, so this is interesting for me. Nice how you can attach these boards together to control a Robot. And make a simple webpage as a GUI controller. Thumbs up, Chris! :)

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Robot Wars was an excellent show. :) The Zumo chasis is apparently popular in "mini sumo" robot competitions, as a front "bulldozer" blade is available to slot into the front, whilst keeping the footprint within 10x10cm (which are apparently the rules).

  • @jls9225
    @jls9225 Жыл бұрын

    Now you can remotely play with your pets and check the house at the same time (So many possibilities, OMG). Open Source is where it's at. Excellent video as usual Christopher, and have a good rest of your weekend. As Always, Be Smart and Stay Safe.

  • @AJ-Palermo

    @AJ-Palermo

    Жыл бұрын

    My dogs would try to eat it lol

  • @jls9225

    @jls9225

    Жыл бұрын

    @@AJ-Palermo I'm sure with your fantastic mind, you'll find a way to keep your best friend from eating the device. As Always, Be Smart and Stay Safe.

  • @adamward9310
    @adamward9310 Жыл бұрын

    I love your videos!! Especially when you start with... "Right..." I find myself saying it with you.

  • @Grandwigg
    @Grandwigg Жыл бұрын

    Glad I was able to get to this before the day ended. The fact we can do this kind of thing with such a low cost and time investment (relatively speaking) is so amazing to me.

  • @MrGbotes
    @MrGbotes Жыл бұрын

    Afternoon Chris, greeting form Cape Town, South Africa. Awesome video, thank you!!!

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Greetings from the UK! :)

  • @Praxibetel-Ix
    @Praxibetel-Ix Жыл бұрын

    What a good little robot! Now I'm wondering if it would be possible to put a camera on there so it could see where it's going... 🤔 Anyway, great video as always! It just isn't Sunday without a new EC upload. :)

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Greetings! :) I've put a camera on a Pi Zero robot in the past -- kzread.info/dash/bejne/on9kutijmbOYoc4.html The Pico W (only being a microcontroller) lacks the processing power.

  • @Praxibetel-Ix

    @Praxibetel-Ix

    Жыл бұрын

    @@ExplainingComputers Aw, damn. It's still a good little robot!

  • @Praxibetel-Ix

    @Praxibetel-Ix

    Жыл бұрын

    @@ExplainingComputers Apologies for the extra reply but let me be the first to congratulate you on 100 million video views on the EC channel! 🎉

  • @MicrobyteAlan
    @MicrobyteAlan Жыл бұрын

    Hardware and coding, doesn’t get any better than that. Thanks 👍👍

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Greetings. :)

  • @ahmad-murery
    @ahmad-murery Жыл бұрын

    Hello Chris, That's an amazing project because of simplicity and practicality reasons, I'm sure that you know all what I'm about to say but just to let others know that there is always a space for improvement as you mentioned in the video, Regarding the html code, you can actually use one form element (without specifying it's action) and then set required formaction on the submit buttons, also, instead of send the html in each response, you can send it only when the request is empty, and to prevent the page from reloading after submit you cam specify a target where the response will be delivered to, so it may look like this anyways, it will not make it faster but it may save a few bytes in the response, If it's up to me I'll use XHR or WebSocket API for faster response time Sorry for the long post but I just get excited 😁 Thanks once again Chris and have a nice week!

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Your suggestion for the form button is very neat -- I had not thought of that. Thanks for sharing the code.

  • @ahmad-murery

    @ahmad-murery

    Жыл бұрын

    @@ExplainingComputers My pleasure, and I really appreciate your reply 👍

  • @ZephodBeeblebrox
    @ZephodBeeblebrox Жыл бұрын

    Neat. I like it. The one thing I have never ever seen done is for the Pico W to be turned into an open access wifi hotspot to control robots etc. It's always done on another network or as a secure hotspot with IP login.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    I think this video from the amazing Kevin McAleer is what you are looking for -- kzread.info/dash/bejne/ZI1olKaMitO4YNo.html

  • @ZephodBeeblebrox

    @ZephodBeeblebrox

    Жыл бұрын

    @@ExplainingComputers I think you're absolutely correct.

  • @elektron2kim666
    @elektron2kim666 Жыл бұрын

    Amazing. I just saw the old video of the robot as I searched a lot of words recently about electronics.

  • @samaitcheson7057
    @samaitcheson7057 Жыл бұрын

    Very much looking forward to the continuing adventures of the Pico Zero W Robot 😁 Great video Chris. Thank you.

  • @glenszczypski7734
    @glenszczypski7734 Жыл бұрын

    I, for one, attest that I am more excited than I should be. Explaining Computers has coined a new meaning for "computer porn". Luv a bot!

  • @steelfalconx2000
    @steelfalconx2000 Жыл бұрын

    OMG I've been watching this channel for years and never knew you had an Amazon store. Gonna check it out!

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    :)

  • @jeraldgooch6438
    @jeraldgooch6438 Жыл бұрын

    What a fun video! One comment is that it felt a bit rushed. I am used top a more measured pace from your videos. Not a knock, just an observation. The documentation you provided is excellent and goes far beyond what most videos provide. Thanks much for that. I do hope you return to this project and look forward to what you do with it.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    There was a lot to pack into this video! :)

  • @williama29
    @williama29 Жыл бұрын

    i love watching your videos every sunday it's my favorite way to end the weekend by watching explaining computers and is the fascinating favorite thing to do of mine

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Thanks for watching! :)

  • @williama29

    @williama29

    Жыл бұрын

    @@ExplainingComputers you are welcome

  • @mikiethebikie
    @mikiethebikie Жыл бұрын

    Thanks Chris, this looks heaps of fun, and as you said: lots of opportunities for additional features.

  • @MichelMorinMontreal
    @MichelMorinMontreal Жыл бұрын

    "I love the smell of micro-robotics in the morning"...! Thanks for the presentation!

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Yes, indeed. There is a particular smell from the operation of small motors. :()

  • @chriholt
    @chriholt Жыл бұрын

    What a fun project Chris - can't wait to see what's next for the little robot.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Greetings Chris. :)

  • @joedudley6137
    @joedudley6137 Жыл бұрын

    I have been waiting for a video like this since the Pico W was released!

  • @avejst
    @avejst Жыл бұрын

    Great walk-through. Great project with the RASP. Pico Thanks for sharing your expirence with all of us 😀

  • @picobotsUK
    @picobotsUK Жыл бұрын

    Many thanks. This is an excellent tutorial that helped me develop my WiFi controller + WiFi Rover which circumvents the use of a webpage interface. Things will get really interesting when RPi unlock the BT on the Pico W, and I look forward to your update when this happens!

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Agreed -- a Bluetooth driver for the Pico will be a great advancement, not least for making wireless robot controllers. And I understand we will get this fairly soon now.

  • @picobotsUK

    @picobotsUK

    Жыл бұрын

    @@ExplainingComputers The updated SDK was released yesterday with BT support in C/C++. As you said, it should not take too long for MicroPython to include this.

  • @chromerims
    @chromerims Жыл бұрын

    Unquestionably amazing! Rich and incredible content as always. Thank you, Chris. Totally-inspired yours.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Thanks! Inspired is good. :)

  • @JoseLopez-oz1xm
    @JoseLopez-oz1xm Жыл бұрын

    Very kool little project, love seeing these videos. Thank you so much for your insight.

  • @Riborwahz
    @Riborwahz Жыл бұрын

    The zumo robot had come to said good-bye 😂 he got me there

  • @michaelronan4928
    @michaelronan4928 Жыл бұрын

    It's an itchy chin moment, very interesting!....Thanks for another enjoyable video!

  • @AMDRADEONRUBY
    @AMDRADEONRUBY Жыл бұрын

    Sunday my favorite day! Already have a nice day Christopher and going to watch it with my breakfast interesting as ever too

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Greetings! :) And a bronze medal for being the third viewer this time.

  • @donkink3114
    @donkink3114 Жыл бұрын

    Wow not only educational, but fun to watch, thanks Chris.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Thanks. :)

  • @alanthornton3530
    @alanthornton3530 Жыл бұрын

    Another very interesting video & as always well presented & explained, thanks for this Chris. An interesting application for the Pico W & components could be used in a Model railway system, wirelessly controlling a loco's direction & speed, the other 2 functions could be used for uncoupling/coupling! I have seen this accomplished at model railway exhibitions controlling models wirelessly using an iPhone which is quite impressive, they are are quite expensive setups. My Sunday is now complete & looking forward to the next video :)

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Hi Alan. What's shown in the video could indeed easily be applied in a model railway . . and I can imagine servos controlling signals too! :)

  • @PhilipBallGarry

    @PhilipBallGarry

    6 ай бұрын

    The Sprog controller which uses JMRI for programming is a very interesting solution for model railways.

  • @jyvben1520
    @jyvben1520 Жыл бұрын

    Importing 2 variables for your wifi, is not for when the device gets stolen, just for video publication (no need for blurring), it also prevents having to change your daily wifi password that may be embedded in various other wifi devices. also some wifi routers have guest network options (+active hours), i would use those. Or make the pico W an access point

  • @ezContents
    @ezContents Жыл бұрын

    That's a very cool project. Complete with a 3D printed part. I enjoyed it very much.

  • @spikekent
    @spikekent Жыл бұрын

    Another fantastic robot video Chris. Thank you.

  • @francis400
    @francis400 Жыл бұрын

    Chris, I hope you know that you have many friends here! No need to start designing your own.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Nice one. :)

  • @jimcraig5727
    @jimcraig5727 Жыл бұрын

    Great little project Chris, have had fun making the original design & then making some changes. Replaced the L298N motor board with the more efficient TB6612FNG. Changed the code to include speed control, primarily to slow the turns and add timing to make 90 degree turns. Added an led & coding to indicate when the robot is connected to the server. Added some styling to improve the appearance of the Control & to include some more buttons for future addition of programable leds

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Excellent! :)

  • @dang48
    @dang48 Жыл бұрын

    This is fantastic and I will be using these concepts for a future project. As always, I enjoy how these are presented in a fun and simple to understand format Chris. To add, as a small safeguard, I would use a simple clip that would go on both sides to hold the Pico W in place. That would be in case the robot does dive off the table's edge and ends up upside down.

  • @tpobrienjr
    @tpobrienjr Жыл бұрын

    Super! Thank you! I didn't know about

  • @srtech2205
    @srtech2205 Жыл бұрын

    Love Robotics and Robotics Content!!! Strong Work Mr. Barnatt!!!!!!

  • @_tr11
    @_tr11 Жыл бұрын

    Thanks for the video! Very easy to understand. 😄

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Thanks for watching! :)

  • @DavidGomez-ws5br
    @DavidGomez-ws5br Жыл бұрын

    Great video. I learned something new with this presentation. Thanks

  • @martinkuhk
    @martinkuhk Жыл бұрын

    Really nice demo! Pico W definitely works much better than ESP8266. I built the same kind of robot with ESP8266 before and the Wifi dropped whenever the motors' emf affected the voltage supply to the microcontroller slightly. I probably should buy myself a Pico W and rebuild that robot again.

  • @alexislechevalier1022
    @alexislechevalier1022 Жыл бұрын

    As a logistician and ex software engineer (professional reconversion but still geeking), the gravity isn't my best friend. Damn it! Newton! What have you done? 😁 Technically, it's not a robot but a ROV. A really cute one, by the way. 😉 The Pandora box is open. You must connect it to Skynet to see what happens. 🤣

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Technically, it is most certainly in a robot. A robot is mechanical device under programmatic control, and this is exactly what is going on here. The motors do not respond to controls (as in an ROV), but to a program in turn operated by controls -- which here is an ROV program! :) There seems to be a lot of confusion about what the term "robot" means these days. :)

  • @alexislechevalier1022

    @alexislechevalier1022

    Жыл бұрын

    @@ExplainingComputers The limit is really thin between them. A quadcopter like a DJI one with all the complex behaviours embedded in it or remote controlled by pushing only a button is surely called a drone or a flying robot. But a program that translate/transmit simple orders/inputs like a remote control to a vehicule, can it be called a robot ? It remembers me my philosophy courses back in the day. We had only 4 hours left to try to answer this question and I never succeeded. :D

  • @SeverityOne
    @SeverityOne Жыл бұрын

    Considering how much the Raspberry Pi is used in education, perhaps this is something that you could focus on in order to increase your viewership. Because this is a very fun little project, and immediately usable for students. The two main issues there is that students are usually not very rich - so likely wouldn't become Patreons - and that Raspberry Pis (Pies?) are nigh impossible to find at the moment.

  • @PeterJasper
    @PeterJasper Жыл бұрын

    Thanks for another inspiring video! I will build the Pico W Robot (unfortunately Amazon no longer has supply of the Zumo chassis, but I have been able to source one in Australia). Have 3D printed the bracket - assumed 20% infill and no support - it did OK spanning where the switch is located. Looking forward building the end product ... 🤖

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Thanks for this Peter. I used 20% infill too, but used support. I seem to have depleted Zumo supplies on many vendors. Good luck with your build. :)

  • @iceman442ho
    @iceman442ho Жыл бұрын

    Wow. You gave me some ideas. I did not know a pico could do all those things. I think I need to get to the store.

  • @Graham_Rule
    @Graham_Rule Жыл бұрын

    That looks like fun. I'd be interested to hear if you could calibrate it so that you could have buttons for different amounts of turn. For example 'turn 90 degrees left'. I guess you'd need to use that ratio for the motors to work out how long a full turn took as a starting point. Or maybe you could implement variable speed control to the motors.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Hi Graham. What you ask could be done in two ways. The simple way, as you say, would be to run the motors for a certain length of time -- using sleep command -- having worked out/experimented to get the right length of time. And this would basically work, although it would not be that accurate, as the time would change when the batteries wear down, the tracks could slip, etc. A more sophisticated solution would be to work out the number of motor rotations required, and to fit encoders on the motors so that this could be monitored. If you look at the CU shots of the motors, you will see the shaft extends out of the back, which can allow an encoder to be fitted to measure their actual rotation. So the motors would be run in a loop that would terminate when the number of rotations for a 90 degree turn was reached.

  • @rgbii2

    @rgbii2

    Жыл бұрын

    @@ExplainingComputers Another option would be to add a accelerometer/gyroscope module. Most don't seem super accurate, but you shouldn't have to worry about battery voltage.

  • @ahmad-murery

    @ahmad-murery

    Жыл бұрын

    @@ExplainingComputers Do you mean a DIY encoder ( just a transparent plastic disc with few centered stripes, a photoresistor and small LED as light source), that would be a very nice upgrade to the project, especially if you can glue a pencil to it and then 3d printing a turtle cover for it, that will be a real Logo 😎💯

  • @0Zed0

    @0Zed0

    Жыл бұрын

    You could also do this with stepper motors. They're a little more complicated to control but you can accurately move the motor in fractions of a rotation.

  • @jimcraig5727

    @jimcraig5727

    Жыл бұрын

    @@rgbii2 @ExplainingComputers I've experimented a bit with the MPU6050 accel/gyro module but as yet haven't found an application to use one in my robot car projects. I'd be very interested in how to use it to control the turns in this and the other cars I've built.

  • @anon_y_mousse
    @anon_y_mousse Жыл бұрын

    Cool. One suggestion for the future, instead of having it display or transmit its IP do a video on how to determine the MAC address for a device and setup your router to give a device a static IP. Super easy to do solution for home servers.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Ah, but the problem is that router control panels are not standardized -- so there is sadly no way I can do a video on setting a fixed IP that will work on all hardware.

  • @anon_y_mousse

    @anon_y_mousse

    Жыл бұрын

    @@ExplainingComputers True, but you could always show the method for the top three router brands and cover most people.

  • @clue0001
    @clue0001 Жыл бұрын

    Wonderfully put 🤖. I made some tests with a recovered hexapod/spider like creature and a ESP32 dev board via BLE to control it via an Android phone. The Raspberry Pi Pico W is a wonderful alternative for such projects. Thanks for sharing. 👍

  • @0dyss3us51
    @0dyss3us51 Жыл бұрын

    Hi friend I have been really busy with work recently so I have a nice back cataloque of yours vids to warch :) well I wanted to say happy to see more of your awesome vids, thos one in particulair peeks my interests, how about making it into a series and seeing how far we can push the upgrades of the bot? Suggestions: underfacing edge sensors, when the gamma value changes, stop. How about a small arm that folds and extends, and then the real challenge! A camera on the arm to detect beverages through ML, grab them and return them to the own, like a beer-bot or say cola-bot? 😆

  • @andymouse
    @andymouse Жыл бұрын

    Wish we had this around when I was a kid ! great demo....cheers.

  • @DeanoEssex
    @DeanoEssex Жыл бұрын

    I have absolutely no interest in some of your videos but i do enjoy watching them lol.. Am i slowly becoming a tech geek? 🤣🤣🤣

  • @daysiewaysie
    @daysiewaysie Жыл бұрын

    very entertaining Chris. As an extension of this project, might i suggest the code be developed to incorporate the necessary functions for the robot to visit the fridge and fetch me a cheese sandwich.

  • @caw25sha
    @caw25sha Жыл бұрын

    I think putting passwords etc in a separate file is for environments where developers work on software and sysadmins manage passwords. Obviously developers aren't going to let sysadmins edit their code, and sysadmins aren't going to give developers production passwords 🙂

  • @m8harry
    @m8harry Жыл бұрын

    Thanks for all the amazing content. So sorry I can't give more but I wanted to give something.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Your support is appreciated, thanks. :)

  • @richardpalmanteer9798
    @richardpalmanteer9798 Жыл бұрын

    Wow, how cool is that, enjoy this video very much Chris learned a few things as well. Take care and look forward to another great project. 🤠👍✌

  • @boredgrass
    @boredgrass Жыл бұрын

    One can already see superior agility of the T 1000!

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    :)

  • @Videogame9559
    @Videogame95598 ай бұрын

    This just what I needed control an old rc that has no control board and no controler bought form charity shop cheap it's going to be fun getting it going .

  • @ExplainingComputers

    @ExplainingComputers

    8 ай бұрын

    Sounds like a good project. Good luck!

  • @letrainavapeur
    @letrainavapeur Жыл бұрын

    A good idea for my grandson's next Pico programming lesson. It would make some sense to call the move_stop() before each move_somewhere() to save having to press the stop button between moves.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    What you say would not work -- how would the code know when to execute the stop?! :) You do not have to press the stop button between moves -- as you can see in the demos.

  • @ElmerFuddGun

    @ElmerFuddGun

    Жыл бұрын

    @@ExplainingComputers - Why would it not work? Each _def move_forward()_ etc. could just include move_stop() at the top before setting each output bit for the H bridge driver. While technically not needed (as you show) it might be easier on the motors not to slam from forward to backwards especially if you included a small delay after each move_stop(). Right turn, stop for 0.5 seconds, left turn. The bigger the robot or motor, the more important it would be to allow it to stop before changing directions. When driving a car most of us come to a stop before slamming the car into reverse... although it would be fun to watch otherwise. ;-)

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    @ElmerFuddGun Yes, certainly it would work to include the command to prevent potential damage to larger motors as you describe. But that is not what the comment I responded to is about! :) It suggested that it would remove the need to press "stop" between moves, which is not necessary.

  • @letrainavapeur

    @letrainavapeur

    Жыл бұрын

    @@ExplainingComputers Er... That is exactly what I was suggesting

  • @amazingjana
    @amazingjana7 ай бұрын

    I really love how this is explained in a way that I can understand it! Can I use this tutorial on other robots?

  • @ExplainingComputers

    @ExplainingComputers

    7 ай бұрын

    Yes, what you see here will work with any two motor (up to 12V) robot.

  • @amazingjana

    @amazingjana

    7 ай бұрын

    @@ExplainingComputers Thanks! I have two Meccanoid robots from Meccano and I would like control their motors through a different source, I’m so glad I have finally found my answer!

  • @ExplainingComputers

    @ExplainingComputers

    7 ай бұрын

    This should work with an L2981 and a Pico W as here. But see also my setup using a Pi Zero with this robot: kzread.info/dash/bejne/emWEq9yxfsetd84.html

  • @amazingjana

    @amazingjana

    7 ай бұрын

    @@ExplainingComputers Got it

  • @Marceloalvesgodinho
    @Marceloalvesgodinho Жыл бұрын

    Uuhhh....Perfect...In suggestion....In next video, make this ZUMO say: - Hello. Christopher sent me to wish the world peace!

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    :)

  • @tomcaton8932
    @tomcaton8932 Жыл бұрын

    Putting the WiFi credentials in a separate file makes it easier to run the code at a different location.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    True if that separate file can be more easily edited (which is not the case here).

  • @Ultra-Violet
    @Ultra-Violet Жыл бұрын

    Super video Chris 👍 thanks

  • @bagofchicken
    @bagofchicken Жыл бұрын

    Friction and gravity have been my nemeses for quite some time. 🙃

  • @thenextpoetician6328
    @thenextpoetician6328 Жыл бұрын

    Exit bottom left to rousing applause. There was no extended encore with robot out in the wild negotiating terrain or traffic, though the sequel is greatly anticipated. Perhaps then ...

  • @m8harry
    @m8harry Жыл бұрын

    Woot, more amazing content!!!

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Thanks. :)

  • @m8harry

    @m8harry

    Жыл бұрын

    @@ExplainingComputers I would love to see some more of your 3d printing videos. Your skill, knowledge and ability to explain technology is fantastic and I can't get enough of your content.

  • @simon4133
    @simon4133 Жыл бұрын

    Once again the Funk Master Flex himself "The Barnatt" brings us the latest in ghetto tech. Massive respect from all the G's across the nation.

  • @chrismorgan441
    @chrismorgan441 Жыл бұрын

    I am impressed beyond any realistic right to be... I'd better watch out that I don't break any applicable laws at this rate. 😉 Nice robot and video, sir. Thank you. Be safe.

  • @CCoburn3
    @CCoburn3 Жыл бұрын

    Great video. I’m working on a Pico project for controlling servos. This helps immensely. Thanks.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    This video initially going to be about automating a model dalek with servos . . .

  • @ulrichkalber9039

    @ulrichkalber9039

    Жыл бұрын

    @@ExplainingComputers EXTERMINATE!

  • @spikekent

    @spikekent

    Жыл бұрын

    @@ExplainingComputers Can't wait for that.

  • @CCoburn3

    @CCoburn3

    Жыл бұрын

    @@ExplainingComputers I’d love to see that.

  • @phlizneinbleedblop2318
    @phlizneinbleedblop2318 Жыл бұрын

    Love the upload great content as always! Didn't know you had an Amazon store I will definitely by components

  • @johncundiff7075
    @johncundiff7075 Жыл бұрын

    Thanks for the interesting video. Way too smart for my abilities! Keep up the good work Sir!

  • @metazoan10
    @metazoan10 Жыл бұрын

    Wow, I must put my order in for some hardware. Excellent video thanks

  • @spacedandy7553
    @spacedandy7553 Жыл бұрын

    I really enjoy the content you do of this nature!

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Thanks. :)

  • @Sockerrus
    @Sockerrus Жыл бұрын

    Perfect, I just started the same project! I think I can make it work now.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Good luck!

  • @sns_rulz
    @sns_rulz Жыл бұрын

    great work.... explains all the key points of robot making.... awesome 😍😍😍

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Thanks. 😀

  • @tonysheerness2427
    @tonysheerness2427 Жыл бұрын

    What next, getting a beer from the fridge and bringing it back to you. A job well done.

  • @jaimecosta2966
    @jaimecosta2966 Жыл бұрын

    Love this projects...excelente vídeo.. I am getting old but I believe this would be an excellent hobby... Wish you well

  • @Videogame9559
    @Videogame95598 ай бұрын

    ❤😂 good morning great little sumo project.

  • @TheMrMarkW
    @TheMrMarkW Жыл бұрын

    This takes me back to the 80's controlling a physical robot called a 'valiant turtle' that would move around the room connected via a Ribbon Cable box linked to a RM Link 480z computer programmed using the language Logo, and had a pen in it's nose so you could draw on paper underneath it. It was like a robotic floor plotter! You could also use them on a BBC Model B (if you had the Acorn derivative).

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Thanks for this, which now takes me back! :) I had completely forgotten those turtles. How the years fly by.

  • @briankleinschmidt3664
    @briankleinschmidt3664 Жыл бұрын

    Hi Chris!. This looks like a very exciting project, indeed.

  • @StopTh3Idiots
    @StopTh3Idiots Жыл бұрын

    Can't you just make the buttons execute code as long as you push them ? That would simulate a joystick better. Not a Python coder but you can do this quite easy in JS

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Yes, this could be achieved in JavaScript a you say, but I wanted to keep things as simple as possible to keep the video accessible.

  • @Colin_Ames
    @Colin_Ames Жыл бұрын

    A fun project. Thanks Chris.

  • @wallaceshackleton1889
    @wallaceshackleton1889 Жыл бұрын

    Oh what joy! It was entertaining and I actually learned something. ...and for your next video, you'll use a Pico to dive a Tesla! :)

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Pico Tesla. Nice!

  • @Reziac
    @Reziac Жыл бұрын

    [Pico wakes up in a random state, robot chases Chris around the studio] :D

  • @rickbonari4493
    @rickbonari4493 Жыл бұрын

    Great video. What would be great to see is a web interface controlled raspberry pi 4 robot including low latency raspberry pi cam feed controlled by a basic web page displaying camera video feed and the control buttons for camera movement using web sockets. Maybe take your exterminator robot and make web page to display video feed and buttons to control robot function again using web sockets. This surely would get a large number of views.

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Yes, this would be a good future video. Noted! :)

  • @rickbonari4493

    @rickbonari4493

    Жыл бұрын

    This might also be a good project for the jetson nano

  • @ExplainingComputers

    @ExplainingComputers

    Жыл бұрын

    Indeed! :) I did a video on their Jetbot design -- that has a camera and web control (or neural net control) here: kzread.info/dash/bejne/qX-BucyCe8S7Zps.html