IoT with Intel Galileo Gerardo Carmona. makerobots.tk

Size: px
Start display at page:

Download "IoT with Intel Galileo Gerardo Carmona. makerobots.tk"

Transcription

1 IoT with Intel Galileo Gerardo Carmona

2 Outline What is Intel Galileo? Hello world! In Arduino Arduino and Linux Linux via SSH Playing around in Linux Programming flexibility How GPIOs works Challenge 1: Bash script

3 What is Intel Galileo?

4 Intel Galileo The Intel Galileo Gen 2 development board is a microcontroller board based on the Intel Quark SoC X1000 application processor, a 32-bit Intel Pentium brand system on a chip (SoC). It is the first board based on Intel architecture designed to be hardware and software pin-compatible with shields designed for the Arduino Uno* R3. This platform provides the ease of Intel architecture development through support for the Microsoft Windows*, Mac OS*, and Linux* host operating systems. It also brings the simplicity of the Arduino integrated development environment (IDE) software. From Intel website, Galileo overview

5 Intel Galileo Intel Galileo Gen 2 Intel Galileo Gen 1

6 Intel Galileo Gen 1 RS-232 USB client USB Host Ethernet Pin 13 LED 5 V input Micro SD slot SD card LED, power LED and Reset button Digital pins, some PWM, Serial, I2C and others Quark SoC X1000 RAM memory Power pins & analog pins Reboot

7 Intel Galileo Gen 2 USB device port USB host port Pin 13 LED, Power LED and SD card LED Ethernet port 6 pin FTDI header 7 to 15 V input Digital pins, some PWM, Serial, I2C and others RAM memory Micro SD Card slot Reboot Linux button Quark SoC X1000 Power pins & analog pins Reset button (sketch)

8 Hello world! In Arduino

9 Hello World! - Arduino Before we can program our Intel Galileo board we need to do some setup steps, like installing drivers, software, etc. Refer to Installing Intel Galileo.pdf in my webpage for more details.

10 Hello World! - Arduino Open Arduino IDE. Open file under: File >> Examples >> 01.Basics >> Blink menú Go to menu Tools >> Boards >> Galileo Gen 2 Then Tools >> Serial port >> COMx and select corresponding COM port for your Galielo. If you do not know which one it is, go to Device manager and look under COM and LTP ports. Compile, Upload, New, Open, Save

11 Hello World! - Arduino Code: void setup() { // initialize digital pin 13 as an output. pinmode(13, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalwrite(13, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalwrite(13, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }

12 Arduino + Linux

13 Arduino + Linux You can combine the easy to use of Arduino and the power of an Operative System like Linux. From the Arduino code you can make system calls to the Linux side using system command. Example: system( ls > /dev/ttygs0 ); System command List of directories Redirect output to Serial port

14 Arduino + Linux What if I want to know my Galielo s IP address?

15 Arduino + Linux What if I want to know my Galielo s IP address? R: Using ifconfig. upload this program void setup() { // Init serial com Serial.begin(9600); // Waits 5 seconds before printing it delay(5000); // Gets network interface info and sends // it through the serial interface system("ifconfig > /dev/ttygs0"); } void loop() { }

16 Arduino + Linux

17 Linux via SSH

18 Linux via SSH Secure Shell is a encrypted network protocol that initializes sessions on remote machines. We can connect to our Intel Galileo Linux-side using SSH. Follow the next steps (windows): 1) Connect your Intel Galileo to your local network 2) Get PuTTy o r any other SSH client, for PuTTY go to:

19 Linux via SSH Open PuTTy and configure as shown 1. Select SSH 2. Write Galileo s IP address 3. Leave port as Click Open

20 Linux via SSH The following window opens Type root as username and hit enter, no password is required

21 Linux via SSH Now you are inside Linux Yocto Project

22 Playing around with Linux

23 Playing around with Linux Now we can create files, folders, navigate though the Linux file system. You can use common Linux commands such as ls, cd, cd.., rm, Create a folder and name it as semanai

24 Playing around with Linux Now we can create files, folders, navigate though the Linux file system. You can use common Linux commands such as ls, cd, cd.., rm, Create a folder and name it as semanai Navigate to the folder $ mkdir semanai $ ls semanai

25 Playing around with Linux Now we can create files, folders, navigate though the Linux file system. You can use common Linux commands such as ls, cd, cd.., rm, Create a folder and name it as semanai Navigate to the folder $ mkdir semanai $ ls semanai $ cd semanai Create a file and name it hello.txt

26 No nano editor = ( We will use vi editor, old school

27 Playing around with Linux Now we can create files, folders, navigate though the Linux file system. You can use common Linux commands such as ls, cd, cd.., rm, Create a folder and name it as semanai Navigate to the folder $ mkdir semanai $ ls semanai $ cd semanai Create a file and name it hello.txt $ vi hello.txt

28 New file Write Hello world and save it

29 Vi editor To start editing this file press i (insert mode). Now you can type your text, after you finish, to save and exit file: Press escape key (exit editing mode) Type :wq (write and quit command)

30 Playing around with Linux If you want to display the content of a file in terminal type: $ cat hello.txt

31 Programming flexibility

32 Programming flexibility One of the advantages of having a OS is that we can program using different programming languages. We will make hello world in the following programming languages: Bash Python C Node.js

33 Bash A shell script is a file containing one or more commands that you would type on the command line. Create a file and name it hellobash.sh and write the following lines Execute the file by typing: #!/bin/bash #Author: Gerardo Carmona printf "Hello world! \n" $ sh hellobash.sh In computing, a shebang is the character sequence consisting of the characters number sign and exclamation mark (that is, "#!") at the beginning of a script. The program loader is instructed to run the program "/bin/sh" instead (usually this is the Bourne shell or a compatible shell), passing "path/to/script" as the first argument.

34 Python Create a file and name it hellopython.py and write the following lines Execute the file by typing: #!/usr/bin/python #Author: Gerardo Carmona print Hello world! $ python hellopython.py This is Python 2.x compatible only

35 C Create a file and name it helloc.c and write the following lines Compile file //Author: Gerardo Carmona #include <stdio.h> int main(){ printf( Hello world!\n ); } $ gcc helloc.c o hello Execute compiled file $./hello

36 Node.js Create a file and name it hellonode.js and write the following lines // Author: Gerardo Carmona console.log("hello world!"); Execute the file by typing: $ node hellonode.js

37 How GPIOs Works

38 Galileo Gen 1 Pinout

39 Accessing GPIOs To see a list of GPIOs type: $ cat /sys/kernel/debug/gpio

40 Accessing GPIOs You will observe that Galileo Gen2 contains 79 GPIO ports. Some of these pins are connected to the Arduino headers: GPIO Digital I/O GPIO Digital I/O gpio11 pin0 gpio38 pin7 gpio12 pin1 gpio40 pin8 gpio13 pin2 gpio4 pin9 gpio14 pin3 gpio10 pin10 gpio6 pin4 gpio5 pin11 gpio0 pin5 gpio15 pin12 gpio1 pin6 gpio7 pin13

41 Accessing GPIOs While the Intel Galileo, in essence, a very inexpensive Linux computer, there are a few things that distinguish it from laptop and desktop machines that we usually use for writing , browsing the web, or word processing. One of the main differences is that the Intel Galileo can be directly used in electronics projects because it has general purpose input and output pins right on the board. It also lacks a video output to connect to a monitor

42 Virtual files In order to manage gpios you need to write some configurations to different virtual files. They are a part of Linux s virtual file system, which is a system that makes it easier to access low-level functions of the board in a simpler way. For example, you could turn the LED on and off by writing to a particular section of the Intel Galileo memory, but doing so would require more coding and more caution.

43 Turning ON/OFF an LED

44 Accessing GPIOs Lets turn On/Off pin 8, that s gpio40. First we need to export gpio: $ echo -n 40" > /sys/class/gpio/export Above command will create /sys/class/gpio/gpio40 folder.

45 Accessing GPIOs Lets turn On/Off pin 8, that s gpio40. First we need to export gpio: $ echo -n 40" > /sys/class/gpio/export Above command will create /sys/class/gpio/gpio40 folder. Set the direction of gpio40 to out. $ echo -n "out" > /sys/class/gpio/gpio40/direction

46 Accessing GPIOs Lets turn On/Off pin 8, that s gpio40. First we need to export gpio: $ echo -n 40" > /sys/class/gpio/export Above command will create /sys/class/gpio/gpio40 folder. Set the direction of gpio40 to out. $ echo -n "out" > /sys/class/gpio/gpio40/direction Now we can turn on the LED and off: $ echo -n "1" > /sys/class/gpio/gpio40/value $ echo -n 0" > /sys/class/gpio/gpio40/value

47 Accessing GPIOs Lets turn On/Off pin 8, that s gpio40. First we need to export gpio: Above command will create /sys/class/gpio/gpio40 folder. Set the direction of gpio40 to out. Now we can turn on the LED and off: Unexport pin $ echo -n 40" > /sys/class/gpio/export $ echo -n "out" > /sys/class/gpio/gpio40/direction $ echo -n "1" > /sys/class/gpio/gpio40/value $ echo -n 0" > /sys/class/gpio/gpio40/value $ echo -n "40" > /sys/class/gpio/unexport

48 Challenge 1 Make a script in bash that blinks 10 times an LED. Use LED located on Pin 8 on Arduino (gpio40).

49 Some help For cicle in bash: for i in `seq 1 10`; do # Print echo $i done Challenge 1: Make a script in bash that blinks 10 times an LED. Use LED located on Pin 8 on Arduino, gpio40 in Linux.

50 Time to recharge batteries! Thanks!

Intel Galileo gen 2 Board

Intel Galileo gen 2 Board Intel Galileo gen 2 Board The Arduino Intel Galileo board is a microcontroller board based on the Intel Quark SoC X1000, a 32- bit Intel Pentium -class system on a chip (SoC). It is the first board based

More information

Lesson 6 Intel Galileo and Edison Prototype Development Platforms. Chapter-8 L06: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Lesson 6 Intel Galileo and Edison Prototype Development Platforms. Chapter-8 L06: Internet of Things , Raj Kamal, Publs.: McGraw-Hill Education Lesson 6 Intel Galileo and Edison Prototype Development Platforms 1 Intel Galileo Gen 2 Boards Based on the Intel Pentium architecture Includes features of single threaded, single core and 400 MHz constant

More information

CS 143A. Principles of Operating Systems. Instructor : Prof. Anton Burtsev

CS 143A. Principles of Operating Systems. Instructor : Prof. Anton Burtsev CS 143A Principles of Operating Systems Instructor : Prof. Anton Burtsev (aburtsev@uci.edu) Assistants : Junjie Shen junjies1@uci.edu Vikram Narayanan narayav1@uci.edu Biswadip Maity (Deep) Email : maityb@uci.edu

More information

Intel Do-It-Yourself Challenge Intel Galileo and Edison Paul Guermonprez

Intel Do-It-Yourself Challenge Intel Galileo and Edison Paul Guermonprez Intel Do-It-Yourself Challenge Intel Galileo and Edison Paul Guermonprez www.intel-software-academic-program.com paul.guermonprez@intel.com Intel Software 2014-02-01 Intel Galileo? Arduino? You may know

More information

Development Environment Embedded Linux Primer Ch 1&2

Development Environment Embedded Linux Primer Ch 1&2 Development Environment Embedded Linux Primer Ch 1&2 Topics 1) Systems: Host and Target 2) Host setup 3) Host-Target communication CMPT 433 Slides #3 Dr. B. Fraser 18-05-05 2 18-05-05 1 Host & Target Host

More information

ARDUINO YÚN Code: A000008

ARDUINO YÚN Code: A000008 ARDUINO YÚN Code: A000008 Arduino YÚN is the perfect board to use when designing connected devices and, more in general, Internet of Things projects. It combines the power of Linux with the ease of use

More information

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2 Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades 2017-2018 Q2 Facultat d Informàtica de Barcelona This first lab session is focused on getting experience in working

More information

Designed & Developed By: Ms. Jasleen Kaur, PhD Scholar, CSE. Computer Science & Engineering Department

Designed & Developed By: Ms. Jasleen Kaur, PhD Scholar, CSE. Computer Science & Engineering Department Design & Development of IOT application using Intel based Galileo Gen2 board A Practical Approach (Experimental Manual For B.Tech & M.Tech Students) For SoC and Embedded systems in association with Intel

More information

CSE 351. Introduction & Course Tools

CSE 351. Introduction & Course Tools CSE 351 Introduction & Course Tools Meet Your TA TA Name Interesting information examples: Where you are from Year in school Hobbies Unique talents Introductions Pick an interesting (but quick) ice breaker

More information

CS CS Tutorial 2 2 Winter 2018

CS CS Tutorial 2 2 Winter 2018 CS CS 230 - Tutorial 2 2 Winter 2018 Sections 1. Unix Basics and connecting to CS environment 2. MIPS Introduction & CS230 Interface 3. Connecting Remotely If you haven t set up a CS environment password,

More information

This guide is used as an entry point into the Petalinux tool. This demo shows the following:

This guide is used as an entry point into the Petalinux tool. This demo shows the following: Petalinux Design Entry Guide. This guide is used as an entry point into the Petalinux tool. This demo shows the following: How to create a Linux Image for a Zc702 in Petalinux and boot from the SD card

More information

Exercise 1: Basic Tools

Exercise 1: Basic Tools Exercise 1: Basic Tools This exercise is created so everybody can learn the basic tools we will use during this course. It is really more like a tutorial than an exercise and, you are not required to submit

More information

Configuring the Raspberry Pi for the UPS

Configuring the Raspberry Pi for the UPS Conguring the Raspberry Pi for the UPS To enable to Raspberry Pi to detect the presence of the UPS and to enable it to shut itself and the UPS down in an orderly fashion changes have to be made to the

More information

Adafruit's Raspberry Pi Lesson 6. Using SSH

Adafruit's Raspberry Pi Lesson 6. Using SSH Adafruit's Raspberry Pi Lesson 6. Using SSH Created by Simon Monk Last updated on 2017-08-16 01:12:07 AM UTC Guide Contents Guide Contents Overview Enabling SSH Using a blank boot file Using Raspi-Config

More information

Setting up 01/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

Setting up 01/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040 Setting up 01/2017 Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040 Warranty and liability Warranty and liability Note The Application Examples are not binding and do not claim to be complete

More information

Short Read Sequencing Analysis Workshop

Short Read Sequencing Analysis Workshop Short Read Sequencing Analysis Workshop Day 2 Learning the Linux Compute Environment In-class Slides Matt Hynes-Grace Manager of IT Operations, BioFrontiers Institute Review of Day 2 Videos Video 1 Introduction

More information

Intel Galileo Board. Getting Started Guide. 02 October Order Number: US

Intel Galileo Board. Getting Started Guide. 02 October Order Number: US Intel Galileo Board Getting Started Guide 02 October 2013 Order Number: 329685-001US Getting Started Guide This document explains how to connect your Intel Galileo board to the computer, install the software

More information

Beyond this course. Machine code. Readings: CP:AMA 2.1, 15.4

Beyond this course. Machine code. Readings: CP:AMA 2.1, 15.4 Beyond this course Readings: CP:AMA 2.1, 15.4 CS 136 Spring 2018 13: Beyond 1 Machine code In Section 04 we briefly discussed compiling: converting source code into machine code so it can be run or executed.

More information

Intermediate Programming, Spring Misha Kazhdan

Intermediate Programming, Spring Misha Kazhdan 600.120 Intermediate Programming, Spring 2017 Misha Kazhdan Outline Unix/Linux command line Basics of the Emacs editor Compiling and running a simple C program Cloning a repository Connecting to ugrad

More information

Exen Mini. Setup Guide - V1. nerdonic.com

