Let's Make Robots!

CNC electronics

I'm in the process of building a CNC machine right now and would like a little help from the experience ones.  Right now I have $250 saved up and counting.  I'm trying to figure out what to do about stepper motors, power supply, and motor controller.  I didn't know if it be best to just buy a package that have it all in one and what would you recommend.

Determine servo strength

Could we get a tutorial on servos?   I know I seen somewhere on here that explain how  to determine how much a servo can lift and also how much it can lift by the length to the next servo.  I'm not sure if its CTC was the one but could you please explain it all.  I would love to know this as well as other on this site and viewers also.  This would be a major issues for alot I'm sure.  thanks

74hc595 with 7 segment dispaly not working right

For some reason I can't get my 7 segment dispaly and 74hc595 shift register to work right on my arduino.  I can get the segment to turn on one at a time.  When I try to do numbers it just doesn't work right?  I have clock pin, and data pin to the the arduino. It will try to light up my numbers but will be missing some segments. It will also skip numbers completely for example try to show 1, 4, and 6 and skip the rest. I tried putting a 0.1 cap on the latch also.  I have 220 resister running from each pin of the display to the shift register.  Here my code:

How do you get your bot to choose the right direction?

I have been trying everything to figure away to get my robot to choose the direction that have the greater distance.  I can't seem to figure out whats wrong.  I tried to figure something out.  One time I wrote it different and it would wait till it got to the last case and turn right no matter what. This is my code. 

Break dancing Robot

Manoi humanoid break dancing.

 

Embedded video: 

Giant Robot Hand

I just came across this and thought it was a bit cool.

Embedded video: 

My switch/case statement isn't working?

Ok I'm trying to to use the switch/case statement but can't seem to figure out what is wrong with it.  I thought I was doing everything right, cause I looked around.  I'm using an Arduino.

 

void mydirections (int myAngle, int distance)
{
  switch(myAngle)
 
  case 10:
 
  if (distance < range)
  {
    right();
    break;
  }

  case 20:

  if (distance < range)

{

right();

break;

}

  default:
  forward();
  break;
}

This is just a prototype for my code. I have it right now avoid object about 2 1/2 inches away. This is my first robot and first time actually really programming so … Read more

What wrong with my code???

#include <Servo.h>

Servo myservoL;
Servo myservoR;
int myservo = 2;
int myAngle;
int pulseWidth;

void setup()
{
  pinMode(myservo, OUTPUT);
  myservoL.attach(9);
  myservoR.attach(10);
}

void servoPulse(int myservo, int myAngle)
{
  pulseWidth = (myAngle *10) + 600;
  digitalWrite(myservo, HIGH);
  delayMicroseconds(pulseWidth);
  digitalWrite(myservo, LOW);
}

Wanting to hook up batteries to 3 servos

I want to hook up 3 servos to some batteries.  Since it show it operate at 4.8v and 6v, that mean I need 6v to get the most out of one.  Does that also mean I just need 6v for altogether to make them all move.  They will all be moving at the same time.  I figure I would need more V then that but maybe it would have to do with mah.  Could someone explain how it able to all three use the same power source.  Also does having more mah mean the battery last longer or make it stronger??? thanks in advance.