Author Topic: How to connect a servo with microcontroller p.s I am a beginner :P  (Read 2011 times)

0 Members and 1 Guest are viewing this topic.

Offline MBJTopic starter

  • Jr. Member
  • **
  • Posts: 10
  • Helpful? 1
My robotics kit is not here yet but
if I have a microcontroller and I have servos, batteries etc.
How should I connect them? I mean how would I know that this is the right way to connect them or how would I know the difference in the input and output ports.
and is it possible that I bought a microcontroller and a servo from different places and the servo is unable to connect because its pin (or wire or lead) is of different kind and the port on the microcontroller is of different kind? is it possible?

Thank you!!  :)
« Last Edit: February 10, 2015, 12:24:03 PM by MBJ »

Offline Cycloned

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 1
Re: How to connect a servo with microcontroller p.s I am a beginner :P
« Reply #1 on: January 18, 2015, 05:12:56 AM »
Servos have 3 leads coming out of then. The black or brown one is ground, the red is positive and the white or orange is input to the servo. So just just connect the first 2 to 5V and Gnd and the 3rd to any output pin on the microcontroller.

Offline Ibaeni

  • Jr. Member
  • **
  • Posts: 28
  • Helpful? 4
Re: How to connect a servo with microcontroller p.s I am a beginner :P
« Reply #2 on: January 19, 2015, 04:01:43 PM »
Could you provide a link or details about what kit/microcontroller/servos you bought?

Offline MBJTopic starter

  • Jr. Member
  • **
  • Posts: 10
  • Helpful? 1
Re: How to connect a servo with microcontroller p.s I am a beginner :P
« Reply #3 on: January 20, 2015, 01:22:07 PM »
Thank You Sir Cycloned :)

Offline MBJTopic starter

  • Jr. Member
  • **
  • Posts: 10
  • Helpful? 1
Re: How to connect a servo with microcontroller p.s I am a beginner :P
« Reply #4 on: January 20, 2015, 01:26:49 PM »
Sir Ibaeni, I haven't bought the kit actually but those were the parts (e.g servos, batteries, etc.) and I bought them from a shop within my country through a relative.

 


Get Your Ad Here