Exen Mini. Setup Guide - V1. nerdonic.com nerdonic. Exen Mini Setup Guide - V1 01 Exen Mini - Pinout SWCLK SWDIO RESET 3.3V GND POWER LED SWD HEADER PROGRAMMABLE LED 8 / PA06 3.3-20V INPUT REGULATED TO 3.3V 3.3-20V 3.3V INPUT OR REGULATED 3.3V

More information

Interfacing with Raspberry Pi 3 Model B Updated: 9/19/17

Interfacing with Raspberry Pi 3 Model B Updated: 9/19/17 Interfacing with Raspberry Pi 3 Model B Updated: 9/19/17 A. Objectives 1. Learn about basics of Python programming 2. Learn how to use Python and Shell scripts to control GPIO ports on the Pi B. Time of

More information

Setting up 08/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

Setting up 08/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040 Setting up 08/2017 Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040 Warranty and liability Warranty and liability Note The Application Examples are not binding and do not claim to be complete

More information

w w w. b a s e t r a i n i n g i n s t i t u t e. c o

w w w. b a s e t r a i n i n g i n s t i t u t e. c o Disclaimer: Some of the images and most of the data in this presentation are collected from various sources in the internet. If you notice any copyright issues or mistakes, please let me know by mailing

More information

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Mauro Ceccanti e Alberto Paoluzzi

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Mauro Ceccanti e Alberto Paoluzzi Lezione 8 Bioinformatica Mauro Ceccanti e Alberto Paoluzzi Dip. Informatica e Automazione Università Roma Tre Dip. Medicina Clinica Università La Sapienza Sommario Shell command language Introduction A

More information

Parallel Programming Pre-Assignment. Setting up the Software Environment

Parallel Programming Pre-Assignment. Setting up the Software Environment Parallel Programming Pre-Assignment Setting up the Software Environment Authors: B. Wilkinson and C. Ferner. Modification date: Aug 21, 2014 (Minor correction Aug 27, 2014.) Software The purpose of this

More information

Overview of Architectures with Arduino Boards as Building Blocks for Data Acquisition and Control Systems

Overview of Architectures with Arduino Boards as Building Blocks for Data Acquisition and Control Systems Overview of Architectures with Arduino Boards as Building Blocks for Data Acquisition and Control Systems http://dx.doi.org/10.3991/ijoe.v12i07.5818 V.M. Cvjetkovic and M. Matijevic University of Kragujevac,

More information

Lab 1 Introduction to UNIX and C

Lab 1 Introduction to UNIX and C Name: Lab 1 Introduction to UNIX and C This first lab is meant to be an introduction to computer environments we will be using this term. You must have a Pitt username to complete this lab. NOTE: Text

More information

Index. Jeff Cicolani 2018 J. Cicolani, Beginning Robotics with Raspberry Pi and Arduino,

Index. Jeff Cicolani 2018 J. Cicolani, Beginning Robotics with Raspberry Pi and Arduino, A Accessor methods, 92 Adafruit, 9 Adafruit DC & Stepper Motor HAT assembling board adjustment, 199 circuit board, 199 kit, 197 pins, 197 preparation, 197 Raspberry Pi, 198, 204 removal, 201 rotation,

More information

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version... Contents Note: pay attention to where you are........................................... 1 Note: Plaintext version................................................... 1 Hello World of the Bash shell 2 Accessing

