Develop lejos Programs Step by Step

Size: px
Start display at page:

Download "Develop lejos Programs Step by Step"

Transcription

1 Develop lejos Programs Step by Step Version 0.6 Juan Antonio Breña Moral 12-Apr-09 Juan Antonio Breña Moral Page 1 of 250

2 Index I.- Preface... 9 I.1.- Introduction... 9 I.2.- Audience... 9 I.3.- Organization... 9 I.4.- Comments & Questions I.5.- Acknowledgments I.6.- Ebook requirements I.7.- About the author I.8.- About the collaborators Introduction Lego Mindstorms History NXT Brick Alternatives for Lego Mindstorms NXT LeJOS Project LeJOS solutions The project in numbers LeJOS Packages LeJOS documentation Alternatives for lejos project To do list for lejos project Summary Getting started with lejos Introduction LeJOS Installation with lejos Installer Introduction Java JDK Installation Checking your J2SE Installation Installing lejos project with lejos installer Manual Installation Prerequisites Lego Mindstorm NXT Software Java Developer Kit LibUSB Filter Driver for Microsoft Windows LeJOS NXJ Install lejos firmware into your NXT brick Introduction Install lejos firmware using a GUI Install lejos firmware using a shell console Eclipse IDE and Eclipse plugin for lejos Introduction Installing Eclipse Installing Eclipse plugin for lejos Configuring Eclipse plugin for lejos Creating a new project in Eclipse IDE...61 Juan Antonio Breña Moral Page 2 of 250

3 2.6.- Developing your first program with NXJ Summary Basic concepts about Java Introduction Learning the example HelloWorld.java Discovering the sections in any Java class The Import Area: Class encapsulation: The main method: Summary Sensors Introduction Ultrasonic Sensor Compass sensor GPS Using the package javax.microedition.location Using the package lejos.gps NXTCam Introduction Install NXTCam driver Install NXTCamView Using NXTCamView to Train NXTCam NXTCam NXJ API NXTLine Touch sensor Sound sensor Summary Actuators Introduction NXT Motors PF Motors RC Servos and DC Motors with NXTe/LSC Introduction NXTe architecture Servos LeJOS and NXTe/LSC RC Servos with NXTServo RC Servos systems with MRS H Using MRS H01 with Bluetooth Using MRS H01 with I2C Summary Graphical user interfaces with lejos Introducction Juan Antonio Breña Moral Page 3 of 250

4 6.2.- LCD System.out RConsole Learning javax.microedition.lcdui Using the class Graphics Creating Textmenu for your GUI Summary Communications Introduction Communications for System integrations Communications for NXT integrations Strategies Summary Communications I: Bluetooth Introduction History Bluetooth Architecture Bluetooth Protocols Bluetooth profiles Bluetooth Networks Piconet Scatternet Bluetooth Connections How to use Bluetooth with lejos Discovery Bluetooth Device Connect with a Bluetooth device Exchange Data between a NXT Brick with another one or a Bluetooth device Listen a Bluetooth connection LeJOS examples using Bluetooth Summary Communications II: USB Introduction Send data from PC to NXT Receive data from PC Summary Communications III: RS Introduction Send data with RS Receive data with RS Summary Communications IV: I2C Juan Antonio Breña Moral Page 4 of 250

5 Introduction I2C Bus terminology Terminology for bus transfer LeJOS API I2C Examples with lejos Migrating code I2C from others platforms Migrating I2C Code from RobotC to Java lejos Migrating I2C Code from NXC to Java lejos Summary Subsumption architecture Introduction Subsumption package in NXJ Subsumption example Multithreading with Java lejos Introduction The Thread concept The Thread life cycle Using the class Thread Method start Method isalive Method sleep Examples Example1: LineFollower Example2: Stereo US LeJOS and mobile phones Introduction Install SDKs Installing J2SE SDK Installing Java ME Wireless Toolkit Install IDE Installing Eclipse IDE Installing Eclipse ME Plugin Install Optional Software Proguard Antenna Creating your first Java ME project Creating a new Java ME Project Java ME Settings Add a HelloWorld Middlet Test your Middlet with a simulator Package your application Deliver your Middlet into a Mobile Phone Deliver Java ME with Nokia PC Suite Juan Antonio Breña Moral Page 5 of 250

6 15.- LeJOS Tools Introduction NXJFlashg NXJBrowse NXJConsole NXJMonitor LeJOS statemachine developer toolkit Introduction Installing LeJOS statemachine developer toolkit Creating the first project with the toolkit Videos Summary Robotics projects Introduction Steering behaviors Introduction Behaviors Obstacle Avoidance Parallel Architectures Introduction JCSP re JCSP re Stack The Process Orientated Design Pattern LeJOS & JCSP re for building robot controllers Line follower robot with JCSP re & lejos FAQ How to reinstall Lego Firmware Introduction Download latest Lego firmware Set your NXT brick in update mode Reinstall Lego firmware Using Tortoise SVN to collaborate in lejos project Introduction Installing Tortoise SVN Downloading LeJOS Repository Using Tortoise in LeJOS How to be a new LeJOS Developer How to use beta software from lejos SVN? Make a checkout from lejos SVN Copy snapshot to your lejos installation How to package NXJ programs with Jar Links LeJOS links Java links Lego links Robotics links Juan Antonio Breña Moral Page 6 of 250

7 Technology links Software links Multithreading Links Juan Antonio Breña Moral Page 7 of 250

8 Revision History Name Date Reason For Changes Version Juan Antonio Breña Moral 12/01/2008 Initial release 0.1 Juan Antonio Breña Moral 18/02/2008 Add FAQ section 0.2 Juan Antonio Breña Moral 09/03/2008 Add Tortoise SVN Section 0.3 Juan Antonio Breña Moral 23/06/2008 Add lejos RC Car Project 0.4 Juan Antonio Breña Moral 20/03/2009 Book reorganization 0.5 Juan Antonio Breña Moral 10/04/2009 Add RS485 Chapter 0.6 Juan Antonio Breña Moral Page 8 of 250

