Building an AI Robot that can be trained! || Using an NVIDIA single board computer

14. 03. 2021
100 146 zhlédnutí

Check out the free webinar 'Meet the Engineers': elektor.clickmeeting.com/529471334/register
Offer: 20% Discount on Elektor Magazine Print -- Code: Great20P
Offer: 50% Discount on Elektor Magazine Digital -- Code: Great50D
Both 20% Off on the printed issue as also 50% on the digital can be found here: www.elektormagazine.com/greatscott-elektor-sparkfun
For quick delivery in the North America via SparkFun: www.sparkfun.com/products/15769
For quick delivery in EU & ROW via Elektor: www.elektor.com/sparkfun-jetbot-ai-kit-v2-1?YT&Link&GSjetbot
Previous video: csworld.info/mem/video/dZp6qaadlIFdfqk.html
Pyboard (MicroPython) Beginner's Guide video: csworld.info/mem/video/dtynn66x2oWAr50.html
Facebook: facebook.com/greatscottlab
Twitter: twitter.com/GreatScottLab
Support me for more videos: www.patreon.com/GreatScott?ty=h
Websites which were shown/used during the video:
pytorch.org/
en.wikipedia.org/wiki/Artificial_intelligence
www.analyticssteps.com/blogs/how-tesla-making-use-artificial-intelligence-its-operations
qengineering.eu/deep-learning-with-raspberry-pi-and-alternatives.html
jetbot.org/master/index.html
www.sparkfun.com/products/16417
www.sparkfun.com/products/15769
github.com/NVIDIA-AI-IOT/jetbot
developer.nvidia.com/embedded/jetson-nano-dl-inference-benchmarks
In this video we will have a closer look at the concept of AI aka artificial intelligence and deep learning. As a practical example I will be building a small robot that comes with an NVIDIA SBC, a camera and two motors with wheels to drive around. I will show you how to use the SBC and its AI features in order to create an algorithm that avoids obstacles while the robot is driving around autonomously. Of course there is much more to learn when it comes to AI and deep learning. So let's get started!
Thanks to Elektor and SparkFun for sponsoring this video!
Visit www.elektormagazine.com/ to read their magazines and buy electronic components. Or visit www.sparkfun.com/ to get DIY electronics kits.
Music:
2011 Lookalike by Bartlebeats
Killing Time, Kevin MacLeod
(incompetech.com)
0:00 This is why AI is WICKED!
1:54 Intro
2:44 Finding suitable hardware for AI tasks
4:06 Building the AI robot
6:06 Connecting the AI robot to the internet
6:44 Presenting the AI robots programming interface
7:26 First practical test
8:22 AI practical test
9:46 Conclusion