More information

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University Introduction to Linux Woo-Yeong Jeong (wooyeong@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating system of a computer What is an

More information

Oregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011

Oregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011 Oregon State University School of Electrical Engineering and Computer Science CS 261 Recitation 1 Spring 2011 Outline Using Secure Shell Clients GCC Some Examples Intro to C * * Windows File transfer client:

More information

Here's how the 4 channel receiver attaches to a Raspberry Pi B+, A+ or Pi 2.

Here's how the 4 channel receiver attaches to a Raspberry Pi B+, A+ or Pi 2. Here's how the 4 channel receiver attaches to a Raspberry Pi B+, A+ or Pi 2. You can attach an optional antenna wire to the hole in the top left of the receiver board marked ANT. It can be soldered or

More information

keyestudio Keyestudio MEGA 2560 R3 Board

keyestudio Keyestudio MEGA 2560 R3 Board Keyestudio MEGA 2560 R3 Board Introduction: Keyestudio Mega 2560 R3 is a microcontroller board based on the ATMEGA2560-16AU, fully compatible with ARDUINO MEGA 2560 REV3. It has 54 digital input/output

More information

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Esercitazione Introduzione al linguaggio di shell

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Esercitazione Introduzione al linguaggio di shell Lezione 8 Bioinformatica Mauro Ceccanti e Alberto Paoluzzi Esercitazione Introduzione al linguaggio di shell Dip. Informatica e Automazione Università Roma Tre Dip. Medicina Clinica Università La Sapienza

More information

Arduino Dock 2. The Hardware

Arduino Dock 2. The Hardware Arduino Dock 2 The Arduino Dock 2 is our supercharged version of an Arduino Uno R3 board. These two boards share the same microcontroller, the ATmel ATmega328P microcontroller (MCU), and have identical

More information

ARDUINO YÚN MINI Code: A000108

ARDUINO YÚN MINI Code: A000108 ARDUINO YÚN MINI Code: A000108 The Arduino Yún Mini is a compact version of the Arduino YUN OVERVIEW: Arduino Yún Mini is a breadboard PCB developed with ATmega 32u4 MCU and QCA MIPS 24K SoC CPU operating

More information

Introduction To Arduino

Introduction To Arduino Introduction To Arduino What is Arduino? Hardware Boards / microcontrollers Shields Software Arduino IDE Simplified C Community Tutorials Forums Sample projects Arduino Uno Power: 5v (7-12v input) Digital

More information

ARDUINO INDUSTRIAL 1 01 Code: A000126

ARDUINO INDUSTRIAL 1 01 Code: A000126 ARDUINO INDUSTRIAL 1 01 Code: A000126 The Industrial 101 is a small form-factor YUN designed for product integration. OVERVIEW: Arduino Industrial 101 is an Evaluation board for Arduino 101 LGA module.

More information

Introduction to Microcontrollers

Introduction to Microcontrollers Introduction to Microcontrollers June 2017 Scott A. Theis W2LW Rev 5 ( 0 8 / 0 2 / 2 0 1 7 ) What s it all about How to get started What are some of the common controller options General introduction to

More information

TA0297 WEMOS D1 R2 WIFI ARDUINO DEVELOPMENT BOARD ESP8266

TA0297 WEMOS D1 R2 WIFI ARDUINO DEVELOPMENT BOARD ESP8266 TA0297 WEMOS D1 R2 WIFI ARDUINO DEVELOPMENT BOARD ESP8266 Contents 1. Overview TA0297... 3 2. Getting started:... 3 2.1. What is WeMos D1 R2 Wifi Arduino Development Board?... 3 2.2. What is IDUINO UNO?...

More information

Elektor Uno R4 Installation & Test

Elektor Uno R4 Installation & Test Elektor Uno R4 Installation & Test Prerequisites Elektor Uno R4 USB-A to micro-b cable Computer with Windows (XP or later), Linux or OSX (10.7 or later) Arduino IDE 1.6.7 or higher (not 1.6.8) We highly

More information

Introduction to Linux. Fundamentals of Computer Science

Introduction to Linux. Fundamentals of Computer Science Introduction to Linux Fundamentals of Computer Science Outline Operating Systems Linux History Linux Architecture Logging in to Linux Command Format Linux Filesystem Directory and File Commands Wildcard

More information

Assignment 1: Build Environment

Assignment 1: Build Environment Read the entire assignment before beginning! Submit deliverables to CourSys: https://courses.cs.sfu.ca/ Late penalty is 10% per calendar day (each 0 to 24 hour period past due, max 2 days). This assignment

More information

Xinu on Intel Galileo User Manual

Xinu on Intel Galileo User Manual Xinu on Intel Galileo User Manual Table of Contents Page 1.0 Firmware Update for the Intel Galileo board 2 2.0 Console connection on the Intel Galileo 2 2.1 Background 2 2.2 Serial cable setup for the

More information

ArduCAM CC3200 UNO board

ArduCAM CC3200 UNO board ArduCAM CC3200 UNO board User Guide Rev 1.2, Mar 2017 Table of Contents 1 Introduction... 2 2 Features... 3 3 Pin Definition... 4 4 Getting Started CC3200 with Energia... 5 4.1 Out of the Box Test... 5

More information

Overo Conduit Setup Guide. Bring-up guide for Gumstix R Overo LoRaWAN gateway board withthethingsnetwork.org

Overo Conduit Setup Guide. Bring-up guide for Gumstix R Overo LoRaWAN gateway board withthethingsnetwork.org Overo Conduit Setup Guide Bring-up guide for Gumstix R Overo LoRaWAN gateway board withthethingsnetwork.org Revised October 2, 2017 Overo Conduit Setup Guide Gumstix, Inc. 2017 October 2, 2017 Contents

More information

CpSc 1111 Lab 1 Introduction to Unix Systems, Editors, and C

CpSc 1111 Lab 1 Introduction to Unix Systems, Editors, and C CpSc 1111 Lab 1 Introduction to Unix Systems, Editors, and C Welcome! Welcome to your CpSc 111 lab! For each lab this semester, you will be provided a document like this to guide you. This material, as

More information

Linux Systems Administration Shell Scripting Basics. Mike Jager Network Startup Resource Center

Linux Systems Administration Shell Scripting Basics. Mike Jager Network Startup Resource Center Linux Systems Administration Shell Scripting Basics Mike Jager Network Startup Resource Center mike.jager@synack.co.nz These materials are licensed under the Creative Commons Attribution-NonCommercial

More information

Introduction: What is Unix?

Introduction: What is Unix? Introduction Introduction: What is Unix? An operating system Developed at AT&T Bell Labs in the 1960 s Command Line Interpreter GUIs (Window systems) are now available Introduction: Unix vs. Linux Unix

More information

LTC Data Converter Board For The Arrow SoCKit Linux Application User s Guide

LTC Data Converter Board For The Arrow SoCKit Linux Application User s Guide LTC Data Converter Board For The Arrow SoCKit Linux Application User s Guide Revision 7.0 21 Aug 2013 1 of 32 Table of Contents Introduction... 4 Board Connections... 4 Board Setup... 4 Installing Linux...

More information

CHE3935. Lecture 1. Introduction to Linux

CHE3935. Lecture 1. Introduction to Linux CHE3935 Lecture 1 Introduction to Linux 1 Logging In PuTTY is a free telnet/ssh client that can be run without installing it within Windows. It will only give you a terminal interface, but used with a

More information

Novatel Wireless SA-2100 Edge MicroServer Installation and Setup Guide. Version [1.0]

Novatel Wireless SA-2100 Edge MicroServer Installation and Setup Guide. Version [1.0] Novatel Wireless SA-2100 Edge MicroServer Installation and Setup Guide Version [1.0] Copyright 2015 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved. User and training guides and related documentation

More information

Arduino Prof. Dr. Magdy M. Abdelhameed

Arduino Prof. Dr. Magdy M. Abdelhameed Course Code: MDP 454, Course Name:, Second Semester 2014 Arduino What is Arduino? Microcontroller Platform Okay but what s a Microcontroller? Tiny, self-contained computers in an IC Often contain peripherals

More information

Working with Shell Scripting. Daniel Balagué

Working with Shell Scripting. Daniel Balagué Working with Shell Scripting Daniel Balagué Editing Text Files We offer many text editors in the HPC cluster. Command-Line Interface (CLI) editors: vi / vim nano (very intuitive and easy to use if you

More information

Lesson 7 Programming Embedded Galileo, Raspberry Pi, BeagleBone and mbed Platforms

Lesson 7 Programming Embedded Galileo, Raspberry Pi, BeagleBone and mbed Platforms Lesson 7 Programming Embedded Galileo, Raspberry Pi, BeagleBone and mbed Platforms 1 Development Of Programs For Prototype Development Platforms Done using an IDE The cycles of edit-test-debug used When

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Dong-Yun Lee (dylee@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating

More information

Intel Do-It-Yourself Challenge Hello World with the Arduino IDE Nicolas Vailliet

Intel Do-It-Yourself Challenge Hello World with the Arduino IDE Nicolas Vailliet Intel Do-It-Yourself Challenge Hello World with the Arduino IDE Nicolas Vailliet www.intel-software-academic-program.com paul.guermonprez@intel.com Intel Software 2014-02-01 Before you start Processors

More information

Getting started with Raspberry Pi (and WebIoPi framework)

Getting started with Raspberry Pi (and WebIoPi framework) Getting started with Raspberry Pi (and WebIoPi framework) 1. Installing the OS on the Raspberry Pi Download the image file from the Raspberry Pi website. It ll be a zip file as shown below: Unzip the file

More information

More info about the competition and the Intel Galileo Gen 2

More info about the competition and the Intel Galileo Gen 2 More info about the competition and the Intel Galileo Gen 2 In this webinar A few details about the competition Regulation overview Technical overview of the Intel Galileo Gen 2 board Software & hardware

More information

Introduction to Arduino

Introduction to Arduino Introduction to Arduino Paco Abad May 20 th, 2011 WGM #21 Outline What is Arduino? Where to start Types Shields Alternatives Know your board Installing and using the IDE Digital output Serial communication

More information

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / Version Description Date. 0.1 Initiate 2014-Jun-21

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / Version Description Date. 0.1 Initiate 2014-Jun-21 Yun Shield User Manual VERSION: 1.0 Version Description Date 0.1 Initiate 2014-Jun-21 1.0 Release 2014-Jul-08 Yun Shield User Manual 1 / 22 Index: 1 Introduction... 3 1.1 What is Yun Shield... 3 1.2 Specifications...

More information

EEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 1: INTRODUCTION TO ARDUINO IDE AND PROGRAMMING DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS 1. FYS KIT COMPONENTS

More information

AlaMode User Manual Revision

AlaMode User Manual Revision AlaMode User Manual Revision 1.0 www.wyolum.com info@wyolum.com 1 Introduction The AlaMode is an integrated Arduino compatible board. It is designed as versatile, general purpose data acquisition and control

More information

Lab 1: Arduino Basics. Rodrigo Carbajales and Marco Zennaro ICTP Trieste-Italy

Lab 1: Arduino Basics. Rodrigo Carbajales and Marco Zennaro ICTP Trieste-Italy Lab 1: Arduino Basics Rodrigo Carbajales and Marco Zennaro ICTP Trieste-Italy Step Zero Clean up your desks! :) Goals of this Lab Learn how the programming takes place Excercises about: installing the

More information

Introducting Itsy Bitsy 32u4

Introducting Itsy Bitsy 32u4 Introducting Itsy Bitsy 32u4 Created by lady ada Last updated on 2018-01-03 05:47:20 AM UTC Guide Contents Guide Contents Overview Pinouts Which do you have? Power Pins Adafruit Pro Trinket LiIon/LiPoly

More information

Session 1: Accessing MUGrid and Command Line Basics

Session 1: Accessing MUGrid and Command Line Basics Session 1: Accessing MUGrid and Command Line Basics Craig A. Struble, Ph.D. July 14, 2010 1 Introduction The Marquette University Grid (MUGrid) is a collection of dedicated and opportunistic resources

More information

Introduction to the shell Part II

Introduction to the shell Part II Introduction to the shell Part II Graham Markall http://www.doc.ic.ac.uk/~grm08 grm08@doc.ic.ac.uk Civil Engineering Tech Talks 16 th November, 1pm Last week Covered applications and Windows compatibility

More information

Exen Mini. Setup Guide - V2. nerdonic.com

Exen Mini. Setup Guide - V2. nerdonic.com nerdonic. Exen Mini Setup Guide - V2 01 Setup Guide - Changelog V2 - Added common PC connection and Unknown Device fixes 02 SWCLK SWDIO RESET 3.3V GND Exen Mini - Pinout POWER LED SWD HEADER PROGRAMMABLE

More information

Itron Riva Dev Software Development Getting Started Guide

Itron Riva Dev Software Development Getting Started Guide Itron Riva Dev Software Development Getting Started Guide Table of Contents Introduction... 2 Busybox Command-line [Edge and Mini]... 2 BASH Scripts [Edge and Mini]... 3 C Programs [Edge and Mini]... 5

More information

Unix basics exercise MBV-INFX410

Unix basics exercise MBV-INFX410 Unix basics exercise MBV-INFX410 In order to start this exercise, you need to be logged in on a UNIX computer with a terminal window open on your computer. It is best if you are logged in on freebee.abel.uio.no.

More information

Practical Session 0 Introduction to Linux

Practical Session 0 Introduction to Linux School of Computer Science and Software Engineering Clayton Campus, Monash University CSE2303 and CSE2304 Semester I, 2001 Practical Session 0 Introduction to Linux Novell accounts. Every Monash student

More information

ELE409 SPRING2018 LAB0

ELE409 SPRING2018 LAB0 ELE409 SPRING2018 LAB0 Getting familiar with the LXDE system Objectives: Pre-Lab: 1. Burn the linux system onto a micro-sd card 2. Get familiar with basic linux commands 3. Be able to communicate with

More information

Saint Louis University. Intro to Linux and C. CSCI 2400/ ECE 3217: Computer Architecture. Instructors: David Ferry

Saint Louis University. Intro to Linux and C. CSCI 2400/ ECE 3217: Computer Architecture. Instructors: David Ferry Intro to Linux and C CSCI 2400/ ECE 3217: Computer Architecture Instructors: David Ferry 1 Overview Linux C Hello program in C Compiling 2 History of Linux Way back in the day: Bell Labs Unix Widely available

More information

Connecting to ICS Server, Shell, Vim CS238P Operating Systems fall 18

Connecting to ICS Server, Shell, Vim CS238P Operating Systems fall 18 Connecting to ICS Server, Shell, Vim CS238P Operating Systems fall 18 By Aftab Hussain (Adapted from Claudio A. Parra s Slides for Fall 18 CS-143A) October 5 2018 University of California, Irvine Andromeda

More information

CSCE UVM Hands-on Session-1 Pre-Work

CSCE UVM Hands-on Session-1 Pre-Work CSCE489-689 UVM Hands-on Session-1 Pre-Work Please complete the following steps before the lecture on Feb-16. These steps will help set-up the environment and tools necessary for the hands-on session.

More information

Linux Command Line Primer. By: Scott Marshall

Linux Command Line Primer. By: Scott Marshall Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and

More information

Counter & LED (LED Blink)

Counter & LED (LED Blink) 1 T.R.E. Meeting #1 Counter & LED (LED Blink) September 17, 2017 Contact Info for Today s Lesson: President Ryan Muller mullerr@vt.edu 610-573-1890 Learning Objectives: Learn how to use the basics of Arduino

More information

Lab 3a Using the vi editor

Lab 3a Using the vi editor Lab 3a Using the vi editor Objectives: Become familiar with the vi Editor Review the three vi Modes Review keystrokes to move between vi modes Create a new file with vi Editor Invoke vi with show mode

More information

Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S

Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S Overview Motivation Circuit Design and Arduino Architecture Projects Blink the LED Switch Night Lamp

More information

Wiring an LED Guide for BeagleBone (Black/Green) Table of Contents. by Brian Fraser Last update: November 16, Target Linux Kernel: 4.

Wiring an LED Guide for BeagleBone (Black/Green) Table of Contents. by Brian Fraser Last update: November 16, Target Linux Kernel: 4. Wiring an LED Guide for BeagleBone (Black/Green) by Brian Fraser Last update: November 16, 2017 Target Linux Kernel: 4.4 This document guides the user through: 1. Wiring an LED on P9.23 & controlling it

More information

Introduction to Supercomputing

Introduction to Supercomputing Introduction to Supercomputing TMA4280 Introduction to UNIX environment and tools 0.1 Getting started with the environment and the bash shell interpreter Desktop computers are usually operated from a graphical

More information

Chapter 4. Unix Tutorial. Unix Shell

Chapter 4. Unix Tutorial. Unix Shell Chapter 4 Unix Tutorial Users and applications interact with hardware through an operating system (OS). Unix is a very basic operating system in that it has just the essentials. Many operating systems,

More information

Learn-/Training Document

Learn-/Training Document Learn-/Training Document Siemens Automation Cooperates with Education (SCE) Version V15 and higher TIA Portal Module 014-101 Specific hardware configuration with SIMATIC IOT2000EDU siemens.com/sce For

More information

6 GPIO 84. Date: 29/09/2016 Name: ID: This laboratory session discusses about writing program to interact with GPIO of Reapberry Pi.

6 GPIO 84. Date: 29/09/2016 Name: ID: This laboratory session discusses about writing program to interact with GPIO of Reapberry Pi. 6 GPIO 84 Date: 29/09/2016 Name: ID: Name: ID: 6 GPIO This laboratory session discusses about writing program to interact with GPIO of Reapberry Pi. GPIO programming with Assembly Code:block installation

More information

Sten-SLATE ESP Kit. Description and Programming

Sten-SLATE ESP Kit. Description and Programming Sten-SLATE ESP Kit Description and Programming Stensat Group LLC, Copyright 2016 Overview In this section, you will be introduced to the processor board electronics and the arduino software. At the end

More information

User Guide Version 2.0

User Guide Version 2.0 User Guide Version 2.0 Page 2 of 8 Summary Contents 1 INTRODUCTION... 3 2 SECURESHELL (SSH)... 4 2.1 ENABLING SSH... 4 2.2 DISABLING SSH... 4 2.2.1 Change Password... 4 2.2.2 Secure Shell Connection Information...

More information

Intro to Linux. this will open up a new terminal window for you is super convenient on the computers in the lab

Intro to Linux. this will open up a new terminal window for you is super convenient on the computers in the lab Basic Terminal Intro to Linux ssh short for s ecure sh ell usage: ssh [host]@[computer].[otheripstuff] for lab computers: ssh [CSID]@[comp].cs.utexas.edu can get a list of active computers from the UTCS

More information

Zephyr Kernel Installation & Setup Manual

Zephyr Kernel Installation & Setup Manual Zephyr Kernel Installation & Setup Manual Zephyr kernel is a small footprint Single address space OS, i.e, it combines application specific code with a custom kernel to create a monolithic image that gets

More information

CENG 334 Computer Networks. Laboratory I Linux Tutorial

CENG 334 Computer Networks. Laboratory I Linux Tutorial CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction

More information

Linux/Cygwin Practice Computer Architecture

Linux/Cygwin Practice Computer Architecture Linux/Cygwin Practice 2010 Computer Architecture Linux Login Use ssh client applications to connect (Port : 22) SSH Clients zterm ( http://www.brainz.co.kr/products/products4_2.php ) Putty ( http://kldp.net/frs/download.php/3411/hangulputty-0.58.h2.exe

More information

Arduino Micro Breadboard Laboratory Interface Processor (Micro BLIP) User Manual

Arduino Micro Breadboard Laboratory Interface Processor (Micro BLIP) User Manual Arduino Micro Breadboard Laboratory Interface Processor (Micro BLIP) MicroBLIP circuit board v2.0 Operating System v2.0.0 1/22/2019 User Manual 2 1 Setup and Operation 1.1 Introduction For the past ten

More information

ARDUINO LEONARDO ETH Code: A000022

ARDUINO LEONARDO ETH Code: A000022 ARDUINO LEONARDO ETH Code: A000022 All the fun of a Leonardo, plus an Ethernet port to extend your project to the IoT world. You can control sensors and actuators via the internet as a client or server.

More information

EE516: Embedded Software Project 1. Setting Up Environment for Projects

EE516: Embedded Software Project 1. Setting Up Environment for Projects EE516: Embedded Software Project 1. Setting Up Environment for Projects By Dong Jae Shin 2015. 09. 01. Contents Introduction to Projects of EE516 Tasks Setting Up Environment Virtual Machine Environment

More information

MediaTek LinkIt Smart 7688 Developer's Guide

MediaTek LinkIt Smart 7688 Developer's Guide MediaTek LinkIt Smart 7688 Developer's Guide Version: 0.92 Beta Release date: November 2015 Specifications are subject to change without notice. 2015 MediaTek Inc. Unauthorized reproduction of this information

More information

LAB PROCEDURE. Lab Objectives 1. Generate a project using the GR-Sakura web compiler 2. Edit/Compile/Build/Debug the project using the web compiler

LAB PROCEDURE. Lab Objectives 1. Generate a project using the GR-Sakura web compiler 2. Edit/Compile/Build/Debug the project using the web compiler Lab Objectives 1. Generate a project using the GR-Sakura web compiler 2. Edit/Compile/Build/Debug the project using the web compiler Lab Materials Please verify you have the following materials at your

More information

USER MANUAL ARDUINO I/O EXPANSION SHIELD

USER MANUAL ARDUINO I/O EXPANSION SHIELD USER MANUAL ARDUINO I/O EXPANSION SHIELD Description: Sometimes Arduino Uno users run short of pins because there s a lot of projects that requires more than 20 signal pins. The only option they are left

More information

Introduction to UNIX I: Command Line 1 / 21

Introduction to UNIX I: Command Line 1 / 21 Introduction to UNIX I: Command Line 1 / 21 UNIX Command line The UNIX Shell: command line interface Navigating Directories and Files Running applications Reminder about helpful tutorial: http://korflab.ucdavis.edu/unix_and_perl/current.html

More information

SparkFun Blocks for Intel Edison - Base Block

SparkFun Blocks for Intel Edison - Base Block Page 1 of 5 Edison - Base Block Introduction The Base Block is a great foundation to any Edison stack. The Base is useful for mounting an Edison as a file system on a host computer or accessing the console

More information

PROGRAMMAZIONE I A.A. 2015/2016

PROGRAMMAZIONE I A.A. 2015/2016 PROGRAMMAZIONE I A.A. 2015/2016 SHELL SHELL SHELL A program that interprets commands Allows a user to execute commands by typing them manually at a terminal, or automatically in programs called shell scripts.

More information

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front Arduino Uno Arduino Uno R3 Front Arduino Uno R2 Front Arduino Uno SMD Arduino Uno R3 Back Arduino Uno Front Arduino Uno Back Overview The Arduino Uno is a microcontroller board based on the ATmega328 (datasheet).

More information