Skip navigation.

So In Conslusion...

The Official Big Eclipse 'Geek' Musings

[Programming] RFID NXT Control

, , , , ,

So i had a chance to finally play around with the RFID sensor. Yeah, yeah! It is certainly exciting. The RFID sensor was easy to implement and use, once imported. Importing was easy as well, i simply used the built-in block 'Import and Export' wizard.

With that in mind, here is a simple program that illustrates how to control the NXT with RFID.




Start out by displaying a message. Then, implement the RFID sensors and connect them with Data Wires. Pass the value from the RFID sensors to Data Wires on a Compare Block that will determine the state in which the robot is in, i.e., 'Stop' or 'Go'. We then connect the Data Wires to a switch which contains our movement. The movement in this case is simple, just a 'jog' forward, say something ("Bravo", in this case), and then execute a sharp left turn. That's about that.

How It Works: Run the program, and then pass the RFID transponder before the RFID sensor. Once read, the robot does his little run and turn move and then stops and awaits further instructions.

Clearly, RFID on NXT has infinite possibilities. We can have the robot carry out various tasks, use multiple transponders, 'go here, do this', identify objects using RFID, etc. Let your imaginations go wild with it. The RFID sensor does not disappoint and i am eager to delve deeper into more experiments with robotics and RFID.

Book Review: LEGO® MINDSTORMS® NXT® Power Programming RFID & Sound

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

December 2009
S M T W T F S
November 2009January 2010
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31