StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

Programming a Lego Mindstorm Robot - Essay Example

Cite this document
Summary
This essay "Programming a Lego Mindstorm Robot" focuses on the LEGO Mindstorm NXT kit which is used in building and programming various robots. With the kit, users are able to create robots with a wide range of functionalities using LEGO building blocks…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER93.9% of users find it useful
Programming a Lego Mindstorm Robot
Read Text Preview

Extract of sample "Programming a Lego Mindstorm Robot"

31 July Building and programming a Lego mindstorm robot Introduction LEGO Mindstorm NXT kit is used in building andprogramming robots. With the kit, users are able to create robots with wide range of functionalities using LEGO building blocks (Kelly). NXT brick is composed of a 32 – bit processor which facilitates operational function of the Lego mindstorm robot. It also makes it alive. Lego Mindstorm kit is composed of 4 sensors that makes it possible for the robot to get inputs from the environment, and three servo motors which facilitates the movement of the robot (Ford). LEGO mindstorm kit is among the many bricks utilized in building and programming a robot. The target audiences of the kit is both children and adults. To facilitate the programming of the kit, a programming language referred to as NXT has been developed by LEGO. This programming language gives everyone the ability to possess full control of the Lego Mindstorm Kit (Valk). The use of this programming language if efficient even for people who lack programming language skills. This project is aimed at constructing a programming a robot that has the ability to pick balls from the ground, carry the ball for at least one meter following a black line drawn on the ground and place the ball in a container 0.50 metres high. A LEGO® MINDSTORMS® NXT 2.0 kit will be utilized in building and programing the robot. The choice of this kit among other robotics platform was very carefully chosen due to various reasons. The kit fulfilled several requirements. This requirements are; it has an architecture which has made able to be programmed efficiently at different complexity levels. Moreover, the kit is exploitable at many levels of complexity. And finally, it’s simple yet equipped with robust functionality which are expandable. The equipment also has several advantages which include very short start – up time, the setup process does not involve electrical wiring, among other advantages. Background Lego Mindstorm NXT, which is a kit used to program robots, is dated back to 2001 when it was released by LEGO (Nguyen). The kit is advantageous over other robotic programming kits since it has the ability to interact efficiently with the outside world by use of input and output sensors. Moreover, Lego Mindstorm platform has the powerful ability to support a wide variety of sensors which include the EOPD sensors, the compass sensors, the Acceleration sensors, the Gyroscope sensors among many others. With this sensors, the developed robot is able to harvest signals from the environment in order to carry out the predefined tasks. To customize the activities of the robot, NXT programming language is used (Ford). NXT is a robotic programming language that has been developed by LEGO and LabView to aid in programming LEGO mindstorm kit. The platform of NXT programming language is based on programming blocks. With the visual programming language, a single block can be customized by the individual to execute various tasks. To execute many tasks, i.e. a series of actions, several blocks can be chained to facilitate this one after the other. The NXT programming language is composed of several blocks each with designed to perform a designated task. To increase the programming language’s programming efficiency, two relate programming related blocks have been introduced. This introduces a programming environment which is more flexible. One of these blocks is the switch block, which has been designed to perform the functions of IF statement which is found in other programming languages like C++. Another significant block is the Loop block which functions exactly like the Do – while loop in other programming languages. The LEGO Mindstorm NXT kit is composed of technical pieces which has gears, wheels, axles, sensors, motors, NXT building blocks and bricks. The NXT intelligent block is the ‘brain’ of the system. It has the functions of taking inputs from the sensors, interpreting the sensors according to predefined actions, and bringing the output. The sensors which are included in the system include; 1. Ultrasonic Sensors – this has the functions of detecting obstacles that are in its line of sight. Also, this sensor is utilized in measuring distances. The sensors has the ability of measuring distances between it and the obstacles up to two hundred and fifty five centimetres. 2. Light sensors – this type of sensor is utilized detecting light intensity around the robot. It also has the capability of detecting light from reflected surfaces. 3. Touch sensors – This type of sensor is utilized in detecting when it is touched and/or pressed. 4. Sound Sensors – this type of a sensor has the ability to detect sound from various sources. Also, it has the ability to measure the intensity of the detected light. The Kit is also equipped with three servo motors which are very powerful. The motors has links to be connected on the output ports contained on the bricks. Each of the motors is equipped integrated rotation sensors that has the ability to detect the angle the motor has moved. To change the speed of the motor, the amount of power being supplied to it is regulated accordingly (Valk). Methodology The A LEGO® MINDSTORMS® NXT 2.0 kit was provided. This kit contained all the equipment which were used in the construction of the robot. The parts were then assembled together following the procedures described in the user manual. The finished robot looked like the one shown in the diagram below. To make the Robot move, the following procedure was followed; Using a blank worksheet, a move block was found and added. After inserting the move block, configurations were made to adjust the settings to the desired ones. The settings that were changed include how fast each motor will be moving, and how the motor should stop. Other blocks were to facilitate efficient movement of the robot. This included the wait block which was inserted before the move block. To facilitate the turning of the block, five blocks were added. This blocks included two motor blocks, two wait blocks, and a move block. The blocks were arranged and settings made accordingly. This procedure was repeated to bring other functionality and the final block configuration of the system was as shown in the diagram below. Conclusions and Recommendations The design of the robot using A LEGO® MINDSTORMS® NXT 2.0 kit was successfully. The constructed robot was able to move along the pre-defined path, which was drawn in black, pick balls, move with the balls and drop the ball in a box. This process was repeated until all the balls had been picked. The process of constructing the robot was easy since A LEGO® MINDSTORMS® NXT 2.0 kit is supplied with a descriptive manual which is easier to follow. The programming part was the easiest since it involved only using blocks. This is better as compared to other programming languages which involve writing lines of codes. From the process of the project development, it has been found that LEGO® MINDSTORMS® NXT 2.0 has the following advantages. It was found that the modularity of NXT is very useful since it makes it very expandable and flexible. The ability of the kit to be programmed using a variety of languages makes it more portable. Moreover, there is a possibility of using several operating system and platforms. These include URBI for windows, Linux on Symbian among others. Despite the successful nature of the project, there were some small problems with the software. This include the robustness of the software, the presentation of some programing blocks, and the interface. To facilitate easy use of the kit, the above stated problems should be eliminated. Bibliography Ford, Jerry Lee. Lego Mindstorms NXT 2.0 for Teens. Stamford: Cengage Learning, 2007. Kelly, James Floyd. LEGO MINDSTORMS NXT 2.0: The King’s Treasure. New York: Apress, 2009. Print. Nguyen, Khuong A. A case study on the usability of NXT-G programming language. New York, 31 July 2013. Electronic. Valk, Laurens. The LEGO MINDSTORMS NXT 2.0 Discovery Book. San Francisco: William Pollock, 2010. Print. Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Final report Essay Example | Topics and Well Written Essays - 1250 words”, n.d.)
Final report Essay Example | Topics and Well Written Essays - 1250 words. Retrieved from https://studentshare.org/engineering-and-construction/1622664-final-report
(Final Report Essay Example | Topics and Well Written Essays - 1250 Words)
Final Report Essay Example | Topics and Well Written Essays - 1250 Words. https://studentshare.org/engineering-and-construction/1622664-final-report.
“Final Report Essay Example | Topics and Well Written Essays - 1250 Words”, n.d. https://studentshare.org/engineering-and-construction/1622664-final-report.
  • Cited: 0 times

