Project from Real-Time Systems Lego Mindstorms EV3

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

Introduction to Robotics using Lego Mindstorms EV3

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

Some call it a robot. EV3 Programming APP Available March Locally operated globally connected. Freecall:

Why robotics in Education? DEI The University of Padova

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

Introduction to Lab 2

EV3Dev Lessons. Introduction to EV3Dev: Setup with Python

COPYRIGHTED MATERIAL. Introducing LEGO CHAPTER. Did you get a box that looks like the one shown in Figure 1-1?

Introduction to Lab 2

LEGO Mindstorm EV3 Robots

Introduction to Lab 2

Fun with Java Technology on Lego Mindstorms

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

EV3 Programming Workshop for FLL Coaches

Computer science Science Technology Engineering Math. LEGOeducation.com/MINDSTORMS

Agreement. Objectives. General Guidelines for Labs. Reading Assignment

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

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

Introduction to Lab 2

Introduction to Lab 2

PROGRAMMING ROBOTS AN ABSTRACT VIEW

Team Project: A Surveillant Robot System

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

US Version USER GUIDE COMPUTER SCIENCE SCIENCE TECHNOLOGY ENGINEERING MATH. LEGOeducation.com/MINDSTORMS

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

USER GUIDE. BuWizz brick 2.0. ios & Android app. Table of Contents. 1. Introduction Compatibility Do this first 3

Robotics with Elixir

Lego MINDSTORMS NXT Problem Solving with Robots [PRSOCO601]

Part A: Monitoring the Rotational Sensors of the Motor

contents in detail introduction...xxi 1 LEGO and robots: a great combination the EV3 programming environment... 5

How to Use EV3Lessons

Robotics with Lego EV3 + MS Makecode. Andrea Sterbini

TABLE OF CONTENTS. LEGO.com/mindstorms. Introduction + Welcome... 3

BeRobot the Robotic Development Kits, Be your Robot

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

Robotics II. Module 3: Dealing with Files

Hands-on Lab. Lego Programming BricxCC Basics

Branching Error (a.k.a. the VM Program Instruction Break Error) By Sanjay and Arvind Seshan DEBUGGING LESSON

Robot Practical Course

Robot Design Hardware

LabVIEW for FTC Release Notes

Controlling LEGO R EV3 robots with Prolog

Robotics II. Module 5: Creating Custom Made Blocks (My Blocks)

mbot v1.1 - Blue (Bluetooth Version)

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

INTRODUCTION TO ARTIFICIAL INTELLIGENCE

Next Gen Platform: Team & Mentor Guide

November 3, 2015 Jason Kridner

The ROKduino SmartBlock

BEGINNER PROGRAMMING LESSON

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

WIZ-PRO2 CURRICULUM HIGHLIGHTS

python-ev3dev Documentation

LEGO mindstorm robots

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

December 1, 2015 Jason Kridner

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

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

TETRIX Getting Started Guide FTC Extension

Robotics II. Module 4: Bluetooth Communication

Table of Contents. 2 Know your device. 6 Health management. 7 Connections. 10 Customize. 11 Home screen. 13 Apps. 15 Calls.

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

Development of a System for Teaching. Robots

Introduction to Lab 2

Part A: Monitoring the Touch Sensor and Ultrasonic Sensor

RobotC Basics. FTC Team 2843 SSI Robotics October 6, 2012 Capitol College FTC Workshop

This page outlines some of the alternate pieces that can be used for building.

An overview of mobile and embedded platforms

Unified Computers & Programming Installation Instructions for Windows

Programming Low-Cost Hardware Using Simulink Brian McKay MathWorks Technical Marketing

Mirrorcle Technologies, Inc. Development Kit Overview

Festo LOGISTICS COMPETITION 2011

An Introduction to the Lego Mindstorms

Open Sesame. Grant Apodaca Jeffrey Bolin Eric Taba Richie Agpaoa Evin Sellin

Java using LEGO Mindstorms and LeJOS. University of Idaho

WINNER N. PlatinumP. latinum. Solstice by Mersive

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

Programming with the NXT using the touch and ultrasonic sensors. To be used with the activity of the How do Human Sensors Work?

ROBOMIND EV3 EXPORT MANUAL FOR WINDOWS COMPUTERS

Electronics Single Board Computers

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

Powered by LEGO MINDSTORMS Education

