Notifications
Clear all

Walking robot  

  RSS

Wolfsbane
(@wolfsbane)
Active Member
Joined: 1 month ago
Posts: 7
2020-06-22 5:31 pm  

Hi,

 

I am working on a walking robot and till now I was able to build 4 legs funny robot, I learned a lot while programming the walking harmony of that robot, unfortunately, I used delay function but soon in future I will replace all delays by mills(), I have some questions in mind I would like to share it with you guys:

  • I saw online that advanced walking robots used Brushless Motors, but as per my limited information I know that servo motors are the best for accuracy, is there Brushless servo Motors? and what is your advice for a cheap strong motors used for accurate walking robots?
  • Any idea what is the motors that used in Boston robotics? I am really confused regarding the motors types out in the market and the information online is there any guide tells you what is the best motors for arms and legs and how to drive them?
  • Also, I have an old question in my mind, do you know how to convert a PC motherboard to robot brian with GPIO? I need this to be able to drive a robot with a board that has i7 CPU in the future?

Here is the link for my walking robot and thanks in advance for your comments:

 


Duce robot and Jonnyr liked
Quote
hstaam
(@hstaam)
Trusted Member
Joined: 1 year ago
Posts: 55
2020-06-23 4:06 pm  

Nice!

hj


ReplyQuote
Wolfsbane
(@wolfsbane)
Active Member
Joined: 1 month ago
Posts: 7
2020-06-23 4:28 pm  

Glad you like it, thanks.🙂


ReplyQuote
Spyder
(@spyder)
Prominent Member
Joined: 1 year ago
Posts: 780
2020-06-24 11:43 pm  

@wolfsbane

Very nice indeed !

 

Have you considered a bit of rubber on the bottoms of the feet to give it some traction ?


ReplyQuote
Wolfsbane
(@wolfsbane)
Active Member
Joined: 1 month ago
Posts: 7
2020-06-26 4:29 pm  

@spyder

Yes, I went to Home Depot and I couldn't find something can replace the feet.


ReplyQuote
Spyder
(@spyder)
Prominent Member
Joined: 1 year ago
Posts: 780
2020-06-26 6:36 pm  

@wolfsbane

Maybe something from the tool department ?

Like maybe that stuff they use in the bottoms of tool box drawers ?

Or maybe a piece of those gel pads that you set your cell phone on so it doesn't slide around the dash board of your car


ReplyQuote
robotBuilder
(@robotbuilder)
Reputable Member
Joined: 1 year ago
Posts: 467
2020-06-26 8:24 pm  

Can you post your code?

It seems to work by suddenly flicking a leg forward to overcome friction in which case slippage would be essential?

 

 


ReplyQuote
Jonnyr
(@jonnyr)
Active Member
Joined: 2 months ago
Posts: 11
2020-06-28 5:59 am  

@wolfsbane

What about using old compact discs for the feet. I like the idea of making it out of all recycled materials.


Wolfsbane liked
ReplyQuote
Wolfsbane
(@wolfsbane)
Active Member
Joined: 1 month ago
Posts: 7
2020-07-07 5:16 am  

@robotbuilder

 

Hi, sorry for the late reply, this is the code:

 

#include <Wire.h>
#include <Adafruit_PWMServoDriver.h>
Adafruit_PWMServoDriver pwm = Adafruit_PWMServoDriver();

#define FREQUENCY 50
int servoMidPosition=295;
int stanUpAngelHip=430;
int standUpKnee=95;

void setup() {

pwm.begin();
pwm.setPWMFreq(FREQUENCY);

}

