Let's Make Robots!

Hc-SR04 ultrasonic sensor advice needed

Hi Im new to programming ini general, Ive been through the sample codes in "getting started with Arduino" and now Im trying out some sensors I have here. The first on eis the HC-SR04 ultrasonic I have it working using this code,

 HC-SR04 Ping distance sensor]
 VCC to arduino 5v GND to arduino GND
 Echo to Arduino pin 13 Trig to Arduino pin 12
 More info at: http://goo.gl/kJ8Gl

#define trigPin 12
#define echoPin 13

Using NDS/NDSI battery in robotics

Hi I have a few NDs/Dsi batteries lying about is it possible to use them to power servos/arduino if they are connected together as they are only 3.7v 1000mha but are very light.



Dagu quadbot and Dagu spider help needed.

Hi I got a Dagu quadbot and a Dagu spider controller and am trying to adapt the quaruped2 code to make it move but I havent had much success,What does FLHservo,FLKservo mean ? I get the front left bit and I think I have assigned them the correct pin in the code as follows,

#include <Servo.h>
#include "Constants.h"
#include "IOpins.h"

// define global variables and servos here

int Time=100;
int LShift=350;
int RShift=350;
int Raise=700;