Mobile Internet Devices and the Cloud

LEGO Plus. Session 1420

The Lego Mindstorms Ev3 Idea Book Book By No Starch Press

Quick start guide 2018

SE 3S03 - Tutorial 1. Zahra Ali. Week of Feb 1, 2016

What Is a Program? Pre-Quiz

WiRobot TM DRK6000 QUICK START

Develop lejos Programs Step by Step

POKIBOT. 2 Body Styles, 3 colors, control via the App. Robots Dance, Spin and Move Forward. Sound effects & music (Clap twice)

AlphaBot2 robot building kit for Raspberry Pi 3 Model B

EDJE PROJECT. The Software Foundation for IoT Devices. IS2T S.A All rights reserved.

Hands-on Lab: LabVIEW Angle Sensor

Computers in Engineering Lab #2 Maze Treasure Searching

KTX PC User Manual. KumoTeck 06/25/2010. Tech Support. Masahiro Ishida

LabVIEW ON SMALL TARGET

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT

Esercitazione con un robot umanoide programmabile per edutainment

Transcription:

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?

EV3 Brick 300 MHz 32-bit ARM9 microcontroller by Texas Instruments

EV3 Brick 300 MHz 32-bit ARM9 microcontroller by Texas Instruments 16MB FLASH memory, 64 MB RAM (cf. 64 kb flash in NXT!), microsdhc slot (up to 32 GB)

EV3 Brick 300 MHz 32-bit ARM9 microcontroller by Texas Instruments 16MB FLASH memory, 64 MB RAM (cf. 64 kb flash in NXT!), microsdhc slot (up to 32 GB) runs a native version of Linux

EV3 Brick 300 MHz 32-bit ARM9 microcontroller by Texas Instruments 16MB FLASH memory, 64 MB RAM (cf. 64 kb flash in NXT!), microsdhc slot (up to 32 GB) runs a native version of Linux USB host port, mini USB port, Bluetooth interface (Android and ios connectivity and apps available)

EV3 Brick 300 MHz 32-bit ARM9 microcontroller by Texas Instruments 16MB FLASH memory, 64 MB RAM (cf. 64 kb flash in NXT!), microsdhc slot (up to 32 GB) runs a native version of Linux USB host port, mini USB port, Bluetooth interface (Android and ios connectivity and apps available) 4 and 4 output ports, connection via modified RJ12 cables

EV3 Brick 300 MHz 32-bit ARM9 microcontroller by Texas Instruments 16MB FLASH memory, 64 MB RAM (cf. 64 kb flash in NXT!), microsdhc slot (up to 32 GB) runs a native version of Linux USB host port, mini USB port, Bluetooth interface (Android and ios connectivity and apps available) 4 and 4 output ports, connection via modified RJ12 cables loudspeaker buttons, display, diodes timer doing 1000 ticks per second power source: 6 AA batteries

Motors electric motors (2 large and 1 medium-sized), built-in gear synchronization, built-in rotation sensor (accuracy +- 1 deg) typical use: set power (0-100), direction (fwd, rev), set on/off, or turn the shaft by a given angle at a given power.

Sensors touch sensor - analogue, pressed/not pressed

Sensors touch sensor - analogue, pressed/not pressed colour sensor - digital, 3 modes: colour recognition, measuring intensity of ambient/reflected light

Sensors touch sensor - analogue, pressed/not pressed colour sensor - digital, 3 modes: colour recognition, measuring intensity of ambient/reflected light infrared sensor - digital, 2 modes: proximity mode: measures distance to objects (0 70 cm), accuracy depends on size, shape and composition of objects beacon mode: measures distance and angle to IR beacon (up to 200 cm) IR beacon - acts as a beacon or an RC device, requires 2 AAA batteries Digital sensors sample rate 1 khz.

Sensors touch sensor - analogue, pressed/not pressed colour sensor - digital, 3 modes: colour recognition, measuring intensity of ambient/reflected light infrared sensor - digital, 2 modes: proximity mode: measures distance to objects (0 70 cm), accuracy depends on size, shape and composition of objects beacon mode: measures distance and angle to IR beacon (up to 200 cm) IR beacon - acts as a beacon or an RC device, requires 2 AAA batteries Digital sensors sample rate 1 khz. Additional sensors (not bundled): gyro sensor (or use gyro-capable smartphone...) ultrasound sensor

