Pages: [1]   Go Down
Author Topic: Problem in troubleshooting RHEX-hexapod robot like BOSTONDYNAMICS  (Read 1204 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i attended a workshop on RHEX 6 legs autonomous robot like the one in BOSTONDYNAMICS....infact very lowtech nd basic one....

i assembled all the parts as shown in the ppt....uploaded the codes for master ARDUINO NG micro-controller board and Slave SERVO motor controller that they given with the all the ENCODER sensors are working which count no of ticks.....the arduino board is working with PREloaded LED_BLINK program.....but SERVO motors are not starting at all....

i should specify that i m not a hardcore robotics guy...m a student....dont have any basics of microconroller/microprossesor/ARDUINO_IDE....

pls help uploading files is not allowed as they r saying UPLOAD FOLDER FULL....PLS CONTACT soon as i manage i'll upload the codes for ARDUINO NG Microcontroller board as well as slave board that i used in this project/....


Seattle, WA USA
Offline Offline
Brattain Member
Karma: 638
Posts: 50304
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Not a link in that thread, and no code. If you need help, fix that.

Offline Offline
Tesla Member
Karma: 145
Posts: 9686
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Make sure you have a seperate power supply for the servos (with grounds connected between the arduino and power supply). Below is some servo test code you can use with the serial monitor to test a servo connected to the arduino.

// zoomkat 10-14-11 serial servo test
// use a microseconds value like 1500 in serial monitor
// for IDE 0022 and later
// Powering a servo from the arduino usually DOES NOT WORK.

String readString;
#include <Servo.h>
Servo myservo;  // create servo object to control a servo

void setup() {
  myservo.writeMicroseconds(1500); //set initial servo position if desired
  myservo.attach(7);  //the pin for the servo control
  Serial.println("servo-test-22"); // so I can keep track of what is loaded

void loop() {
  while (Serial.available()) {
    char c =;  //gets one byte from serial buffer
    readString += c; //makes the string readString
    delay(2);  // allow buffer to fill with next character

  if (readString.length() >0) {
    Serial.println(readString);  //so you can see the captured string
    myservo.writeMicroseconds(readString.toInt()); //convert readString to number for servo
    readString=""; //empty for next input


Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Pages: [1]   Go Up
Jump to: