Go Down

Topic: Kinect/Ardunio/Processing and 5 Motors (Read 11962 times) previous topic - next topic

uncleseano

Well the AC i have here has a switch on the back for 4.5,6,7.5,9,12 etc (voltage) and one to switch the +/-...For a AC that can go upwards of 12 volts I'm finding it hard to believe that it can't power one RC Servo

Grumpy_Mike

Quote
I'm finding it hard to believe that it can't power one RC Servo

Then you know little about electricity.
There are two things and voltage is only one of them. Most servos work on 6.5V but you can do with 5V at a pinch.
However, the other thing is that the power supply has to be able to delver the current asked of it, if it is asked to supply too much then the voltage collapses and everything either over heats or shuts down.

Quote
Well the AC i have here has a switch on the back for 4.5,6,7.5,9,12

I think you will find that it is DC or else you have more work yo do turning it into DC

cpt_mellow



Im having great difficulty getting this to work. I'm still stuck on trying to get the kinect to power 5 servo motors. I havent even gotten processing to communicate with the arduino. Any tips?

You need to do all of this:

  • Control 1 servo with arduino (sweep example) (Arduino -> Servo)

  • Control 5 servos with arduino (sweep example + arrays) (Arduino -> Servos)

  • Make kinect do something interesting on computer (In processing, println("servos should be moving right now"); This is probably the hardest step). (Kinect -> Processing)

  • Make processing talk with arduino (When it sends "hello" the arduino flashes an LED) (Processing -> Arduino)

  • Make kinect talk to arduino via processing (Kinect -> Processing -> Arduino)

  • Kinect -> Processing -> Arduino -> Servos



Which are you having trouble with? Give specific details so that we may help.


Hi

I am new user here. I am trying to do the same thing for my senior project and I am having trouble making the servos move when I move in front of the kinect. I am able to see the processing window and the code from what I believe compiles without any issues. Can you please let me know what could be done or any tips would be helpful?

Thanks is advance!

Grumpy_Mike

So find out where it is going wrong by using the serial print to send messages for debugging.
Just write an arduino sketch to move a servo to check you have that bit right first.
Just because code compiles does not mean it will do what you hope it will do, it just means the compiler could make the code do something.

WizenedEE




Im having great difficulty getting this to work. I'm still stuck on trying to get the kinect to power 5 servo motors. I havent even gotten processing to communicate with the arduino. Any tips?

You need to do all of this:

  • Control 1 servo with arduino (sweep example) (Arduino -> Servo)

  • Control 5 servos with arduino (sweep example + arrays) (Arduino -> Servos)

  • Make kinect do something interesting on computer (In processing, println("servos should be moving right now"); This is probably the hardest step). (Kinect -> Processing)

  • Make processing talk with arduino (When it sends "hello" the arduino flashes an LED) (Processing -> Arduino)

  • Make kinect talk to arduino via processing (Kinect -> Processing -> Arduino)

  • Kinect -> Processing -> Arduino -> Servos



Which are you having trouble with? Give specific details so that we may help.


Hi

I am new user here. I am trying to do the same thing for my senior project and I am having trouble making the servos move when I move in front of the kinect. I am able to see the processing window and the code from what I believe compiles without any issues. Can you please let me know what could be done or any tips would be helpful?

Thanks is advance!

My same advice that you quoted applies to you, too. Go incrementally (or take stuff out incrementally) so you can isolate any problems you may have. If you made the processing program print out when the servos should be moving and the arduino flash an LED when they should be moving you can narrow down where the problem is very quickly.

Go Up