Raspberry Pi Robotics #2: Zumo Robot

  Переглядів 472,884

ExplainingComputers

ExplainingComputers

День тому

In this video I construct a Pololu Zumo robot chassis, interface it to a Raspberry Pi using an L298N H-bridge motor controller, and use Python code to bring the robot to life!
You can see me continue this project with wireless keyboard control in this video: • Raspberry Pi Robotics ...
This video builds on my tutorial: "Raspberry Pi Robotics #1: GPIO Control" -- • Raspberry Pi Robotics ...
Note that this tutorial will work with any Pi (1, 2,3 or Zero).
You can find the wiring diagrams, as well as links for the components used in my Raspberry Pi robotics videos here: explainingcomputers.com/rasp_p...
PLEASE NOTE THAT right at the bottom of the above page you will find important information about whether or not you need to connect GPIO pin 2 (5V) on your Pi to the 5V terminal on the L298N. With my L298N board I did not need to do this. But this will not always be the case.
More videos on computing and related topics can be found on my UKposts channel at: / explainingcomputers
You may also enjoy my other channel at: / explainingthefuture

КОМЕНТАРІ: 564
@fahadahmed480
@fahadahmed480 4 роки тому
trust me you can't find any better tutorial on getting into robotics with pi all across youtube till this date
@ExplainingComputers
@ExplainingComputers 4 роки тому
Many thanks. :)
@muhammedshareef2611
@muhammedshareef2611 2 роки тому
Till now😊
@superbros1690
@superbros1690 2 роки тому
I agree it’s so difficult for my class project, kind of really sucks!!
@ericsourceIO
@ericsourceIO 2 роки тому
@@muhammedshareef2611 yeah
@Jozie88
@Jozie88 7 років тому
I love the way you speak and teach. You're not too slow, and not too fast. Your voice is very easy and effortless to follow and you always explain everything in good detail without being boring. :) Ty so much!
@Jozie88
@Jozie88 7 років тому
One (or two) questions! How much did it matter which GPIO pins I use for L298N motor controller? If I want to connect more stuff on my PI at the same time, like LED matrix (4 pins plus ground if I remember correctly) and ultrasonic distance sensor HC-SR04, do I run out of GPIO pins which I can use? I'm still a bit lost with those ^__^ thanks in advance.
@ExplainingComputers
@ExplainingComputers 7 років тому
You can use any of the general GPIO inputs to connect to the motor controller -- look at about 5:36 in my GPIO Inputs video here ukposts.info/have/v-deo/hnGdYYuDfJel1as.html to see which pins they are (there is a diagram, lower screen). You will run out of available pins eventually, but not I think with the devices you list and running the L298N. :)
@robertpendergast2620
@robertpendergast2620 7 років тому
I hope you will do some more robotics. Your presentations are so clear.
@NickGamingxns
@NickGamingxns 6 років тому
Robert pendergast r
@64_bit80
@64_bit80 4 роки тому
you are the only coherent youtuber explaining how to use a raspberry pi. actual god
@bunny.bunbob
@bunny.bunbob 4 роки тому
how can one person be so damn good at thinking from a noob's perspective? he basicly clears all the assumptions that have to be spoken out for my skill level.
@mike_vahemoubayed8099
@mike_vahemoubayed8099 3 роки тому
Best Robotics and Python tutorials ever created!
@ExplainingComputers
@ExplainingComputers 3 роки тому
Wow, thanks!
@thomascott7425
@thomascott7425 7 років тому
Mister Barnett, you do an excellent job of making the difficult to comprehend and making it quite easy too digest. You are a gifted instructor. Thank you for all of your videos.
@ExplainingComputers
@ExplainingComputers 7 років тому
Many thanks.
@deangtspecial6689
@deangtspecial6689 6 років тому
I just discovered your channel via a comment in another channel. I am impressed a thousand fold with the presentation. I must say I wish I had you as an influence when growing up. I learned a lot from a single video (the previous one of this series) and it was my first one I have ever watched of yours. I have experimented with an Arduino, and own a kit. I was looking into the Pi as a friend said you can link them to hardware too using an IDE and special libraries, and was looking into chaining both. Had no idea how it worked as I do not own one yet. Now I need a Pi, badly! I will recommend you to anyone who wants to know more about it as you present well.
@ExplainingComputers
@ExplainingComputers 6 років тому
Thanks for your kind and positive feedback. :)
@paulgriffin8566
@paulgriffin8566 9 років тому
Chris, many thanks for taking the time to put this and the many other videos you have together. The RPi and good people such as yourself have helped rekindle a passion for technology I haven't really had since I purchased my Commodore 64 so many years ago.
@TheStickofWar
@TheStickofWar 8 років тому
Thanks for this, just started studying Computer Science Artificial Intelligence in Robotics and this video got me interested in order a Pi and some components to start toying around with in my spare time!
@AngeloGi
@AngeloGi 9 років тому
What an amazingly fun video! Thanks for that! Your presentation and production value is what makes it. Keep it up please!
@ExplainingComputers
@ExplainingComputers 9 років тому
Many thanks! There will be more videos. :)
@keithhoughton4308
@keithhoughton4308 6 років тому
Angelo G.
@spharge
@spharge 7 років тому
Excellent tutorial. Certainly one of the better ones I've seen on the Pi and motor controller boards.
@MrVayga88
@MrVayga88 4 роки тому
I hope you are still making these tutorials sir. You are such a great instructor. Thanks you very much.
@ExplainingComputers
@ExplainingComputers 4 роки тому
I post a new video every Sunday. :)
@knowledgeis5855
@knowledgeis5855 8 років тому
Great vids. I just started programming Python recently. This has been a sleeping goal for way too long (over 10 years). I have found my first practical application with this series. Thanks.
@ExplainingComputers
@ExplainingComputers 8 років тому
You may appreciate a video I am posting on 12 June all about using GPIO pins as inputs. It is a quite a long video and features a ton of Python coding that builds on what is in this video.
@MrMoonpie001
@MrMoonpie001 9 років тому
Wow! What a nice simple yet in depth discussion on robotics! It makes me wonder why it took so long for a company like Raspberry to immerge? The combination of the demonstration and the code has been a real treat. Thank you Chris for all you do and I look forward to the next generation of Pi and your next video! Moonpie
@JohnRaschedian
@JohnRaschedian 2 роки тому
Invaluable videos. Learning what you learn in one of these videos would take you days and weeks of reading!
@mtbevins
@mtbevins 8 років тому
Thanks for the great videos. I really enjoy them. You are so clear and concise.
@caharkness
@caharkness 9 років тому
Great videos! The video quality is phenomenal and you're straight to the point every time. If you do happen to try mounting everything on the motor body, please upload a video. Everyone's looking forward to that!
@MrBlacknass
@MrBlacknass 3 роки тому
You are a GOD!!!!!! Thank tou so much!! 2021 and still nobody has a better tutorial. Of course now we are on Python 3.7 but still. The principles are the same!!
@roshancheereth7540
@roshancheereth7540 9 років тому
Christopher - This was one well made video - crisp, concise and value added - equally balanced for experts and novices. Thanks a bunch for helping me understand quite a bit about Raspberry Pi and how it can be applied! Keep doing this great work!
@Umtree
@Umtree Рік тому
Well paced, straight to the point. Awesome video.
@abhijack.1036
@abhijack.1036 3 роки тому
Sir my twin children who are in 7th grade learned from your video regarding python coding. Now they are explaining to others. Do you like to see their video? There in no better tutorial in the whole of internet than yours until today
@lgbonfim
@lgbonfim 5 років тому
Great Job! I loved these vídeos about raspberry robotics!
@spaceinvader4565
@spaceinvader4565 8 років тому
im really enjoying your vidoes they are fairly clear and quite easy to understand, especially for someone young like me. ive showed my friends who are also 12 (like me) and are also enjoying your tutorials. Saving up for a raspbery pi CANT WAIT
@DestinationDub
@DestinationDub 8 років тому
Thanks so much - very clear and well explained.
@JamesNortonJones
@JamesNortonJones 8 років тому
Thanks for this. It got me up and running really quickly.
@ExplainingComputers
@ExplainingComputers 8 років тому
+James Norton-Jones Excellent! :)
@tnek1tnek
@tnek1tnek 9 років тому
Very professional and informative. Thanks from this end of the pond.
@NickCornaglia
@NickCornaglia 5 років тому
I really enjoy your videos. Very clear and entertaining. Thank you!
@ExplainingComputers
@ExplainingComputers 5 років тому
Thanks.
@langtupt
@langtupt 9 років тому
Hello Chistopher, I enjoyed your video, thank you for sharing.
@NodeBurst
@NodeBurst 9 років тому
This is a very high quality video. I was very pleased to watch it fully, keep up the good work! :)
@darsonsilungwe8884
@darsonsilungwe8884 6 років тому
Wow Thank you so much! Amazing presentation.
@beck4u2
@beck4u2 9 років тому
Looking forward to the next video!
@Safa-po3oc
@Safa-po3oc 8 років тому
Fantastic video as always. I would love to see you develop this further as you said in your video with a camera and possibly wifi controls. Wishing you the best of luck with your videos and future Pi projects.
@ExplainingComputers
@ExplainingComputers 8 років тому
+The Kount Taking this further is on my production list for early 2016. :)
@boiii9793
@boiii9793 9 років тому
urs are the most least confusing videos and the explanation is pretty good.hope to see the next video pretty soon.
@agcreatortn
@agcreatortn 6 років тому
Great video and tutorial. Very easy to follow. For anyone watching this video and building along with it please be aware of your hardware. In this video the presenter is using an older RPi with only 26 GPIO pins. The RPi 2 model b and the newer RPi 3 b and b+ broads have 40 GPIO pins. I had to change pin 7 to pin 12 for code to work properly for me. pin 7 was in an on state after boot on my board. You can see the state of each pin after boot from terminal ~$ gpio readall. I learned this the hard way. On my board some gpio pins are in an "on" "up" state. As stated above when looking at my table after running ~$ gpio readall bcm: 4, wPi: 7, name: gpio. 7, mode: in, v: 1, was causing issues for my code. I change to pin 12, gpio. 1 (v: 0, this was key for me) and code executed fine. There are ways to test your gpio's for failure as well. one being gpiotest. you will need the pigpio liabary installed. www.raspberrypi,org/forums/viewtopic.php?t=180505
@ExplainingComputers
@ExplainingComputers 6 років тому
Thanks for this. There is no need to change the code or to us other pins with a new Pi (and indeed in follow-up videos I use a 40 GPIO pin Pi Zero with the same code). I strongly suspect that some of the pins on your Pi are damaged, and hence in a constant "up" state.
@agcreatortn
@agcreatortn 6 років тому
I suspected this as well that i had damaged pins. I ran GPIOtest and they all passed. But I think your right, I think at least pin 7 for me is intermittently malfunctioning. I have a new RPi 3 b I just got over the weekend That I thought about testing. Anyways I think your videos are great for learning and fun builds. I am on zumo video 4 setting up ssh. I have a tank chassis that I am going to build following your other videos. I found a 5 in touch screen for the pi that runs off usb and hdmi and doesn't interfere with the gpio pins. I want to use this so I can lunch the code directly on the robot and expand its portability. I have question when using "curses", is there a way to only have the motors turn when holding down the directional keys and they stop when released?
@jamestaylor5409
@jamestaylor5409 9 років тому
Like those who posted before me - love the quality of the video and the presentation. Please do more! I would especially like more on the Zumo robot using a battery pack, WiFi connection, and then some input (camera, sonar, whatever).
@user-rt3fy4gf6i
@user-rt3fy4gf6i 7 років тому
Thanks for clear and very interesting videos about Raspberry. I will wait new video.
@MekhiStafford
@MekhiStafford 8 років тому
thanks for sharing this with us u really inspire me to keep trying to accomplish my dream of becoming a computer engineer
@Flowlance
@Flowlance 8 років тому
Amazing! I need to order these parts... :D Really inspired by your video.
@mickashjr9424
@mickashjr9424 4 роки тому
Love this.
@hackernoobtutorials
@hackernoobtutorials 9 років тому
You are the best
@rerere115
@rerere115 8 років тому
Ordered my Pi 2, can't wait to try this.
@ExplainingComputers
@ExplainingComputers 8 років тому
+Sam “OfficialNerdsUnite” Lauer Excellent! And by the time you have, I will hopefully have made the follow-up videos I have been planning for ages!
@rerere115
@rerere115 8 років тому
ExplainingComputers awesome I can't wait.
@robinder_
@robinder_ 8 років тому
+ExplainingComputers Hey there, do these tutorials you are making also work on pi zero?
@ExplainingComputers
@ExplainingComputers 8 років тому
+Videogame hacks Yes, everything here that does not require a Pi 2 will work on the Zero, although you would need to solder on some GPIO pins to do the robotics stuff, and also use a combined keyboard/mouse device -- or a USB hub -- as the Pi Zero has only one USB port.
@robinder_
@robinder_ 8 років тому
+ExplainingComputers ok, thanks!
@hilarylatham3917
@hilarylatham3917 9 років тому
Brilliant! I'm hooked!
@MrDemonshalo
@MrDemonshalo 9 років тому
amazing series. Thank you. please do more!
@RedsGamingArcade
@RedsGamingArcade 9 років тому
Yes, please do another video about inputs through the raspberry pi, then how to make it do an output off of the input!
@ExplainingComputers
@ExplainingComputers 9 років тому
Reds Arcade I used a pack of 4 AA batteries to power the robot motors. I will do an output GPIO video at some point. :)
@robindow5742
@robindow5742 6 років тому
hi christopher great project in fact i was so interested i bought a very cheap crab kingdom chassis and used your code and instructions works great am going to add line follower and echo location at some point and maybe even a robot arm keep up the good work
@ExplainingComputers
@ExplainingComputers 6 років тому
Excellent -- thanks for letting me know about your success! :) This is what UKposts is all about. Note that I have various follow-up videos, including a line follower: ukposts.info/have/v-deo/kmWQbIyYb4epz40.html
@theeasywayoutcampers6550
@theeasywayoutcampers6550 4 роки тому
thank you for making this video.
@sowrabhnayak135
@sowrabhnayak135 8 років тому
Your videos are worth watching.. Could u help me out in interfacing Raspberry pi with Linux.. where in you connect rasp to a linux operating system and try some commands.. Thank you..
@westcountrybob2521
@westcountrybob2521 4 роки тому
Thank goodness for this video. At last I realise I dont have to be a complete NERD to understand what is happening without being overwelmed with technical talk.
@user-bx9pz8tj5b
@user-bx9pz8tj5b 9 років тому
Many thanks. But can it possible to control speed of motors whith this set or just direction ? (sorry for my english)
@jerryrichard4994
@jerryrichard4994 7 років тому
Good morning I'm a beginner , you make your videos so interesting, your are a fantastic teacher the way you speak and present your videos so easy to understand, my question is can you use 2 controllers without causing harm to the PI, I await your answer, thanks
@ExplainingComputers
@ExplainingComputers 7 років тому
Yes, you could use 2 -- or more! -- controllers. There are plenty of GPIO pins to drive them. :)
@jerryrichard4994
@jerryrichard4994 7 років тому
Thanks for the info I shall proceed with my new project
@asitaliano1
@asitaliano1 9 років тому
A very professional and informative vid. We appreciate your instruction and effort. Keep up the great work.
@pong301275cmu
@pong301275cmu 2 роки тому
very nice tutorials, Love it thank you for your kind
@vimalrajayyappan2023
@vimalrajayyappan2023 5 років тому
Love you man
@ExplainingComputers
@ExplainingComputers 5 років тому
Thanks -- will do!
@juanmorel9533
@juanmorel9533 7 років тому
Génial, les démonstrations sont précises et claires!
@prokolu
@prokolu 9 років тому
Great video, fantastically explained. Please, do one with stepper motors and joystick controlled motors. Thanks!
@ppqp83
@ppqp83 7 років тому
Excellent explanation, so straightforward! I was wondering if you could explain how to control 4 motors independently of each other (like for a drone or the Rimac sports car) instead of having just two motors. Also, would the Raspberry Pi have enough computing power to receive inputs (other than positive & negative acceleration, and direction) and do calculations upon them? I would very much like to increase the capabilities of a kit I have for a 4 motor robot, but both motors of each side are connected to the same output of a L298 thus acting as one motor on each side. Thank you in advance!
@BlazinSD
@BlazinSD 8 років тому
Great video, it's like listening to Michael Caine's Alfred talk to Batman.
@BushCampingTools
@BushCampingTools 7 років тому
Great video!
@krzysztofgawryluk4501
@krzysztofgawryluk4501 9 років тому
Well explained. Good job.
@JottyHB
@JottyHB 8 років тому
Thanks for Your great videos! I am german but your videos are worth to remember all the english lessons at school 😃 I really would appreciate more robotics videos with the Zumo! May be You could give him some sensors? Thanks in advance!
@cuonglq8
@cuonglq8 8 років тому
Thank you so much! I love your video.
@pourkin
@pourkin 8 років тому
Excellent tutorial...thanks
@tarunpai2121
@tarunpai2121 8 років тому
Hey, firstly, I love your tutorials, they're very meticulously made and very well explained. I have a question. Is it possible to build the robot with any motor and bridge? or am I restricted to using the ones in your tutorial?
@lemkil76
@lemkil76 9 років тому
Great vid! Really inspirational!
@erickjoelclaudio4262
@erickjoelclaudio4262 4 роки тому
Hey! Excellent video :D I have a question. Do you have some kind of solution to the motors to go straight and not to slip? Do you think is because of the L298N bridge?
@fredericrouxdrphilnatdiplp3314
@fredericrouxdrphilnatdiplp3314 7 років тому
Thanks for the great tutorial. The front wheels, are they supposed to be quite stuck relative to the back wheels? I haven´t connected them to the board yet, but I am not able to move them by hand. Guess this is how it should be right? Thx
@ExplainingComputers
@ExplainingComputers 7 років тому
Yes, this sounds right. The front wheels are connected to the gearboxes and motors; the back just spin on their axels (until the tracks are put on). Good Luck! I hope soon to make two follow-up videos to this one . . .
@AshanBhatoa
@AshanBhatoa 8 років тому
This Video is very interesting plus I like robotics and this video told me how to control their motors.
@ismailakbari
@ismailakbari 9 років тому
Awesome. very simple and understanding
@hassanrazakhanbiz
@hassanrazakhanbiz 9 років тому
Nice video, very helpful for beginner, like me. Thanks for sharing it..
@lieutenantmiller2039
@lieutenantmiller2039 5 років тому
Fantastic video! I want to do the same project except using the Tamiya tracked chassis with dual motor gearbox. I made Tamiya tracked kit radio controlled a year or so ago but of course, that’s not a true robot.
@ExplainingComputers
@ExplainingComputers 5 років тому
Thanks -- do checkout follow-up videos in this series: eg ukposts.info/have/v-deo/kKaAg4SHiqWYzY0.html
@matteoprada5851
@matteoprada5851 6 років тому
Grest work guy, you are the best😀
@RedsGamingArcade
@RedsGamingArcade 9 років тому
What battery pack should I use for my motor controller? (I'm using the same one as in the video)
@talhasiddiqui3074
@talhasiddiqui3074 9 років тому
Wow what a brilliant video. Thanks for explaining
@maxteric7855
@maxteric7855 6 років тому
I really love your videos! I have some question, is there a way to connect 6 motors without occupy a bunch of pins on the raspberry? And is it possible to control these motors wireless without them physically attached to the raspberry? Keep your work going!
@DudbilPabon10
@DudbilPabon10 8 років тому
Hi! Excellent video, I want controller a stepper motor, do you can indicate me as? I have the raspberry pi 2 and Driver L298N.
@gordontang9640
@gordontang9640 7 років тому
Can you do a video on wireless raspberry pi printer?
@davidprendergast6425
@davidprendergast6425 3 роки тому
love this channel.👌👍
@xz86
@xz86 5 років тому
Thanks for the videos. If I want to build a complex robot or for home automation that’s need more than 100 input and output signals, is it possible to do that with raspberry? Is raspberry giop expandable?
@ExplainingComputers
@ExplainingComputers 5 років тому
You would, I think, need to add microcontrollers (eg Arduino) for that. I've never come across expanded GPIO on a Pi.
@MasterGamingChicken
@MasterGamingChicken 9 років тому
Great Tutorials and all videos! Thnx
@samseed666
@samseed666 9 років тому
You are awesome Thank you.
@boowonder888
@boowonder888 8 років тому
beautiful little motors! I recently found similar high quality 12v motors in an old vhs machine. No gearbox though. If I learn another language, it will be python. I knew some BASIC, HTML mAYBE it will help. Because the script got to be quite complicated in the end. Or maybe it just seemed that way because of all those loops.
@AverageManvsPi
@AverageManvsPi 8 років тому
Excellent video - love your tutorials. Dumb question for you - how do you have 4 GPIO controlling just 2 motors? I would have thought each motor would use 1 GPIO (out) and 1 GND? Or have you wired these up differently?
@ExplainingComputers
@ExplainingComputers 8 років тому
+Average Man vs Pi Each GPIO output controls one motor state. The GPIO pins are not supplying power to the motors; they are telling a controller how to supply power to them (ie to make them turn forwards or backwards).
@AverageManvsPi
@AverageManvsPi 8 років тому
Oh of course, see, I told you it was a dumb question! I completely forgot about the motor controller. Thanks again - looking forward to more videos.
@bockone2
@bockone2 8 років тому
it' s possible to control pwm too with the other two covered pins in the right side of l298n ???
@markblake4584
@markblake4584 9 років тому
You always do great videos
@philippk557
@philippk557 6 років тому
Could you make an example code in python 3.4.2 where you control leds by pressing keys on the keyboard? An example would you press a on the keyboard and a led turns on. You let go of the key and it turns off.
@garagebandguy7722
@garagebandguy7722 9 років тому
very helpful video. 10/10
@fredshultz4812
@fredshultz4812 7 років тому
Now that I am retired, I'm ready to have fun with computers. I purchased my first Pi, a 3 B, last month. It is now portable with a 7" touch screen, fitted case, camera, and RPi PowerPack V1. 2. You have inspired me to experiment with robotics. I have watched all three of your Zomo Robot videos, several times. Now I am ordering parts. This brings me to my first question. The label on the motors you purchased appears to define the ratio as 286:1. Yet I cannot find these motors at your suggested sourse, or any of the other sourses I tried. Would you be so kind as to suggest another ratio and perhaps provide a video on the relationship of motor ratios to performance, given the controller used. Thank you very much for sharing so much valuable information in your videos. Best regards.
@dvigas7547
@dvigas7547 5 років тому
Very good video. I have a question. Could I use any RC car (buy one) and put the Raspberry to control and sensors? RC with any voltage as: 4.5V, 6V, 12V? Thank you.
@ExplainingComputers
@ExplainingComputers 5 років тому
Yes, you could indeed use a Pi and an L298N to do just that. See also my follow-up videos, and info on this page: www.explainingcomputers.com/rasp_pi_robotics.html
@dvigas7547
@dvigas7547 5 років тому
ExplainingComputers thank you. I will see and try. I saw your video and I’m very excited to do that with a cheap RC car that I bought at Argos.
@KennyxD209
@KennyxD209 3 роки тому
Hi! I love your video! But I do have a question. Is there a specific reason why you chose pins 7,11,13, and 15 (GPIO 4, 17, 27, 22 respectively)? Can I use other GPIO instead? Asking because I am try to control 4 individual wheels (using two L298N). So I am trying to figure out which GPIO pins are safe for me to use. Thanks!
@zenontygrys8333
@zenontygrys8333 8 років тому
Hello Everything works ok when powered from 230 V mains but with the power of the battery (robot controlled remotely via wifi). I had to change the pin 7 to 12. Pin 7 ( power from baterii) gives then still 3.3V. Raspberry B+.
@BobbleNoggin
@BobbleNoggin 6 років тому
Hi Chris, thanks for all the great videos. I am just getting started and I have the motors, the L298N and the Pi wired up. As soon as I connect the battery pack to the the L298N the motors start to spin. Is that expected? At this point the Pi is not running. Oh, and if I unplug the Pi the motors stop. Any assistance would be appreciated.
@ExplainingComputers
@ExplainingComputers 6 років тому
This is normal -- until the Pi has booted and set GPIO levels, the motor controller will have its outputs in a random state. Hence one or other or both motors may spin. So only connect power to the motors when the Pi is up and running the code. See my recent "Raspberry Pi Devastor Robot #2" video for more on this issue.
@BobbleNoggin
@BobbleNoggin 6 років тому
That did it. Thanks again for such a quick response!
@CarneSagrado
@CarneSagrado 2 роки тому
. I plan to purchase same robot, ZUmo or other same SIZED. WOULD a Pi ZERO W suffice? (I understand I need to put them on top for autonomous movement) .
@patricklacson
@patricklacson 8 років тому
Excellent video! Do you know how to control the speed of the controller via PWM? Also with two L289N controllers can you control the speed of all 4?
@ExplainingComputers
@ExplainingComputers 8 років тому
+Patrick Lacson I will return to Raspberry Pi robotics fairly soon . . .
@svizztech
@svizztech 8 років тому
+ExplainingComputers great! Desperately waiting for it.
@MicroProjects
@MicroProjects 5 років тому
very nicely done
@ExplainingComputers
@ExplainingComputers 5 років тому
Thanks,
@dylangonzalez6370
@dylangonzalez6370 6 років тому
Hi, very cool tutorial! I have a Pi Model 3 B and am hoping to do a project like this one. I don't want to have it continuously plugged into the wall, but from a battery. My problem is that I fear that either the battery pack will just be too big to be portable or that either they will be too expensive. I wish I would have gotten a Pi Zero W as I have now realised that they seem to be better with these kind of projects. How would I go about doing it with a pi model 3 b? Thank you.
@ExplainingComputers
@ExplainingComputers 6 років тому
Everything here will work fine with a Pi 3 B! It will use more power than a Pi Zero, but will still work fine off a battery back. See this video for how it may work: ukposts.info/have/v-deo/kKaAg4SHiqWYzY0.html and this video for running everything off a set of AA cells: ukposts.info/have/v-deo/omaem6Kdn42L04U.html Good Luck!
@dylangonzalez6370
@dylangonzalez6370 6 років тому
ExplainingComputers Thank you! Just one last question, would it be beneficial to use a similar battery to yours or to use a bigger battery?
@ExplainingComputers
@ExplainingComputers 6 років тому
The power bank I used to run the Pi is I think 2100mA, and this will run a Pi Zero for a good 5-6 hours. So it should run a Pi 3 for a good two hours or so. The issue with bigger batteries -- aside from the cost! -- is the extra weight on the robot.
@HKey_Root
@HKey_Root 3 роки тому
Thanks once again for another inspiring vid. Presumably one could mimic a stepper motor depending on the resolution of the time function in IDLE? I had in mind to control the spindle on a variable (butterfly/air) tuning capacitor robbed from an old radio, to be used in loop antennae etc., so the tuner could be remotely controlled. These tuners don't rotate 360° so I guess some canny coding will be required so no attempt is made to rotate the motor out of range.
@ExplainingComputers
@ExplainingComputers 3 роки тому
It would be hard to mimic a stepper motor as yu suggest. A Pi can also be used to control servos though (and stepper motors). I did a video on servo motor control with a Pi quite recently: ukposts.info/have/v-deo/sHh1iGp6rqCGsnk.html
@HKey_Root
@HKey_Root 3 роки тому
@@ExplainingComputers Ah, thanks. I did miss that one. I shall go take a look.
@nursalambinyakup2499
@nursalambinyakup2499 9 років тому
hi, i wanna ask if raspberry pi can get input from its camera? bcoz i wanna make a simple robotics with raspberry pi that can be control using hand gesture recognition.
@rennellliwanag
@rennellliwanag 4 роки тому
Hello sir can you pls help me to my project .. i want to build a solar tracker using raspberry pi .. can pls make a tuitorial about ldr sensor and dc motor . Thank you
@magneertresvag
@magneertresvag 6 років тому
Why don't you use PWM on the L298N's Enable pins to controll the motors speed?
@maidkanuric6724
@maidkanuric6724 6 років тому
Hey! Nice Video! But I was wondering if I could use a 2-Phase 4-Wire Stepper Motor too? And if so could someone tell me how to wire it up please?
Raspberry Pi Robotics #3: Keyboard Control
23:05
ExplainingComputers
Переглядів 359 тис.
The Ultimate Guide to using Motors in Robotics (including ROS, Raspberry Pi)
25:56
Articulated Robotics
Переглядів 294 тис.
Nemo - The Code (LIVE) | Switzerland🇨🇭| Grand Final | Eurovision 2024
03:28
Eurovision Song Contest
Переглядів 14 млн
Speed Painting 3d Printed Light Frigate for Blood and Plunder
11:46
PokeMonster Pulls and Minis
Переглядів 58
Raspberry Pi Pico W: WiFi  Controlled Robot
17:56
ExplainingComputers
Переглядів 85 тис.
I built my own computer. by hand.
13:03
jdh
Переглядів 1,1 млн
10 Best Raspberry pi projects of the year 2022!
8:22
ToP Projects Compilation
Переглядів 342 тис.
Stepper Motor Control with the Raspberry Pi
9:40
Gaven MacDonald
Переглядів 251 тис.
Radxa Zero 3W
15:44
ExplainingComputers
Переглядів 109 тис.
Raspberry Pi MotionEyeOS Network Camera
16:46
ExplainingComputers
Переглядів 400 тис.
The new Raspberry Pi Pico W is just $6
7:56
Jeff Geerling
Переглядів 425 тис.
Raspberry Pi 5: EVERYTHING you need to know
20:32
Jeff Geerling
Переглядів 1,1 млн
СЛОМАЛСЯ ПК ЗА 2000$🤬
0:59
Корнеич
Переглядів 2,2 млн
Samsung or iPhone
0:19
rishton vines😇
Переглядів 4,7 млн