9 I.- Preface I.1.- Introduction In next 10 years, Robotics will become in one of the most helpfully technology for the society. Currently, robotics field is not in a mature phase and it needs new ideas to evolve but this goal is not easy because robotics is a complex science and it has several research lineas as as Localization, Computer vision & Neural Networks for example. In the market exists many products to learn basic concepts and techniques about robotics and Artificial Intelligence but in my personal opinion, Lego Mindstorms NXT is the best platform to be used in robotics courses at secondary school, university bachelors, and postgraduate programs / Phd. Lego Midstorms NXT has many ways to develop software for robots but this ebook only offer support for lejos project which offers the possibility to develop with Java. This ebook is a project to spread the knowledge about lejos project and Java techniques to develop software for robots. This ebook is live and every 3-6 months, I will try to update with new ideas and techniques from the projects and the readers. Enjoy, Learn, Contact with me to improve the ebook and share ideas. Juan Antonio Breña Moral. I.2.- Audience The ebook has been written to be read by the following kind of users: Lego Mindstorms users LeJOS Developers Java Developers Teachers who teach robotics courses Students in Secondary School Students in University Students in Postgraduate programs / Phd Scientifics Engineers I.3.- Organization The ebook has been organized in the following chapters: Chapter 1: Introduction Juan Antonio Breña Moral Page 9 of 250

10 This chapter explains what Lego Mindstors NXT is and the context in the market. The chapter explains the origins, history and milestones with the product Lego Mindstorms NXT. Chapter 2: LeJOS project This chapter explains the LeJOS Project, API, Tools, Project structure, etc. Chapter 3: Getting started with lejos project This chapter explains how to install LeJOS Project to execute the, API, Tools, Project structure, etc. Chapter 4: Basic concepts about Java This chapter explains basic concepts about Java. Chapter 5: Sensors This chapter explains how to use sensors from NXT Kit or sensors from NXT providers as Mindsensors, Hitechnic, CANCAN and others. Chapter 6: Actuators This chapter explains how to use actuators. This chapter includes NXT Motors, PF Motors, Servos, DC Motors and RCX Legacy Motors. Chapter 6: GUI This chapter explains how to use LCD in NXT brick Chapter 7-11: Communications These sets of chapters explain how to use Bluetooth, USB, RS485 & I2C Protocols. Chapter 12: Sumsubption architecture This chapter explains how to use sumsubption architecture Chapter 13: Multithreading This chapter explains how to manage a java feature which allow your robot manage in parallel multiple tasks. Chapter 14: LeJOS and mobile phones This chapter explains how to use some lejos with mobile phones. Chapter 15: LeJOS Tools This chapter explains how to use some tools which are included in every lejos release and others from lejos community. I.4.- Comments & Questions Please, I would like to receive your feedback about the book to improve it. I.5.- Acknowledgments This Project has been posible with the help of my family and friends as Juan Diego Avendaño, Antonio Tejero, Bruno Piñeiro, Isaac Olmos & Marina Perez. I have to congratulate to Brian Bagnall because in the past, he gave the opportunity to join to the lejos developer team. Besides I give my sincere thanks to my collegues in the project as Lawrie Griffiths, Andy Shaw, Roger Glassey & Matthias Paul Scholz, Juan Antonio Breña Moral Page 10 of 250

11 they have nice ideas about the future of the project and they have strong experience with Java. Everyday, I learn new things with them. Finally I have to give many thanks for my readers in special, Yu Yang, Deepak Patik, Dhinakar Radhakrishnan, Takashi Chikamasa, Koldo, Craig Reynols, Matt Denton and Jose Maria Plaza. Sorry If I forgot some name. I.6.- Ebook requirements This ebook needs the following requirements to use correctly 1. Lego Mindstorms NXT Kit 2. Computer with your favorite OS (Windows, Linux or Mac OS) Note: For the moment, this ebook only offer support for Windows OS but I hope to expand the support for Linux too in 2009 I.7.- About the author Further information: Juan Antonio Breña Moral collaborates in lejos Research team since He works in Europe leading Marketing, Engineering and IT projects for middle and large customers in several markets. Currently, he teachs NXT courses and study Phd about Robotics and Artificial Intelligence in URJC. I.8.- About the collaborators Frank Zimmermann is a Doctor in Mathematics and Professor for CIS at the University of Applied Sciences Nordakademie since Frank teaches Java, Software Engineering and Information Systems at the university. He discovered lejos and NXT Technology in Further information: Patrick Lismore a Napier University Edinburgh student finishing his Bsc (Hons) Software Technology. An aspiring entrepreneur and IT professional who have experience teaching programming and robotics at Carnegie Mellon University. Patrick first got involved with lejos and NXT's while studying in his last year of University. Patrick research at University involved designing and developing concurrent robotics software using lejos, JCSP re and Bluetooth. Juan Antonio Breña Moral Page 11 of 250

12 Further information: Juan Antonio Breña Moral Page 12 of 250

Fun with Java Technology on Lego Mindstorms

Fun with Java Technology on Lego Mindstorms Speaker logo centered below photo Fun with Java Technology on Lego Mindstorms Roger Glassey University of California, Berkeley Andy Shaw Sun Microsystems LEGO, the LEGO logo, MINDSTORMS, the Brick and

More information

USB. Bluetooth. Display. IO connectors. Sound. Main CPU Atmel ARM7 JTAG. IO Processor Atmel AVR JTAG. Introduction to the Lego NXT

USB. Bluetooth. Display. IO connectors. Sound. Main CPU Atmel ARM7 JTAG. IO Processor Atmel AVR JTAG. Introduction to the Lego NXT Introduction to the Lego NXT What is Lego Mindstorm? Andreas Sandberg A kit containing: A Lego NXT computer 3 motors Touch sensor Light sensor Sound sensor Ultrasonic range

More information

Robot Practical Course