void zeroServoPosition(int servo1,int servo2,int servo3,int servo4,int servo5,int servo6,int servo7,int servo8,int servo9,int servo10,int servo11, int servo12,int servo13,int servo14,int servo15,int servo16)
{
pwm.setPWM(servo1, 0, servoMidPosition);
pwm.setPWM(servo2, 0, servoMidPosition);
pwm.setPWM(servo3, 0, servoMidPosition);
pwm.setPWM(servo4, 0, servoMidPosition);
pwm.setPWM(servo5, 0, servoMidPosition);
pwm.setPWM(servo6, 0, servoMidPosition);
pwm.setPWM(servo7, 0, servoMidPosition);
pwm.setPWM(servo8, 0, servoMidPosition);
pwm.setPWM(servo9, 0, servoMidPosition);
pwm.setPWM(servo10, 0, servoMidPosition);
pwm.setPWM(servo11, 0, servoMidPosition);
pwm.setPWM(servo12, 0, servoMidPosition);
pwm.setPWM(servo13, 0, servoMidPosition);
pwm.setPWM(servo14, 0, servoMidPosition);
pwm.setPWM(servo15, 0, servoMidPosition);
pwm.setPWM(servo16, 0, servoMidPosition);
}

void stanUp(int servo0,int servo3,int servo4,int servo7, int servo8,int servo11,int servo12,int servo15)
{
pwm.setPWM(servo0, 0, 227);
pwm.setPWM(servo3, 0, 410);
pwm.setPWM(servo4, 0, 420);
pwm.setPWM(servo7, 0, 210);
pwm.setPWM(servo8, 0, 227);
pwm.setPWM(servo11, 0, 410);
pwm.setPWM(servo12, 0, 420);
pwm.setPWM(servo15, 0, 210);

}

void stepForward(int servo0,int servo3,int servo4,int servo7, int servo8,int servo11,int servo12,int servo15)
{
pwm.setPWM(servo0, 0, 251);
pwm.setPWM(servo3, 0, 400);
pwm.setPWM(servo4, 0, 410);
pwm.setPWM(servo7, 0, 210);
pwm.setPWM(servo8, 0, 217);
pwm.setPWM(servo11, 0, 410);
pwm.setPWM(servo12, 0, 396);
pwm.setPWM(servo15, 0, 200);
}

void stepTrue(int servo0,int servo3,int servo4,int servo7, int servo8,int servo11,int servo12,int servo15)
{
pwm.setPWM(servo0, 0, 300);
pwm.setPWM(servo3, 0, 410);
pwm.setPWM(servo4, 0, 420);
pwm.setPWM(servo7, 0, 210);
pwm.setPWM(servo8, 0, 227);
pwm.setPWM(servo11, 0, 410);
pwm.setPWM(servo12, 0, 347);
pwm.setPWM(servo15, 0, 265);
}

void secondStepForward(int servo0,int servo3,int servo4,int servo7, int servo8,int servo11,int servo12,int servo15)
{
pwm.setPWM(servo0, 0, 300);
pwm.setPWM(servo3, 0, 400);
pwm.setPWM(servo4, 0, 370);//
pwm.setPWM(servo7, 0, 200);//
pwm.setPWM(servo8, 0, 258);//
pwm.setPWM(servo11, 0, 420);//
pwm.setPWM(servo12, 0, 347);
pwm.setPWM(servo15, 0, 275);
}

void secondStepTrue(int servo0,int servo3,int servo4,int servo7, int servo8,int servo11,int servo12,int servo15)
{
pwm.setPWM(servo0, 0, 300);
pwm.setPWM(servo3, 0, 410);
pwm.setPWM(servo4, 0, 270);//
pwm.setPWM(servo7, 0, 320);//
pwm.setPWM(servo8, 0, 320);//
pwm.setPWM(servo11, 0, 310);//
pwm.setPWM(servo12, 0, 347);
pwm.setPWM(servo15, 0, 265);
}
void loop() {
//zeroServoPosition(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15);
// stanUp(0,3,4,7,8,11,12,15);
stanUp(0,3,4,7,8,11,12,15);
delay (330);
stepForward(0,3,4,7,8,11,12,15);
delay (330);
stepTrue(0,3,4,7,8,11,12,15);
delay (330);
secondStepForward(0,3,4,7,8,11,12,15);
delay (330);
secondStepTrue(0,3,4,7,8,11,12,15);
delay (330);
}

 

 

The slippage is not important, even I would like to avoid it, I think I need to have angels instead of straight legs.


ReplyQuote
Wolfsbane
(@wolfsbane)
Active Member
Joined: 1 month ago
Posts: 7
2020-07-07 5:17 am  

@spyder

 

Thanks, I found a light rubber, I will use it soon and update you with the results.


ReplyQuote