Raspberry Pi Robotics #4: SSH Network Control

Поділитися
Вставка

КОМЕНТАРІ • 315

  • @Rendon276
    @Rendon276 6 років тому +4

    I am a complete novice to Raspberry Pi and networking and Python. I have found your videos extremely helpful in getting myself up and running.

  • @charlesxstorm
    @charlesxstorm 4 роки тому +6

    I just started learning python recently. Coming from a 3D graphics and animation background, my initial purpose for learning the language was to be able to drive some controls and create expressions in Autodesk maya. But since I've also studied Computer Engineering in the university, I've found these videos quite fascinating. Now i know that python is really going to open a broader door for me to explore. I'll strive until i get to the point where Computer Engineering and 3D meets. I can't wait to get my raspberry pi. You've really inspired me :)

  • @galihpa
    @galihpa 7 років тому +89

    We love it when you upload videos about single board computers, keep them coming

    • @ExplainingComputers
      @ExplainingComputers  7 років тому +22

      Will do! :)

    • @shinigamilee5915
      @shinigamilee5915 7 років тому

      ExplainingComputers
      Yeah, I love your videos too. Thanks so much for doing them.

    • @dextersumsaltube
      @dextersumsaltube 7 років тому +1

      Sir you must Comment frequently at LinuxTechtips, unboxtherapy,etc. so you can gain more subscribers out there. When someone knew Explainingcomputers what youve comment.instantly theyll press like button and then someone will try to peep your channel and begin to subscribe absolutely..You are really desrving.

    • @codegreat8201
      @codegreat8201 3 роки тому

      @@ExplainingComputers sir can you explain c programming language

    • @robotman4952
      @robotman4952 3 роки тому

      How do I control a raspberry pi robot via a global network

  • @Tangobaldy
    @Tangobaldy 7 років тому

    Why do you hide the Mac ID? is it possible to connect via WiFi or LAN to a device you know ID number of even if it's already connected to another network? I know every item has its own unique code, but are they ever repeated? for example will all PlayStation 4 have same Mac ID?

    • @ExplainingComputers
      @ExplainingComputers  7 років тому

      MAC addresses can be used in identity theft. I will say no more here! :)

  • @noelj62
    @noelj62 7 років тому +3

    "In 2017, robots will run on pies"
    In the 20th century, that was in the realm of the impossible.
    Thank you for the information on SSH. Love your channel.

  • @markharrisllb
    @markharrisllb 3 роки тому +1

    This is the best series I’ve seen from you which is a massive statement. I never thought I’d be able to understand how a remote robot was built. I didn’t even fully understand how IP addresses work. I thoroughly enjoyed the series and this is definitely a future project.
    It would be nice to think Rex Garrod saw this series before passing, it’s quite possible he would have still been able to understand what you were doing. I'm certain before he had dementia he would have applauded such a clear, easy to follow series that shows robot building in an accessible way.

    • @ExplainingComputers
      @ExplainingComputers  3 роки тому +1

      Thanks for this, you may also appreciate my "Devastator" robot series, which improves the control code. :)

    • @markharrisllb
      @markharrisllb 3 роки тому

      @@ExplainingComputers Thank, I'll make sure to watch it.

  • @p504504
    @p504504 7 років тому +2

    Hello Christopher! I just wanted to tell you how much I enjoy your videos. I always watch them no matter what you make the video about because I enjoy your production, your delivery and your methods very much. Keep up the good work!

  • @Dosbomber
    @Dosbomber 7 років тому

    I've been wondering about these exact subjects for so long now.. RasPi GPIO access, Linux, Python programming, SSH... this series has been an massive eye-opener for me... what a fantastic way to start a weekend!
    And oh, what a coincidence... the hexapod robot I've been building, with intentions of driving with 8-bit PICs, will perfectly fit a full-size RasPi.... oh, the world you've just opened.

    • @ExplainingComputers
      @ExplainingComputers  7 років тому

      Thanks for this feedback. I hope that you enjoy the final part of the series -- posted last week -- where I turn the robot into a line follower. You may also be interested in my Raspberry Pi GPIO inputs video -- ua-cam.com/video/NAl-ULEattw/v-deo.html -- which kind of completes the set.
      Your hexapod robot sounds interesting, and a great project to drive with a Pi! Good luck with this. :)

  • @ameggs
    @ameggs 7 років тому +27

    How about implementing a Web server on board and controlling over WIFI? maybe have the web server host a simple web page with touch buttons ( tablet / cellphone) and using a Keyboard controls? Add a camera module and make a simple webcam, wifi controlled rover?
    Great Videos KEEP THEM UP!

    • @ExplainingComputers
      @ExplainingComputers  7 років тому +18

      Nice idea -- noted in my video slate! :)

    • @marcelofernandez5380
      @marcelofernandez5380 7 років тому +2

      You can do it in the same way with ssh, using the public IP, you just need redirect the Port used by the program in the router

    • @derpinbird1180
      @derpinbird1180 7 років тому

      Id love this, i tried to make a robot on a beaglebone but only got as far as a webpage that could control the robot which worked well but getting the stream to work properly was such a pain i ended up binning the project.

  • @abdelhakimakodadi3073
    @abdelhakimakodadi3073 7 років тому +6

    This is the first time I see the command `poweroff`. I used to use `sudo halt -p`. `poweroff` is much easier to remember. Thanks!

    • @cldream
      @cldream 7 років тому +1

      Alternatively, some distros have `shutdown -h now` to immediately go down into shutdown or `shutdown -h ` to shut down at a given time.

    • @waltercomunello121
      @waltercomunello121 4 роки тому

      You have many ways to do the same thing.

  • @srtcsb
    @srtcsb 7 років тому +1

    Thanks for this one Chris. I have one of those 'plastic card' TV antennas, and a Pan & Tilt with two servos to adjust it. It's been a pet project on the shelf for a few months now, and this will help a lot towards completion. Just need to adjust the code for small movements instead of continuous, and it should work fine. Thanks again!

  • @jyvben1520
    @jyvben1520 7 років тому +6

    You can also shorten your dhcp range from 2-199 in your router and then use fixed addresses from 200 upwards,
    this prevents conflicts. In putty you can give a name to your ip-address and save it, next time you can choose it from the list.

  • @andrewd4906
    @andrewd4906 6 років тому +1

    Hi Chris, Been following this series, and am building my own. After trying to run PuTTY. I got a connection refused error. Fixed by turning the SSH option to ENABLE in the Raspberry Pi Configuration menu. From the Raspian desktop, Raspberry - Preferences-Raspberry Pi Configuration. Interfaces then enable SSH click OK and reboot. Then the Pi will work from PuTTY. Raspian was from NOOBS version 2.8.1 released 2018-04-24. Hope this helps others that have the same problem when following. Keep up the good work. Andrew D

    • @ExplainingComputers
      @ExplainingComputers  6 років тому

      Thanks for this. I can not account for how Raspbian configs change! :) Glad you got it working, and great you are building one too. :)

  • @Nightagain
    @Nightagain Рік тому +1

    The way your teach us this stuff is great ! I enjoy it thanks.

  • @the3dom
    @the3dom 7 років тому +2

    Not so much into robots (yet) but, that "address reservation" thing as general idea helped me to figure out something about my damn LAN configuration. Thanks!

  • @MicrobyteAlan
    @MicrobyteAlan 4 роки тому +1

    I’ve been thinking about controlling a battery powered garden railroad loco remotely. Exactly what I was looking for. Thanks

  • @resrussia
    @resrussia 7 років тому +1

    Thank you for continuing your series on Pi Zumo robot. Keep up the good work!

  • @y2ksw1
    @y2ksw1 7 років тому +1

    Very nice and complete tutorial.
    Just one thing. You do not need to hide your MAC, since outside visitors can see only the MAC of your router. The router normally replaces the MAC with its own. However, if you plan to use your robot outside your network, maybe hiding isn't a bad thing 😊
    I have tried to lock out hackers by MAC, but failed due to the mechanisms of routers.

    • @ExplainingComputers
      @ExplainingComputers  7 років тому +1

      Thanks for this, but I assure you there are good reasons for hiding a MAC address.

    • @y2ksw1
      @y2ksw1 7 років тому

      ExplainingComputers Now you make me curious. What could possibly go wrong with MAC's behind a firewall?

  • @daveolson7327
    @daveolson7327 5 років тому +1

    good morning sir, i'm very fond of your tutorial videos. Being a student, i hereby request you to clarify my following doubts by making further videos thereon-
    1) How can raspberry pi smartsim be attached to Zumo, if it can replace external WiFi USB for controller connectivity ?
    2) How can the board's WiFi be put to use for controller connectivity ?
    3) How to make a webpage consisting of Zumo control keys not restricted to up,down, right and left, using it IP address ?
    LOOKING FORWARD TO YOUR REPLY AS FURTHER VIDEOS IN THIS SERIES ON THE REQUESTED TOPICS !

    • @ExplainingComputers
      @ExplainingComputers  5 років тому

      These are large and complex questions which I cannot answer in a simple comment here. I do have other videos. :)

  • @PeterFloyd678
    @PeterFloyd678 7 років тому

    Great set of tutorials. I am in the process of building my first ever robot using these tutorials and my own updates and changes. When it is done, I'll let the channel know how it went.

  • @RelianceIndustriesLtd
    @RelianceIndustriesLtd 7 років тому +1

    that is some really useful info.....heard about ssh before but had no idea that it is so cool....remotely control any device through the terminal.....fook yeah!!

    • @ExplainingComputers
      @ExplainingComputers  7 років тому

      Exactly. This is not just a video about a Raspberry Pi robot . . .

  • @waltercomunello121
    @waltercomunello121 4 роки тому +1

    Just as further explanation:
    1- MAC addresses can be changed in some hardware configurations.
    2- Since some WiFi router devices could lack a DHCP address reservation function, or router config pages can change an awful lot between different devices, I would have used the dhcp daemon on the client side. The RPi0 is pretty much the same everywhere given the same OS layer; that said, it is possible to set dhclient (or other clients such as dhcpd or dhcpcd) to request a fixed DHCP address from the router/access point. This requires additional work, config file digging and some Linux VT skills, but it works much better IMO.

  • @phibir7579
    @phibir7579 7 років тому +1

    I purchased the 'Scratch Programming - In Easy Steps' book and have been working through it with my children. Towards the end of the book it introduces you to the Raspberry Pi and suggests that you continue from there. So I did a search for Raspberry Pi projects and found this; we've been following and enjoying your tutorials ever since. Please keep them coming, we can't get enough!!! :-)
    A couple of suggestions that we have sat and thought about.
    1. Would it be possible to purchase a basic USB solar panel and attach it to the top of our robot and have it charge the portable USB power bank?
    2. How about adding a Pan-Tilt HAT so that we can attach and control the Raspberry Pi camera remotely?
    We eagerly await your next video for this project.
    Thanks

    • @ExplainingComputers
      @ExplainingComputers  7 років тому +1

      Thanks for this -- I'm glad you enjoy my videos! :) There will be some additions to this robot in future videos, and I'll also be working on a larger robot -- and a camera will feature! :)

  • @hellterminator
    @hellterminator 7 років тому +1

    Here's an idea for a future project: Add a camera, implement web based controls and open the server to Internet (and probably put it on a separate subnet and firewall it off from everything else) and let your viewers drive the robot around your studio.

  • @Kenzo9063
    @Kenzo9063 4 роки тому +4

    I noticed you debadged the netbook. I took it to another level being cheeky by putting the stickers of a first-gen core i7 and windows 7 on my laptop even though it is 7th gen and windows 10 hahah

  • @tinkmarshino
    @tinkmarshino 6 років тому +3

    oh yeah.. hummin' right along with you, digin' it all.. yeah, yeah got it.... until I tried to get into my router.. "oh yeah" I said to myself "I changed the name and password, now where is that password list?" Well it was so long ago it is not on my list ! I did this to keep my son out of it years ago and I do mean years.. so now I guess it is about time to change my router anyway..I already have three of them sitting in the back why not make it an even four... Oh how I love getting old.. heck I am still looking for the eggs I hide last easter.. even the kids got tired of helping... Well good on ya my friend.. enjoying the heck outta your vids...

  • @chosenArchitec
    @chosenArchitec 7 років тому +1

    My new favourite channel

  • @rtesimpson
    @rtesimpson 7 років тому +2

    great video Chris...the possibilities are endless...

  • @HKey_Root
    @HKey_Root 4 роки тому +3

    Marvellous, marvellous marvellous. Thank you sir.

  • @DeepFrydTurd
    @DeepFrydTurd 3 роки тому +1

    I love this man's videos
    Absolutely love his content :)

  • @luckystickerco.7549
    @luckystickerco.7549 7 років тому +1

    Another great video. Look forward to these every week.

  • @spikekent
    @spikekent 7 років тому

    Great series, looking forward to the next ones.
    I've only recently found your channel, but been watching a ton of your videos recently.
    You explanations and presentation is fantastic.
    Yes, of course I subscribed ... are there really people out there that haven't?! Surely not.

  • @IsaacPiera
    @IsaacPiera 7 років тому +1

    a cool next step would be using the new raspberry zero revision that incorporates a camera connector, so you can cast live images from the robot to the laptop or tablet.

  • @philliberatore4265
    @philliberatore4265 7 років тому

    An interesting demonstration of SSH. Thanks!

  • @GuillaumeWallet
    @GuillaumeWallet 6 років тому +3

    Really nice project, thanks a lot for sharing.
    May I suggest an alternative with Bonjour protocol to let the Pi announce itself on the network.
    That way, there are no more pain to reserve/maintain IP, just connect to, for example, zummo.local and that's it.

  • @jamiemcelwain2442
    @jamiemcelwain2442 7 років тому +3

    Hi Chris, Your Videos Really Help Me With Computers. Can You Do A Series About Electrics Such As Circuit Boards And Components Like Resistors And Capacitors? Thanks!!!

    • @stumbling
      @stumbling 7 років тому +1

      Go search for bigclive. He does that sort of stuff.

    • @BajanAlan
      @BajanAlan 7 років тому +1

      and Julian Ilet

  • @edtechlounge
    @edtechlounge 7 років тому

    Hey Chris, really like the videos especially the single board demos. Have you messed about with the BBC MicroBit? What's your thoughts on a Sunday video for this? Keep up the stellar work.

  • @PixelFPV
    @PixelFPV 7 років тому

    love it, I was wondering how to do this exact thing last week, though I was also hoping you'd show how to power the pi off a battery as well

  • @neilvermeulen5283
    @neilvermeulen5283 7 років тому +1

    Nice Chris. Well done.

  • @JA-yi8bs
    @JA-yi8bs 5 років тому +1

    Unsure if this question has been answered already - apologies if so:
    If you are assigning the Pi its own IP through your personal router, if you were to take the device and access it on a completely different desktop connected to different network; would this same prescribed IP work as an access point?
    Great video - Learnt so much from you, thank you!

    • @ExplainingComputers
      @ExplainingComputers  5 років тому +1

      Any local IP assigned on a router is only for that local network. You would need to assign again on another.

  • @fritzguye
    @fritzguye 4 роки тому +1

    Been watching the videos. Thanks for making them theyre perfect for people that have some computer knowledge just getting in to raspberry pi. Question: How hard would it be to make a standalone program (for a touchscreen monitor) with the forward/backward/left/right/stop buttons on it?

    • @ExplainingComputers
      @ExplainingComputers  4 роки тому

      This should be possible (in Python) providing you have a display with the right drivers.

    • @fritzguye
      @fritzguye 4 роки тому +1

      @@ExplainingComputers thanks for your reply. I do have it (pi 4) currently hooked up to a 3.5" lcd touch display. My goal is to create a (joke) device that will sit in my hallway and play one of several pre-recorded sounds any time one of my roomates walks down the hallway. (I have a motion sensor as well). I would like to put buttons on the display to add new sound bytes or delete previous ones from a list.

  • @zebop917
    @zebop917 5 років тому +2

    Very helpful but just found one thing to add. Needed to ensure that ssh service was running on the Pi.
    # to start one time
    sudo service ssh restart
    # to ensure start on boot
    sudo systemctl enable ssh

  • @jurgenmallia3872
    @jurgenmallia3872 7 років тому +1

    This is amazing and I'm doing the same thing but can you show us how to change the drive system to eliminate using the enter key?
    Thanks and keep up the great work!

    • @ExplainingComputers
      @ExplainingComputers  7 років тому +1

      One solution is to put in a time delay -- something like time.sleep(0.1) -- at the end of the while loop, then turn all motors off before the loop repeats.

    • @jurgenmallia3872
      @jurgenmallia3872 7 років тому

      ExplainingComputers Many thanks for your quick reply I will definitely try it out!

  • @robertpendergast2620
    @robertpendergast2620 7 років тому +1

    Thanks. Very enjoyable presentation.

  • @vicavila7222
    @vicavila7222 7 років тому +1

    awesome content!! thank you for this..I hope the next video comes very very soon..

  • @nikobellic570
    @nikobellic570 7 років тому

    great video!
    can't wait to see what you do with the brand new "Pi Zero W".

  • @EpicLPer
    @EpicLPer 7 років тому +4

    Now connect a camera to it and make a little web interface for it to control it with live video

    • @ExplainingComputers
      @ExplainingComputers  7 років тому +5

      Yes, I will be adding a camera. :)

    • @richardcaldwell6396
      @richardcaldwell6396 6 років тому

      I know this is an old request, but if you install motion from crisian it is pretty easy to add a webcam (Picam, Pi Noir or USB- works with all of them!) that you can view from a webpage.

  • @nicanormayumu6938
    @nicanormayumu6938 4 роки тому +2

    Thank you for your nice and wonderful video. Please, could you list all devices did you use and how can I buy it.

    • @ExplainingComputers
      @ExplainingComputers  4 роки тому

      Web page for project here: www.explainingcomputers.com/rasp_pi_robotics.html

  • @AWG4321
    @AWG4321 7 років тому +2

    If you want to continue with projects with the Pi Zero, they just came out with the Pi Zero Wireless, with added WiFi and Bluetooth. Try it out!

  • @sisaacs911
    @sisaacs911 7 років тому

    nice video. looking forward to the line following aspect of it. Are you planing on using ultrasonic sensors to detect objects on front or drops in elevation (stairs etc). Thank you for sharing.

  • @gregroberts6339
    @gregroberts6339 6 років тому

    I love your videos thank you for all you taught me good sir

  • @southsidedojo2
    @southsidedojo2 7 років тому +1

    Yes Chris loving it!

  • @szzmm
    @szzmm 7 років тому

    Hello, thanks for all these videos.
    I'm interested in learning these things and could use some tips on the topics to grasp.
    I'm learning phython right now wondering what's next.
    Thanks.

  • @stephenhargreaves9011
    @stephenhargreaves9011 5 років тому

    Out of curiosity, why do you use dir rather than ls in the terminal? It takes 50% longer to type, and doesn't do highlighting to differentiate between files, directories etc. Oh, and thanks. Over an hour of Sunday eaten up watching this series. I have Netflix stuff to watch, you know ;)

  • @barayuda
    @barayuda 7 років тому +2

    Nice sharing! 🤘😎 thanks EC

  • @southsidedojo2
    @southsidedojo2 7 років тому

    I can hardly wait

  • @AnimalStomper
    @AnimalStomper Рік тому +2

    Can this be done with the pico W?

  • @skilledjack7054
    @skilledjack7054 7 років тому

    Love it... good work man... Thanks for these videos they are so much appreciated

  • @bocadelcieloplaya3852
    @bocadelcieloplaya3852 6 років тому +1

    in your video at 4:44, is that your dream house backyard? I like the brick patio pattern and the window buildings in the background.

    • @ExplainingComputers
      @ExplainingComputers  6 років тому

      My desktop here is a still from a CG film that I made many years ago. It was/is a very nice place that I "worked" in making the film for about 18 months. :)

  • @basilsunnyalukka4491
    @basilsunnyalukka4491 6 років тому +2

    what is the source you refer to before doing the video ?Can you suggest some source to learn robotics( book or online source).

    • @ExplainingComputers
      @ExplainingComputers  6 років тому

      I check stuff all-over; I've no one source I'm afraid. Sorry.

  • @porkyoufine5621
    @porkyoufine5621 5 років тому +2

    sir did you manage to change the controls so that you dont have to press the stop button?

  • @squalazzo
    @squalazzo 7 років тому +5

    the command to list files is "ls", not "dir"... "dir" is just an alias for the "windows people", and not always present in every distro...

    • @cldream
      @cldream 7 років тому

      He could have just as easily made a symlink to /bin/ls as well.

    • @squalazzo
      @squalazzo 7 років тому +2

      ki2ne whatever you want, but it's not standard...

    • @ExplainingComputers
      @ExplainingComputers  7 років тому +4

      Noted. Though I've yet to find a Linux distro that it is not in, and it is certainly in every mainstream/supported distro on the Raspberry Pi. :)

    • @cldream
      @cldream 7 років тому

      squalazzo I'm aware it's not standard, but then again certain distros or people in general just do what they want to make it easier for them. I generally use them as-is.

  • @jeffreytaffuri2253
    @jeffreytaffuri2253 7 років тому

    I'm just a little confused as to why you have to use Putty. Can't you just SSH from the laptop terminal into the pi and navigate to the directory where the Python code is and run it and control the robot? You're videos are top notch professional and great!

    • @cldream
      @cldream 7 років тому +1

      The laptop is running on a pre-Windows 10 OS and won't have SSH integrated and he would have to resort to a third-party application providing the function of a SSH client or otherwise run any flavor of Linux in a virtual machine.

    • @jeffreytaffuri2253
      @jeffreytaffuri2253 7 років тому

      Silly me didn't realize you were using W#_$&&-s, sorry.

    • @TheNZJester
      @TheNZJester 7 років тому +1

      Putty is such a nice easy to use program though compared to a terminal as it can store configuration settings into a file so you don't need to type them every time. I can use it to quickly connect to my Pi or my cheap little USB NAS unit I use to on my Printer to share it on my Network. I have been using it for quite some time on Windows as a replacement for the Terminal program Microsoft decided not to continue using in Windows 7 and higher. I used to use it in my old job to configure some of the older model WiMax aerials my boss had that did not have the built-in Web interface for setting them up to link to the correct channel and base station. I use the PuTTYPortable version from portableapps.com a Widows version of it made to run off of a USB stick without needing to first be installed on the computer.

    • @cldream
      @cldream 7 років тому

      TheNZJester Heh. I remember when I was in class we got interrupted with a "website creation crash course" that used PuTTY.
      Jeffrey Taffuri Not me. I'm actually using Linux right now. Although I try to minimize the use of Windows-dependent stuff whenever I can (the only times I have to use it is with specific applications that were required for certain courses in school)

  • @TheNZJester
    @TheNZJester 7 років тому

    I always lock all my devices on my network via MAC to a reserved IP address. The DHCP Leases page on my router is normally where I go to find out the IP and MAC address quickly. I have two IPs reserved for my Pi3, one for the LAN and one for the WiFi.
    Have you thought about mounting a camera on it? Set the camera up as an IP camera for remote viewing and drive it using your Android tablet to areas where you can not actually see it.

  • @nigeeb2002
    @nigeeb2002 7 років тому

    Nice video, but can you also do another video where you connect a webcam to your raspberry robot and remote control using ssh and a public IP to control anywhere in the world

  • @tonykanaan9571
    @tonykanaan9571 6 років тому +1

    Hi my computer can't establish a connection with my pi. Can you tell me why please.

    • @ExplainingComputers
      @ExplainingComputers  6 років тому

      Sadly not, as you have not provided any information! :)

    • @tonykanaan9571
      @tonykanaan9571 6 років тому

      Ok I am writing the address f my pi but it isn't opening on my laptop

  • @BrokeMansPC
    @BrokeMansPC 7 років тому +1

    why dont you make a giveaway like 5 raspberry pi zeroes or one raspberry pi 3 or something like that, it could attract alot of activity on your channel

  • @Nick-xc4fy
    @Nick-xc4fy 5 років тому +3

    How would I then add a camera to this as well so I can live video stream to the laptop while controlling the robot from the laptop?

    • @ExplainingComputers
      @ExplainingComputers  5 років тому +1

      It can be done. I will cover this in a video, eventually! :)

    • @Nick-xc4fy
      @Nick-xc4fy 5 років тому

      @@ExplainingComputers any chance you could provide a link to websites that show this working please or maybe show this working soon(ish) I just really need it for a university project by the end of this coming week!

    • @philippw.147
      @philippw.147 4 роки тому

      Just use mjpg-streamer :) its super easy!

  • @Live4Christ1995
    @Live4Christ1995 3 роки тому

    Keep up the good work!

  • @saberelmasry6676
    @saberelmasry6676 7 років тому

    I build this project with your interesting 4 videos
    thanks a lot
    I'm beginner user
    but I have a question?
    how I make the motor only walk when I pressed key and stop when I don't pressed

  • @AWStudiosWA
    @AWStudiosWA 7 років тому

    Great video! Are there similar programs that can redirect the graphical layout of the controlled computer aswell?

    • @ExplainingComputers
      @ExplainingComputers  7 років тому

      There are indeed -- and I will come to them in another video fairly soon! :)

  • @vidyaasini3477
    @vidyaasini3477 6 років тому

    Hi Sir Just Want to comfirm that You using resberry pi Zero or resberry pi Zero wireless

  • @micoyc
    @micoyc 7 років тому +1

    Okay. This was cool. You've got my sub. :)

  • @jordanwiliams6056
    @jordanwiliams6056 7 років тому

    Is it possible to tinker with the CPU voltage and overclock the pi to.. maybe 2Ghz with that Extreme Passive Cooling you did? From the videos I've looked at it seems to be limited to 1.4Ghz :( Really would love to see it if you can push it to 1.8Ghz or something with the Extreme Passive Cooling you did

  • @BobbleNoggin
    @BobbleNoggin 6 років тому +1

    Hi again Christopher - I'm trying to figure out how to get the keyboard control script (key_robot.py) to run when I start up my Pi. There seem to be a number of approaches, the only thing I've made any progress on is getting the terminal to load at start up via the startup file here: /home/pi/.config/lxsession/LXDE-pi/autostart. I have not been able to get the python script to actually run on startup. Is this possible? I thought I heard you mention it somewhere but I haven't been able to find the video. Thanks again!

    • @ExplainingComputers
      @ExplainingComputers  6 років тому

      Greetings -- I covered this fairly recently in this video -- ua-cam.com/video/j6mglfhWZrQ/v-deo.html -- a different robot, but uses the same approach. Hopefully this will work for you. Code is here: www.explainingcomputers.com/pi_devastator_videos.html

    • @BobbleNoggin
      @BobbleNoggin 6 років тому

      Dang. I was doing pretty well and the terminal actually opened and looked like it was going to work, but I got no response form the keyboard. Now I'm getting "curses.error: setupterm: could not find terminal" even when I try to just run the script in a python shell. Not sure if I hosed something up or what, your change was pretty straightforward.

    • @BobbleNoggin
      @BobbleNoggin 6 років тому

      The python script will run if I kick it off in a terminal window. but not if I try to "run" the file in a python window.

    • @ExplainingComputers
      @ExplainingComputers  6 років тому

      You have to run the code in a terminal window or it will not work, as the curses method of obtaining keystrokes does so from a terminal window (hence the error you get above). All I can say is that the method in my Devastator window works! :) Good Luck!

  • @dougconran6569
    @dougconran6569 5 років тому +1

    Hi, Great videos! Thanks. #4 has inspired me to write couple of Android apps to control my CamJam robot rather than using SSH. Both send commands to the robot using UDP, one app controls it using the motion sensors and the othere app allows tracing a route on the android screen which is then translated into a series of moves. Pretty pleased with myself!
    However, the motors are either full on or off and I really need a way to control their speed. I'm sure that I've seen a video of yours where you muse on using PWM (plus an L298, I think). Was I dreaming that or did you do one and, if so, can you point me to it. Thanks.

    • @ExplainingComputers
      @ExplainingComputers  5 років тому

      Thanks for this -- and great to hear about your Android apps! :) I've yet to make the speed control video. But, as you note, it can be done, by connecting the single PWM output pin on the Pi to both of the PWM pins on the L298N (they are by default jumpered out of action on most boards, so the motors just turn on or off as you say). But the Pi can send a PWM signal for speed control, which would have to be identical for each motor (as the Pi has only oe PWM pin), but this would allow speed control. My video on this is probably two months away due to other stuff in the schedule. :)

    • @dougconran6569
      @dougconran6569 5 років тому +1

      Thanks for a very quick reply. I'm actually using an H bridge that came with the CamJam kit and I don't think that has the ability to change speed which is why I was thinking of the L298. If the Pi only has a single PWM pin would that not mean that you can only control speed in one direction? And, as you say only equally for both motors. What I need to be able to do is to control the motors separately as one is faster than the other. I'm toying with replacing the Pi with an Adafruit Feather which has many more PWM pins but that is off topic here.
      Finally, do consider using UDP to control your robots, it is really simple and makes things far more portable (around the living room!).

    • @ExplainingComputers
      @ExplainingComputers  5 років тому

      On the PWM and the L298N, this would set the speed, but the four GPIO inputs would still control each motor forwards or backwards just the same, so full control would be possible. In effect the Pi would send two sets of signals; one for motor on/off direction control, and another for motor speed. :)

  • @itchyliabdo
    @itchyliabdo 7 років тому +1

    amazing thank you kid sir😊

  • @jonathanemery9557
    @jonathanemery9557 7 років тому +1

    I Am Following This Exact Build But I Will Add A Camera On Mine That I Will Transmit Through The Python Script. On Screen Can You Post More Of These?

    • @ExplainingComputers
      @ExplainingComputers  7 років тому

      Yes, I will be posting more of these, including adding a camera. :)

  • @siddhantsinha9276
    @siddhantsinha9276 7 років тому +1

    Hi Chris,
    Can I make this project using Raspberry pi 3 instead of a Raspberry pi 0 ?
    Hope you reply :)

  • @mattz788
    @mattz788 7 років тому

    Have you upgraded the motors for mine i got 298:1 so i just might think that that one is very fast

  • @Priyodarsono
    @Priyodarsono 7 років тому +2

    That's great but please show us how to control the robot by the internet network too (not by WAN/LAN)

    • @ExplainingComputers
      @ExplainingComputers  7 років тому +2

      Now that's another video . . .

    • @Priyodarsono
      @Priyodarsono 7 років тому

      +ExplainingComputers sir, if you don't mind, can you tell me which GPIO library did you use??? The Broadcom GPIO library or the board GPIO library???

  • @vincentrussell1079
    @vincentrussell1079 7 років тому

    How would you approach using a long range controller or something that can send video back to the user?

  • @jordanfagan9877
    @jordanfagan9877 7 років тому

    I've seen people suggest adding a camera. I can say that I have done this and it is pretty cool but my one problem is that I can't have the control and camera on the same device so I'm connecting camera to phone and robot to rii keyboard. Is there a workaround to this? Ps I'm using a GoPro if that makes a difference

  • @peroSonline
    @peroSonline 7 років тому +1

    Great video :)

  • @jgoep2310
    @jgoep2310 7 років тому

    Hi, I really enjoyed this video. Could you show how to control the robot via a HTML interface? I am struggeling with user rights administration.

    • @jgoep2310
      @jgoep2310 7 років тому

      (trying to launch python code via PHP on the pi)

  • @zacharyschwanke7080
    @zacharyschwanke7080 7 років тому +1

    +ExplainingComputers where can i buy the kit?

    • @ExplainingComputers
      @ExplainingComputers  7 років тому +1

      There are links for UK and US suppliers of the robot parts about half way down my Pi robotics page here: www.explainingcomputers.com/rasp_pi_robotics.html I personally find I great great service from shop.pimoroni.com/

  • @abhinithbakshi6391
    @abhinithbakshi6391 6 років тому +1

    Is there any way to control it over the internet?

  • @parvejibnkamal4439
    @parvejibnkamal4439 7 років тому +1

    Amazing

  • @davidnewman9244
    @davidnewman9244 7 років тому +1

    i'll start by saying i'm complete newcomer to computers. iv'e downloaded some games but some of them wont play can i upgrade the graphics radeon5 on hp notebook 8 ram thanks and regards

    • @cldream
      @cldream 7 років тому +4

      Generally speaking laptops are the worst choice for upgrading because of the form factor and because of that, everything is soldered right onto the board. As far as graphics, you would have to buy a high-end "gaming laptop" to have a GPU that can be used for gaming, or even if you wanted to, a laptop with Thunderbolt or Type-C that can connect via the PCIe bus which then you can just buy an enclosure for your GPU. Even then you would encounter some form of performance decrease. Another way is to buy one of those cheap adapters - but it won't be guaranteed that it would work with your particular laptop - some will have their firmware locked in a way to not accept external GPUs.

  • @mosestewelde8163
    @mosestewelde8163 7 років тому

    You can use git bash instead of putty for ssh if you want a simpler lighter tool.

  • @randysan9636
    @randysan9636 6 років тому

    Can I control the robot if the robot is far away like 300 km from me, the robot connect to a WiFi and I control it with my laptop. Can I do that ? Sorry for my English !

  • @KowboyUSA
    @KowboyUSA 7 років тому

    Cool stuff.

  • @simon5143
    @simon5143 7 років тому

    Can't I do so I simply add a port in which the Router will try to avoid giving to other devices, but when a device on the network asks for that number it will happily give that free spot to whoever is asking for it. Because later on I would like to add more devices on the network with a static IP, so when I'm in the Router configs I can simply make 4-5 new spots all at once and then set the devices one at a time to their respective spot.
    A pre-selected spot for ANY device who has a matching static IP address on the same network but will avoid giving those spots to none static addresses, is this possible?
    And something completely different, you log in with your standard gateway to get to the Router config page right? I got a different number than yours, but I still cannot access the Router page through any browser I have installed (Chrome, FireFox, Explorer). You got any tips what I should look up to gain access? And I would love if you could do more hardware tutorials, stuff such as how to use and install a LCD screen (I got a Adafruit 16x2 cha. monitor who most people buy when they want to experiment with new devices), different buttons such as roll buttons you find at most console controllers, etc.

  • @nystudiolofiinstrumentalre726
    @nystudiolofiinstrumentalre726 5 років тому +1

    I like your videos sir can you help me to build a raspberry pi robot talking and autonomous robot

  • @JOELwindows7
    @JOELwindows7 7 років тому

    Whaf if you can control the robot over LoRa? though it's laggy but sturdy. it is usually for IoT.

  • @WagonLoads
    @WagonLoads 3 місяці тому

    How would I do this where the pi navigates to a page on a domain and
    does bi-directional data sending and receiving json data?

  • @brentdrafts2290
    @brentdrafts2290 7 років тому +10

    Now add wireless cams for eyes

    • @ExplainingComputers
      @ExplainingComputers  7 років тому +16

      This will happen . . .

    • @maicod
      @maicod 7 років тому

      LOL one day it will take over your house :)

    • @brentdrafts2290
      @brentdrafts2290 7 років тому

      ExplainingComputers I wish I had never got rid of my pocket protector, seeing all the geeks get to have and propagate such cool things.

    • @martinc1165
      @martinc1165 7 років тому

      Done here! runmyrobot.com/

  • @ypsonar
    @ypsonar 7 років тому

    Sir, how we can run vehicle car by Joystick over sab, please guide

  • @tl2797
    @tl2797 7 років тому +2

    You can also use hostname -I to get IP

  • @rwprime1
    @rwprime1 4 роки тому +1

    Are you aware that instead of putty dot exe you can run up cmd on Win10 and then ssh pi@192.168.0.100 Enter then accept the warning and give it a password?