Robot Practical Course 64-272 Robot Practical Course http://tams-www.informatik.uni-hamburg.de/ lectures/2013ss/praktikum/robot_practical_course/ Manfred Grove, Ben Adler University of Hamburg Faculty of Mathematics, Informatics

More information

Development of a System for Teaching. Robots

Development of a System for Teaching. Robots Development of a System for Teaching CS1 in C/C++ with Lego NXT Robots A. Delman, A, Ishak, M. Kunin, L. Goetz, Y. Langsam, T. Raphan Department of Computer and Information Science, Department of Computer

More information

Java using LEGO Mindstorms and LeJOS. University of Idaho

Java using LEGO Mindstorms and LeJOS. University of Idaho Java using LEGO Mindstorms and LeJOS University of Idaho 2 Contents 1 Introduction 1 1.1 Setting up Java and Eclipse................................ 1 1.2 Setting up the Lego Brick to work with LeJOS.....................

More information

Why robotics in Education? DEI The University of Padova

Why robotics in Education? DEI The University of Padova Why robotics in Education? DEI The University of Padova Why robotics in Education? A Picture Is Worth A Thousand Words Why robotics in Education? Emotional engagement Interaction with physical devices

More information

Project from Real-Time Systems Lego Mindstorms EV3

Project from Real-Time Systems Lego Mindstorms EV3 Project from Real-Time Systems March 13, 2017 Lego Mindstorms manufactured by LEGO, http://mindstorms.lego.com extension of LEGO Technic line history: RCX, 1998 NXT, 2006; NXT 2.0, 2009 EV3, 2013 why LEGO?

More information

Team Project: A Surveillant Robot System

Team Project: A Surveillant Robot System Team Project: A Surveillant Robot System Status Report : 04/05/2005 Little Red Team Chankyu Park (Michael) Seonah Lee (Sarah) Qingyuan Shi (Lisa) Chengzhou Li JunMei Li Kai Lin Agenda Problems Team meeting

More information

Development of a System for Teaching C/C++ Using Robots and Open Source Software in a CS1 Course

Development of a System for Teaching C/C++ Using Robots and Open Source Software in a CS1 Course Development of a System for Teaching C/C++ Using Robots and Open Source Software in a CS1 Course A. Delman, L. Goetz, Y. Langsam, T. Raphan Department of Computer and Information Science, Brooklyn College

More information

LEGO Mindstorm EV3 Robots

