View unanswered posts | View active topics It is currently Sun May 27, 2018 4:08 am

 Page 1 of 1 [ 6 posts ]
 Print view Previous topic | Next topic
Servo motor turn measuring
Author Message
Rookie

Joined: Fri Oct 17, 2008 8:08 pm
Posts: 2
Servo motor turn measuring
Hi,

I have connected ultra sonic sensor to one of servo motors, and what I want to do is to spin sensor in 90 degrees and back as precise as possible, but the wire (between main board and sensor) because of friction with the main board makes an error in sensor rotation. Does any one know solution for that, maybe there is way to measure angle of servo motor?

Thank you!

Fri Oct 17, 2008 8:13 pm
Rookie

Joined: Sun Mar 02, 2008 9:41 am
Posts: 25
Re: Servo motor turn measuring
what exactly do you mean by "makes an error in sensor rotation"?

the servo motor provides 360 ticks per full rotation. so if you move the motor 90 ticks left or right you ll have turn 90 degrees.

To turn your whole robot 90 degrees more calculations are needed but the concept still holds.

somebody had made a post here with a function regarding rotation (about 6 months ago), it would help u to read this and understand the whole concept,, i think anyway.

thanks,
giannis

Mon Oct 20, 2008 4:55 am

Joined: Wed Jan 24, 2007 10:42 am
Posts: 620
Re: Servo motor turn measuring
If this is an FTC question, you need to ask this in the FTC area of the forums or you will not receive proper support.

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net

Mon Oct 20, 2008 1:24 pm
Guru

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Re: Servo motor turn measuring
why do FTC members get proper support but no regular / general users?

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)

Mon Oct 20, 2008 2:31 pm
Professor

Joined: Fri Sep 19, 2008 1:22 am
Posts: 200
Re: Servo motor turn measuring
Tim wasn't talking about good support v/s bad support. He as talking about getting different answers. For example, if he is using pure LEGO parts then his question requires an answer that assumes he is using the LEGO motors as servos. However, if he is using a Tetrix robot which has a real servo controller plugged into the NXT then his question requires an answer that assumes he is talking about actual servos instead of LEGO motors. It isn't about quality of service. It is about the context of the question.

_________________
Jeff McBride
Benson Robotics Club

Mon Oct 20, 2008 3:35 pm
Guru

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Re: Servo motor turn measuring
thx, then I'm relieved... ;)

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)

Mon Oct 20, 2008 5:13 pm
Display posts from previous:  Sort by
 Page 1 of 1 [ 6 posts ]

#### Who is online

Users browsing this forum: No registered users and 3 guests

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ ROBOTC Applications    ROBOTC for LEGO MINDSTORMS       Third-party sensors    ROBOTC for CORTEX & PIC    ROBOTC for VEX IQ    ROBOTC for Arduino    Robot Virtual Worlds    Multi-Robot Communications    Issues and Bugs Competitions & Partners    Mini Urban Challenge    CS2N Robot Virtual Worlds Competitions       VEX Skyrise Competition 2014-2015       VEX Toss Up 2013-2014       FTC Block Party! 2013-2014    Competitions using VEX - BEST, TSA, VEX, and RoboFest!    FTC Programming    RoboCup Junior and Other ROBOT Competitions Virtual Brick Robotics Discussions    General Discussions    Project Discussions Off-Topic ROBOTC Forum & ROBOTC.net Suggestions/Feedback    ROBOTC Forums Suggestions/Comments    ROBOTC.net Suggestions/Comments       NXT Programming: Tips for Beginning with ROBOTC       VEX Programming: Tips for Beginning with ROBOTC    2013 Robotics Summer Of Learning       VEX Toss Up Programming Challenge       FTC Ring It Up! Programming Challenge    International Forums       Spanish Forums          ROBOTC for MINDSTORMS          ROBOTC for VEX       French Forums          ROBOTC pour Mindstorms          ROBOTC pour IFI VEX       Japanese Forums （日本語のフォーラム）       German Forums    2015 Spring Carnival Event    PLTW (Project Lead The Way)    Robotics Merit Badge    2014 Robotics Academy Summer of Learning