Balancing robot video 3 - Obstacle avoidance behaviour

  Рет қаралды 111,700

Axel's DIY

Axel's DIY

8 жыл бұрын

This video demonstrates how my Arduino based balancing robot can enter balancing mode by itself. The video also shows the robot doing basic obstacle avoidance using its tree ultrasonic rangefinders. The obstacle avoidance if currently done by one of the Arduinos, but this a typical high level function that will later be handled by the Raspberry Pi.
Balancing robot page on website: axelsdiy.brinkeby.se/?page_id=...

Пікірлер: 79
@88_WLE_88
@88_WLE_88 6 жыл бұрын
Nice, I really like the way it's 'waking up'. Clever :)
@chuchinmc
@chuchinmc 5 жыл бұрын
Great job!, I like it so much. Congratulations, very inspiring project 👍
@palavkaria8452
@palavkaria8452 6 жыл бұрын
Don't know why but that sound is so satisfying :D btw great job done on the robot I m currently working son using android instead of raspberry pis
@dead_warrior_wae
@dead_warrior_wae 3 жыл бұрын
very nice! looks fairly smooth to me. can't imagine how much fine tuning this took. the only thing is that it sounds like nails on a chalkboard.
@FusionJunky
@FusionJunky 3 жыл бұрын
This is super-cool!
@Lot10Games
@Lot10Games 6 жыл бұрын
Nice. Best robot fo far
@mikegLXIVMM
@mikegLXIVMM 4 жыл бұрын
Looks great!
@anshumandeshpande1157
@anshumandeshpande1157 6 жыл бұрын
great work :) thanks for sharing
@nadourhousseyne804
@nadourhousseyne804 7 жыл бұрын
Well done, Thanks
@DanielLeijonberg
@DanielLeijonberg 8 жыл бұрын
That's a prototype MSE Droid! :D Nice
@send2murph
@send2murph 7 жыл бұрын
Exceptional.
@hayfahvytsen
@hayfahvytsen 8 жыл бұрын
Nice job!
@AxelsDIY
@AxelsDIY 8 жыл бұрын
Thanks!
@phutanyoutube6559
@phutanyoutube6559 2 жыл бұрын
Good job bro! ​@​
@arduwin7753
@arduwin7753 7 жыл бұрын
i like this robot! nice woodwork! :)
@AxelsDIY
@AxelsDIY 7 жыл бұрын
Thanks!
@Thevishalchhabhaiya
@Thevishalchhabhaiya 8 жыл бұрын
hats off
@MrMPod
@MrMPod 6 жыл бұрын
love It :)
@noelconrad4194
@noelconrad4194 5 жыл бұрын
Soooo cuuuuteeee....
@thetinkerer5763
@thetinkerer5763 8 жыл бұрын
that's awsome
@alexanderzawydiwski9534
@alexanderzawydiwski9534 4 жыл бұрын
What did you used to build that that is interesting
@GeekDetour
@GeekDetour 3 жыл бұрын
Man! How many Arduinos are you using in this thing and why?
@cel1372
@cel1372 5 жыл бұрын
Sorprendente
@Tech4geeks21st
@Tech4geeks21st 7 жыл бұрын
gr8 job
@ggeasy8499
@ggeasy8499 5 жыл бұрын
Hey! Can you tell me what are the main components in there ( only Arduino ) please ? I've spotted a LiPo Battery Pack, two Stepper motors, two driver stepper motors probably, one gyro accelerometer sensor like a MPU stuff, what else besides the Arduino board ? Oh yeah some servos for the ultrasonic sensors too..
@TutocarloCV
@TutocarloCV 6 жыл бұрын
nice
@JeffryRice
@JeffryRice 7 жыл бұрын
verycool!
@flymaster_tim
@flymaster_tim Жыл бұрын
Great job. This robot based on 5 arduino uno??
@EunchanPark
@EunchanPark 6 жыл бұрын
cool!!!!!!!!!!!!!!!!!!!!!!
@mikej9062
@mikej9062 4 жыл бұрын
That alternate ending where Sand People actually capture and completely re-tool R2D2.
@doganaysahin9770
@doganaysahin9770 7 жыл бұрын
hi, that is a great project . may i ask, which learning algorithm did you used for avoiding obstacle ?
@AxelsDIY
@AxelsDIY 7 жыл бұрын
It is not a "learning algorithm". This behavior is very simple. The robot goes slowly forward all the time. There are three distance sensors. If the left one detects something, the robot turns right, and vise versa. If the center sensor detects something, the robot does a fast turnaround in a random direction.
@shameedify
@shameedify 7 жыл бұрын
Great accomplishment. I once tried to do that. The major problem I faces was the interference between the ultrasonic sensors. The pulse from one gets detected by the other. I even tried one sensor and mounted it on a servo and have it rotate around to map the surroundings. But even then the beam from one position would reflect back and would be sensed by the sensor when in a different position. How did you manage to overcome the interference? Or you did not face this problem at all?
@AxelsDIY
@AxelsDIY 7 жыл бұрын
Thanks. I trigger them in sequence, waiting for the previous sensor to return a value or time out before triggering the next one. By doing this I do not have any problems with the sensors picking op the other sensors signals.
@IoTLearner
@IoTLearner 6 жыл бұрын
Your comment help me in my project!!
@evan.x6136
@evan.x6136 7 жыл бұрын
great project! planning on building one. can i just ask if you used PID tuning for balancing the robot? (PS. can i possibly use other algorithm for balancing, for example neural network?) Thanks for answering, I'll appreciate it.
@AxelsDIY
@AxelsDIY 7 жыл бұрын
I am using a cascade of two PID algorithms to balance the robot. One PID algorithm calculates the wheel speed depending on the error between the robot's current angle and a setpoint angle. And the other PID algorithm calculates the setpoint angle based the the robot's current speed. I am sure it is possible to use a neural network, but that is probably a lot harder to implement...
@evan.x6136
@evan.x6136 7 жыл бұрын
Axbri What im thinking is that, i'll use PID for the balancing, then a neural network for path finding/obstacle avoidance. I hope it will work. Anyway, thanks for the detailed info about your PID algorithm.
@Anton-sz6ef
@Anton-sz6ef 5 жыл бұрын
I think that only one Raspberry Pi and one Arduino could handle it though. Anyway amaizing project!
@PeterLunk
@PeterLunk 4 жыл бұрын
Same thoughts here.
@AlexandreLefaure
@AlexandreLefaure 6 ай бұрын
Only one arduino would be enough
@Marcos_16223
@Marcos_16223 6 жыл бұрын
Legal
@Suni777
@Suni777 5 жыл бұрын
I want to buy how can I I from. India
@emrahinan1
@emrahinan1 6 жыл бұрын
The robot is nice, but it makes a lot of noise when walking. can not this be made quieter? Actually, I do not want to use a tool like that in my house.
@mohammed_ateeq2050
@mohammed_ateeq2050 6 жыл бұрын
could u please give us the codes?
@Cap_Med
@Cap_Med 7 жыл бұрын
nice , does this robot have a wireless connection ?
@AxelsDIY
@AxelsDIY 7 жыл бұрын
There is a USB wifi-dongle connected to the Raspberry Pi, but it is not used at the moment.
@Zeksait
@Zeksait 3 жыл бұрын
4 una's and 1 pi ?
@Anton-sz6ef
@Anton-sz6ef 5 жыл бұрын
How much does it work with that 2.2Ah battery pack ? I believe that's LiPo. Cause I want to use LiIon instead like those 18650 or something, like four of those.
@AxelsDIY
@AxelsDIY 5 жыл бұрын
If can balance for almoast one hour on that 3 cell 2200mAh LiPo battery. A four cell Li-ion battery with 18650 cells will also work. That way you can probably get even more run time. I also think that the stepper drivers can run a little bit more efficient with the higher battery voltage.
@Anton-sz6ef
@Anton-sz6ef 5 жыл бұрын
@@AxelsDIY Well 4 Samsung 18650s are around 12000mAh so that's a lot
@AxelsDIY
@AxelsDIY 5 жыл бұрын
What cells are that? I have never seen any 18650 cells that are more than about 3600mAh. Or maybe you mean 4 cells in series with 3000mAh each. In that case, you will have a 4 cell battery with 3000mAh, not 12000mAh.
@Anton-sz6ef
@Anton-sz6ef 5 жыл бұрын
@@AxelsDIY Well, yes in series. Will it work for more than like 2 hours ? Or not even that ?
@88_WLE_88
@88_WLE_88 6 жыл бұрын
Only One thing that is a bit annoying for my ear - sound of stepper motors, apart from that, cool!
@AxelsDIY
@AxelsDIY 6 жыл бұрын
I agree. I don't like the sound. The sound mainly depends on the driver chip used. Here I am using "Big Easy Drivers" based on the A4899 chips to drive the steppers. But there are other better alternatives I didn't know about when I built this robot, for example, the silent Trinamic TMC2100 drivers.
@88_WLE_88
@88_WLE_88 6 жыл бұрын
Axbri Interesting.BTW You could use a DC motors instead. But... In that case you will loose big advantage of steppers- lack of backlash which is a pain in balancing robots. Anyway very nice project!
@AxelsDIY
@AxelsDIY 6 жыл бұрын
Yes, backlash can be a problem in balancing robots. And using DC motors also makes it necessary to have high precision quadrature encoders for feedback. That makes things more expensive and complicated. With stepper motors, you automatically know the wheel position.
@88_WLE_88
@88_WLE_88 6 жыл бұрын
That's true. But.. (please correct me if I'm wrong) you do not have real feedback from the steppers, So e.g when you will put your robot on stip surface it will try to maintain it's balance position but it will move down the hill as it do not know that it is actually moving? Not sure how your control system works but that'a how I can imagine this. BTW, sorry for that conversation, I have some experience with DC motors system but not much with steppers, that's why I'm curious. Thanks!
@AxelsDIY
@AxelsDIY 6 жыл бұрын
I know exactly how much the stepper motors rotate, it is easy to just count the numbers of steps you send to them. Stepper motors always run exactly as you tell them to. But of course, if the wheels slip on the surface, or the steppers is skipping steps due to too high motor load, I have no way to know that. But this is not a problem under normal operation of a balancing robot.
@somethingsfishy2695
@somethingsfishy2695 6 жыл бұрын
This is done by a lot of arduinos
@bhargavchitragarfrost6926
@bhargavchitragarfrost6926 7 жыл бұрын
extraordinary job done ...really nice work. i would like to do the same as a projecct, would u like to help me out with the connection between components and program codes...??plz
@AxelsDIY
@AxelsDIY 7 жыл бұрын
Thanks. Are you familiar with Arduino and programming? If not, maybe you should start with something easier. Connecting the different things is not complicated, it is just digital signals. The code is more complicated, currently it is running on four different Arduino boards communicating with each other. Right now the code is poorly documented and very confusing, therefore I have not released the code for this project, but I will do that in the future. In the meantime, take a look at the page on my website with more information about this robot. Link in the video description.
@bhargavchitragarfrost6926
@bhargavchitragarfrost6926 7 жыл бұрын
iam familiar wit the arduino and I started learning it from 2-3 months and I did a project on it .....iam not fully deep or perfect in arduino but once checking it out make a little easier to understand and yeah ofcourse using 4 arduino and synching in together is hectic and tough but if u could give us a full description of connections and program with comments then it will be grt. ....and will be looking forward to ur comment and rply regarding this ....I thought to make this project in college ...
@josicoSiete
@josicoSiete 7 жыл бұрын
Do you use 4 arduinos mega?????
@AxelsDIY
@AxelsDIY 7 жыл бұрын
In this video there are 4 Arduino Unos. One Arduino runs the balancing code, one Arduino controls each stepper motor, and one is used to read the sensors and determine speed and direction. But after this video was recorded I have replaced the sensor-Arduino with an Arduino Mega because I needed more input pins for more sensors.
@tinea41
@tinea41 6 жыл бұрын
Look it’s R1-D0
@ahmedallam9612
@ahmedallam9612 6 жыл бұрын
Good work, but using 4 Arduino is tooo much, using one Arduino mega or pro mini is sufficient and enough, unless u put others fonctions with driving the robot and obstacles avoidance
@AxelsDIY
@AxelsDIY 6 жыл бұрын
Yes, I know, but when I built this over two years ago, I did not have very much experience with Arduinos. Back then, this was the simplest solution for me to make, mainly because I didn't know about timers and interrupts. Check out my newer 3D printed mini self balancing robot on my channel if you haven't already. I think it is a more elegant solution.
@ahmedallam9612
@ahmedallam9612 6 жыл бұрын
ok, Its a pleasure, I will check out your new balancing robot, and thanks for sharing this
@01aragog78
@01aragog78 5 ай бұрын
could this word as in solving a maze
@hyxzel2226
@hyxzel2226 5 жыл бұрын
Sounds like R2D2
@51percent22
@51percent22 7 жыл бұрын
Wow that is awesome! Can I get your source code? I wanna refer it to my project. :)
@AxelsDIY
@AxelsDIY 7 жыл бұрын
Right now the code is poorly documented and very confusing, therefore I have not released the code for this project, but I will do that in the future. In the meantime, take a look at the page on my website with more information about this robot. Link in the video description.
@mikkan39
@mikkan39 5 жыл бұрын
Hello from 2019 ;) Is it possible to get at least a non-documented code? I think I'm a bit better than beginner, just too lazy to code the whole thing myself)
@renorock3411
@renorock3411 6 жыл бұрын
I admit it's "okay." But what if you take away it's superb balance ? And what if you take away it's excellence performance ? But if you take away it's exquisite quality of construction ? Also take away it's thoughtful arrangement of parts. And without it's impressive good look's. WHAT DO YOU HAVE THEN ? Even then it would still be so much better than I could ever achieve.
@devlogerio
@devlogerio 4 жыл бұрын
Its talking
Balancing robot video 4 - IR sensors
3:40
Axel's DIY
Рет қаралды 2,8 М.
This Car Travels Farther Than You Push It
13:42
Tom Stanton
Рет қаралды 2,8 МЛН
Vivaan  Tanya once again pranked Papa 🤣😇🤣
00:10
seema lamba
Рет қаралды 35 МЛН
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 13 МЛН
Arduino/MPU6050 Balance Bot Part2
8:35
jmhrvy1947
Рет қаралды 111 М.
LiDAR-CE30 Obstacle Avoidance
1:08
Benewake Co.,Ltd.
Рет қаралды 3,7 М.
Autonomous Self-Learning Robot (Q-Learning)
6:20
Atle Fjellang Sæther
Рет қаралды 505 М.
World's First SCREW-BIKE
23:04
James Bruton
Рет қаралды 2 МЛН
Simple 3D printed mini balancing robot
3:39
Axel's DIY
Рет қаралды 63 М.
Solar plane: Rebuild after CRASH!
10:08
Axel's DIY
Рет қаралды 2,3 М.
Developing a Pick-and-Place Robotic Arm
6:35
Kai Nakamura
Рет қаралды 9 М.
[Undergraduate Project]  Balancing Motorcycle
2:20
IRIM LAB KOREATECH
Рет қаралды 6 МЛН
Reveal Invisible Motion With This Clever Video Trick
14:20
Steve Mould
Рет қаралды 2,6 МЛН
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 6 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 3,1 МЛН