View unanswered posts | View active topics It is currently Sun Mar 01, 2015 4:08 pm

Reply to topic  [ 4 posts ] 
HOLDBRAKE command in ROBOTC?????? 
Author Message

Joined: Fri Aug 03, 2012 10:52 am
Posts: 2
Post HOLDBRAKE command in ROBOTC??????
Can somebody gelp me with this.

I need to hold the weight of two nxt motors which are in an arm with one motor and i need to perform presice movement. So i need ot use holdbrake command..Is it available in robotc..or suggest me another program which can do this task ...Thank you.

Fri Aug 03, 2012 11:04 am
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 662
Post Re: HOLDBRAKE command in ROBOTC??????
I believe the solution for this is two fold; settting the bFloatDuringInactiveMotorPWM to false should prevent the motor from coasting when no power is applied (this is default). The other is gearing and creates a bit of a dilemma; by setting a larger gear on the control motor (can't think of a better way to describe it) you will help with the torque issue and ensure that the motor stays put under the weight of the load, but at the cost of precision (it will speed up the movement of the attachment). Conversely, you can attach a larger gear on the attachement relative to the control motor. This will increase your precision but also increase the likelyhood that the control motor will be moved by the torque of the load.

Check out our Blog! And our Facebook page!
Need help? Take a look at our Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody

Fri Aug 03, 2012 11:57 am

Joined: Fri Aug 03, 2012 10:52 am
Posts: 2
Post Re: HOLDBRAKE command in ROBOTC??????
Thanks JohnWatson for your reply...But i think i have tested the condition bFloatDuringInactiveMotorPWM(motor1) = False ..but it didn't work out quite well..i'll post the code soon as i am not accessible to it now.

Fri Aug 03, 2012 12:25 pm

Joined: Tue Feb 28, 2012 3:10 pm
Posts: 197
Post Re: HOLDBRAKE command in ROBOTC??????
On R/C rock crawlers, the use of a worm gear serves this purpose. It provides a large gear reduction for strength, as well as prevents the load from propagating back through to the motor. I haven't tried this myself on LEGOs, but I think it would work well and would be my first attempt if I needed it.

Mike aka Spiked3

Fri Aug 03, 2012 1:05 pm
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: Rhombus 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.