Introduction to ev3dev: Setup

Slides:



Advertisements
Similar presentations
 The easiest way to put Ubuntu onto your stick is to use the USB installer provided at pendrivelinux.com.pendrivelinux.com  You’ll need to download.
Advertisements

BEGINNER EV3 PROGRAMMING Lesson
Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation.
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
By Lego Works NXT Light Sensors on the EV3 ADVANCED EV3 PROGRAMMING LESSON © 2015 EV3Lessons.com, Last edit 1/29/
BEGINNER EV3 PROGRAMMING Lesson
Parallel Beams INTERMEDIATE EV3 PROGRAMMING LESSON By Droids Robotics
Google Chrome Operating System By Pauly Daher. Introduction Google Chrome OS is an open source PC operating system which is based on Linux. The operating.
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: Display Block.
Embedded Programming and Robotics Lesson 12 Introducing the Raspberry Pi Intro to Raspberry Pi1.
Menu System ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics
INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics Turn Degrees My Block.
This example is a step by step walkthrough for installing the SRH Front Desk Printer in Windows 8.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Chromium OS is an open-source project that aims to build an operating system that provides a fast, simple, and more secure computing experience for people.
Using the “Setup Assistant” to configure your new Mac Personalizing your new Mac.
N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks.
NUMOSS NURUL ‘IZZATI BINTI OTHMAN A
INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics Debugging Techniques.
Please Note: Information contained in this document is considered LENOVO CONFIDENTIAL For Lenovo Internal Use Only Do Not Copy or Distribute!! For Lenovo.
INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics Color Line Follower My Blocks with Inputs: Move Until Black © 2014, Droids Robotics, v. 2.0, Last edit.
INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics My Blocks Overview Step-by-Step Visual Guide to Creating a My Block with Inputs with Outputs.
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: Switches.
Calibrating Color Sensors
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: EV3 Basics Introduction to the EV3 Brick and Software.
BEGINNER EV3 PROGRAMMING Lesson
Downloading and Installing Autodesk Inventor Professional 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the.
Training on Basic Software Hardware Installation
ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics 1 Data Logging (Part 2)
Data Logging (Part 1).
By Droids Robotics INTERMEDIATE EV3 PROGRAMMING LESSON SIMPLE & OPTIMIZED ULTRASONIC WALL FOLLOW.
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Using Sensor Data and Port View.
By Droids Robotics INTERMEDIATE PROGRAMMIN G LESSON DATA WIRES.
By Droids Robotics INTERMEDIATE PROGRAMMING LESSON BRICK BUTTONS AS SENSORS.
Intro to Raspberry Pi A Southwest Florida Hackerspace Workshop Presented by: Russell Benzing & Eric Schiffli.
Bonus EV3 Programming Lessons By Droids Robotics LEGO MINDSTORMS and Raspberry Pi Communicator.
Bonus EV3 Programming Lessons LEGO MINDSTORMS EV3Dev and Raspberry Pi Communicator.
Bonus EV3 Programming Lessons By Droids Robotics PixyCam for MINDSTORMS Color Identifinder.
PixyCam for MINDSTORMS Introduction
ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics PROPORTIONAL ULTRASONIC WALL FOLLOWER © 2015, EV3Lessons.com, Last edit 11/17/2015.
Bonus EV3 Programming Lessons By Droids Robotics LEGO MINDSTORMS and Raspberry Pi IR Light controller.
Bonus EV3 Programming Lessons LEGO MINDSTORMS ev3dev and Raspberry Pi IR Light controller.
Bonus EV3 Programming Lessons By Droids Robotics PixyCam for MINDSTORMS: Color Codes.
HOW TO INSTALL WINDOWS 7? This step-by-step guide demonstrates how to install Windows 7 Ultimate. The guide is similar for other versions of Windows 7.
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: Touch Sensor.
By Droids Robotics INTERMEDIATE PROGRAMMIN G LESSON COLOR LINE FOLLOWER MY BLOCK WITH INPUTS: MOVE FOR DISTANCE.
TABLET LESSONS INTRODUCTION TO THE EV3 BRICK AND SOFTWARE By Sanjay and Arvind Seshan.
TABLET LESSONS PROGRAMMER APP ON KINDLE FIRE By Sanjay and Arvind Seshan Copyright © EV3Lessons.com 2016 (Last edit: 7/26/2016)
Exploring Computer Science Lesson 6-5
INTERMEDIATE PROGRAMMING LESSON
Branching Error (a.k.a. the VM Program Instruction Break Error)
INTERMEDIATE PROGRAMMING Lesson
INTERMEDIATE programming LESSON: debugging Techniques: DISPLAY, LIGHT, Sound, Button Press… By Droids Robotics © 2014, Droids Robotics, v. 1.0,
Java on the LEGO Mindstorms EV3
BEGINNER PROGRAMMING LESSON
Engineering Innovation Center
BEGINNER PROGRAMMING LESSON
Introduction to EV3Dev: Setup with Python
BEGINNER PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
Exploring Computer Science Lesson 6-5
LEGO MINDSTORMS and Raspberry Pi Communicator
BEGINNER PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
Compiled from various Internet sources Presented by Mr. Hatfield
Menu System.
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
Presentation transcript:

