Raspberry Pi Robotics #2: Zumo Robot

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 562

  • @fahadahmed480
    @fahadahmed480 Před 5 lety +67

    trust me you can't find any better tutorial on getting into robotics with pi all across youtube till this date

  • @robertpendergast2620
    @robertpendergast2620 Před 8 lety +57

    I hope you will do some more robotics. Your presentations are so clear.

  • @64_bit80
    @64_bit80 Před 4 lety +1

    you are the only coherent youtuber explaining how to use a raspberry pi. actual god

  • @Jozie88
    @Jozie88 Před 8 lety +1

    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 Před 8 lety

      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  Před 8 lety

      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 czcams.com/video/NAl-ULEattw/video.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. :)

  • @bunny.bunbob
    @bunny.bunbob Před 4 lety +1

    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.

  • @thomascott7425
    @thomascott7425 Před 7 lety +3

    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.

  • @mike_vahemoubayed8099
    @mike_vahemoubayed8099 Před 4 lety +1

    Best Robotics and Python tutorials ever created!

  • @JohnRaschedian
    @JohnRaschedian Před 3 lety +1

    Invaluable videos. Learning what you learn in one of these videos would take you days and weeks of reading!

  • @MrBlacknass
    @MrBlacknass Před 3 lety

    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!!

  • @spharge
    @spharge Před 7 lety +1

    Excellent tutorial. Certainly one of the better ones I've seen on the Pi and motor controller boards.

  • @TheStickofWar
    @TheStickofWar Před 9 lety

    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!

  • @MrVayga88
    @MrVayga88 Před 4 lety +1

    I hope you are still making these tutorials sir. You are such a great instructor. Thanks you very much.

  • @deangtspecial6689
    @deangtspecial6689 Před 6 lety +1

    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.

  • @paulgriffin8566
    @paulgriffin8566 Před 9 lety +1

    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.

  • @abhijack.1036
    @abhijack.1036 Před 3 lety

    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

  • @knowledgeis5855
    @knowledgeis5855 Před 8 lety

    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  Před 8 lety

      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.

  • @spaceinvader4565
    @spaceinvader4565 Před 8 lety

    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

  • @AngeloGi
    @AngeloGi Před 10 lety +18

    What an amazingly fun video! Thanks for that! Your presentation and production value is what makes it. Keep it up please!

  • @serceband
    @serceband Před 6 lety +5

    I do not want to advertise so I won't put any links, but a lot of Pololu gear can be purchased from China (actual suppliers of Pololu) for a fraction of the price. My motors had arrived and I'm 99% sure they are the same thing.

    • @Arthur-ky1nc
      @Arthur-ky1nc Před 5 lety

      can you tell me which shops you mean pls?

    • @MrCharlypesc
      @MrCharlypesc Před 3 lety

      same here, i already everything on china...i buy on aliexpress.

  • @boiii9793
    @boiii9793 Před 9 lety

    urs are the most least confusing videos and the explanation is pretty good.hope to see the next video pretty soon.

  • @BlazinSD
    @BlazinSD Před 8 lety +2

    Great video, it's like listening to Michael Caine's Alfred talk to Batman.

  • @jamestaylor5409
    @jamestaylor5409 Před 9 lety

    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).

  • @roshancheereth7540
    @roshancheereth7540 Před 9 lety

    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!

  • @NickCornaglia
    @NickCornaglia Před 5 lety +1

    I really enjoy your videos. Very clear and entertaining. Thank you!

  • @Umtree
    @Umtree Před rokem

    Well paced, straight to the point.
    Awesome video.

  • @MrMoonpie001
    @MrMoonpie001 Před 10 lety

    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

  • @caharkness
    @caharkness Před 10 lety

    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!

  • @westcountrybob2521
    @westcountrybob2521 Před 4 lety +2

    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.

  • @lgbonfim
    @lgbonfim Před 5 lety +2

    Great Job! I loved these vídeos about raspberry robotics!

  • @agcreatortn
    @agcreatortn Před 6 lety +1

    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  Před 6 lety

      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 Před 6 lety

      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?

  • @JottyHB
    @JottyHB Před 8 lety +1

    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!

  • @tnek1tnek
    @tnek1tnek Před 9 lety +2

    Very professional and informative. Thanks from this end of the pond.

  • @AshanBhatoa
    @AshanBhatoa Před 9 lety +1

    This Video is very interesting plus I like robotics and this video told me how to control their motors.

  • @mtbevins
    @mtbevins Před 8 lety +1

    Thanks for the great videos. I really enjoy them. You are so clear and concise.

  • @jerryrichard4994
    @jerryrichard4994 Před 7 lety +4

    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  Před 7 lety +3

      Yes, you could use 2 -- or more! -- controllers. There are plenty of GPIO pins to drive them. :)

    • @jerryrichard4994
      @jerryrichard4994 Před 7 lety +2

      Thanks for the info I shall proceed with my new project

  • @user-rt3fy4gf6i
    @user-rt3fy4gf6i Před 7 lety +2

    Thanks for clear and very interesting videos about Raspberry. I will wait new video.

  • @rerere115
    @rerere115 Před 8 lety +1

    Ordered my Pi 2, can't wait to try this.

    • @ExplainingComputers
      @ExplainingComputers  Před 8 lety

      +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 Před 8 lety

      ExplainingComputers awesome I can't wait.

    • @robinder_
      @robinder_ Před 8 lety

      +ExplainingComputers Hey there, do these tutorials you are making also work on pi zero?

    • @ExplainingComputers
      @ExplainingComputers  Před 8 lety +2

      +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_ Před 8 lety

      +ExplainingComputers ok, thanks!

  • @pong301275cmu
    @pong301275cmu Před 2 lety +1

    very nice tutorials, Love it
    thank you for your kind

  • @jdragon8184
    @jdragon8184 Před 4 lety +2

    this is 2014 sir this is awesome

  • @MekhiStafford
    @MekhiStafford Před 8 lety

    thanks for sharing this with us u really inspire me to keep trying to accomplish my dream of becoming a computer engineer

  • @ahmadabdullah6608
    @ahmadabdullah6608 Před 7 lety

    you video lectures are so clear and very informative.......................
    can you please share some book with me to learn raspberry pi ????

  • @lieutenantmiller2039
    @lieutenantmiller2039 Před 6 lety +2

    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  Před 6 lety

      Thanks -- do checkout follow-up videos in this series: eg czcams.com/video/XvOONPSoglY/video.html

  • @petabrain
    @petabrain Před 10 lety +1

    This is a very high quality video. I was very pleased to watch it fully, keep up the good work! :)

  • @joshcarz
    @joshcarz Před 5 lety +1

    Just so everyone knows. The motor controller 5v pin is an output pin. This is not for bringing 5v into the motor controller but for sending 5v out like powering the pi with the output. No need for his usb battery pack. He could have just run the 5v out to the 5v pin on the pi and it would have worked.

    • @joshcarz
      @joshcarz Před 5 lety

      Thanks for your videos.

  • @JamesNortonJones
    @JamesNortonJones Před 8 lety

    Thanks for this. It got me up and running really quickly.

  • @robindow5742
    @robindow5742 Před 6 lety +1

    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  Před 6 lety

      Excellent -- thanks for letting me know about your success! :) This is what CZcams is all about. Note that I have various follow-up videos, including a line follower: czcams.com/video/Z5_8Va8QxnY/video.html

  • @RedMageGaming
    @RedMageGaming Před 6 lety +1

    I don't think the motors are slipping, I think its because one motor is starting before the other. Since python is an interpreted language, going top to bottom, it activates one motor, then immediately afterwards the next motor.

    • @ExplainingComputers
      @ExplainingComputers  Před 6 lety

      I see your point, but the time difference will be extremely slight -- less than 1/1000th of a second.

  • @sidharthcs2110
    @sidharthcs2110 Před 7 lety

    great explainer on CZcams

  • @prokolu
    @prokolu Před 9 lety

    Great video, fantastically explained. Please, do one with stepper motors and joystick controlled motors. Thanks!

  • @Safa-po3oc
    @Safa-po3oc Před 8 lety

    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  Před 8 lety

      +The Kount Taking this further is on my production list for early 2016. :)

  • @kadaliakshay6770
    @kadaliakshay6770 Před 2 lety

    hmmmm, i give a 5 out of 5 star for this explanation!

  • @DestinationDub
    @DestinationDub Před 8 lety +2

    Thanks so much - very clear and well explained.

  • @hpalm051269
    @hpalm051269 Před 8 lety

    I have connected up just like the video suggests, with the rpi3 and battary pack unplug. Now I give the rpi3 power and connect the battery pack the motor starts moveing automaticly and does not stop.

    • @ExplainingComputers
      @ExplainingComputers  Před 8 lety

      Run the code (maybe with the battery pack unconnected), and let it finish (which will execute the GPIO cleanup command. Then try again. Also see the bottom of this page for info on different configurations: www.explainingcomputers.com/rasp_pi_robotics.html Good Luck!

  • @ismailakbari
    @ismailakbari Před 9 lety

    Awesome. very simple and understanding

  • @markblake4584
    @markblake4584 Před 9 lety

    You always do great videos

  • @davidprendergast6425
    @davidprendergast6425 Před 4 lety +1

    love this channel.👌👍

  • @juanmorel9533
    @juanmorel9533 Před 7 lety

    Génial, les démonstrations sont précises et claires!

  • @langtupt
    @langtupt Před 9 lety

    Hello Chistopher,
    I enjoyed your video, thank you for sharing.

  • @beck4u2
    @beck4u2 Před 10 lety

    Looking forward to the next video!

  • @zenontygrys8333
    @zenontygrys8333 Před 8 lety

    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+.

  • @matteoprada5851
    @matteoprada5851 Před 6 lety

    Grest work guy, you are the best😀

  • @HKey_Root
    @HKey_Root Před 4 lety +1

    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  Před 4 lety +1

      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: czcams.com/video/xHDT4CwjUQE/video.html

    • @HKey_Root
      @HKey_Root Před 4 lety +1

      @@ExplainingComputers Ah, thanks. I did miss that one. I shall go take a look.

  • @robertpendergast2620
    @robertpendergast2620 Před 8 lety +1

    Very nice video.

  • @afrotubiz
    @afrotubiz Před 8 lety +1

    je ne comprends pas l'anglais mais ses vidéos parle d'elle même!

  • @DipanjanBiswasgoogle
    @DipanjanBiswasgoogle Před 9 lety +1

    Wao sir you're awesome at what you do.. Subscribed and waiting for next videos

  • @hemu2315
    @hemu2315 Před 9 lety

    your video is extremely useful for me...i'm eagerly waiting for the next video i.e.,controlling the robot using wifi and placing a camera on it...i'm doing my project on that.please please do help me in that.thank you

  • @dvigas7547
    @dvigas7547 Před 5 lety +2

    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  Před 5 lety +1

      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 Před 5 lety

      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.

  • @asitaliano1
    @asitaliano1 Před 10 lety

    A very professional and informative vid. We appreciate your instruction and effort. Keep up the great work.

  • @CreepebrineMC
    @CreepebrineMC Před 4 lety

    I tried rebuilding it and powered the L298N with a nine-volt battery. After some seconds the motor's speeds tremendously decreased and the battery got pretty warm (not hot). What is the problem here and how do I fix it?

  • @mohamedanaouch2322
    @mohamedanaouch2322 Před 7 lety

    thanks you for all

  • @boowonder888
    @boowonder888 Před 8 lety +1

    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.

  • @MicrobyteAlan
    @MicrobyteAlan Před 4 lety +1

    Fun build

  • @darsonsilungwe8884
    @darsonsilungwe8884 Před 6 lety +1

    Wow Thank you so much! Amazing presentation.

  • @TheJosh0608
    @TheJosh0608 Před 9 lety

    using this method of drawing a shapes with straight edges. How could I extend it to make my Raspberry pi go round in a circle of given radius "x"or any other curved shapes such as a rose "r = (a)sin(bx)" (Polar Coordinates)?

  • @theeasywayoutcampers6550
    @theeasywayoutcampers6550 Před 4 lety +1

    thank you for making this video.

  • @pablomarcelmx
    @pablomarcelmx Před 4 lety +2

    I missed connecting pin 6 to the h-bridge. My second attempt should work

  • @talhasiddiqui3074
    @talhasiddiqui3074 Před 10 lety

    Wow what a brilliant video. Thanks for explaining

  • @jakebytes602
    @jakebytes602 Před 7 lety

    You soldering could come in contact with the motor housings and short circuit

  • @pranavrathi211
    @pranavrathi211 Před 6 lety +2

    As soon as i connected motor controller with battery, the motor starts running. Why?
    Using same components from vidoe with same setup of wiring just I am using 9v battery.

    • @ExplainingComputers
      @ExplainingComputers  Před 6 lety +1

      This will be because you have yet to execute any code -- the GPIO pins will be in a random state until you have executed the code to set up the pins, and so pull them down to an "off" state. You need to execute the code, then connect the power to the motor controller. If the Pi's own power is not turned on, this is due to the setting of a 5V enable jumper on your L298N -- see the "Important Note" on my page here: www.explainingcomputers.com/rasp_pi_robotics.html Or, see the videos and wiring on this page (based on the same setup): www.explainingcomputers.com/pi_devastator_videos.html

    • @pranavrathi211
      @pranavrathi211 Před 6 lety +1

      @@ExplainingComputers
      Really happy to see your fast response.. And thank you for your instant help.. 😍😍

  • @babykimichan
    @babykimichan Před 5 lety +4

    "Are they earrings? " Haha!

  • @shishKababGamers666
    @shishKababGamers666 Před 8 lety

    hi there, i tried this but with a different controller board (with no 5v enable) and firstly when i try to run the python script it says an error due to the gpio's then as i am powering the RPi with a usb, then the modules with an external battery, i connect ONLY the ground to the gpio's and not the VCC (as there is no 5v enable) and when i do this even if the +5v VCC is OFF the module faintly emits light as if the ground pin is powering it? any help please. thanks
    Regards,
    Aran

  • @dougpetro
    @dougpetro Před 2 lety +1

    What if we want to drive the motors slower, like with PWM?

    • @ExplainingComputers
      @ExplainingComputers  Před 2 lety

      I cover PWM motor control in this video: czcams.com/video/H1PIzxNdGGk/video.html

  • @hackernoobtutorials
    @hackernoobtutorials Před 10 lety +3

    You are the best

  • @iqoptionmoneey658
    @iqoptionmoneey658 Před 8 lety +1

    happy new year

  • @adityabangalore3096
    @adityabangalore3096 Před 6 lety

    So how exactly do we connect the ENa and ENb pins if the two jumpers aren't there? I have just connected them to pins on the Pi. How should I code them if I did this?

  • @philippk557
    @philippk557 Před 6 lety

    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.

  • @Flowlance
    @Flowlance Před 9 lety +1

    Amazing! I need to order these parts... :D Really inspired by your video.

  • @arifchowdhury3424
    @arifchowdhury3424 Před 6 lety

    I tried building this exact thing. The first program works fine. When I try to run the second program my other motor doesn't run. Can you suggest why might this happen?

  • @magneertresvag
    @magneertresvag Před 7 lety

    Why don't you use PWM on the L298N's Enable pins to controll the motors speed?

  • @johnjakeman7391
    @johnjakeman7391 Před 2 lety

    please could you tell me which moters to buy are they 2 x Micro Metal Gearmotor (Extended back shaft) - 298:1 from pimoroni

  • @RickHenderson
    @RickHenderson Před 9 lety

    I already have a Raspberry Pi and I've ordered a Runt Rover frame (the Whippersnapper). I want a Zumo as well, but they seem to only sell them now as Arduino bots. Maybe I should double check. Anyway, the new Zumo 32U4 looks awesome you should check them out Chris! I'll totally do your LED tutorial.

  • @Theytrewq100
    @Theytrewq100 Před 8 lety

    Great video, waiting for your followups!

  • @basselsak6111
    @basselsak6111 Před 8 lety +3

    Thanks it worked,but can you do a tutorial "how to control it with a phone or something" ?

    • @ExplainingComputers
      @ExplainingComputers  Před 8 lety +9

      +bassel sak Yes, turning this into an independent robot controlled remotely via various means is on my video list for January/February 2016. :)

    • @katelynhamer1350
      @katelynhamer1350 Před 8 lety +1

      +ExplainingComputers Nice to see you responding to comments! I'm a big fan!

  • @madmarshman
    @madmarshman Před 6 lety

    @ExplainingComputers are the #2-56 screws and nuts supplied with the chassis the same size as M2 in the uk? Thanks for any help.

  • @nursalambinyakup2499
    @nursalambinyakup2499 Před 10 lety

    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.

  • @pranavrathi211
    @pranavrathi211 Před 6 lety +2

    What kind of motor is used above? Because you are able to spin motor in both directions. And I am using normal dc motor it spin only in one direction

    • @ExplainingComputers
      @ExplainingComputers  Před 6 lety

      It is a normal motor here. The key element is use of the motor controller -- the L298N. This can be hooked up to one or two motors, and then four control pins are fed signals to spin each forwards or backwards.

    • @ExplainingComputers
      @ExplainingComputers  Před 6 lety

      Ah, I see we corresonded before! :) If you have your motor connected to the L298N you should be able to turn it in either direction depending on what signals are being sent from the GPIO pins on the Pi. If things are not working, check your wiring and code.

  • @Turialla3
    @Turialla3 Před 6 lety +1

    I tried to implement the project using an external power supply instead of the battery. L298N comes on but raspberry no. The power supply delivers 9V max 1.2A. Is it a problem of amps?

    • @ExplainingComputers
      @ExplainingComputers  Před 6 lety

      Possibly, depending on what Pi you are using. Also, you will need to set the jumper to get 5V for your Pi via the L298N -- I power this setup via batteries (6xAA) in this video: czcams.com/video/DyQxvfwQbTg/video.html

  • @davidcorreasanchez9425
    @davidcorreasanchez9425 Před 5 lety +3

    Why do I get this error? type error:"str" object cannon be interpreted as an integer

    • @varunaggarwal8936
      @varunaggarwal8936 Před 4 lety +1

      Because the inputs (sides and size) the user enters in the shell after running the code are strings. For the code to use the user's inputs to do the math, the user's inputs need to be converted to appropriate data types. Specifically, int (integer) for "sides" and float (float) for "size". This can be accomplished easily by changing the lines in the code to
      sides = int(input("How many sides?"))
      size = float(input("How big?"))
      Hope this helps!!

  • @krzysztofgawryluk4501
    @krzysztofgawryluk4501 Před 9 lety

    Well explained. Good job.

  • @MrDemonshalo
    @MrDemonshalo Před 9 lety

    amazing series. Thank you. please do more!

    • @RedsGamingArcade
      @RedsGamingArcade Před 9 lety

      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  Před 9 lety

      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. :)