

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Semester 1 Examinations 2010/
Module Code: INTR
School: Electrical and Electronic Engineering
Programme Title: Bachelor of Engineering in Electronic Engineering
Programme Code: EELXE_7_Y
External Examiner(s): Dr. A. Donnellan, Mr. I. Kennedy Internal Examiner(s): Donal O‟Donovan
Instructions: Answer ALL questions
Duration: 2 hours
Sitting: Autumn 2011
Requirements for this examination:
Notes to Candidates: Please check the Programme Title and the Module Title to
ensure that you have received the correct examination paper. If in doubt please contact an Invigilator.
Requirements: Pre-built LEGO Mindstorms NXT Robot.
LabVIEW package with the LEGO NXT extension. LabVIEW project containing NXT state machine template. The notes on the Blackboard facility MAY be used during the examination.
Page 2 of 2
(a) Display the repeating number sequence 2, 4, 6, 8, 10, 12 on the NXT screen. Each number should display for 1 second. [8 %]
(b) Display the text “Hello” on the NXT screen following the left button being pushed. After “Hello” is displayed, motor A should activate for 3.5 seconds at 50 % power and then stop. [7 %]
(a) Measure the light from the light sensor of the NXT and display the result on the screen of your PC using a chart. [10 %]
(b) Use the Robot bump switch to activate and de-activate the „Generate Light‟ option of the light sensor. [5 %]
(c) If the distance sensor measures an object closer than a specified threshold value AND the „Generate light‟ option from (b) turn on a motor at 20 % speed. Otherwise, the motor should be switched off. [15 %]
(d) Use the „Enter‟ button on robot to stop the program. [5 %]
Initialisation state : Push orange (Enter) button to go to State 1. [5%]
State 1 : Robot moves forward until Robot bump button is pressed, go to State 2. [10 %]
State 2 : Stop robot. Rotate Motor A through 90o. Travel forward for 2 seconds and stop – go to State 3. [10 %]
State 3 : Move robot in reverse at 25 % power. [5 %]
If light level is lower than a specified value (an arbitrary constant), go to State 2. [8 %] OR If distance level is less than a specified value (an arbitrary constant), go to Initialisation state. [8 %] OR Otherwise do nothing and remain in State 3. [4 %]