Go Down

Topic: Can someone point me in the right direction? (Read 596 times) previous topic - next topic

Bluedog24

I'm building and obstacle avoidance robot out of my RC car. The car has 1 servo and a motor connected to a TEU-101BK speed controller. The sensors are 3 GP2D12.

Questions:
How do I control a servo? (I've seen the example with the pressure sensor)
How do I control the motor?
How do I get the sensors to work with everything?
Is there a special pin the servo and speed controller go in?
The speed controller has a power wire that goes to the receiver, would that be enough power?

Thanks

Scott Baker

Start here and work your way through the examples. A lot will make sense then.

http://www.instructables.com/id/Arduino-Expermentation-Kit-How-to-get-Started-wi/

Groove

Quote
How do I control a servo?

You read about the servo library.
http://arduino.cc/en/Reference/Servo

Quote
How do I control the motor?

Like a servo.

Quote
How do I get the sensors to work with everything?

First, you define what "work" is.

Quote
Is there a special pin the servo and speed controller go in?

No, any of the digital pins will do.
Quote
The speed controller has a power wire that goes to the receiver, would that be enough power?

Enough power for what?
Per Arduino ad Astra

Sgo

Hello,
First, sorry but my English is very weak.
I want to control a motor with the TEU-101bk and do not know how to control the rotation.
Can you help me?

Thanks from Spain.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy