Author Topic: servo motor connection with the pic  (Read 2253 times)

0 Members and 1 Guest are viewing this topic.

Offline houssemTopic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
servo motor connection with the pic
« on: October 05, 2011, 02:39:47 PM »
hi i just have a simple question about the $50 Robot ; in this tutorial the first servo is connected with pin2 (PD0  rxd)  . how can this servo be controlled through this input pin , i though that PD0 (RXd) is a receiver that is used to change data with the computer???  thanks

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: servo motor connection with the pic
« Reply #1 on: October 05, 2011, 03:27:25 PM »
Hi,

[...] the first servo is connected with pin2 (PD0  rxd)  . how can this servo be controlled through this input pin , i though that PD0 (RXd) is a receiver that is used to change data with the computer???  thanks
Many controller pins have several functions and their exact behaviour is decided in the software.
This pin can be used as RXD, but can be used as a generic I/O pin as well (not at the same time of course).

Look up the datasheet and study the parts describing I/O functions.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline houssemTopic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
Re: servo motor connection with the pic
« Reply #2 on: October 05, 2011, 03:32:51 PM »
Thanks
« Last Edit: October 05, 2011, 04:32:07 PM by houssem »

 

SMF spam blocked by CleanTalk