Arduino Machine Learning Robot Part 2

Поделиться
HTML-код
  • Опубликовано: 22 янв 2025
  • More about the project: indystry.cc/ml...
    I built machine-learning robots with Arduino and LIDAR and then made them race!
    First video: • Machine Learning on Ar...
    🛠️ Store: indystry.cc/store
    🤖 OpenRoboticPlatform: openroboticpla...
    RPLIDAR: amzn.to/3Q1eJtK
    ML book: amzn.to/44Msv8P
    Arduino Uno R4: amzn.to/3s1cONJ
    Breadboard: amzn.to/3Rh1sPZ
    Mouse: amzn.to/3EwTb2C
    📰More info: indystry.cc/ma...
    ❤ Patreon: / nikodembartnik
    🇵🇱 Polish channel: @prosteczesci
    GitHub: github.com/Nik...
    ✉️Business inquiries: nikodem.bartnik@gmail.com
    Subscriber count at the time of upload: 118 742

Комментарии • 79

  • @Arduino
    @Arduino Год назад +63

    Incredible!

  • @timb3970
    @timb3970 Год назад +2

    Thanks

  • @b_eberle
    @b_eberle Год назад +8

    I also worked with the A1 RPLidar for my project, a stair climbing vacuum robot, and I also managed to get data from the LIDAR with my Arduino Mega, but the problem is, that it is not that much data like it is when you use it with ros2 and a raspberry pi or something like that. That is why I made my tolerances for measurement bigger to be more safe.

  • @MarxTech_DIY
    @MarxTech_DIY Год назад +10

    You always provide super great video content/quality (the music was great and timed really well), and your projects are awesome! Keep up the great work!

  • @satyamjha4279
    @satyamjha4279 2 месяца назад

    By using the actual bot instead of simulations, you’re capturing the true, dynamic responses in real-world scenarios, which will undoubtedly enhance your bot’s performance. Incorporating a penalty for each collision is a brilliant way to raise the stakes and teach it to navigate even better. I'm genuinely inspired by your work-your progress has motivated me to step up from software to hardware development. Keep pushing forward! With this level of dedication, I have no doubt your racing cars will be achieving remarkable results in no time. Amazing work!

  • @nikodembartnik
    @nikodembartnik  Год назад +2

    Check out the first video: ruclips.net/video/PdSDhdciSpE/видео.html

  • @mattimotion
    @mattimotion Год назад +5

    To push this project further and further to this point, really cool and impressive!

  • @Jononor
    @Jononor Месяц назад

    Really cool to see this data-oriented way of improving the system and its performance. This kind of work is really critical for real-world embedded ML usecases, and this perspective is often missed by a lot of the educational material out there today. Cheers! Jon, creator of emlearn library, a tool to deploy Random Forest et.c. to microcontrollers

  • @juliankordynski3704
    @juliankordynski3704 Год назад +1

    Cześć! Uwielbiam twoje filmu, bardzo mnie motywujesz, dzięki ci za to!

  • @michaelevan9184
    @michaelevan9184 5 месяцев назад

    Awesome! Just finished an advanced ML course for my masters in CS. I found it to be very interesting. Surprised seeing the capabilities in an Arduino. Got my wheels turning about a possible masters project. Great work!

  • @jeweltilak767
    @jeweltilak767 3 месяца назад

    This is truly awesome man

  • @manavt2000
    @manavt2000 Год назад +1

    Love this! Keep em coming

  • @RemoteAccessGG
    @RemoteAccessGG Год назад +1

    Wow, I’m so excited for the new video!

  • @edgar9651
    @edgar9651 Год назад +4

    Great! Do the robots have constant speed? Or could one robot drive slow behind the other and then accelerate when there is a big enough gap?

  • @timb3970
    @timb3970 Год назад

    wow amazing, the autonomous overtaking is 👌👌

  • @M_Leiva
    @M_Leiva Год назад +1

    I love this channel.

  • @ChrisLocke1969
    @ChrisLocke1969 Год назад +1

    the noise is in those breadboard pins, my friend.... solder, solder, solder ;)

  • @OZtwo
    @OZtwo Год назад

    Nice! Now what a cool robot would be is a Vector Robot with a brain using a Jetson Nano. Never got around to it, but wanted to build a larger scale version of the Vector Robot and have it explore the house to find small objects to pick up and take home.

  • @PhG1961
    @PhG1961 Год назад +1

    Indeed, I like your videos very much!

  • @gamerlifeon8794
    @gamerlifeon8794 Год назад +3

    You can make them as a micromouse to solve the maze the fastest

  • @PixlRainbow
    @PixlRainbow Год назад +1

    I just came across this. Would be interesting to see the performance compared to a neural circuit policy or liquid time constant algorithm, since they are supposed to perform better with smaller datasets and smaller model sizes. A python library exists that provides templates for tensorflow and pytorch, but unfortunately not sklearn.

  • @edgar9651
    @edgar9651 Год назад +1

    It seems the slow robot tries to avoid colliding with the overtaking faster robot. Maybe you can train it to ignore if the distance to a (near) obstacle increases. But maybe that is not important.

  • @FixDaily
    @FixDaily Год назад +1

    Awesome project!
    Wondering how many times they fall of the stairs.

  • @StubbyPhillips
    @StubbyPhillips Год назад +2

    Very cool!
    Just curious about the open pit/death trap/stairwell thing in that space...
    Is it just unfinished construction?

  • @An_Ancient_Space_Gamer
    @An_Ancient_Space_Gamer Год назад +2

    your a great creator i should have subbed sooner
    :)

  • @Maxjoker98
    @Maxjoker98 Год назад

    Am I correct in assuming that the control loop basically works "stateless", in the sense that the racing machine is not really aware of it's own position, it just computes the steering signals based on the LIDAR input? If so, the obvious next step would be to create a proper environment map, then navigate in that. You can do that using machine-learning as well I think, but there are static approaches as well(see also ROS). Awesome project!

  • @Me-0063
    @Me-0063 Год назад

    It surprises me the algorithm hasn’t picked this video up yet

    • @nikodembartnik
      @nikodembartnik  Год назад

      It surprises me too :(
      I really thought it will do better. At this point I can totally admit that I do not understand the algorithm at all!

  •  Год назад

    Hi i tried to make a digital version of you ML model, i managed to collect data, but still it does not start to drive, will you make a tutorial to train and start predicting data?

  • @labibanudrat7979
    @labibanudrat7979 Год назад

    Where we found a robotics kit

  • @cheetahkid
    @cheetahkid Год назад

    R4... Great use of it, congrat! Shame about poor connection, have you consider connecting to homemade PCB? Less noise I hope. (Use the R4 connected to PCB, shorter link)

  • @glowytheglowbug
    @glowytheglowbug Год назад

    dang thats sick! good job :D

  • @daviniusb6798
    @daviniusb6798 8 месяцев назад

    Which LiDAR module would you use if you did this again today? Are there better one today for DIY stuff?

  • @prasadpatil4431
    @prasadpatil4431 Год назад

    i am do with some kind things with lider sensor and this is very informative

  • @BikZom
    @BikZom Год назад +30

    add cat ears

  • @jayseeee
    @jayseeee Год назад

    Why not also control the drive speed to a certain extend? Make the robot slower if it gets to close to an obstacle...

  • @fpolania8196
    @fpolania8196 8 месяцев назад

    link to buy the structure

  • @nashe0878
    @nashe0878 Год назад +1

    Just subd, This is an inspiration

  •  Год назад

    Will you do like tesla using camera instead of lidar?

  • @indian.carguy5890
    @indian.carguy5890 Год назад

    Hey superb video. I also aspire to be a robotics guy but don't know how to start, can you please make a video or something so that I can start this awesome journey ❤

  • @gurkiratsingh553
    @gurkiratsingh553 Год назад

    6:56 is a great solution but won't they capture false data?

    • @nikodembartnik
      @nikodembartnik  Год назад

      I am using kbest to select the dimensions that are the most correlated with the label so the algorithm will get rid of all the readings in the back that do not contribute any important data to the final control label. This part is a little bit more explained in the previous video so check it out: ruclips.net/video/PdSDhdciSpE/видео.html

  • @kalashin1529
    @kalashin1529 Год назад +2

    No Sponsor? subscribed, liked and Loved! Really nice Video again. I Like It. (Just have enough of pcbway as a sponsor all time and raid shadow legends😂)

  • @adipurnama_workshop
    @adipurnama_workshop Год назад

    This is very good ❤

  • @veerakumars8509
    @veerakumars8509 Год назад

    Great work ..! do you have an circuit diagram of the model can you share it.

  • @peter360adventures9
    @peter360adventures9 Год назад

    Awesome.

  • @Cen_t1369
    @Cen_t1369 Год назад +1

    Hey, are you using arduino uno R4 minima or wifi? I don't have enough money for a Wifi but I can get a minima. What are the major differences?

    • @nikodembartnik
      @nikodembartnik  Год назад +1

      One of the robots is using minima the other one wifi. The microcontroller is the same but on wifi you have additional esp32 for wifi and bluetooth.

    • @Cen_t1369
      @Cen_t1369 Год назад +1

      oh, thank you. It was silly of me to ask before watching the video completely.@@nikodembartnik

  • @garrycz3184
    @garrycz3184 Год назад

    Wouldn't it be better to use ESP instead of arduino and send the data live to the server for training?

    • @nikodembartnik
      @nikodembartnik  Год назад +1

      UNO R4 WIFI also has wifi so you can do that without esp

  • @TheSelfUnemployed
    @TheSelfUnemployed Год назад

    badass!

  • @Nati158
    @Nati158 Год назад

    Giga wideo. Moja dziewczyna ma tak samo na nazwisko :)

  • @DaveEverett01
    @DaveEverett01 Год назад

    Hello Nikodem, any chance you could upload the modified code to talk to the rplidar?

    • @nikodembartnik
      @nikodembartnik  Год назад

      I will try to update github repository next week and make a nice readme that this project deserves :)

    • @DaveEverett01
      @DaveEverett01 Год назад

      @@nikodembartnik Terrific, thanks mate

  • @viniciusnoyoutube
    @viniciusnoyoutube Год назад +2

    Make a exclusive video about the sensor, cable, pinout and library so you can help de community as you said there is almost none material about it.
    Use a very simple and representative title so it gonna show on searches and you get a lot of views and subs.

  • @syrinx7903
    @syrinx7903 Год назад

    It's more like you have two children playing😍

  • @wicketprofessor375
    @wicketprofessor375 Год назад

    dlaczego nie masz barierki na schodach hahaha

  • @CENREAPER-YT
    @CENREAPER-YT Год назад

    What's a LIDAR?

    • @nikodembartnik
      @nikodembartnik  Год назад +1

      LIDAR (light detection and ranging) in general is a method of measuring distance with light but in this case it refers to a device similar to a radar but it uses light to measure the distance between the objects.

    • @CENREAPER-YT
      @CENREAPER-YT Год назад

      @@nikodembartnik thanks. Is this second one found in autonomous cars?

  • @kelna2
    @kelna2 Год назад

    Needs pyrotechnics

  • @yacineg_dp600
    @yacineg_dp600 Год назад

    Why wouldn't you use a deep reinforcement learning algorithm (like PPO or DQN)? you first need to make a simulator, train your model, then use it in real life. this will be much more better

    • @nikodembartnik
      @nikodembartnik  Год назад

      As mentioned in the video I'd rather have fun driving the robot in a race track than spend weeks writing the simulation software. Is it a better approach? Definitely. But do I want to do it? Not now, maybe in the future :)

    • @yacineg_dp600
      @yacineg_dp600 Год назад

      @@nikodembartnik Ah I think I have that part of the video, but I really liked the robot

  • @shreyas9280
    @shreyas9280 Год назад

    hey bro, great work. can you make a MICROMOUSE robot. it would be great if you can build one(consider it as a challenge😉)

  • @MrColibri55
    @MrColibri55 Год назад

    Captions, pls

  • @RemoteAccessGG
    @RemoteAccessGG Год назад +1

    Why you’re using original Arduinos instead of cracked ones, you can buy few Raspberry Pi’s on that money

    • @nikodembartnik
      @nikodembartnik  Год назад +3

      To support original creators. There are no cheap clones for their new advanced boards.

  • @Kmnri
    @Kmnri Год назад

    Please do something with your audio, you are recording in big room without any sound panels and its hard to listen, otherwise i like your videos.

    • @tcarney57
      @tcarney57 Год назад +1

      I noticed it, too, but I consider it a trivial complaint. It was quite easy to listen to, as far as I'm concerned, and not worth his time. But if you want sound panels and other superfluous embellishments, I suppose you could contribute to his Patreon account.

    • @nikodembartnik
      @nikodembartnik  Год назад

      I don't think it's that bad. Previous video was indeed not the best when it comes to audio but here I think it is not an issue. I will try to improve it with time, I am not a fan of the look of sound panels on the walls so hopefully just adding more furniture will help as well and maybe some curtains hang close to the camera at the time of the recording.