Sign in to follow this  
Followers 0
CopMike

Rookie Mindstorms question

11 posts in this topic

Hi all!

I´m really really new to this so I will show my ignorance here in public :cry_happy:! I need to have my NXT to perform these easy tasks:

* Have a Power Functions motor to turn a number of 360´s - stop for a while - and then turn back to starting position.

* Work as a switch for getting light-emitting diodes turned on/off - two different set of LED´s at different times.

How do I go about it?

Thanks in advance / Mindstorms Rookie Copmike

Share this post


Link to post
Share on other sites

@ CopMike: Have you seen Artifex Creations' Brick Lights?

P.S. Thanks for donating all of the wonderful Unimog parts for the TSATS contest winners! :classic:

Share this post


Link to post
Share on other sites

I´m really really new to this so I will show my ignorance here in public :cry_happy:! I need to have my NXT to perform these easy tasks:

* Have a Power Functions motor to turn a number of 360´s - stop for a while - and then turn back to starting position.

* Work as a switch for getting light-emitting diodes turned on/off - two different set of LED´s at different times.

How do I go about it?

Power functions motors don't have any position feedback, so there is no way to know for sure how many times they have turned. You'd have to program the NXT to just run for a certain number of seconds, but no matter how careful you are it would off after a few cycles and would not return to starting position. With a NXT motor you can command a specific number of degrees of rotation so what you are suggesting would be easy.

As long as you can convert the LEDs to plug into a NXT connector through a converter cable, turning them on and off at whatever time you like should be pretty easy. You could probably just program them as motors and tell them to go to 100%.

Share this post


Link to post
Share on other sites

Thanks for the input guys - I really appriciate it :thumbup:! Now I just need to understand it also :laugh:!

* Which NXT motor should I get instead of the PF one?

This one- 53787.jpg53787

or this one 9842-1.gif9842

* I´ll need to read through your supplied link again (and again) JopieK to get it, but I also wonder what I need to program it. So far I only have a black NXT :cry_sad:!

Again I apoligize for the rookie questions!

Share this post


Link to post
Share on other sites

I would go for the 53787, because that are the most recent ones from the nxt 2.0 set.

Edited by legolijntje

Share this post


Link to post
Share on other sites

9842@ CopMike: There is no difference between the two NXT motors you found, just as there is no difference between these Power Functions motors:

58121c01 and 8882 are both "Power Functions XL Motors". Bricklink lists both numbers, although Shop.Lego.com only lists the 8882.

8882-1.gif

58120c01 and 8883 are both "Power Functions M-Motors". Bricklink lists both numbers, although Shop.Lego.com only lists the 8883.

58120c01.gif

You can get the 53787 "Electric, Motor - NXT" or the 9842 "Interactive Servo Motor" -- they're the same! :classic: Shop.Lego.com sells the 9842.

53787.jpgcontrolled_chaos_same_difference_oxymorons_bumper_sticker-p128165991289874502z74sk_400.jpg:laugh:

Edited by DLuders

Share this post


Link to post
Share on other sites

* Which NXT motor should I get instead of the PF one?

This one- 53787.jpg53787

or this one 9842-1.gif9842

The motors are the same so just get whichever is easier for you to find. They will have a wire that plugs directly into the NXT and is capable of tracking number of revolutions.

* I´ll need to read through your supplied link again (and again) JopieK to get it, but I also wonder what I need to program it. So far I only have a black NXT :cry_sad:!

The color of the NXT doesn't matter either. They are both the same, just a different color. In fact, the black is much more rare and collectible!

To program it you need the NXT Software with comes with the NXT. If you don't have the software, you'll have to buy it on Bricklink or try to get a replacement from LEGO customer service..

To connect your lights you will need this adapter cable.

I am by no means a NXT expert. In fact, I only bought the NXT, built the first model, and then sold it. Even so, I'm pretty sure I know how to program what you are trying to do. My point here is that the language is really easy and all you need to do is follow the instructions for one or more of the sample models and you'll know what to do.

Share this post


Link to post
Share on other sites

@ CopMike: If you don't have the Lego Mindstorms NXT software, you can download the Lego CD-ROM images on this Brickfactory webpage. The zip files will have the same files as the original CD-ROMs. :classic:

cd.gifcd.gif

Edited by DLuders

Share this post


Link to post
Share on other sites

Thanks everyone for the useful information :wub:! Motors and stuff ordered, and program downloaded.

I´ll be back with updates (and maybe for sure more stupid questions) :laugh:!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.