rc servo controller problem

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
nuwan5213
Posts: 82
Joined: Thu Jul 29, 2010 10:03 am
Location: sri lanka
Has thanked: 24 times
Been thanked: 4 times
Contact:

rc servo controller problem

Post by nuwan5213 »

Dear Friends,

I used SR-402p type rc motor and its nameplate says it is 180 degree motor.
my problem is i cannot get that range with my flowcode.
it only works 90 degree for me.
i used flowcode v4 example file and same thing happaning.

what is the problem????
im new to this .please help!!!!!!!!!!!! :(
Attachments
1. Single servo control.fcf
(6 KiB) Downloaded 291 times
Electronics for better world.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: rc servo controller problem

Post by medelec35 »

Hi nuwan5213,
do you have the data sheet for servo motor you can post please?
I have check pulse width on hardware for flowchart you have posted.
With An0 at 0V pulse width is 918.5 uS = 0.9185mS
With An0 at 5V pulse width is 2.22mS
Time between pulses is 20.5mS
This appears to be correct for a standard Servo motor.

Looking at data sheet, we maybe able to determine if the pulse is adequate or not?

Have you got access to a scope so yo can check pulse output width from B7?

Martin
Martin

nuwan5213
Posts: 82
Joined: Thu Jul 29, 2010 10:03 am
Location: sri lanka
Has thanked: 24 times
Been thanked: 4 times
Contact:

Re: rc servo controller problem

Post by nuwan5213 »

Dear Martin,

1)i do not have ossilescope.
2)also i dont have specification data sheet, ITS MODEL No. is SR-402P.

i googled but cannot find data sheet.

anyway,

could you please advise if i want to adjust duty cycle of my program ,how can i do?
then i can do some trials.
Thank you for your help
regards,
nuwan. :)
Electronics for better world.

Post Reply