Introduction to ev3dev: Setup

Objectives Learn how to install ev3dev on an EV3 Learn to setup networking on ev3dev and connect to the ev3 using ssh Prerequisites: none © EV3Lessons 2016 (Last Update: 2/6/2016)

Materials EV3 brick USB WIFI (Optional) Micro SD card (2gb+ but smaller than 32gb) © EV3Lessons 2016 (Last Update: 2/6/2016)

What is ev3dev? ev3dev is a Debian Linux-based operating system that runs on the LEGO® MINDSTORMS EV3 ev3dev allows you to program in different languages (eg. Python, c++) ev3dev supports many USB and Bluetooth devices, like Wi-Fi dongles, keyboards, keypads, joysticks and cameras work too. © EV3Lessons 2016 (Last Update: 2/6/2016)

Step 1: Download ev3dev Download the latest version of EV3dev for EV3 here (https://github.com/ev3dev/ev3dev/releases) Unzip the file Remember where you put the .img file © EV3Lessons 2016 (Last Update: 2/6/2016)

Step 2: Write Image (Windows) Download win32diskimager Insert the Micro SD card into the computer Browse for the .img file you downloaded in win32diskimager Write to the drive letter of your SD card (in device dropdown) Accept all warnings © EV3Lessons 2016 (Last Update: 2/6/2016)

Step 2: Write Image (Mac OS X) Open terminal from Application  Utilities Run diskutil list Now insert you SD card and run diskutil list again. The new entry (/dev/ID_OF_CARD) is your SD card. Remember the ID_OF_CARD Run diskutil unmountDisk /dev/ID_OF_CARDs1 Unmount your SD card. If it has more than one partition, you will need to do this for each partition. (Listed as identifier when running diskutil list) This is the dangerous part. If you pick the wrong device, you could wipe out your hard drive, so BE CAREFUL!. Run sudo dd if=Location_OF_EV3DEV_IMG of=/dev/rID_OF_CARD bs=4m REPLACE EVERY ID_OF_CARD WITH THE ACTUAL DISK ENTRY FOUND IN DISKUTIL LIST (EG. DISK1) © EV3Lessons 2016 (Last Update: 2/6/2016)

Step 2: Write Image (Linux) Run df –h Now insert you SD card and run df -h again. See the a new entry eg.(/dev/sdb1)? That is your SD card. sdb is the actual device name and 1 is the partition number. Your actual device may be named something different. Run sudo umount /dev/sdb1 You may have to run this more than once with a different number at the end if you have more than one partition IMPORTANT: Note sdb is just an example id. Your actual device may be named something different. Run sudo dd if=Location_OF_EV3DEV_IMG bs=4M of=/dev/sdb © EV3Lessons 2016 (Last Update: 2/6/2016)

Step 2: Write Image (Ubuntu Linux) Download the ev3dev image file ending with .xz instead of .zip (do not extract) This is our micro SD card. (Yours will probably be different) © EV3Lessons 2016 (Last Update: 2/6/2016)

Step 3: Boot ev3dev Put the SD Card in your EV3 and power it on. At first, you will see the MINDSTORMS boot splash and the red LEDs will be on. This is immediately followed by the ev3dev boot splash and the LEDs changing to orange. The button lights on the EV3 brick (LEDs) indicate SD card activity. © EV3Lessons 2016 (Last Update: 2/6/2016)

Step 4: Connect to the Internet Insert the USB Wi-Fi dongle Note that more than the standard LEGO specified Wi-Fi dongles should work Navigate to Wireless and Networks using arrow keys on robot Find Wi-Fi Select Powered Press Start Scan Select a network that you recognize Press connect When you are prompted with a dialogue press the middle button Type in the passcode Select Accept then Accept on the other remaining dialogue To connect to the Internet in another way (USB or Bluetooth) visit here © EV3Lessons 2016 (Last Update: 2/6/2016)

Step 5: SSH on Linux/Mac OS X Launch terminal Find the IP Address of your EV3 (On the top left of the EV3 screen) In Terminal type ssh IP_Address_EV3 –l root Replace IP_Address_EV3 with the value you found in step 2 The password is r00tme root is the username To change the password run sudo passwd To make a new user run useradd NAME_OF_USER  Replace NAME_OF_USER with the username you want © EV3Lessons 2016 (Last Update: 2/6/2016)

Step 5: SSH on Windows Install Putty Find the IP Address of your EV3 (On the top left of the EV3 screen) Connect to the EV3: Press open root is the username The password is r00tme To change the password run sudo passwd To make a new user run useradd NAME_OF_USER  Replace NAME_OF_USER with the username you want © EV3Lessons 2016 (Last Update: 2/6/2016)

CREDITS This tutorial was created by Sanjay Seshan and Arvind Seshan from Droids Robotics. More lessons are available at www.ev3lessons.com Author’s Email: team@droidsrobotics.org Credits: ev3dev.org                           This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. © EV3Lessons 2016 (Last Update: 2/6/2016)