Programming a Wireless Robotic Arm

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ค. 2024
  • Something different! Support from my Patreons allowed me to purchase some cool gear - a robotic arm, a micro-controller and a blue-tooth module. In this video, I hack them together to build olcDeathBot Version 1.0. All Patreon support is directly for equipment used for the production of videos/material for the channel.
    Source: github.com/OneLoneCoder/Javid...
    Thanks to ZleapingBear for his PGEX UI Extension, you can get his code and a tutorial video here: • OlcPGEX UI Precentation
    TH-cam: / javidx9
    / javidx9extra
    Discord: / discord
    Twitter: / javidx9
    Twitch: / javidx9
    GitHub: www.github.com/onelonecoder
    Patreon: / javidx9
    Homepage: www.onelonecoder.com
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 136

  • @javidx9
    @javidx9  5 ปีที่แล้ว +44

    I developed this further to allow Twitch Chat to control the robot arm in real time! It was quite a funny and surreal experience. You can view that here: www.twitch.tv/videos/410107783 I will of course upload this to javidx9extra in due course too.

    • @wrong1029
      @wrong1029 5 ปีที่แล้ว +1

      you da best

    • @henryriehl2058
      @henryriehl2058 5 ปีที่แล้ว +1

      Are you ever going to do OpenGL tutorials?

    • @henryriehl2058
      @henryriehl2058 5 ปีที่แล้ว

      Are you ever going to do OpenGL tutorials?

    • @javidx9
      @javidx9  5 ปีที่แล้ว +1

      Maybe, maybe not. There's a lot of OpenGL material available already. I dont know what, if anything, i could add!

    • @ronerickson8083
      @ronerickson8083 3 ปีที่แล้ว

      If you can code a robot's ROS then place my debug code on the 1st Line of code in the system then run it through like any other line of code: . . . . .. . . .. . .. Force = [F=m(2385)]; . . . .. . . . . . You can also run this on any line in the system's language. It runs the SOST properly.

  • @kodiererg
    @kodiererg 4 ปีที่แล้ว +17

    I like how much more intelligent this is than 99% of the micro controller tutorials on TH-cam

  • @daanielacosta2395
    @daanielacosta2395 5 ปีที่แล้ว +42

    "Several robotic arm projects" so later on, we can expect to see forward and inverse kinematics, or more advanced topics on robotics?, this was a great video BTW, and the next sounds very interesting.

  • @seebaastian
    @seebaastian 5 ปีที่แล้ว +38

    I love when people measure in meters! you rock ;)

    • @javidx9
      @javidx9  5 ปีที่แล้ว +28

      Is there any other way? ;)

    • @villcrs4110
      @villcrs4110 3 ปีที่แล้ว +1

      @@javidx9 Nasa MMM was an expensive way to teach us, and still some people never got it really..

  • @daanielacosta2395
    @daanielacosta2395 5 ปีที่แล้ว +35

    Oh boy, i just saw "programming" "robotic" and "javix9" i clicked

  • @paladin1147
    @paladin1147 4 ปีที่แล้ว +2

    Holy moly, this is amazing. The way you thought out at the Communication bit was so incredible
    , thinking that might be a problem later on and finding such a simple solution was very thoughtful. Thanks for the video. A lot of components yet super smooth.

  • @zleapingbear
    @zleapingbear 5 ปีที่แล้ว +4

    As always. Awesome video, and cool to see hardware and software interaction!
    Great work!

  • @Toothbrush099
    @Toothbrush099 5 ปีที่แล้ว +8

    Knowing almost nothing about hardware, I thoroughly enjoyed this. Keep up the great content!

  • @WinLoveCry
    @WinLoveCry 5 ปีที่แล้ว +4

    Fantastic work as always. Highly educational and informative content.

  • @nandant.8842
    @nandant.8842 4 ปีที่แล้ว +4

    Your content is exactly what I was looking for and the things you do have truly inspired me. Thank you so much

    • @javidx9
      @javidx9  4 ปีที่แล้ว +1

      That's cool Nandan, good luck with your projects!

  • @barmetler
    @barmetler 5 ปีที่แล้ว +13

    This is _way_ cooler than just using an arduino! Really happy to see some hardwarey stuff on this channel.
    Keep up the good work!
    Also, It would be cool if you could do a reverse kinematic model in the olcgameengine and just animate the absolute position and rotation of the grabber using keyframes and interpolation.

    • @kodiererg
      @kodiererg 4 ปีที่แล้ว

      You could program an arduino with AVR studio and no or few libraries and feel super cool.

    • @barmetler
      @barmetler 4 ปีที่แล้ว

      @@kodiererg There are many challenges you can set yourself, but I just felt like this is a cool one. But low level arduino programming (with inline assembly for example) sounds like a lot of fun as well, you're right

  • @rodhnik7101
    @rodhnik7101 5 ปีที่แล้ว +2

    Thank you for such highly educational videos, I simply enjoy them and there's a lot of fun and knowledge in them

  • @yaroslavpanych2067
    @yaroslavpanych2067 5 ปีที่แล้ว +1

    "because it is a high-level video I won't go into too much details regarding the nature of the signals that beign transmitted" and proceeds to explain bit layout in package bit/byte transmission speed difference, etc :D
    I remember I tried to do it in high school as project for computer science course.

    • @javidx9
      @javidx9  5 ปีที่แล้ว

      lol, well I didnt want to detail the electrical specification of UART and subsequently RS232 or similar is what I was referring to XD

  • @raulchavez1838
    @raulchavez1838 5 ปีที่แล้ว +5

    You should really make a tutorial after OOP for C++, most programming tutorial end around there. I really enjoy your videos, and would love to see a mid to advance tutorial from you. I know C++ is ground upon, but it is most university students learn first.

    • @javidx9
      @javidx9  5 ปีที่แล้ว

      Hi Raul, what kind of things would you like to see "post-OOP"?

    • @raulchavez1838
      @raulchavez1838 4 ปีที่แล้ว +1

      @@javidx9 I apologise for the late response. I got no TH-cam notification, and the email was sent to a sub folder automatically. Honestly it would help alot if you had playlist of easiest to hardest. That way you can continue to make amazing videos, but we can grow as coders by following and investigating our selfs.

  • @xusedteabagx
    @xusedteabagx 3 ปีที่แล้ว

    Holy smokes That's so exciting. It doesn't seem like much code and dev was needed for something so functionable. Amazing work to make it seem so I'm guessing. Thanks javidx9

  • @PetrPss
    @PetrPss 3 ปีที่แล้ว +6

    Next:
    Programming an Iron Man suit ... using PixelGameEngine.

  • @tudorcristianbalan5693
    @tudorcristianbalan5693 5 ปีที่แล้ว

    Awesome! I think I didn't see something like that on youtube before. Please keep going, you are awesome!

  • @godDIEmanLIVE
    @godDIEmanLIVE 3 ปีที่แล้ว

    This is absolutely amazing. Awesome stuff!

  • @davidpike766
    @davidpike766 5 ปีที่แล้ว +2

    Best hour of my week, thanks Javid!

    • @javidx9
      @javidx9  5 ปีที่แล้ว

      Thanks David!

  • @MechTronMan
    @MechTronMan ปีที่แล้ว

    36:04 Thanks, that was a smart way to sort communication. :D

  • @Mastercar77
    @Mastercar77 5 ปีที่แล้ว

    Amazingly well done!
    Great Video.

  • @geraldlouis5099
    @geraldlouis5099 5 ปีที่แล้ว +3

    Awesome javidx9, keep on with the good work. Still waiting for voxel game engine and those mysterious rounded cubes though.

    • @javidx9
      @javidx9  5 ปีที่แล้ว +3

      XD

  • @jonyjohan8958
    @jonyjohan8958 5 ปีที่แล้ว +2

    Very fantastic there's so much things to learn here

    • @javidx9
      @javidx9  5 ปีที่แล้ว

      Thanks Jony, I agree XD

  • @thePrinceOfPurpose
    @thePrinceOfPurpose 5 ปีที่แล้ว +1

    This was a very interesting step out of your typical content. I can't imagine how long it took you to put that arm together.

    • @javidx9
      @javidx9  5 ปีที่แล้ว +1

      Thanks Evan! The video before this one is a full real time assembly video, so about 2.5 hours 😂

  • @tungvu4339
    @tungvu4339 3 ปีที่แล้ว

    Visual Studio looks amazing.

  • @andrewc2876
    @andrewc2876 5 ปีที่แล้ว

    Great video. Would love to see you pick something up with it.

  • @brianzhang1312
    @brianzhang1312 5 ปีที่แล้ว +1

    Thank you! A great work!

  • @edmondcasenas2565
    @edmondcasenas2565 3 ปีที่แล้ว

    I like the idea how you controlled those servo/stepper motor via settings slider, you can save those settings for recording steps of servo/stepper motor just like in fanuc industrial robots rather than controlling it manually, you know what i mean. Nice project

  • @waseinmalwar1854
    @waseinmalwar1854 5 ปีที่แล้ว +1

    Great video, this channel is awesome.
    Thanks for all.

    • @waseinmalwar1854
      @waseinmalwar1854 5 ปีที่แล้ว

      @@nishanthr4968 unless it's against an angry Nami jajaja

  • @frankbose544
    @frankbose544 3 ปีที่แล้ว

    embedded systems sir you just got another subscriber, this is awesome cause im not a very good programmer so your videos will be useful indeed

  • @neph4372
    @neph4372 5 ปีที่แล้ว

    This is amazing, Thank you

  • @drcongoheartofafrica7175
    @drcongoheartofafrica7175 2 ปีที่แล้ว

    @ Javidx9, thank you so much for such great works. For those who left a thumbs down on this wonderful video, I’ll need to personally come over and rotate your machines upside down...

  • @skippythemagnificent8103
    @skippythemagnificent8103 4 ปีที่แล้ว +1

    lol, T-shirt .... love it ... To quote Bobby Duke (aka Bobby Duke Arts) ".. ahh want that !" :)

  • @tims.227
    @tims.227 5 ปีที่แล้ว

    Nice Video 👍 I am already waiting for the next part. 🙈

  • @alanp8306
    @alanp8306 5 ปีที่แล้ว +1

    Are you planning to make a video on implementing inverse kinematics in C/C++ for your robot arm? Would be great to see. Keep up the great work.

    • @javidx9
      @javidx9  5 ปีที่แล้ว +2

      Hi Alan, maybe, it would make an excellent video!

  • @LetsPLAYright
    @LetsPLAYright 5 ปีที่แล้ว

    Wow this is really cool

  • @thelurkingpanda3605
    @thelurkingpanda3605 5 ปีที่แล้ว

    This channel is very impressive

  • @code-dredd
    @code-dredd 5 ปีที่แล้ว +20

    robot_arm.take_over_planet();

  • @47Mortuus
    @47Mortuus 2 ปีที่แล้ว +1

    An ARM processor controlling a robotic... arm ;)

  • @FritsvanDoorn
    @FritsvanDoorn 5 ปีที่แล้ว +1

    Nice! Greetings from the Netherlands

    • @javidx9
      @javidx9  5 ปีที่แล้ว

      Greetings form UK Frits!

  • @GNARGNARHEAD
    @GNARGNARHEAD 5 ปีที่แล้ว

    bravo! bravo! encore! encore! *thunderous applause ensues*

  • @SJ23982398
    @SJ23982398 5 ปีที่แล้ว

    As for the twitch chat, maybe add a simple abstract picture of the robot next to the sliders in the ui? I think it makes things a bit more clear. Maybe with arrows as well.

  • @chrisminer6678
    @chrisminer6678 3 ปีที่แล้ว

    Hi Javidx9 - will you be following up with the trapezoidal power control for smoothing the servo operation?

  • @spectrecular9721
    @spectrecular9721 5 ปีที่แล้ว +1

    42:45 - "Exciting"... I see what you did there...

  • @plopper7080
    @plopper7080 5 ปีที่แล้ว +1

    nice 1 fella thanks a lot. very interesting indeed ;)

    • @javidx9
      @javidx9  5 ปีที่แล้ว

      Cheers Plop!

  • @smileifyoupoopie9926
    @smileifyoupoopie9926 5 ปีที่แล้ว +2

    oh so nice! embedded C++ programming is so interesting! But can i know why you are using float everywhere instead of double?

  • @infinitesimotel
    @infinitesimotel 2 ปีที่แล้ว

    Now you have to make the phase plasma pulse rifle and a titanium skeleton with glowing red eyes...

  • @rudolphbennett3988
    @rudolphbennett3988 3 ปีที่แล้ว

    Excellent !

  • @Owczarekk
    @Owczarekk 5 ปีที่แล้ว +1

    I think that it would be cool to steer it with some type of gamepad, like for example x360 pad.

  • @andreaprovasi9786
    @andreaprovasi9786 4 ปีที่แล้ว

    A Cortex.M3 micro.....oh my, this DID hit a soft spot....

  • @thiagoobode1
    @thiagoobode1 3 ปีที่แล้ว +1

    Very nice! :0

  • @jaimedpcaus1
    @jaimedpcaus1 2 ปีที่แล้ว

    Do you have videos on programming wireless antennas? Thx. Let me know.

  • @MellexLabs
    @MellexLabs 5 ปีที่แล้ว

    DBC is device control buffer...?... looks like its only used for Serial COM hardware... Great video love the embedded stuff... hope to see some kinematics and end effector programming in the future

  • @mistervoldemort7540
    @mistervoldemort7540 5 ปีที่แล้ว

    I think its own weight is primarily what causes it to wabble

  • @ring5148
    @ring5148 5 ปีที่แล้ว

    i love this channel

  • @amankaushik5833
    @amankaushik5833 4 ปีที่แล้ว

    Hi, I just want to ask something like is there anything we can do without a framework or IDE? Or how are the IDE's made for embedded systems and can microcontrollers be programmed in plain c++?

  • @understrings1
    @understrings1 3 ปีที่แล้ว

    You are good!!

  • @Ijamhuang
    @Ijamhuang 5 ปีที่แล้ว

    good job!!!!

  • @HarshGrowl
    @HarshGrowl 4 ปีที่แล้ว

    Hi, can you tell me please how long you learn c++, and where you did this?

  • @SciDOCMBC
    @SciDOCMBC 3 ปีที่แล้ว

    for this MCU you can also use VS Code with PlatformIO

  • @kodiererg
    @kodiererg 3 ปีที่แล้ว

    It's refreshing to see something that isn't arduino sometimes

  • @siriusleto3758
    @siriusleto3758 4 ปีที่แล้ว +1

    Suggestion for the next update, control the robotic arm with a joystick.

    • @javidx9
      @javidx9  4 ปีที่แล้ว

      Or... let the masses control your robot in real time via twitch chat, and avoid them stabbing you with a screwdriver?! th-cam.com/video/x1WHVCtvqwM/w-d-xo.html

  • @thatsnuts8935
    @thatsnuts8935 4 ปีที่แล้ว

    The Teacher: asking me to get up to the board
    Russel : 42:45

  • @TheGEISHA19
    @TheGEISHA19 5 ปีที่แล้ว

    You can use Platformio for VS Code with mbed

  • @williamhuang5329
    @williamhuang5329 2 ปีที่แล้ว

    Hanzhen harmonic drive gear , factory automation, industrial robot arm gear reducer

  • @Dbolbrahhh
    @Dbolbrahhh 3 ปีที่แล้ว

    hi my freind can you do a video of showing the parts and links to buy them

  • @fouzanjaved5441
    @fouzanjaved5441 2 ปีที่แล้ว +1

    Sir, can you give me the circuit diagram and the code for the Arduino robotic arm car?

  • @yaroslavpanych2067
    @yaroslavpanych2067 5 ปีที่แล้ว +6

    Dude, when CreateFile fails, it returns INVALID_HANDLE_VALUE (all bits of handle variable is set), not 0.

    • @minsin56
      @minsin56 5 ปีที่แล้ว +1

      *!0

  • @hiteshjain2640
    @hiteshjain2640 2 ปีที่แล้ว

    Is it possible for me to make a software to use this from ground up ?

  • @micaiatronix346
    @micaiatronix346 3 ปีที่แล้ว

    Where I can by that board..?

  • @xtremeownagedotcom
    @xtremeownagedotcom 4 ปีที่แล้ว

    quite surprised I did not see comments about his choice of snes emulator.

  • @sheepknightgaming
    @sheepknightgaming 5 ปีที่แล้ว +1

    You should have a look at ESP32, way more horsepower than Cortex M cores (Wifi and BLE embedded, so no need for modules)
    Oh and it's Visual Studio-compatible if you use the native IDF

    • @javidx9
      @javidx9  5 ปีที่แล้ว

      I have used these, though Ive struggled in industry to get them to pass the relevant certifications they need, particularly regarding emissions, but at the hobby level, sure, they're great modules!

    • @sheepknightgaming
      @sheepknightgaming 5 ปีที่แล้ว

      @@javidx9 oh I didn't knew about these emission certificates, never thought about this issue ! (But had a lot of fun porting your 3D engine with textures on it, keep up the amazing work !)

  • @jesussalido1264
    @jesussalido1264 5 ปีที่แล้ว +1

    Cool

  • @tharollomalehase7463
    @tharollomalehase7463 4 ปีที่แล้ว

    I'm interested in coding robotic software in c++ so I need your help

  • @venuvenu2719
    @venuvenu2719 5 ปีที่แล้ว

    What monitor do you use?

  • @ashadodhiawala5039
    @ashadodhiawala5039 5 ปีที่แล้ว +1

    When is the next top down car crime game video coming?

  • @ronerickson8083
    @ronerickson8083 3 ปีที่แล้ว

    If you can code a robot's ROS then place my debug code on the 1st Line of code in the system then run it through like any other line of code: . . . . .. . . .. . .. Force = [F=m(2385)]; . . . .. . . . . . You can also run this on any line in the system's language. It runs the SOST properly.

  • @CandidDate
    @CandidDate 3 ปีที่แล้ว

    Ahh, trapezoidal. Tricks of the trade?

  • @aryansethi5508
    @aryansethi5508 3 ปีที่แล้ว +1

    What does 'f' in (1.0f) means ?

    • @javidx9
      @javidx9  3 ปีที่แล้ว +1

      It means "please represent this numeric literal as a 32bit floating point"

  • @gomes8335
    @gomes8335 4 ปีที่แล้ว

    What's the price of this setup?

  • @fouzanjaved5441
    @fouzanjaved5441 2 ปีที่แล้ว +1

    Sir, what courses do you learn to get into the robotics field? Sir, tell me, are you a mechanical engineer or electrical engineer, or mechatronics engineer? Sir, I want to become a robotics engineer, what do I study to get into robotic engineering?

  • @clodgozon3968
    @clodgozon3968 5 ปีที่แล้ว

    That's nice! My mom wouldn't let me buy those stuff tho. She thinks I'm way too stupid D:

  • @magnuswootton6181
    @magnuswootton6181 2 ปีที่แล้ว

    PLS ANSWER->>> Would this arm collapse if you took the power off the motors?

    • @javidx9
      @javidx9  2 ปีที่แล้ว +1

      Of course, they are pwm servos with reasonably low ratio gearboxes. It would collapse but slowly.

    • @javidx9
      @javidx9  2 ปีที่แล้ว +1

      Unless the arms have brakes or extremely high ratio gearboxes, they will always settle into a relaxed state

    • @magnuswootton6181
      @magnuswootton6181 2 ปีที่แล้ว

      just helping out. (u dont need my help, but just trying to be fair.) i dont know for sure, but the "jitteryness" and oscillations could be caused by the motors backdriving each other as they are trying to settle on their absolute rotational position. that little sound at the beginning that u heard. (that wasnt really in the video) was them causing an oscillation with each other. then might be a solve which is better than PID controllers... and its actually simulating it physically, if u can handle the headache.

    • @magnuswootton6181
      @magnuswootton6181 2 ปีที่แล้ว

      @@javidx9 thanx for info.

    • @javidx9
      @javidx9  2 ปีที่แล้ว +1

      The motors have no closed loop control so PID isn't an option in this case, when I'm designing real robots naturally they all have full dual loop control and are very stable, but this toy doesn't, and it's not bad to be fair, it's jitteryness is in part to supply collapse, getting the motors moving sinks a whole load of current briefly, which naturally diverts from the others, this is in a way a feedback loop until things settle into equilibrium. I need a better power supply!

  • @amberheard2869
    @amberheard2869 5 ปีที่แล้ว +1

    I have a question did you learn cs I mean you got phd in computer science?

    • @javidx9
      @javidx9  5 ปีที่แล้ว +1

      My masters degree was Computer Systems Engineering, my PhD was in a neuroscience related field.

  • @DormirnaodaXP
    @DormirnaodaXP 4 ปีที่แล้ว

    What lenguage do you use?

  • @eggmuncher6445
    @eggmuncher6445 5 ปีที่แล้ว

    How can it be "pahtreon" anywhere? Doesn't the name come from "patron"?

  • @michaelmahn4373
    @michaelmahn4373 5 ปีที่แล้ว

    What's the chain with the kettle in your tea?

  • @cvabds
    @cvabds 5 ปีที่แล้ว

    You are god

  • @magoria1382
    @magoria1382 3 ปีที่แล้ว

    I have a question.. how do you make something move by pushing a button? For example... making a robot hand do thumbs up or waving by just pressing a button once? 😂
    Most tutorials shows RC robotic stuff, which isn't very helpful if you want a simple button to do comlicated movements by just pressing it once 🙈
    I want to make an interactive toy thatbdo some movements by pressing a button you know 🙈

  • @fouzanjaved5441
    @fouzanjaved5441 2 ปีที่แล้ว +1

    Sir, can you build me the Bluetooth Arduino robotic arm car and also give me the circuit diagram and the codes for the Bluetooth Arduino robotic arm car?

  • @philipfry9436
    @philipfry9436 5 ปีที่แล้ว +4

    42:30 LOL. Why did you write your name on the board? That robot arm need a knife at the tip. Call it Stabby. It's a better name for a robot.

    • @javidx9
      @javidx9  5 ปีที่แล้ว +3

      Lol ive had that board since school!

  • @mauricioortiz9702
    @mauricioortiz9702 5 ปีที่แล้ว

    Ojalá hicieras los vídeos en español

  • @cvabds
    @cvabds 5 ปีที่แล้ว

    I would love to hear your Word about the Temple OS 2mb operstional system and what it is different from our regular kernel and how its possible tô build some thing similar or idk.

  • @keal4825
    @keal4825 2 ปีที่แล้ว

    Hi, I'm a big fan of your work. I am a person with no knowledge of programming and electronics. So if I'm a newbie, what knowledge do I need to learn to be like you? Can you share it with me? Thank you very much

  • @SWALRC
    @SWALRC 3 ปีที่แล้ว

    can you show us how to program a robot arm to like comments on tiktok . basically a liking robot. thanks

  • @animadoarts5123
    @animadoarts5123 4 ปีที่แล้ว

    Is this c++ programming? Or C

  • @cVcYoutube
    @cVcYoutube 5 ปีที่แล้ว

    2nd comment

  • @lukewellcash
    @lukewellcash 5 ปีที่แล้ว

    First COmment :D

  • @suadabs3637
    @suadabs3637 4 ปีที่แล้ว

    LL

  • @amberheard2869
    @amberheard2869 5 ปีที่แล้ว

    I am doing gui and graphic.h(c++ the BTW that's just using library created by other) and he is doing robot arm I should be shamed as 16 yr old living on the Earth and contributing nothing for science.