ROBOTC.net forums
http://robotc.net/forums/

how do you use a rcx light on a nxt
http://robotc.net/forums/viewtopic.php?f=1&t=5460
Page 1 of 1

Author:  hunterpj [ Wed Feb 06, 2013 6:18 pm ]
Post subject:  how do you use a rcx light on a nxt

I am trying to use a rcx light that is connected to a nxt with a rcx to nxt cable but i cant figure out how to turn the light on. Does anyone know how to use it? Thanks.

Author:  hunterpj [ Fri Feb 08, 2013 2:25 pm ]
Post subject:  Re: how do you use a rcx light on a nxt

Does anyone know how to make it work? I have the rcx to nxt cable also.

Author:  mattallen37 [ Fri Feb 08, 2013 2:38 pm ]
Post subject:  Re: how do you use a rcx light on a nxt

Attempt to run that "motor". The "speed" value will control the brightness. Make sure and PID/encoder control is turned off. "Direction" is irrelevant.

Author:  mightor [ Fri Feb 08, 2013 4:44 pm ]
Post subject:  Re: how do you use a rcx light on a nxt

mattallen37 wrote:
"Direction" is irrelevant.

Not completely true. If you run it with a negative speed, you may end up sucking all the light out of the room and into the NXT.

= Xander

Author:  JohnWatson [ Fri Feb 08, 2013 5:31 pm ]
Post subject:  Re: how do you use a rcx light on a nxt

I'm not familiar with the RCX light (or the RCX system in general, being completely honest), but if they used standard LED's then this guide on Dimming an LED using PWM (from our Arduino section of the wiki) may be useful if you want to learn how exactly the motor command is able to control an LED (the motor command sends out a PWM signal as well). Please correct me if the RCX light is not set up this way.


mightor wrote:
mattallen37 wrote:
"Direction" is irrelevant.

Not completely true. If you run it with a negative speed, you may end up sucking all the light out of the room and into the NXT.

= Xander


So if we push a negative value to one light, and a positive value to another light connected to the same NXT, point the second light at a solar panel...Infinite energy? We would need to pick up some flux capacitors from Tosche Station to power the cold fusion reactors, of course. :D

Author:  mattallen37 [ Fri Feb 08, 2013 5:45 pm ]
Post subject:  Re: how do you use a rcx light on a nxt

The "RCX Light" uses an incandescent light bulb.

Author:  amcerbu [ Fri Feb 08, 2013 7:24 pm ]
Post subject:  Re: how do you use a rcx light on a nxt

mightor wrote:
mattallen37 wrote:
"Direction" is irrelevant.

Not completely true. If you run it with a negative speed, you may end up sucking all the light out of the room and into the NXT.

= Xander

The secret behind Dumbledore's deluminator!

Author:  hunterpj [ Fri Feb 08, 2013 8:44 pm ]
Post subject:  Re: how do you use a rcx light on a nxt

Thanks for your help, I don't have it with me so ill have to wait until monday to test.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/