Lego NXT Training
​
Required Software
-
Please download and install these files before class starts
-
Fantom Driver (Driver)
-
BrixCC (Compiler)
Modules
-
Please download these files for nXc programming reference.
Slides
-
Introduction to Lego Mindstorms NXT (Tuesday, 11/09/12)
-
Rotation and Obstacle Avoidance (Thursday, 13/09/12)
-
Line Tracking, Move Object and Bluetooth Communication (Monday, 17/09/12)
-
Bluetooth Revision and WESC2012 (Thursday, 20/09/12)
-
Rediscuss WESC2012 and Garbagebot (Tuesday, 25/09/12)
Source Code
-
F15B10.nxc // Robot moves forward 15cm and backwards 10cm (Tuesday, 11/09/12)
Self Study
-
MvRndObsAvd.nxc // Robot moves random and avoids black line (Tuesday, 11/09/12)
-
MovObj.nxc // Robot detects an object inside the play area and pushes it outside of the play area (Monday, 17/09/12)
-
GrabandRelease.nxc and MoveandPick.nxc (Tuesday, 25/09/12)
PROJECT ASSIGNMENTS
Task 1 - Robot moves forward 15cm and backwards 10cm at defined speed
-
75% Speed - Amirul_Week 1a.nxc
-
60% Speed - Hanif_Week 1a.nxc
-
40% Speed - Mira_Week 1a.nxc
-
20% Speed - Zahira_Week 1a.nxc
Task 2 - Robot moves according to defined shape
-
Rectangle - Mira_Week 1b.nxc
-
Triangle - Hanif_Week 1b.nxc
-
Square - Zahira_Week 1b.nxc
-
Rhombus - Amirul_Week 1b.nxc
Task 3 - Robot follows the black line (Line Following Robot)
p/s: If you are unable to download, please ask your instructor for the files or email us.
Robot Follow the Black Line
Lego Mindstorms NXT Platform
1. The robot will follow the line
2. It will avoid the region higher
than the threshold
Programmed by Mohd Amirul Johari (CCSE, 2nd Year UPM) for WESC2012 Robotics Training.
VIDEOS
2 Robots Follow the Black Line
Lego Mindstorms NXT Platform
1. The robot will follow the line
2. It will avoid the region higher than the threshold
Programmed by Mohd Amirul Johari and Mohamad Hanif Saidin (CCSE, 2nd Year UPM) for WESC2012 Robotics Training.
Robot Forms a Triangle
Lego Mindstorms NXT Platform
1. The robot will form a square
2. 15cm - 15cm - 15cm - 15cm
Programmed by Zahirah Dzulkifli (CCSE, 2nd Year UPM) for WESC2012 Robotics Training.
Robot Forms a Square
Lego Mindstorms NXT Platform
1. The robot will form a square
2. 15cm - 15cm - 15cm - 15cm
Programmed by Zahirah Dzulkifli (CCSE, 2nd Year UPM) for WESC2012 Robotics Training.
Robot Forms A Rectangle
Lego Mindstorms NXT Platform
1. The robot will form a rectangle
2. 15cm - 10cm - 15cm - 10cm
Programmed by Nur Amirah Gusti Kasan (CCSE, 2nd Year UPM) for WESC2012 Robotics Training
Robot Forms a Rhombus
Lego Mindstorms NXT Platform
1. The robot will form a rhombus
2. 15cm - 15cm - 15cm - 15cm
Programmed by Mohd. Amirul Johari (CCSE, 2nd Year UPM) for WESC2012 Robotics Training.