nxt-python is a python driver/interface for the Lego Mindstorms NXT robot.ghans wrote: You can easily program the R-Pi in a high-level language and let it interface with the original NXT firmware / language or a custom combination !
The R-Pi + LEGO motors / sensors cobination would be a real enabler for me and hopefully other people then.
I'm very interested in this and will be even more so when it's up and running on the Pi.robthebloke wrote:I've actually rewritten Anders mindstorms NXT bluetooth C++ library (and fixed a load of bugs, updated the code to include the newer colour sensor, added xbox 360 joypad support, and added the ability to write 24bit images).
I was wondering about using the older RCX motors/sensors with the GPIO. They have 2 pin connections, so the motor is simply +/- or -/+ (would require a bit of supporting electronics - I'm waiting for the 4th MagPi which discusses ways of connecting motors to the GPIO). The touch sensors are simply switches, so a 10k resistor is all that is required. The problem is the light sensors which are variable resistors, and hence provide an analog signal, whereas the GPIO works with a digital signal.Hexark wrote:I've had a first thought of this too. I have a much older robotic, the RCX. I'm more interested in connecting the sensors(motors, light sensor, touch sensor) to the GPIO and doing a simple programme for it. But the hard part is, how much voltage can each sensor take in?
Users browsing this forum: No registered users and 3 guests