Komentáře
  • next DIY roomba

    DarKCroXDarKCroXPřed dnem
  • Teslas also have a camera that could upload you to the internet Also running a network is much cheaper than training a network

    tutacattutacatPřed 2 dny
  • Don't know if it was just a uk thing but does anyone remember the real robots magazines that were out in around 2001 that came with parts each week to make this little bug thing with proximity sensors and stuff

    J RJ RPřed 6 dny
  • Thas an awesome pice of hardware, but, I have a question: can it run crysis?

    BlackerHawkBlackerHawkPřed 8 dny
  • Firstly thanks much scott for the video. But I need to say that Ur accent is really annoying😅😳. I couldn't focus on the things except Ur voice. I'm sorry to say that but it is fact.

    ALPEREN KAYAALPEREN KAYAPřed 9 dny
  • Imagine this AI robot to learn how to play CS:GO on its own. No VAC ban guaranteed.

    Mineplayerminer SKMineplayerminer SKPřed 9 dny
  • Is it possible to do this with meccanoid g15? That's the closest thing I have and I'm going for as cheap as possible

    Captain_RavioliCaptain_RavioliPřed 11 dny
  • Now try to make a quadcopter with ardupilot! It's automatic too!

    Yaros the LaunchpadderYaros the LaunchpadderPřed 13 dny
  • Awesome work friend, could you include the bio-signal issues in your next episodes? Regards

    ahmed faeqahmed faeqPřed 15 dny
  • I am really interested in starting with machine learning in CV, is the experience with Nvidia jetson as easy as it seems? I look forward to buying one.

    BRAULIO RODRIGO MOLINA FLORESBRAULIO RODRIGO MOLINA FLORESPřed 15 dny
  • Next time: AI robot slave DIY or BUY

    Justas černevičiūsJustas černevičiūsPřed 17 dny
  • You actually made a product video but I must admit a very good one :D

    Thorsten DeuterThorsten DeuterPřed 18 dny
  • this is one of your best videos ever, thanks a lot.

    اسلام محورية القراناسلام محورية القرانPřed 18 dny
  • Next time try to build autonomous robot

    Simple LifeSimple LifePřed 20 dny
  • Big fan sir ❤️❤️❤️❤️

    PlasmaScottPlasmaScottPřed 20 dny
  • I have learned a lot from yours videos but but i have seen video on everything about on this channel except dac diy or buy

    MIXMIXPřed 20 dny
  • When you realise a single board computer is more powerful than your pc.

    Akshit GaurAkshit GaurPřed 20 dny
    • It feels bad 😭😭😭.

      Ultra Powered BeastUltra Powered BeastPřed 18 dny
  • Make rubik's cube solving robot which takes pictures of each side of cube and give an algorithm to solve it

    Samina ZafarSamina ZafarPřed 20 dny
  • Great Scott

    Josias FernándezJosias FernándezPřed 20 dny
  • Sprich ruhig etwas flüssiger,wir schaffen es einfach nicht unseren Akzent zu verstecken :D

    Hans DampfHans DampfPřed 20 dny
  • Hey, can you make a video, about making a simple code for tft display, so it can play a video and open some image. I already try it l, and i can't make it work

    game and electronicgame and electronicPřed 21 dnem
  • Yo you even don't know about the graphic cards Nvidia make , you have no idea about computers

    SyncySyncyPřed 21 dnem
  • Adding Proximity sensor and one motor to the camera hinge so that it can look around, also add some servo & hand to move small objects from path change the tyres to roller treads and add suspension add gps to navigate outside on its own

    Nouman RazaNouman RazaPřed 21 dnem
  • Did this for my roomba, but I did all the training on my desktop and exported for the ONNX runtime 'cause it was easier. Still PyTorch.

    Joseph CatramboneJoseph CatrambonePřed 21 dnem
  • Why the reupload?

    PBPBPřed 21 dnem
    • @GreatScott! ohhh then its my phone acting up 🤣 i got a notification that you uploaded this video 30 minutes ago but i already saw it 😅 awesome video 👌

      PBPBPřed 21 dnem
    • Reupload?

      GreatScott!GreatScott!Před 21 dnem
  • I'd much rather see an AI robot that can't be trained. lol

    Robo CopRobo CopPřed 21 dnem
  • You should do a video on the Platformio ide discussing it’s benefits and drawbacks in comparison to the original Arduino ide. Then explain why you will use one compared to another

    TekuTekuPřed 21 dnem
  • You make look easy man Thank you

    Abas HoshAbas HoshPřed 21 dnem
  • People sent me your way. I have a ghostbox that went to crap because a cord that powers it broke off. I don't know how to fix it whatsoever. If I send it to you can you help me fix it? It's a big part of what I do as an ITC researcher.

    GothBoiPrince PARANORMALGothBoiPrince PARANORMALPřed 21 dnem
  • 7866

    Jeetender KakkarJeetender KakkarPřed 22 dny
  • hi, thanks for sharing with us. how if I use an esp camera module as a wireless cam to transmit the video single which will be received by Nvidia?

    Zeeshan SarwarZeeshan SarwarPřed 22 dny
  • For just making obstacle detecting bot, why can't we use ultrasonic or ir? It would also do the same but in easier way I guess......

    SumeshSumeshPřed 22 dny
  • Hi scott Can you build one combining LIDAR with Ultra Sonic sensors whithin the same robot Greatings from EGYPT 😁

    YTA ElshamyYTA ElshamyPřed 22 dny
  • Nvidia, why don't you make more rtx? 😏

    TechTheGuyTechTheGuyPřed 22 dny
  • Life's hard without ultrasonic sensors, when you only can mount a camera at the front and thus have to use AI. 😆

    Christian T.Christian T.Před 22 dny
  • Cellbots is another interesting approach.

    Richard SilverWingsRichard SilverWingsPřed 22 dny
  • Lol I last watched you like 4 years ago and you didn't change lol. Even the intro is same

    OjasOjasPřed 22 dny
  • Hello sir , could you please make a tutorial discussing different types of programming ways to program AVR chips - serial programming , UART programming, Parallel programming , usb programming , and with that can you make a tutorial on how to make your own usb , uart and serial programmer ( without chip ) from scratch to program any AVR ICs 🙏🏽 thank you sir please do read this and reply if u can 🙏🏽

    Aditya GuptaAditya GuptaPřed 23 dny
  • How much power does it draw?

    Yusuf FirmansyahYusuf FirmansyahPřed 23 dny
  • Create Electronic 101 videos

    KathirvelKathirvelPřed 23 dny
  • There's also the Movidius compute stick. It's a bit janky on the first iteration, but the second might be worth looking at. But for what little you can do with it, this sounds perfect.

    MrPhuctMrPhuctPřed 23 dny
  • Is it possible *inhale* To cut *inhale* Your inhales from *inhale* Your videos? *inhale*

    Trevor LeivasTrevor LeivasPřed 23 dny
    • No

      GreatScott!GreatScott!Před 23 dny
  • When will you make a video about the new raspberry pi pico?

    Christian CodingChristian CodingPřed 23 dny
    • Not sure😅

      GreatScott!GreatScott!Před 23 dny
  • Love your content.

    Mel PlishkaMel PlishkaPřed 23 dny
  • That’s cool. You could set up your lawnmower and set up the mower to go exactly around your yard and miss all of the bad areas. I’m doin it lol

    Mel PlishkaMel PlishkaPřed 23 dny
  • damn it's 250$

    Saksham JainSaksham JainPřed 23 dny
  • It would be great if you could develop an option for the robot to find and dock to a charger when it's battery is low.

    John KellyJohn KellyPřed 24 dny
  • Can anyone suggest a good final year project for a CS student

    asif moideenasif moideenPřed 24 dny
  • In my understanding of AI, it should work like this: You set the robot free to roam around, and as it goes it takes its own pictures, classify them as "free = go" (not hit anything) or "blocked = no go" (hit something) Learning its way as a baby learns with a lot of bumps and falls. The stored photos can also be used in different "unknown" environments later on as a baseline and learning different places will go faster and faster as its "experience" grows.

    Bora YurtorenBora YurtorenPřed 24 dny
  • I just got into PyTorch and saw this. Perfect timing. Thanks.

    Lamb SauceLamb SaucePřed 24 dny
  • Great video. I have been looking at getting a Vector Robot to play with the AI but finding it may not be up to speed. I'm simply looking for something like a Vector robot that can explore the area, charge itself, and more where the AI comes in, be able to collect small objects and take it home. For this why I picked the vector since the base design is perfect yet with too many limitations. A perfect robotic mouse which I am so shocked I can't find anything close to it.

    Jeff MathewsonJeff MathewsonPřed 24 dny
  • Yo make more videos like this, love this video

    Carton WaffleCarton WafflePřed 24 dny
  • can we implement the same Ai training model for collision avoidance in drones, too?

    sanil jainsanil jainPřed 24 dny
  • keep your nvidia board in a safe place arduino boards start planning for something evil

    Farah HappyFarah HappyPřed 24 dny
  • AI my butt. Why is everyone claiming ai now this 8s just programming not ai

    tmastersattmastersatPřed 24 dny
  • Can I use Nvidia Jetson Xavier NX for same thing but for self Driving Vehicle?

    Smit SavaliyaSmit SavaliyaPřed 24 dny
  • Hey! Are you german? What's the accent?

    Михаил СковпеньМихаил СковпеньPřed 24 dny
  • I am totally going to replicate this project and share my results!

    Michael LenczewskiMichael LenczewskiPřed 24 dny
  • A cool way to continue the project, is implementing a pathfinding algorithm. Use the object avoidance to have the robot navigate to a specific location within your house.

    Ethan ManziEthan ManziPřed 24 dny
  • Can we use raspberrypi

    sai kumarsai kumarPřed 24 dny
  • Finally diy AI BY GREAT SCOT COOL STUFF

    RANDOM NEURAL MONKRANDOM NEURAL MONKPřed 24 dny
  • constructive dislike for not using desktop computers to train.

    JimmyJimmyPřed 24 dny
  • To be completely fair you should let it run in another place other than corridor cause if you lets it run just in the corridor you wont take advantage of any AI software cause it would be just remebering photos that are already taken not comparing with new photos

    gaber brkatgaber brkatPřed 24 dny
  • u r really Great Scott

    Arihant PathakArihant PathakPřed 25 dny
  • It been a long time

    Michael MullenMichael MullenPřed 25 dny
  • AI actually isn't complicated, but complex. It's a number of formulas, which need to run in a certain order. If you are familiar with neural networks, and have already built a single cell, then you are on the right path.

    y2ksw1y2ksw1Před 25 dny
  • This is still OK but, I think it's better to mainly focus on electricals and electronics, coz even AI need computers, computer with power, yes lot of power for computations,, and how abt researching towards less power usage?,? 😶

    Bharath kumarBharath kumarPřed 25 dny
    • Off course tiny ml existed,, but still lot of loop holes there too

      Bharath kumarBharath kumarPřed 25 dny
  • Great

    Bharath kumarBharath kumarPřed 25 dny
  • please dont finish ur videos like that 🙄

    NécoNécoPřed 25 dny
  • *Give it shape of R2D2*

    Sandeep naikSandeep naikPřed 25 dny
  • I will not seen any kind of drone videos Please make a drone

    Md Ajij HossainMd Ajij HossainPřed 25 dny
  • Deep Learning is totally possible on raspi 3 or 4 (even convolutional neural nets), when training the code on a pc -> just search for Donkey Car and you will find everything you'll need to know. Expensive Training needs a GPU just running the network doesn't need a gpu.

    Ole PetersOle PetersPřed 25 dny
  • The thing about computing power in machine learning is that learning requires much more power than executing. But the learning doesn't have to happen on the robot. As an example or inspiration: csworld.info/mem/video/adWWipqrqm2prX8.html Nice project, hope to see more of that ;).

    Jan DJan DPřed 25 dny
  • More on Jetson nano board pleeeease!!!

    Roger VanicolaRoger VanicolaPřed 25 dny
  • So basically it's one of "buy and assemble" ones?

    Odyseja2011Odyseja2011Před 25 dny
  • 5:11 lul I have that exact powerbank it's good can even output USB-C 12V and charge laptops

    Daniel HermesDaniel HermesPřed 25 dny
  • Finally... what I've been waiting for !

    Philip GevaertPhilip GevaertPřed 25 dny
  • Excellent

    Elektronik AtölyemElektronik AtölyemPřed 26 dny
  • Good... Good.. But this kit is very expensive. (250 euros)

    IgenIgenPřed 26 dny
  • Can this be used to identify my cats (3 of them) and open a cat door, and not let anyone else cat in?

    Bjarne BergumBjarne BergumPřed 26 dny
    • @Tamas K but what's the fun in that... 🤣🤣

      Bjarne BergumBjarne BergumPřed 18 dny
    • @Bjarne Bergum I think it would be a really cool project. On a practical note however, attaching an RFID-like device to the cats and having a simple tag reader at the door would be a cheaper, faster and more reliable solution.

      Tamas KTamas KPřed 18 dny
    • @Tamas K Good point. Have to think about it. 😁

      Bjarne BergumBjarne BergumPřed 18 dny
    • You will need a bunch of images of your cats and other cats as they try to pass through and label them (mark each image as go or no go). You can easily get images of your own cats, just by installing the camera at your cat door and recording them as they come and go. The bigger challenge will be getting a few hundred images of a few dozen other cats in a similar position without also training them to come to your door (cats learn faster than PyTorch ;). This would make for a cool community project, everyone could share pics of their own cats and other people could use those pics as the no go samples...

      Tamas KTamas KPřed 18 dny
  • Awesome...

    weerobotweerobotPřed 26 dny
  • Now I wanna build one myself, but me too poor xD

    Shuto WalsojadShuto WalsojadPřed 26 dny
    • built with ir sensor :P

      pragapragaPřed 24 dny
  • Let's see how it reacts to a mirror

    Я. BЯ. BPřed 26 dny
  • I think my car's goal is to try and kill me. It doesn't need a computer to do that. If I let it do its own thing it just tries to do it. Seriously though. Love the video. 🙂

    Brendan WhiteBrendan WhitePřed 26 dny
  • Why can't i like this video more than once?

    salvatore cristianosalvatore cristianoPřed 26 dny
  • How about training basic hand gestures? waving palm as "go" and stationary palm as "stop", that should be possible right?

    David K.David K.Před 26 dny
    • Auwchh, it's a pain not being able to do such a thing. Imagine how cool would it look! Hope we'll see that in the next videos

      nudem_ pnudem_ pPřed 25 dny
  • Could you make this into an unsupervised learning variant by adding a bumper to detect impact/pain?

    Anton JohanssonAnton JohanssonPřed 26 dny
  • Can u please do many more interesting projects based on AI 😍🤩THEY R SO MESMERIZING TECHNOLOGY 🤩🤩🤩💕

    SUBRAMANYA.KSUBRAMANYA.KPřed 26 dny
  • Holy buckets, face reveal. You are not the person I imagined all this time!! lol :) (alternative title, I've never seen a video with your face)

    lone wrecchelone wrecchePřed 26 dny
  • Great way to start! Keep going. AI engineer from de montfort university Leicester UK

    ARAF'SARAF'SPřed 26 dny
  • "Python... the language used by Raspberry Pi"... Sorry for being pedantic, but Raspberry Pi can run any compiled or interpreted language that has ARM compiler just fine. C, C++, Java, Go, Python, Lua, Perl, Nim and many more run just fine.

    Michal KottmanMichal KottmanPřed 26 dny
  • Should have used the Google Coral board. It's made for things like this. I used it but don't like it because it's too new and doesn't have wide enough support for things like ROS and ROS packages.

    Tegan BurnsTegan BurnsPřed 26 dny
  • Also pytorch is not that bad. Its essentially just saying "model.fit(X,y)" on your data :p

    Jakob Guldberg AaesJakob Guldberg AaesPřed 26 dny
  • Really interesting video, and I would for you to continue educating people with interesting idea. Can we please agree to not call it AI? It's a meaningless term that should be replaced with proper descriptions such as machine learning, computer vision etc. In the appropriate situations

    Jakob Guldberg AaesJakob Guldberg AaesPřed 26 dny
  • This is great video as always!, I wanna see AI controlled airplane after this!

    Fatoni SodiqFatoni SodiqPřed 26 dny
  • More ia robot !!!

    julex Herediajulex HerediaPřed 26 dny
  • Hey you....are you spying on me...yes.... oh ok, carry on then.

    uno dosuno dosPřed 26 dny
  • You said "autoMOnous" instead of "autoNOmous".. it's just a small detail but I think you might need to know and will be helpful for your next video.. I love all of your videos since the first time I sub..

    JustRandomPHJustRandomPHPřed 26 dny
  • The one you bought from Sparkfun, are they using their own algorithm or using AI/ML library such as Tensorflow/Open AI/etc ?

    ady 133tady 133tPřed 26 dny
  • SIR SUGGEST ME A SENSORS WHICH CAN DETECT PLASTIC .?? Whose libraries are also available online for proteus..

    Tejas JoshiTejas JoshiPřed 26 dny
CSworld