View unanswered posts | View active topics It is currently Thu Dec 05, 2019 4:31 pm

Reply to topic  [ 2 posts ] 
NXTServo-V2 and DGPS Problem 
Author Message

Joined: Sun Sep 25, 2011 1:52 pm
Posts: 16
Post NXTServo-V2 and DGPS Problem
Dear all,

I have been having a bit of a problem for a while now and still haven't figured out how to fix it! I am using RobotC 3.59. I am trying to control a DC motor with the NXT. I am using the NXTServo-V2 and the motor is connected to an ESC (Electronic Speed Control) which is connected to one of the channels in the NXTServo. I am able to control the motor quite fine, but here is the twist: when I connect the DGPS ( dexter industries) to any of the sensor ports, the motors starts to go crazy! As soon as I plug the GPS in, the motor stops working, it is like the GPS is consuming all the power going to the NXTServo. The weird thing is that the code I am running does not have anything related to the gps, I constructed this code just to test the behavior of the motor.

The main code I am working on involves the DGPS and the NXTServo together, and I have the exact problem. Also, I have noticed that if the GPS loses signal the motor starts to go crazy by spinning faster or slower or even backwards sometimes knowing that I am only giving a command to the NXTServo to hold the motor at a constant speed.
I really appreciate any ideas you guys might have, I've been struggling with this issue for a long time now and I am starting to get frustrated.
Just to note, I have loaded NXT-G on the same NXT and put together a similar code and everything works just fine! Any ideas why the whole set-up isn't working with Robotc but is working with NXT-G?!
Thank you!

Sun Jun 30, 2013 11:07 am
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: NXTServo-V2 and DGPS Problem
I think you need to figure out the power usage of both these sensors and see how it adds up. This really looks to me like an electronic issue.

= Xander

| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]

Mon Jul 01, 2013 12:11 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

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

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.