CHECK THESE SAMPLES OF Programming a Lego Mindstorm Robot

Report On Building and Programming a LEGO Mindstorm Robot

efore starting the process of building and programming a lego, planning the procedure is the initial step of the whole process.... The lego mindstorm series consists of hardware and software are kits used by people, students and engineers to create and customize programmable robots.... The lego mindstorm series consists of hardware and software are kits used by people, students and engineers to create and customize programmable robots.... In a group, students undertook to build a robot....
4 Pages (1000 words) Research Paper

Past Performance of the Lego Company

The paper "lego Mindstorms" describes that core business lines of lego can be classified as cash cows which represent as market leader enjoying significant market share and this division can exhibit a return on assets much greater than the market growth rate.... In the case of lego several mistakes in its history of last twenty and odd years and the biggest of such mistakes were to confuse growth with success.... The sales growth of lego was phenomenal during the 10 year period from1978 to 1988 with the sales increasing from Danish Kroner 1 billion to 5 billion which is a five fold increase....
8 Pages (2000 words) Essay

The Role of Users in Legos Approach

This paper ''The Role of Users in Legos Approach'' tells us that lego is a Danish company and is one of the famous brands for children's toys.... The name lego was derived from the Spanish word sickish meant to 'play well early products that the company produced were cars, piggy banks, wooden pull toys, trucks, and cars.... Such changes helped lego for further development and by 1988 there exist almost 50 elements in the toy system of lego....
12 Pages (3000 words) Essay

Delay-Tolerant Network Security

The paper "Delay-Tolerant Network Security" summarizes security is a major barrier to the wide-scale deployment of the DTNs, though it has gained little attention so far.... Just like traditional mobile ad hoc networks, multi-hop transmission and open channels made DTNs vulnerable to security threats....
20 Pages (5000 words) Term Paper

Robots in Industries and How They Work

The robot has imitated the human arm in most cases because this is where it receives application in industries.... Regardless of the robot developed and an application specification for it, robots have some basic characteristics that define them.... Sensing is a key feature in robot development.... To be able to articulate this principle sensors like light sensors, sonar sensors, touch sensors, and chemical sensors can be adapted to implement the robot (Anderson)....
5 Pages (1250 words) Essay

Selection of Behaviors and Sensors for a Mobile Robot

This research paper describes the selection of behaviors and sensors for a mobile robot.... This paper outlines the description of behaviors, the design of the mobile robot, specifications of sensors for behaviors, robot operation, sensor inputs, and commercially available sensors for the robot.... Each robot travels around the room to make sure that all the guests are served.... When the tray is empty, each robot returns to the catering table and collects a full tray from the catering staff....
10 Pages (2500 words) Research Paper

Impact of Robots in Real Life

The chances of the autonomies and potential of robot repercussions are dealt with through fiction and could be a concern that is realistic in the future (Koller, 2009).... Starting from the introduction of the first robot in the 1960s in the US, the technology of robots has immensely improved establishing many merits of robots (Boxall, 2013)....
5 Pages (1250 words) Essay

Motion Planning Knowledge

The paper 'Motion Planning Knowledge' presents the world that has seen a proliferation in robot technology mirrored in real-world applications.... This framework yields collision-free robot trajectories.... The generation of most dependable trajectories that conform to the environment constraints is ever-present in the robot world (industrial and humanoid).... Then in the second phase, the dynamic perceptual structure generator outputs suitable dynamically unchanging walking motion that makes it possible for the robot to ferry the object....
6 Pages (1500 words) Case Study
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us