Star Wars R6 Droid #13 | Multitasking with Arduino | James Bruton

  Рет қаралды 51,034

James Bruton

James Bruton

Күн бұрын

Пікірлер: 95
@monkeyman503
@monkeyman503 9 жыл бұрын
That was the single best example of multitasking with Arduino that I have ever witnessed. I tip my hat to you good sir!
@allluckyseven
@allluckyseven 9 жыл бұрын
Your R6 is looking fantastic, James.
@turbofreakdotcom
@turbofreakdotcom 8 жыл бұрын
I know I commented a month ago about how well you explained the state machine and timers, but I just finished my project easily because of your flag explanation. Thank you again for this video James!
@marcusprice3767
@marcusprice3767 9 жыл бұрын
I can't wait to see the 2-3-2 conversion in action! Amazing job James, I love all your videos and I love the progress of all of your projects. Keep up the great work!
@turbofreakdotcom
@turbofreakdotcom 8 жыл бұрын
You are an EXCELLENT instructor and your creations are incredible! For the last week or two I've tred to understand how to write for a state machine and use millis. You didn't even go through your code fully and I now understand how to write my project using millis. Thank you very much...
@maxximumb
@maxximumb 9 жыл бұрын
Each video keeps getting better! Brilliant work James.
@HouseOfHacks
@HouseOfHacks 9 жыл бұрын
Nice job explaining the state machines and the loop control. Not an easy concept to communicate. An alternative to the for loop is setup another state in your state machine that increments the counter and calls SetPWM (or whatever that method is called). When you reach the end, change states. Then the main control loop handles the looping instead of a for loop and doesn't stop the outside loop.
@Dracomancer273
@Dracomancer273 9 жыл бұрын
I think I love the droid "dancing" to rock n' roll the most
@MartinBlass
@MartinBlass 9 жыл бұрын
Oh god, the music and sound effects... It is epic!
@paulmelois
@paulmelois 9 жыл бұрын
Great work as always. I love that "showcase" look! it's really nice! I can't wait to see the 2-3-2 feature in action. Keep it up! I love it :-)
@renomacca1967
@renomacca1967 7 жыл бұрын
amazing small projecter playing from droid to a screen playing a movie at the arena that could be done in the old free standing r2
@cabinontheriver8341
@cabinontheriver8341 9 жыл бұрын
Kenny Baker would have never made it into the Star Wars movies if Lucas would have had this technology available back in the late 70s. Great project!
@AcrimoniousMirth
@AcrimoniousMirth 9 жыл бұрын
You were a great help in getting me started on 123D CAD. I've been designing rubber band guns, they look pretty cool. I've started making them in a layered technique but 3D printing at least one is the dream.
@mankee2211
@mankee2211 9 жыл бұрын
I saw the robot and started whistling the cantina song, clicked on the video and bam! - cantina song plays :)
@brutto6547
@brutto6547 9 жыл бұрын
Oh god this is amazing! I love your videos! May the force be with you :D
@ObiWanBillKenobi
@ObiWanBillKenobi 9 жыл бұрын
So if I understand correctly, there are three Arduinos in the whole project, yes?: 1. The remote control 2. In the droid controlling the leg motors and head (and in the future the third leg) 3. In the droid controlling the lights and sound and animatronics.
@Oozywolf
@Oozywolf 9 жыл бұрын
This thing is so cool that I'd be happy to see it in this incomplete state! Not too sure if my PC will be able to handle the amount of awesomeness the final videos will contain...
@jamiroquake69
@jamiroquake69 9 жыл бұрын
Je trouve que ton R6 droid est beaucoup plus réussi que ton BB-8 mais les deux sont quand même de belle création, tu fais du bon boulot ! J'ai hâte de voir le resultat final de Hulkbuster :)
@generico366
@generico366 9 жыл бұрын
You should build a Dalek for your next project.
@CarlLydickRC
@CarlLydickRC 9 жыл бұрын
Just wonderful!
@alamanjar
@alamanjar 9 жыл бұрын
Have you considered using a dual joystick arrangement for control? one joystick to control droid movement and one to control head rotation and holo-projector? then use joystick buttons to trigger sounds/lights etc. Just going off the fact you mention you don't have enough hands to do all three.
@stevenqneuk8
@stevenqneuk8 9 жыл бұрын
Hi James. Yet another amazing video. The droid is getting more awesome with every new video. 2:10 I see you too suffer from the dreaded corner lift. I have tried everything to reduce it with very little luck. Any tips? Also, watching your videos has inspired me finally to learn C++ programming :D
@iragegamer3489
@iragegamer3489 9 жыл бұрын
For your hulk buster you should add a mechanic that makes the ankle join luck up or move around as it does in the film
@hardscope200y
@hardscope200y 9 жыл бұрын
Thats starting to look really nice, i think when your finished you should make a removed skin
@MovieModels
@MovieModels 8 жыл бұрын
Hi James, can I ask a quick question? I'm building an R2-D2 droid, and was wondering if you remember what make/model the windscreen motors were in the feet drives you used. I'm experimenting with Wheelchair motors for torque/quiet operation etc, but they are incredibly heavy and being 24volt, they also mean more weight in batteries. I also need to disable the onboard brake too. Your solution looks lighter and easier to incorporate into the feet. Thanks for the amazing videos, your work is awesome and the videos very inspirational. Regards, Greville.
@VolgClawtooth
@VolgClawtooth 7 жыл бұрын
have you tried servo motion with something like 'pulslen+=10' rather than 'pulselen++' to speed up the servo transition while still getting nearly full range motion? It would cut down the number of iterations while not significantly cutting short the max motion range acknowledged by the servos.
@gillesbisson199
@gillesbisson199 8 жыл бұрын
Hi James. Great work. I was wondering if you found the issue with the stubborn servos ? Thanks !
@SpuneDagr
@SpuneDagr 9 жыл бұрын
This video is missing from the R6 playlist.
@Blaster1360
@Blaster1360 9 жыл бұрын
you good sir, earned a sub.......and a subscriber
@matthewbilik9549
@matthewbilik9549 9 жыл бұрын
A sub and a subscriber are the same things. Subs is a slang term for a subscriber.
@Blaster1360
@Blaster1360 9 жыл бұрын
by "Sub" I meant sub sandwich -_-
@thecoolkidsclub1436
@thecoolkidsclub1436 9 жыл бұрын
Blaster1360 duh he should have knone that
@brailinbarnhill3701
@brailinbarnhill3701 9 жыл бұрын
just looking at R6 makes you feel like it's C3-PO when he didn't have his full armor on.
@thomasherring4694
@thomasherring4694 9 жыл бұрын
When are you going to wirelessly control the 2-3-2 leg conversion
@joebillington4751
@joebillington4751 9 жыл бұрын
Wish I could do stuff like this it's so cool
@15emo15luke15
@15emo15luke15 9 жыл бұрын
with the hobby king servos, could you not make it so every iteration of the loop you just set the servo values to half way between the target value and its previous actual value. This should remove the need for the for loops and should make the servos actuate in a smooth asymptotic manner. :)
@maxximumb
@maxximumb 9 жыл бұрын
Luke Rutter If this is too much, you could just increment your steps by 10 rather than one, this would speed up the loop. But after seeing the motion in the video, the speed looks good. Decreasing the duration of the loop may effect the speed of the arm movement.
@15emo15luke15
@15emo15luke15 9 жыл бұрын
Maxx B Yeah it definitely sounds like a compromise would be needed in any case, and as for the idea i mentioned, it doesn't have to be half way between the target and the current value - it would probably have to be tuned appropriately. If it is done such that x(k+1)=x(k)+ [r(k)-x(k)]/18 assuming that the x is the current state in degrees and r is the current reference in degrees, the largest step size would be 10 degrees and it would take approximately 80 iterations to change from 0 degrees to 180 degrees. Also i mean to use this instead of the for loops. Every time the state machine would enter the servo controlling state, it would recalculate x(k+1). This would also allow for all the servos to actuate simultaneously as well as one after the other.
@JanRasmussen
@JanRasmussen 9 жыл бұрын
Why not replace the nasty for loops that drives the servos with a state machine with enough states to drive each servos adequately?
@ruhinahmed2525
@ruhinahmed2525 9 жыл бұрын
Hey i found out about 3D printing today and i hope that you can learn me some, here are some questions: 1. Can 3D printers actually print technology like another printer? If so does it require specific "fuel" 2. After getting a 3D printer, does it cost to print anything? I mean, you can print from daleks to frickin CARS. 3. What do i need to 3D print? I see that you answer on many comments so hopefully you'll answer this.
@originaltrilogy1
@originaltrilogy1 9 жыл бұрын
+Cheddo Films 3D Printers can print plastic/Rubber etc parts generally, you buy 'filament' as the material used to print with, it is just spools of plastic (ABS, PLA etc). 2) It costs electricity, and for the filament, which is around $50 for a 1kg spool 3) A lot of research, a 3D printer, and some filament and lots of time, they are very slow. Keep in mind the build size, i.e. you can only print parts up to the maximum size of your printer bed.
@joerobert7979
@joerobert7979 9 жыл бұрын
You should make the vents blow air
@melehtaenvinyatar8123
@melehtaenvinyatar8123 9 жыл бұрын
Hey James how about on your next project you will do a virtual reality headset
@jclegg9939
@jclegg9939 9 жыл бұрын
It would be cool if you incorporated a voice control feature
@nahuel3256
@nahuel3256 Жыл бұрын
21:40 Maybe as you next project you could consider developing a bionic hand xD
@nahuel3256
@nahuel3256 Жыл бұрын
oh god! you already did
@Vass881234
@Vass881234 9 жыл бұрын
Do you have a suggested supplier of the Lulzbot mini in the UK please James ? (Amazon seems overpriced.)
@DFaulkner0
@DFaulkner0 9 жыл бұрын
Very Cool!
@hayfahvytsen
@hayfahvytsen 9 жыл бұрын
Are any of the 123D CAD files (or at least STLs) available for your R2 parts for others to build R2's?
@MichaelTeeuw
@MichaelTeeuw 9 жыл бұрын
Hi James, again, nice work. You might want to look into the elapsedMillis Library which would make te timing a bit more easy: playground.arduino.cc/Code/ElapsedMillis Also, if you expand your code any further, consider breaking it up in different classes, so one for your servo's, one for lights and one for audio. This way your code stays manageable (and reusable). I used this on my Power Suit: michaelteeuw.nl/post/99243663922/power-suit-part-7-the-code-magic Anyway, keep up the good work!
@elgage
@elgage 9 жыл бұрын
You should try to make a retractable middle leg
@joeyson.g
@joeyson.g 9 жыл бұрын
when are u gonna finish the eye and everything?
@Tajh
@Tajh 9 жыл бұрын
Do you have an upload schedule? When should we return for another upload? :D
@pronoobuniverse1786
@pronoobuniverse1786 9 жыл бұрын
Do you have cameras? Because I haven't watched all of them, and they would be so good at spying.
@lukej557
@lukej557 9 жыл бұрын
You should dress up as Luke and go to comicon with that walk in with the acdc on
@icefall1919
@icefall1919 9 жыл бұрын
I have seen the two leg stage in the past conditions but you should do a demo of the two leg stage in its current state in the next video. Thx
@icefall1919
@icefall1919 9 жыл бұрын
cool dude...looking forward to it!!!
@USebaB
@USebaB 9 жыл бұрын
Will it get that arm like thing going out of a door that csn be opened and closed?
@macakapaw1281
@macakapaw1281 9 жыл бұрын
Awesomeness
@hotjiggaman
@hotjiggaman 9 жыл бұрын
You are very smart
@alex-ir9uq
@alex-ir9uq 9 жыл бұрын
I have used so much hobby king, but I have never seen those servos. I have always used the $2.60 HXT 9 gram servos. SO CHEAP.
@chocofrownies8879
@chocofrownies8879 9 жыл бұрын
Im thinking about buying a 3D printer with a price of maximum 1,500, but i dont want it to be too small. my school has on but it is tiny and is too expensive to run. all advice would be greatly appreciated.
@andersmeiniche2746
@andersmeiniche2746 4 жыл бұрын
I know it's and old vidio but, it is soo informative ;) Thanx, do a lot more af this. :D
@lolamnma26
@lolamnma26 9 жыл бұрын
So do the flags represent Boolean variables?
@우경서-r7b
@우경서-r7b 9 жыл бұрын
That's nice
@charltonbruton2579
@charltonbruton2579 9 жыл бұрын
My last name is Bruton too and I like Star Wars
@TheGamerIsMe
@TheGamerIsMe 9 жыл бұрын
Just a question, What infill density are you using?
@silentguydude2649
@silentguydude2649 8 жыл бұрын
What kind of 3dprinter did you used? I want to know
@ordahnumbah2063
@ordahnumbah2063 9 жыл бұрын
These must be so expensive! Totally worth it though!
@maxximumb
@maxximumb 9 жыл бұрын
CaptainSkoobang If you have a little spare cash, you can support the projects on Patreon www.patreon.com/XRobots
@maxximumb
@maxximumb 9 жыл бұрын
You can place a cap on the number of videos you pay towards per month. It's there to protect the patrons from less scrupulous who churn out dozens of short videos.
@EthanfromEngland-
@EthanfromEngland- 9 жыл бұрын
How much would it cost me if i wanted you to make me one?
@piercesonnenberg
@piercesonnenberg 9 жыл бұрын
how do you power it, what kind of battery?
@olandobuisreth8629
@olandobuisreth8629 9 жыл бұрын
How cool can u possibly get not sarcasm
@J.H.DESIGNS
@J.H.DESIGNS 9 жыл бұрын
No Friday video :-(
@JediHagrid
@JediHagrid 9 жыл бұрын
I was hoping you could help me. I have a Lulzbot Taz 4 with the upgraded hot end. For some reason since getting the new hot end it just does not want to print. First layer or two look okay but when the nozzle moves up in the air it just doesn't print. The fillament gets chewed a lot of the time and I found out that's the hobbed bolt but I do not know what else to do or try. Is there anyway you could let me see your configs? Do you leave it plugged in to a computer or do you print from the SD card slot? Any other tips? I'd even donate to your Patreon if you could help me out.
@originaltrilogy1
@originaltrilogy1 9 жыл бұрын
+dustin evans Might be an idea to donate to the Patreon anyway, it is only a dollar a month or so, and he is very helpful on the subreddit.
@JediHagrid
@JediHagrid 7 жыл бұрын
Haha. Just came across this comment a year later. Turns out my fan had a loose ground wire. Finally figured it out a couple weeks or so ago. A year later and my body is almost done. Thanks again for the files, James! I'm so glad I got my printer working.
@emiliskog
@emiliskog 9 жыл бұрын
Could you add tje dual of the fates song
@emiliskog
@emiliskog 9 жыл бұрын
The
@chocofrownies8879
@chocofrownies8879 9 жыл бұрын
£1,500 that is
@PaperDragons
@PaperDragons 9 жыл бұрын
6:45 > 13:30 = l.o.l. ;-)
@nailsman54
@nailsman54 9 жыл бұрын
Do Mechanic Godzilla's
@nailsman54
@nailsman54 9 жыл бұрын
Please
@loserpurp
@loserpurp 9 жыл бұрын
Give him a camera
@gamingman1216
@gamingman1216 9 жыл бұрын
James plz respond I want to ask a question!
@maxximumb
@maxximumb 9 жыл бұрын
Justin Battson If you ask the question in the comments, in the hour or so after the video goes up, James is usually around to answer or comment. If not he has an X-Robots facebook discussion page facebook.com/groups/287089964833488/
@JHANKSMEDIA
@JHANKSMEDIA 9 жыл бұрын
Just ask, he's pretty good about responding to comments.
@mstr.comedy
@mstr.comedy 9 жыл бұрын
make a fnaf toy animatronic with real animatronic parts
@naurunappula1
@naurunappula1 9 жыл бұрын
You are so awesome?
@tiesbeer
@tiesbeer 9 жыл бұрын
Why don't you just use millis() instead of currentMillis in your if statements? Ironicly currentMillis will never be the current milliseconds, but the milliseconds on the start of void loop.
@cuatex
@cuatex 9 жыл бұрын
Excuse me, goodnight am his follower and I would ask a favor if you could give me the file arc reactor just purchased a 3D printer and would like to prove it to the reactor, please agradesco your help and I am a fan of your page excuse my English, I am Latin American Peruvian
@1mrunforgetable
@1mrunforgetable 9 жыл бұрын
needs a bad motivator and some smoke....
@1mrunforgetable
@1mrunforgetable 9 жыл бұрын
1mrunforgetable maybe a foam one that pops out the top.
@1mrunforgetable
@1mrunforgetable 9 жыл бұрын
1mrunforgetable I'd use a nerf gun and just use a solenoid and some 3d printing to pull the trigger as for the smoke I'd use either a coil and some fog juice or a vaporizer from a water fountain. -doesn't take much fog juice to make the effect - probably the better way to do it..
Star Wars R6 Droid #14 | Leg Conversion | James Bruton
17:06
James Bruton
Рет қаралды 42 М.
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 242 МЛН
Star Wars BB-8 Droid v3 #10 | Flywheel Testing | James Bruton
19:08
Adding a Booster to my Guided Rocket
18:27
Lafayette Systems
Рет қаралды 29 М.
Viral logic puzzle from China
9:08
MindYourDecisions
Рет қаралды 73 М.
I'm Scared of his MESS
16:55
Linus Tech Tips
Рет қаралды 1 МЛН
Star Wars R2-D2 #7 | Centre Leg & Driving | James Bruton
20:15
James Bruton
Рет қаралды 62 М.
Star Wars R6 Droid #18 | Life Form Scanner | James Bruton
13:08
James Bruton
Рет қаралды 42 М.
Autonomous Rover From Scratch (ROS) Part 1
10:46
Vinay Lanka
Рет қаралды 87 М.
[Mobinn] Control for Climbing Stair of a Delivery Robot
2:02