Programming Languages and Environments Visual: bundled visual language (EV3-G, based on LabView s G) Code-based : lejos EV3 a Java Virtual Machine for EV3 brick comes with a well-documented API plug-ins for Eclipse microsdhc card needed for installation EV3 version: 0.9 beta, recommended

Programming Languages and Environments Visual: bundled visual language (EV3-G, based on LabView s G) Code-based : lejos EV3 a Java Virtual Machine for EV3 brick comes with a well-documented API plug-ins for Eclipse microsdhc card needed for installation EV3 version: 0.9 beta, recommended C-like alternatives: NXC (Not exactly C): originally for NXT, IDE for Win (BricxCC), development stopped in 2013, EV3 support experimental RobotC: proprietary (1-year license starts at $49), IDE for Win.

Programming Languages and Environments II ev3dev http://www.ev3dev.org/ customized Debian (8.0) Linux Distribution allows access to EV3 s native devices via standard file access provides rich a set of libraries and language bindings allowing their use in many standard languages: C++, Lua, Python, C... distro comes with several of these languages (Python, Lua), others can be installed (if ARM9 port exists) still in development, may require substantial tweaking

Project: Organization work in teams each team chooses a leader submit short project abstract (up to 1/2 page) by March 30 work :) submit a project report (up to 5 pages) and program source presentation of results Submission deadlines: TBA

Project: Requirements the robot performs a non-trivial, meaningful and a well-defined task. the robot uses at least 2 motors and 2 sensors the implementation uses concurrency in a meaningful way (at least 2 threads running in parallel) the resulting system is a hard real-time system (i.e., a successful completion of the defined task depends on a correct timing) implementation in lejos is preferred

Project: Evaluation Project report: up to 5 pages describes: the task performed, the implementation, deviations from abstract, difficulties encountered during implementation, use of concurrency and timing specifies the contribution of individual members (does not have to be equal, but team members may kick out work-avoiding colleagues)

Project: Evaluation Project report: up to 5 pages describes: the task performed, the implementation, deviations from abstract, difficulties encountered during implementation, use of concurrency and timing specifies the contribution of individual members (does not have to be equal, but team members may kick out work-avoiding colleagues) Source code: preferably non-visual, non-proprietary language well-documented source code

Project: Evaluation Project report: up to 5 pages describes: the task performed, the implementation, deviations from abstract, difficulties encountered during implementation, use of concurrency and timing specifies the contribution of individual members (does not have to be equal, but team members may kick out work-avoiding colleagues) Source code: preferably non-visual, non-proprietary language well-documented source code Presentation: with demo, not necessarily by the team leader, rehearse in advance!

Project: Evaluation II Golden rules: Purpose of the project is learning, not building the best robot or a safe robot that works well under every circumstance (be a bit ambitious!).

Project: Evaluation II Golden rules: Purpose of the project is learning, not building the best robot or a safe robot that works well under every circumstance (be a bit ambitious!). Failures are ok, provided that you transform them into a lesson that can be shared with others (but it is nice to have a robot that does at least something ).

Project: Evaluation II Golden rules: Purpose of the project is learning, not building the best robot or a safe robot that works well under every circumstance (be a bit ambitious!). Failures are ok, provided that you transform them into a lesson that can be shared with others (but it is nice to have a robot that does at least something ). Show us that you learned something new and that you are ready to discuss your project, and your project will pass.

Project: Evaluation II Golden rules: Purpose of the project is learning, not building the best robot or a safe robot that works well under every circumstance (be a bit ambitious!). Failures are ok, provided that you transform them into a lesson that can be shared with others (but it is nice to have a robot that does at least something ). Show us that you learned something new and that you are ready to discuss your project, and your project will pass. If the project passes, the final grade is not further influenced by it.

Project: Topic it is a part of the project to choose an interesting yet doable goal search the internet for inspiration (e.g., YouTube: Lego Mindstorms) all-time classics: finding, picking up and transporting an object; following a black line; navigation through a maze; Segway; 2-leg (or 4-leg) walker... new ideas are appreciated!

Quick Start Guide unbox :), put unboxed parts into some nicer box download and install Lego Mindstorms app, lejos, or ev3dev play around for a while, test the sensors etc. read manuals and tutorials on the web (including the official ones) build a simple robot and try to run a simple program discuss the project, write an abstract