All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > General Electronics Chat

Notices

General Electronics Chat Discussion forum for general chat about anything electronics related, including asking questions about material in the All About Circuits E-book, Worksheets, and Videos.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 08-02-2012, 12:47 AM
mastertiger mastertiger is offline
Junior Member
 
Join Date: Jul 2012
Posts: 24
Default change direction of servo motor

how can i change direction of servo motor ?
i using pic 16f877a to control it
i use normal pin not pwm pin
i can easy control it in one direction
i need to change direction
thanks


Reply With Quote
  #2  
Old 08-02-2012, 12:53 AM
BMorse's Avatar
BMorse BMorse is offline
Senior Member
 
Join Date: Sep 2009
Location: Vermontville, Michigan (GMT -5)
Posts: 2,662
Blog Entries: 15
Default

well, if you are already "controlling" the servo one way it should not be hard to change the timing to move it the other way, assuming you are talking about RC Servos, since you did not provide any motor specs or circuit schematics or even code for that matter so people could easily understand what it is you are talking about.....
__________________
There is no spoon -Neo-
Disclaimer: The example programs,circuits, projects and information I provide or post on this web site are for educational purposes only. By copying anything from this site posted by me, you agree to the "as is" nature of the programs, circuits, information and to the statements listed in this disclaimer.No warranty or liability is expressed or implied. Working with AC /DC voltages can be dangerous and even deadly. Proceed at your own risk!
Reply With Quote
  #3  
Old 08-02-2012, 01:12 AM
mastertiger mastertiger is offline
Junior Member
 
Join Date: Jul 2012
Posts: 24
Default

void main()
{
int x;
trisb=0;
trisd=0;
portb=0;
portd=0;

for(x=0;x<4;x++)
{
PORTB.F7 = 1;
Delay_us(1000);//1ms Delay
PORTB.F7 = 0;

Delay_us(1000);

}
}

i used portb pin 7 as output for signal wire of servo motor
this loop move motor on one direction
i use servo motor sys s3006
Reply With Quote
Reply   Post New Thread

Tags
, , ,


Related Site Pages
Section Title
Worksheet Servo motor systems
Textbook Selsyn (synchro) motors : Ac Motors
Textbook Other specialized motors : Ac Motors
Textbook Tesla polyphase induction motors : Ac Motors
Worksheet Oscilloscope trigger controls
Textbook Stepper motors : Ac Motors
Textbook Reluctance motor : Ac Motors
Textbook Synchronous Motors : Ac Motors
Textbook Introduction : Ac Motors
Worksheet DC motor theory


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't figure this out! Reverse motor direction. amoore67 The Projects Forum 5 03-28-2012 12:42 PM
voltage up & down servo motor control circuit tahirkn The Projects Forum 1 06-06-2011 03:56 PM
Need advice - reversing DC motor direction and timer ChrisN The Projects Forum 4 04-22-2011 10:49 PM
help : control direction of 12v dc motor using potential resistor Iraways Homework Help 6 03-09-2011 04:06 PM
Servo motor sara--22 The Projects Forum 1 01-31-2009 06:44 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:32 PM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.