LEGO Mindstorm EV3 Robots LEGO Mindstorm EV3 Robots Jian-Jia Chen Informatik 12 TU Dortmund Germany LEGO Mindstorm EV3 Robot - 2 - LEGO Mindstorm EV3 Components - 3 - LEGO Mindstorm EV3 Components motor 4 input ports (1, 2, 3,

More information

Environment Mapping using the Lego Mindstorms NXT and lejos NXJ

Environment Mapping using the Lego Mindstorms NXT and lejos NXJ Environment Mapping using the Lego Mindstorms NXT and lejos NXJ Gerardo Oliveira 1, Ricardo Silva 1, Tiago Lira 1, Luis Paulo Reis 1,2 1 FEUP Faculdade de Engenharia da Universidade do Porto, Portugal

More information

lejos NXJ Problem Solving with Robots [PRSOCO601]

lejos NXJ Problem Solving with Robots [PRSOCO601] lejos NXJ Problem Solving with Robots [PRSOCO601] Thomas Devine http://noucamp thomas.devine@lyit.ie February 20, 2008 1 Contents 1 lejos NXJ 4 1.1 Introducing the Java Development.......................

More information

Project Proposal. Mark John Swaine. Supervisor: Dr. Karen Bradshaw. Department of Computer Science, Rhodes University

Project Proposal. Mark John Swaine. Supervisor: Dr. Karen Bradshaw. Department of Computer Science, Rhodes University Project Proposal Mark John Swaine Supervisor: Dr. Karen Bradshaw Department of Computer Science, Rhodes University 2 March 2009 1. Principle Investigator Mark John Swaine 4 Huntley House, 28 Hill Street

More information

Collaboration between Simulated Model and External System: Controlling LEGO Mindstorms with Cameo Simulation Toolkit

Collaboration between Simulated Model and External System: Controlling LEGO Mindstorms with Cameo Simulation Toolkit Collaboration between Simulated Model and External System: Controlling LEGO Mindstorms with Cameo Simulation Toolkit Kritsana Uttamang, PhD kritsana_u@nomagicasia.com Kampanath Panthithosanyu kampanath_p@nomagicasia.com

More information

Beginning Robotics Programming in Java with LEGO Mindstorms

Beginning Robotics Programming in Java with LEGO Mindstorms Beginning Robotics Programming in Java with LEGO Mindstorms Wei Lu Beginning Robotics Programming in Java with LEGO Mindstorms Wei Lu Keene, New Hampshire, USA ISBN-13 (pbk): 978-1-4842-2004-7 ISBN-13

More information

The Lego Mindstorms Ev3 Discovery Book Full Color A Beginners Guide To Building And Programming Robots

The Lego Mindstorms Ev3 Discovery Book Full Color A Beginners Guide To Building And Programming Robots The Lego Mindstorms Ev3 Discovery Book Full Color A Beginners Guide To Building And Programming Robots THE LEGO MINDSTORMS EV3 DISCOVERY BOOK FULL COLOR A BEGINNERS GUIDE TO BUILDING AND PROGRAMMING ROBOTS

More information

LEGO mindstorm robots

LEGO mindstorm robots LEGO mindstorm robots Peter Marwedel Informatik 12 TU Dortmund Germany Lego Mindstorm components motor 3 output ports (A, B, C) 1 USB port for software upload 4 input ports (1, 2, 3, 4) for connecting

More information

Digital Devices in the Digital Technologies curriculum (F-10) Steve Allen VCAA Digital Coding Specialist Teacher

Digital Devices in the Digital Technologies curriculum (F-10) Steve Allen VCAA Digital Coding Specialist Teacher Digital Devices in the Digital Technologies curriculum (F-10) Steve Allen VCAA Digital Coding Specialist Teacher A digital system that students can program: create an algorithm accept user input store

More information

Robotics II. Module 1: Introduction to Data & Advanced Programming Blocks

Robotics II. Module 1: Introduction to Data & Advanced Programming Blocks Robotics II Module 1: Introduction to Data & Advanced Programming Blocks PREPARED BY Academic Services Unit December 2011 Applied Technology High Schools, 2011 Module 1: Introduction to Data & Advanced

More information

Robotics II. Module 2: Application of Data Programming Blocks

Robotics II. Module 2: Application of Data Programming Blocks Robotics II Module 2: Application of Data Programming Blocks PREPARED BY Academic Services Unit December 2011 Applied Technology High Schools, 2011 Module 2: Application of Data Programming Blocks Module

More information

2. Once the colormaps are uploaded to the camera, close the NCTCamViewer program, disconnect the USB cable from the camera from PC.

2. Once the colormaps are uploaded to the camera, close the NCTCamViewer program, disconnect the USB cable from the camera from PC. Camera setup Procedure 1. Got to NXTCAMVIEWER upload the colormaps to the NXTCam. During this procedure, you don t need to have NXT program running, you can just run the NXTCamViewer on its own. 2. Once

More information

Prototype Prolog API for Mindstorms NXT

Prototype Prolog API for Mindstorms NXT Prototype Prolog API for Mindstorms NXT Grzegorz J. Nalepa 1 Institute of Automatics, AGH University of Science and Technology, Al. Mickiewicza 30, 30-059 Kraków, Poland gjn@agh.edu.pl Abstract. The paper

More information

Agreement. Objectives. General Guidelines for Labs. Reading Assignment

Agreement. Objectives. General Guidelines for Labs. Reading Assignment 1 CMPSC 111 Introduction to Computer Science I Fall 2016 Janyl Jumadinova Lab 9 for Section 1 17 November 2016 Due: 1 December, by 2:30 pm This is a team-based assignment. You have to work in teams of

More information

NET PROGRAMMING TUTORIAL PDF

NET PROGRAMMING TUTORIAL PDF NET PROGRAMMING TUTORIAL PDF ==> Download: NET PROGRAMMING TUTORIAL PDF NET PROGRAMMING TUTORIAL PDF - Are you searching for Net Programming Tutorial Books? Now, you will be happy that at this time Net

More information

Next Gen Platform: Team & Mentor Guide

Next Gen Platform: Team & Mentor Guide Next Gen Platform: Team & Mentor Guide 1 Introduction For the 2015-2016 season, the FIRST Tech Challenge (FTC) will be adopting a new controller for its robot competitions. The new platform, which will

More information

Part A: Monitoring the Touch Sensor and Ultrasonic Sensor

Part A: Monitoring the Touch Sensor and Ultrasonic Sensor LEGO MINDSTORMS NXT Lab 2 This lab introduces the touch sensor and ultrasonic sensor which are part of the Lego Mindstorms NXT kit. The ultrasonic sensor will be inspected to gain an understanding of its

More information

The Lego Mindstorms Ev3 Idea Book 181 Simple Machines And Clever Contraptions

The Lego Mindstorms Ev3 Idea Book 181 Simple Machines And Clever Contraptions The Lego Mindstorms Ev3 Idea Book 181 Simple Machines And Clever Contraptions We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or by storing

More information

INTRODUCTION TO ARTIFICIAL INTELLIGENCE

INTRODUCTION TO ARTIFICIAL INTELLIGENCE DATA15001 INTRODUCTION TO ARTIFICIAL INTELLIGENCE THE FINAL EPISODE (11): ROBOTICS TODAY S MENU 1. "GRAND CHALLENGE" 2. LEGO MIND- STORMS 3. ROBO WORKSHOPS ROBOTICS AS A "GRAND CHALLENGE" OF AI actuators:

More information

Using visual programming kit and Lego Mindstorms: An introduction to embedded system

Using visual programming kit and Lego Mindstorms: An introduction to embedded system Using visual programming kit and Lego Mindstorms: An introduction to embedded system Seung Han Kim 1 and Jae Wook Jeon 2 1 School of Information and Communication Engineering, SungKyunKwan University,

More information

LabVIEW for FTC Release Notes

LabVIEW for FTC Release Notes LabVIEW for FTC Release Notes FTC 2010 Contents These release notes contain system requirements and installation instructions for LabVIEW for FTC. LabVIEW for FTC includes LabVIEW 2009 Student Edition

More information

2Control NXT FAQ For the latest version of this document please go to > support

2Control NXT FAQ For the latest version of this document please go to  > support 2Control NXT FAQ For the latest version of this document please go to www.2simple.com > support Common Questions Q: Can I connect 2Control to the NXT brick without using a USB cable? A: No, 2Control requires

More information

Introduction to Lab 2

Introduction to Lab 2 Introduction to Lab 2 Programming in RTOS on LEGO Mindstorms Martin Stigge 15. September 2010 Martin Stigge Lab 2: LEGO 15. September 2010 1 / 20 Lab 2:

More information

Mobile tracker project

Mobile tracker project Mobile tracker project Adrian Dudau Adrian Caragea Emanuel Wahlqvist 2013-02-22 Abstract This is a report for a project course in embedded control systems at Uppsala University. The problem to solve was

More information

JCSPre: the Robot Edition to Control LEGO NXT Robots

JCSPre: the Robot Edition to Control LEGO NXT Robots Communicating Process Architectures 2008 255 P.H. Welch et al. (Eds.) IOS Press, 2008 2008 The authors and IOS Press. All rights reserved. JCSPre: the Robot Edition to Control LEGO NXT Robots Jon KERRIDGE,

More information

How to Use EV3Lessons

How to Use EV3Lessons How to Use EV3Lessons By Sanjay and Arvind Seshan BEGINNER PROGRAMMING LESSON SITE OVERVIEW EV3Lessons.com provides the building blocks for successfully learning to program the LEGO MINDSTORMS EV3 We also

More information

Today. Robotics and Autonomous Systems. Today. Communication on the NXT. Lecture 14: Communication and other useful things.

Today. Robotics and Autonomous Systems. Today. Communication on the NXT. Lecture 14: Communication and other useful things. Today Robotics and Autonomous Systems Lecture 14: Communication and other useful things Richard Williams Department of Computer Science University of Liverpool We will cover things from all parts of robotics

More information

Robotics and Autonomous Systems

Robotics and Autonomous Systems Robotics and Autonomous Systems Lecture 14: Communication and other useful things Simon Parsons Department of Computer Science University of Liverpool 1 / 43 Today We will cover things from all parts of

More information

Dual-POB. View Full-Size Image View Full-Size Image. ( POB-Technology ) ( POB-Technology ) Description

Dual-POB. View Full-Size Image View Full-Size Image. ( POB-Technology ) ( POB-Technology ) Description View Full-Size Image View Full-Size Image Dual-POB ( POB-Technology ) ( POB-Technology ) Description The Dual-POB is a board that allows you to easily create your robot with many kinds of things that are

More information

APPLICATION DEVELOPMENT

APPLICATION DEVELOPMENT APPLICATION DEVELOPMENT LECTURE 4: DESIGN REVIEW 2, JAVA ON LEGO MINDSTORMS NXT class AppDev { } Part of SmartProducts INTRODUCTION APPLICATION DEVELOPMENT Design review 2 Introduction to lejos: programming

More information

COMMUNICATION AND OTHER USEFUL THINGS

COMMUNICATION AND OTHER USEFUL THINGS ROBOTICS AND AUTONOMOUS SYSTEMS Simon Parsons Department of Computer Science University of Liverpool LECTURE 14 comp329-2013-parsons-lect14 2/42 Today We will cover things from all parts of robotics COMMUNICATION

More information

EPUB # LEGO MINDSTORMS CERTIFICATION STUDY OPERATING INSTRUCTIONS DOCUMENT

EPUB # LEGO MINDSTORMS CERTIFICATION STUDY OPERATING INSTRUCTIONS DOCUMENT 14 January, 2018 EPUB # LEGO MINDSTORMS CERTIFICATION STUDY OPERATING INSTRUCTIONS DOCUMENT Document Filetype: PDF 463.2 KB 0 EPUB # LEGO MINDSTORMS CERTIFICATION STUDY OPERATING INSTRUCTIONS DOCUMENT

More information

Introduction to Lab 2

Introduction to Lab 2 Introduction to Lab 2 Programming in RTOS on LEGO Mindstorms Jakaria Abdullah 9 September 2015 Jakaria Abdullah Lab 2: LEGO 9 September 2015 1 / 21 Lab 2: Programming in RTOS using LEGO Mindstorms Lab

More information

The Lego Mindstorms Ev3 Discovery Book Full Color A Beginners Guide To Building And Programming Robots

The Lego Mindstorms Ev3 Discovery Book Full Color A Beginners Guide To Building And Programming Robots The Lego Mindstorms Ev3 Discovery Book Full Color A Beginners Guide To Building And Programming Robots We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our

More information

Modern Robotics Inc. Core Device Discovery

Modern Robotics Inc. Core Device Discovery Modern Robotics Inc. Core Device Discovery Version 2.0.0 April 11, 2017 Contents 1. Document Control... 3 2. Description... 4 3. Application Download/Installation... 5 4. Application Usage... 6 5. Core

More information

16-311: Getting Started with ROBOTC and the. LEGO Mindstorms NXT. Aurora Qian, Billy Zhu

16-311: Getting Started with ROBOTC and the. LEGO Mindstorms NXT. Aurora Qian, Billy Zhu 16-311: Getting Started with ROBOTC and the LEGO Mindstorms NXT Aurora Qian, Billy Zhu May, 2016 Table of Contents 1. Download and Install 2. License Activation 3. Wireless Connection 4. Running Programs

More information

PROGRAMMING ROBOTS AN ABSTRACT VIEW

PROGRAMMING ROBOTS AN ABSTRACT VIEW ROBOTICS AND AUTONOMOUS SYSTEMS Simon Parsons Department of Computer Science University of Liverpool LECTURE 3 comp329-2013-parsons-lect03 2/50 Today Before the labs start on Monday, we will look a bit

More information

Tutorial: Making Legobot Move Steering Command Brighton H.S Engineering By: Matthew Jourden

Tutorial: Making Legobot Move Steering Command Brighton H.S Engineering By: Matthew Jourden Tutorial: Making Legobot Move Steering Command Brighton H.S Engineering By: Matthew Jourden 1. Build Bas Robot. See Build Manual in the Lego Core Set Kit for details or Build Instructions Base Robot File

More information

App and ibook List Year 8, ibooks

App and ibook List Year 8, ibooks ibooks Students in Year 8 will need to download the following digital textbooks. Access ibooks by clicking on the ibooks icon (see left) on an ipad. Icon Textbook Cost File size (MB) English English Don

More information

Bluetooth Scatternet Application. Sun Code for Freedom

Bluetooth Scatternet Application. Sun Code for Freedom Bluetooth Scatternet Application Sun Code for Freedom Submitted for Code For Freedom Contest 2009 By Ravi D Suvarna Ananth V Sandeep Jain Index Topic Page No. 1. Introduction ---------------------------------------------

More information

SYNCHRON'16, Bamberg. Lego Mindstorms 6. Lego Mindstorms Preparations 7. Exercise V: SCCharts for Lego Mindstorms 8. Exercise VI: SCCharts Pathfinder

SYNCHRON'16, Bamberg. Lego Mindstorms 6. Lego Mindstorms Preparations 7. Exercise V: SCCharts for Lego Mindstorms 8. Exercise VI: SCCharts Pathfinder SCCharts Tutorial, KIELER SCCharts 1. Tutorial Preparations 2. Exercise I: Textical Modeling 3. Exercise II: Interactive Compilation 4. Exercise III: Simulation 5. Bonus Exercise IV: SCG Lego Mindstorms

More information

WIZ-PRO2 CURRICULUM HIGHLIGHTS

WIZ-PRO2 CURRICULUM HIGHLIGHTS WIZ-PRO2 CURRICULUM HIGHLIGHTS STEM Learning and Advanced Robotics (ages 9-11) Develop more advanced programming skills, create programs using lines of code in Scratch, use more powerful robotics components

More information

Unlocking the Power of OPNET Modeler

Unlocking the Power of OPNET Modeler Unlocking the Power of OPNET Modeler For fast, easy modeling, this practical guide provides all the essential information you need to know. A wide range of topics is covered, including custom protocols,

More information

Introduction to Lab 2

Introduction to Lab 2 Introduction to Lab 2 Programming LEGO Mindstorms NXT using Ada Jakaria Abdullah 19 September 2017 Jakaria Abdullah Lab 2: LEGO 19 September 2017 1 / 24 Lab 2: Programming LEGO NXTs using Ada Lab goals:

More information

What is NXTCam. NXTCam Feature List. What you will need before using NXTCam. NXTCam v2 User Guide

What is NXTCam. NXTCam Feature List. What you will need before using NXTCam. NXTCam v2 User Guide NXTCam v2 User Guide What is NXTCam NXTCam is a real-time image processing engine. Think of it as a vision sub-system with on-board processor and a protocol interface that is accessible through a standard

More information

Introduction to Robotics using Lego Mindstorms EV3

Introduction to Robotics using Lego Mindstorms EV3 Introduction to Robotics using Lego Mindstorms EV3 Facebook.com/roboticsgateway @roboticsgateway Robotics using EV3 Are we ready to go Roboticists? Does each group have at least one laptop? Do you have

More information

What is NXTCam5. What you will need before using NXTCam5. NXTCam5 User Guide

What is NXTCam5. What you will need before using NXTCam5. NXTCam5 User Guide NXTCam5 User Guide What is NXTCam5 NXTCam5 is a real-time image processing engine. Think of it as a vision sub-system with on-board processor and a protocol interface that is accessible through a standard

More information

Introduction to Lab 2

Introduction to Lab 2 Introduction to Lab 2 Programming in RTOS on LEGO Mindstorms Syed Md Jakaria Abdullah 10 September 2014 Lab 2: LEGO 10 September 2014 1 / 20 Lab

More information

EV3Dev Lessons. Introduction to EV3Dev: Setup with Python

EV3Dev Lessons. Introduction to EV3Dev: Setup with Python EV3Dev Lessons Introduction to EV3Dev: Setup with Python Objectives Learn how to install ev3dev on an EV3 Setup Visual Studio Code IDE Prerequisites: none Copyright EV3Lessons 2018 (Last Update: Aug. 9,

More information

Robotics II. Module 4: Bluetooth Communication

Robotics II. Module 4: Bluetooth Communication Robotics II PREPARED BY Academic Services Unit December 2011 Applied Technology High Schools, 2011 Module Objectives Upon successful completion of this module, students should be able to: Set up a Bluetooth

More information

Getting Started with FTC Using RobotC

Getting Started with FTC Using RobotC Oregon Robotics Tournament and Outreach Program Getting Started with FTC Using RobotC 2008 Opening doors to the worlds of science and technology for Oregon s s youth Instructors Coordinator Robot C for

More information

school robotics On the path to success with Brault & Bouthillier Education

school robotics On the path to success with Brault & Bouthillier Education On the path to success with school robotics Robotics has been used in schools as a teaching tool for several years now. And right from the start, has always believed this innovative project could motivate,

More information

Dymola and Modelica_EmbeddedSystems in Teaching Experiences from a Project Course

Dymola and Modelica_EmbeddedSystems in Teaching Experiences from a Project Course Dymola and Modelica_EmbeddedSystems in Teaching Experiences from a Project Course Johan Åkesson ab Ulf Nordström c Hilding Elmqvist c a Department of Automatic Control, Lund University, Sweden b Modelon

More information

Autonomous Parking. LEGOeducation.com/MINDSTORMS. Duration Minutes. Learning Objectives Students will: Di culty Beginner

Autonomous Parking. LEGOeducation.com/MINDSTORMS. Duration Minutes. Learning Objectives Students will: Di culty Beginner Autonomous Parking Design cars that can park themselves safely without driver intervention. Learning Objectives Students will: Understand that algorithms are capable of carrying out a series of instructions

More information

Lego MINDSTORMS NXT Problem Solving with Robots [PRSOCO601]

Lego MINDSTORMS NXT Problem Solving with Robots [PRSOCO601] Lego MINDSTORMS NXT Problem Solving with Robots [PRSOCO601] Thomas Devine http://noucamp thomas.devine@lyit.ie January 29, 2008 1 Contents 1 A Brief History of MINDSTORMS 4 2 Discovering the MINDSTORMS

More information

Introduction to Lab 2

Introduction to Lab 2 Introduction to Lab 2 Programming LEGO Mindstorms NXT using Ada Jakaria Abdullah 12 September 2016 Jakaria Abdullah Lab 2: LEGO 12 September 2016 1 / 25 Lab 2: Programming LEGO Mindstorms using Ada Lab

More information

Lab 2 Programming LEGO Mindstorms NXT. Jakaria Abdullah 19 September 2018

Lab 2 Programming LEGO Mindstorms NXT. Jakaria Abdullah 19 September 2018 Lab 2 Programming LEGO Mindstorms NXT Jakaria Abdullah 19 September 2018 Lab Overview Lab goals Real-time programming on an embedded device Problem solving using real-time tasks Schedule Slot 1: 20.9.18

More information

RTMS - Software Setup

RTMS - Software Setup RTMS - Software Setup These instructions are for setting up the RTMS (Robot Tracking & Management System) software. This software will run on your PC/MAC and will be used for various labs in order to allow

More information

1. Why choose LEGO MINDSTORMS Education NXT? Bridging the RCX generation to the NXT RCX and NXT Comparison Chart 5

1. Why choose LEGO MINDSTORMS Education NXT? Bridging the RCX generation to the NXT RCX and NXT Comparison Chart 5 Index Page 1. Why choose LEGO MINDSTORMS Education NXT? 2 2. Getting started with NXT 3 a. Hardware b. Software c. Educational Content 3. Bridging the RCX generation to the NXT 4 4. RCX and NXT Comparison

More information

Summer Assignment for AP Computer Science. Room 302

Summer Assignment for AP Computer Science. Room 302 Fall 2016 Summer Assignment for AP Computer Science email: hughes.daniel@north-haven.k12.ct.us website: nhhscomputerscience.com APCS is your subsite Mr. Hughes Room 302 Prerequisites: You should have successfully

More information

1. What is the name of the control unit in Robotics? a. R2D2 b. MSN c. Pilot d. XJ7 e. RCX

1. What is the name of the control unit in Robotics? a. R2D2 b. MSN c. Pilot d. XJ7 e. RCX Quiz Name: Robotics Pilot/ Inventor Quiz Teacher: Mr. Famighetti Class: Robotics Instructions: Choose the best answer. Work with the members of your team only! 1. What is the name of the control unit in

More information

An Introduction to the Lego Mindstorms

An Introduction to the Lego Mindstorms Abstract An Introduction to the Lego Mindstorms Daniel Cliburn Assistant Professor Mathematics and Computer Science Hanover College Box 890 Hanover, IN 47243 (812) 866 7286 cliburn@hanover.edu http://www2.hanover.edu/cliburn

More information

Today. Robotics and Autonomous Systems. The scenario (again) Basic control loop

Today. Robotics and Autonomous Systems. The scenario (again) Basic control loop Today Robotics and Autonomous Systems Lecture 3 Programming robots Richard Williams Department of Computer Science University of Liverpool Before the labs start on Monday, we will look a bit at programming

More information

mbot v1.1 - Blue (Bluetooth Version)

mbot v1.1 - Blue (Bluetooth Version) mbot v1.1 - Blue (Bluetooth Version) SKU 110090103 What is mbot? mbot is an all-in-one solution to enjoy the hands-on experience of programming, electronics, and robotics. What is mbot? mbot is an all-in-one

More information

Comparison Between Different Abstraction Level Programming: Experiment Definition and Initial Results

Comparison Between Different Abstraction Level Programming: Experiment Definition and Initial Results Comparison Between Different Abstraction Level Programming: Experiment Definition and Initial Results Janne Merilinna and Juha Pärssinen VTT Technical Research Centre of Finland, P.O. Box 1000, 02044 Espoo,

More information

A Lego Mindstorms Maze Solving Robot

A Lego Mindstorms Maze Solving Robot We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or by storing it on your computer, you have convenient answers with a lego mindstorms maze

More information

An Undergraduate Course in Robotics & Machine Intelligence

An Undergraduate Course in Robotics & Machine Intelligence An Undergraduate Course in Robotics & Machine Intelligence B.A. Juliano & R.S. Renner Institute for Research in Intelligent Systems California State University, Chico 400 West First Street Chico, CA 95929

More information

Unit 03 Tutorial 3: Sensors: Touch Sensor Brighton H.S Engineering By: Matthew Jourden

Unit 03 Tutorial 3: Sensors: Touch Sensor Brighton H.S Engineering By: Matthew Jourden Unit 03 Tutorial 3: Sensors: Touch Sensor Brighton H.S Engineering By: Matthew Jourden Robots have a variety of sensors that help the machine sense the world around it. We will be looking at four different

More information

The Lego Mindstorms Ev3 Idea Book Book By No Starch Press

The Lego Mindstorms Ev3 Idea Book Book By No Starch Press The Lego Mindstorms Ev3 Idea Book Book By No Starch Press We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or by storing it on your computer,

More information

LEGOSC Mindstorms NXT robotics programming for artists

LEGOSC Mindstorms NXT robotics programming for artists LEGOSC Mindstorms NXT robotics programming for artists Jorge Cardoso Research Centre for Science and Technology in Art (CITAR), Portuguese Catholic University, Rua Diogo Botelho 1327, 4169-005 Porto, Portugal

More information

Merge Sort Quicksort 9 Abstract Windowing Toolkit & Swing Abstract Windowing Toolkit (AWT) vs. Swing AWT GUI Components Layout Managers Swing GUI

Merge Sort Quicksort 9 Abstract Windowing Toolkit & Swing Abstract Windowing Toolkit (AWT) vs. Swing AWT GUI Components Layout Managers Swing GUI COURSE TITLE :Introduction to Programming 2 COURSE PREREQUISITE :Introduction to Programming 1 COURSE DURATION :16 weeks (3 hours/week) COURSE METHODOLOGY:Combination of lecture and laboratory exercises

More information

Computer Science Principles

Computer Science Principles Computer Science Principles Introduction to Computer Science Computing as layers of abstraction History of Computing (Chapter 1) Days 1-4 E-Learn the introductory basics of computer science E-Discuss the

More information

Intel Do-It-Yourself Challenge Robotics Hello World

Intel Do-It-Yourself Challenge Robotics Hello World Intel Do-It-Yourself Challenge Robotics Hello World Cédric Andreolli www.intel-software-academic-program.com paul.guermonprez@intel.com Intel Software 2013-02-08 Agenda Agenda Introduction Prerequisites

More information

All About Java Technology Based Robotics

All About Java Technology Based Robotics All About Java Technology Based Robotics Paul J. Perrone Founder/CEO Perrone Robotics www.perronerobotics.com Session TS-1519 2007 JavaOne SM Conference Session TS-1519 Goal Learn About Java Technology-Based

More information

Java for Programmers Course (equivalent to SL 275) 36 Contact Hours

Java for Programmers Course (equivalent to SL 275) 36 Contact Hours Java for Programmers Course (equivalent to SL 275) 36 Contact Hours Course Overview This course teaches programmers the skills necessary to create Java programming system applications and satisfies the

More information

Introduction to Lab 2

Introduction to Lab 2 Introduction to Lab 2 Programming in RTOS using LEGO Mindstorms Martin Stigge 9. November 2009 Martin Stigge Lab 2: LEGO 9. November 2009 1 / 20 Lab 2:

More information

Content. 1. Overview Setup Demonstration Linux Application Project on DE10-Nano Android Application Project...

Content. 1. Overview Setup Demonstration Linux Application Project on DE10-Nano Android Application Project... Content 1. Overview... 1 2. Setup Demonstration... 3 3. Linux Application Project on... 6 4. Android Application Project... 8 5. Appendix... 13 www.terasic.com 1. Overview This documents describe how to

More information

Before you start with this tutorial, you need to know basic Java programming.

Before you start with this tutorial, you need to know basic Java programming. JDB Tutorial 1 About the Tutorial The Java Debugger, commonly known as jdb, is a useful tool to detect bugs in Java programs. This is a brief tutorial that provides a basic overview of how to use this

More information

Hands-on Lab. Lego Programming BricxCC Basics

Hands-on Lab. Lego Programming BricxCC Basics Hands-on Lab Lego Programming BricxCC Basics This lab reviews the installation of BricxCC and introduces a C-like programming environment (called NXC) for the Lego NXT system. Specific concepts include:

More information

Robotics Study Material School Level 1 Semester 2

Robotics Study Material School Level 1 Semester 2 Robotics Study Material School Level 1 Semester 2 Contents UNIT-3... 4 NXT-PROGRAMMING... 4 CHAPTER-1... 5 NXT- PROGRAMMING... 5 CHAPTER-2... 6 NXT-BRICK PROGRAMMING... 6 A. Multiple choice questions:...

More information

Robotics II. Module 3: Dealing with Files

Robotics II. Module 3: Dealing with Files Robotics II PREPARED BY Academic Services Unit December 2011 Applied Technology High Schools, 2011 Module 2: Dealing with Files Module Objectives Upon successful completion of this module, students should

More information

NC STATE UNIVERSITY. Advanced Diagnosis Automation and Control (ADAC) Lab. Raleigh, NC 27695

NC STATE UNIVERSITY. Advanced Diagnosis Automation and Control (ADAC) Lab. Raleigh, NC 27695 Intelligent Space (ispace) 2011 Mo-Yuen Chow Advanced Diagnosis Automation and Control (ADAC) Lab North Carolina State University Raleigh, NC 27695 USA Outline ispace Introduction ispace at ADAC Architecture

More information

Lego Robots and Software Design. CITS1220 Software Engineering

Lego Robots and Software Design. CITS1220 Software Engineering Lego Robots and Software Design CITS1220 Software Engineering Lecture Overview 1. Designing NXT Robots 2. NXT Hardware 3. Sensors and Actuator API 4. The Behaviour Interface 2 Software Design is a problem-solving

More information

Praktikum: 2. Content of today s lecture. Content of today s lecture. Houxiang Zhang Manfred Grove

Praktikum: 2. Content of today s lecture. Content of today s lecture. Houxiang Zhang Manfred Grove 18.272 Praktikum: 2 Lego Mindstorms experience, Germany @Lego Institute TAMS s http://tams-www.informatik.uni-hamburg.de/hzhang 1 Institute TAMS s http://tams-www.informatik.uni-hamburg.de/hzhang 2 Content

More information

jmeter is an open source testing software. It is 100% pure Java application for load and performance testing.

jmeter is an open source testing software. It is 100% pure Java application for load and performance testing. i About the Tutorial jmeter is an open source testing software. It is 100% pure Java application for load and performance testing. jmeter is designed to cover various categories of tests such as load testing,

More information

DRK6000/8000 System Specification. DRK6000 Wireless Mobile System DRK8000 Wireless Mobile Animated Head System

DRK6000/8000 System Specification. DRK6000 Wireless Mobile System DRK8000 Wireless Mobile Animated Head System DRK6000/8000 System Specification DRK6000 Wireless Mobile System DRK8000 Wireless Mobile Animated Head System Version: 1.0.5 Feb. 2004 Table of Contents I. WiRobot DRK6000/8000 Overview 2 I.1. Standard

More information

St Margaret College Secondary School Verdala. Smart Wheelchair. Form 3 NXT Coursework Project. Marquita Formosa (Class X)

St Margaret College Secondary School Verdala. Smart Wheelchair. Form 3 NXT Coursework Project. Marquita Formosa (Class X) St Margaret College Secondary School Verdala Smart Wheelchair Marquita Formosa (Class X) Marking Scheme (This was given to you during the Computing lesson) Marquita Formosa Page 2 Table of Contents Marking

More information

Addendum to Mr. Robot

Addendum to Mr. Robot Addendum to Mr. Robot Addendum to Mr. Robot build instructions on how to attach the new LEGO EV3 programmable brick to Mr. Robot. The LEGO NXT Brick has been replaced by the EV3 Brick. Mr. Robot now ships

More information

SBrick controls all your LEGO Power Functions with a Smartphone or Tablet.

SBrick controls all your LEGO Power Functions with a Smartphone or Tablet. 2018 SBrick controls all your LEGO Power Functions with a Smartphone or Tablet. HOW DOES SBRICK WORK? SBrick stands for Smart Brick and this tiny masterpiece sure is smart. It contains a Bluetooth RC receiver

More information

xpress Release Notes

xpress Release Notes 875-0075-01 RevA xpress 1.7.1 Release Notes These release notes describe the features of the xpress v1.7.1 relative to release 1.5.1. For a full description of how to use the xpress platform, refer to

More information

Developing Android applications in Windows

Developing Android applications in Windows Developing Android applications in Windows Below you will find information about the components needed for developing Android applications and other (optional) software needed to connect to the institution

More information