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

Size: px
Start display at page:

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

Transcription

1 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 Program Designed & Developed By: Ms. Jasleen Kaur, PhD Scholar, CSE Under the Guidance of: Dr. SRN Reddy, Associate Professor, CSE Computer Science & Engineering Department Indira Gandhi Delhi Technical University for Women Kashmere Gate, Delhi

2 LIST OF EXPERIMENTS Exp No. Exp. 1 Description of experiment To familiarize with Intel Galileo Gen2 board and understand the procedure of creation and compilation of C source code. Exp. 2 To write C source code to Interface LCD with Intel Galileo Gen 2 and display IGDTUW on LCD Display. Exp. 3 To write C source code to Interface Temperature Sensor( LM35) with Intel Galileo Gen 2 and display the temperature on LCD. Exp. 4 To write C source code to Interface Temperature Sensor (LM35), Piezo Buzzer & LCD Display with Intel Galileo Gen 2. Exp. 5 To write C source code to Interface Sound Detector with Intel Galileo Gen 2. Exp. 6 To write C source code to Interface Bluetooth Module with Intel Galileo Gen 2 and showing communication between Galileo Gen2 & Android Device.

3 INTEL BOARD GALILEO GEN 2 Experiment 1 Objective: To familiarize with Intel Galileo Gen2 board and understand the procedure of creation and compilation of C source code. Software Requirement: Arduino IDE Hardware Requirement: Target board Galileo Gen2, USB Cable, Adapter Procedure: Step1: Download Arduino for Galileo Gen2 Windows OS Installation 1. Download Arduino IDE for Galileo Gen2 that matches your operating system. The download is about 100MB, and comes as an archived (zip or tgz) file. 2. Unzip the file to the top directory of your drive (e.g. C:/). You can leave the unzipped directory as named (arduino-1.5.3), or rename it to something descriptive, just make sure there are no spaces in the name of the directory.. Examples Windows directory structure. The Arduino Galileo software is installed at the top level (C:/) of the drive. 3. Double-click, or run Arduino.exe to open up the Arduino IDE for Galileo. Mac OS Installation 1. Mac users should unzip application and move it into your Applications folder. You can rename the application (to differentiate it from any other Arduino installs), but make sure there are no spaces in the name.

4 Example Mac directory structure. We ve renamed the application to ArduinoGalileo to differentiate it from our other Arduino install. 2. Double-click your newly downloaded Arduino application to run the IDE. Linux Installation 1. Linux users need to use the tar tool to extract the tar.gz file. A command like tar -zxvf arduino linux32.tar.gz should do. 2. Disable the modem manager on most Linux distributions, to enable uploading to the board. This will vary by distro, but something like sudo apt-get remove modemmanager will work. 3. Once installed, run the arduino file in the extracted directory. From a terminal, you can enter./arduino to run it. Step 2: Install Drivers Once you ve downloaded and installed the software, the next step is to connect the board and install drivers. This process differs on each operation system, follow the directions below that pertain to your OS: Windows Mac OS Linux Windows Driver Install 1. Connect a 5V power supply to the Galileo. (The USB port alone cannot supply enough power to run the Galileo.) 2. Connect a micro-b USB cable from the Galileo s USB Client port to an available USB socket on your computer. 3. Upon connecting the board, Windows will automatically attempt to install the driver and, unsurprisingly, it will fail. We ll have to manually install the driver. 4. Open up the Device Manager. (Either Start > Run > devmgmt.msc, or go to the Control Panel, select System and click Device Manager.)

5 5. Locate the Gadget Serial v2.4 device, under the Other devices tree. Right-click that and select Update Driver Software 6. On the first window that pops up, click Browse my computer for driver software. And on the next page selectbrowse and navigate to the hardware\arduino\x86\tools folder within your Arduino Galileo software installation. Then click Next.

6 7. Click Install on the next Windows Security window that pops up. And, after a number of loading-bar-scrolls, the installation should complete and you should be greeted with a Windows has successfully updated your driver software window. 8. Look back at the Device Manager, under the Ports tree now. There should be an entry for Galileo (COM #). Remember which COM # your Galileo is assigned, it ll be important for Arduino sketch uploading and the next step, updating firmware. Mac OS Driver Install Mac has built-in driver support for the Galileo, so this setup should be easy. Follow the steps below to install the board on your machine: 1. Begin by connecting 5V power to the Galileo. 2. Then connect a micro-b USB Cable from the USB Client port on the Galileo to an available USB socket on your computer. 3. Wait a few seconds while the Galileo boots up. To verify the Galileo has enumerated properly, open the System Information window (Hold Option > Click the Apple menu in the top left > Click System Information), and check under the USB tab for a Gadget Serial v2.4entry. 4. You can also check under the Network tab to find the Device Name of your Galileo. Linux Driver Install Like Mac, drivers are not necessary to use the Galileo with Linux. Follow the steps below to install the board: 1. Connect 5V power to the Galileo (before connecting USB).

7 2. Connect a micro-b USB cable from the USB Client port on the Galileo to an available socket on your computer. 3. Open a terminal and type ls /dev/ttyacm* 4. Take note of the port number that the Galileo is assigned to, you ll need that when you upload code to the board. Step3: Updating Firmware Updating the Galileo firmware is a good first step to take after driver installation. It helps to prove that your software and drivers are set up correctly, and it prepares your Galileo board with the most up-to-date firmware available. Follow the steps below to update your Galileo board s firmware. a) Reboot the Galileo (No SD Cards!) To reboot the Galileo, first unplug the USB cable. Then unplug the 5V adapter from the board. If there is an SD card in the Galileo, remove it before powering the board back up. To power the board back up, make sure you plug the 5V cable in first, then plug in a USB cable into the USB Client port. b) Set Up the Arduino Galileo IDE Open up the Galileo-specific Arduino software you downloaded earlier. Mac users can double-click the application file, Windows users should run the Arduino.exe file at the top level of the unzipped folder. Serial Port Selection Double-check that the title of the Window has Arduino at the top. Then the first step is to select the serial port. Go to the Tools menu, then hover over Serial Port. On a Windows machine, select the COM port you saw earlier in the Device Manager. On a Mac machine, select the /dev/cu.usbmodemxxxx (make sure it s the cu option) that matched what you found in thesystem Information panel.

8 Board Selection Under the Tools > Board menu, make sure Intel Galileo is selected. (Not that you have any other choice.) c) Firmware Update To update the board firmware go to Help > Firmware Update. Then click Yes to proceed. The software will attempt to communicate with your board, and read the current version of the firmware. On the next window that pops up, select Yes to acknowledge that you d like to upgrade the firmware, and the process will begin. While the progress bar zooms across your screen, make sure you don t unplug either power or USB from the Galileo. As the pop-up says, the update procedure will take about five minutes. A Target Firmware Upgraded Successfully pop-up will appear after the update completes.

9 Uploading Blink As always, the first program to be uploaded to a board is the Hello, world of microcontrollers - Blink. To open the Blink example, go to the File > Examples > 01.Basics > Blink. Source Code 1: Table 1.1 /* Blink Turns on an LED on for one second, then off for one second, repeatedly. */ // Pin 13 has an LED connected on most Arduino boards. // give it a name: int led = 13; // the setup routine runs once when you press reset: void setup() // initialize the digital pin as an output. pinmode(led, OUTPUT); // the loop routine runs over and over again forever: void loop() digitalwrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalwrite(led, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second Make sure the Serial Port and Board selections are still correct. Compilers supported are GCC and ICC. Then click the Upload button. Upload Button will Compile and run the code. After the upload completes, you should see a tiny, green LED blinking on and off every second. This LED is connected to pin 13 of the Galileo. Result :- Compilation and Installation of Arduino IDE & Drivers is done and process understood. Conclusion :- Target board of such types can be used in low cost system designs using very less amount of components and can be used for many user defined applications or customizations.

10 Experiment 2 Objective: To write C source code to Interface LCD with Intel Galileo Gen 2 and display IGDTUW on LCD Display. Software Requirement: Arduino IDE for Galileo Gen2 Hardware Requirement: Target board Intel Galileo Gen2, USB Cable, LCD, Connecting wires, adapter Procedure: 1. Write desired C source code 2. Compile the code as described in experiment1. Source Code 1: Table 2.1 #include <LiquidCrystal.h> // initialize the library with the numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() // set up the LCD's number of columns and rows: lcd.begin(16, 2); // Print a message to the LCD. lcd.print("igdtuw"); void loop() // Turn off the cursor: lcd.nocursor(); delay(500); // Turn on the cursor: lcd.cursor(); delay(500); Snapshot:- Result:- Output observed at LCD, as per compiled C source code.

11 Experiment 3 Objective: To write C source code to Interface Temperature Sensor( LM35) with Intel Galileo Gen 2 and display the temperature on LCD. Software Requirement: Arduino IDE for Galileo Gen2 Hardware Requirement: Target board Intel Galileo Gen2, USB Cable, LCD, LM35, Connecting wires, adapter Procedure: 1. Write desired C source code 2. Compile the code as described in experiment1. Source Code 1: Table 3.1 #include <LiquidCrystal.h> //initializes/defines the output pin of the LM35 temperature sensor int outputpin= 0; //this sets the ground pin to LOW and the input voltage pin to high // BS E D4 D5 D6 D7 LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() lcd.begin(16,2); //main loop void loop() int rawvoltage= analogread(outputpin); float millivolts= (rawvoltage/1024.0) * 5000; float celsius= millivolts/10; lcd.setcursor(0, 0); lcd.print(" BY IGDTUW:ESENS,"); lcd.setcursor(0, 1); lcd.print(celsius); lcd.print("c"); delay(1000);

12 Snapshot:- Result:- Output observed at LCD, as per compiled C source code.

13 Experiment 4 Objective: To write C source code to Interface Temperature Sensor (LM35), Piezo Buzzer & LCD Display with Intel Galileo Gen 2. Software Requirement: Arduino IDE for Galileo Gen2 Hardware Requirement: Target board Intel Galileo Gen2, USB Cable, LM35, LCD, piezo buzzer, Connecting wires, adapter Procedure: 1. Write desired C source code 2. Compile the code as described in experiment1. Source Code 1: Table 4.1 #include <LiquidCrystal.h> int outputpin= 0; LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() lcd.begin(16,2); pinmode(10, OUTPUT); void loop() while(1) int rawvoltage= analogread(outputpin); float millivolts= (rawvoltage/1024.0) * 5000; float celsius= millivolts/10;; lcd.setcursor(0, 0); lcd.print(" BY IGDTUW:ESENS,"); lcd.setcursor(0, 1); lcd.print(celsius); lcd.print("c"); if(celsius>25) digitalwrite(10, HIGH); delay(1000); else digitalwrite(10, LOW); delay(1000); delay(1000);

14 Snapshot:- Result:- Output observed at LCD, as per compiled C source code. Output is correlated with the actual temperature. If the temperature goes beyond the predefined threshold value (e.g. 30C in this example) then the buzzer will sound and in the reverse condition, the buzzer will stop making sound.

15 Experiment 5 Objective: To write C source code to Interface Sound Detector with Intel Galileo Gen 2. Software Requirement: Arduino IDE for Galileo Gen2 Hardware Requirement: Target board Intel Galileo Gen2, USB Cable, Sound Detector, Connecting wires, Adapter Procedure: 1. Write desired C source code 2. Compile the code as described in experiment1. Source Code 1: Table 5.1 int sensorpin = A0; // select the input pin for the potentiometer int ledpin = 13; // select the pin for the LED int sensorvalue = 0; // variable to store the value coming from the sensor void setup () pinmode (ledpin, OUTPUT); Serial.begin (9600); void loop () sensorvalue = analogread (sensorpin); digitalwrite (ledpin, HIGH); delay (sensorvalue); digitalwrite (ledpin, LOW); delay (sensorvalue); Serial.println (sensorvalue, DEC); Snapshot:- Result:- Output observed at Serial Monitor, as per compiled C source code. The sound detector detects the sound and display the values on the serial monitor..

16 Experiment 6 Objective: To write C source code to Interface Bluetooth Module with Intel Galileo Gen 2 and showing communication between Galileo Gen2 & Android Device. Software Requirement: Arduino IDE for Galileo Gen2, Bluetooth SPP Manager for Android device. Hardware Requirement: Target board Intel Galileo Gen2, USB Cable, Sound Detector, Connecting wires, Adapter Procedure: 1. Write desired C source code 2. Compile the code as described in experiment1. Source Code 1: Table 5.1 void setup() // put your setup code here, to run once: // Open serial communications and wait for port to open: Serial.begin(9600); while (!Serial) ; // wait for serial port to connect. Serial.println("Goodnight moon!"); // set the data rate for the SoftwareSerial port Serial1.begin(9600); Serial1.println("Hello, world?"); void loop() if (Serial1.available()) Serial.write(Serial1.read()); if (Serial.available()) Serial1.write(Serial.read()); Snapshot:-

17 Result:- Output observed at Serial Monitor & Android Device, as per compiled C source code. Send and receive data between mobile phone and serial monitor. To receive data on mobile phone, Bluetooth SPP manager has to be installed.

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

ARDUINO EXPERIMENTS ARDUINO EXPERIMENTS

ARDUINO EXPERIMENTS ARDUINO EXPERIMENTS ARDUINO EXPERIMENTS IR OBSTACLE SENSOR... 3 OVERVIEW... 3 OBJECTIVE OF THE EXPERIMENT... 3 EXPERIMENTAL SETUP... 3 IR SENSOR ARDUINO CODE... 4 ARDUINO IDE SERIAL MONITOR... 5 GAS SENSOR... 6 OVERVIEW...

More information

Electronic Brick Starter Kit

Electronic Brick Starter Kit Electronic Brick Starter Kit Getting Started Guide v1.0 by Introduction Hello and thank you for purchasing the Electronic Brick Starter Pack from Little Bird Electronics. We hope that you will find learning

More information

3.The circuit board is composed of 4 sets which are 16x2 LCD Shield, 3 pieces of Switch, 2

3.The circuit board is composed of 4 sets which are 16x2 LCD Shield, 3 pieces of Switch, 2 Part Number : Product Name : FK-FA1416 MULTI-FUNCTION 16x2 LCD SHIELD This is the experimental board of Multi-Function 16x2 LCD Shield as the fundamental programming about the digits, alphabets and symbols.

More information

IoT with Intel Galileo Gerardo Carmona. makerobots.tk

IoT with Intel Galileo Gerardo Carmona. makerobots.tk IoT with Intel Galileo Gerardo Carmona 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:

More information

Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System

Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System Ahmed Okasha okasha1st@gmail.com

More information

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

Note. The above image and many others are courtesy of   - this is a wonderful resource for designing circuits. Robotics and Electronics Unit 2. Arduino Objectives. Students will understand the basic characteristics of an Arduino Uno microcontroller. understand the basic structure of an Arduino program. know how

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

Intel Do-It-Yourself Challenge Lab 1: Intel Galileo s Arduino side Nicolas Vailliet

Intel Do-It-Yourself Challenge Lab 1: Intel Galileo s Arduino side Nicolas Vailliet Intel Do-It-Yourself Challenge Lab 1: Intel Galileo s Arduino side Nicolas Vailliet www.intel-software-academic-program.com paul.guermonprez@intel.com Intel Software 2014-02-01 Prerequisites and objectives

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

Workshop Arduino English starters workshop 2

Workshop Arduino English starters workshop 2 Workshop Arduino English starters workshop 2 We advice to finish part 1 of this workshop before following this one. There are a set of assignments in this workshop that can be taken individually. First

More information

ARDUINO. By Kiran Tiwari BCT 2072 CoTS.

ARDUINO. By Kiran Tiwari BCT 2072 CoTS. ARDUINO By Kiran Tiwari BCT 2072 CoTS www.kirantiwari.com.np SO What is an Arduino? WELL!! Arduino is an open-source prototyping platform based on easy-to-use hardware and software. Why Arduino? Simplifies

More information

Procedure: Determine the polarity of the LED. Use the following image to help:

Procedure: Determine the polarity of the LED. Use the following image to help: Section 2: Lab Activity Section 2.1 Getting started: LED Blink Purpose: To understand how to upload a program to the Arduino and to understand the function of each line of code in a simple program. This

More information

Arduino Programming. Arduino UNO & Innoesys Educational Shield

Arduino Programming. Arduino UNO & Innoesys Educational Shield Arduino Programming Arduino UNO & Innoesys Educational Shield www.devobox.com Electronic Components & Prototyping Tools 79 Leandrou, 10443, Athens +30 210 51 55 513, info@devobox.com ARDUINO UNO... 3 INNOESYS

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

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

TABLE OF CONTENTS INTRODUCTION LESSONS PROJECTS

TABLE OF CONTENTS INTRODUCTION LESSONS PROJECTS TABLE OF CONTENTS INTRODUCTION Introduction to Components - Maker UNO 5 - Maker UNO Board 6 - Setting Up - Download Arduino IDE 7 - Install Maker UNO Drivers - Install Maker UNO Board Package 3 LESSONS.

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

BASIC Arduino. Part I

BASIC Arduino. Part I BASIC Arduino Part I Objectives Introduction to Arduino Build a 1-60MHz DDS VFO prototype, breadboard and write Sketches, with Buffer amps to be designed, and PCB Using your own laptop Go on to build other

More information

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Arduino

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Arduino University of Portland EE 271 Electrical Circuits Laboratory Experiment: Arduino I. Objective The objective of this experiment is to learn how to use the Arduino microcontroller to monitor switches and

More information

Serial.begin ( ); Serial.println( ); analogread ( ); map ( );

Serial.begin ( ); Serial.println( ); analogread ( ); map ( ); Control and Serial.begin ( ); Serial.println( ); analogread ( ); map ( ); A system output can be changed through the use of knobs, motion, or environmental conditions. Many electronic systems in our world

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

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

Fall Harris & Harris

Fall Harris & Harris E11: Autonomous Vehicles Fall 2011 Harris & Harris PS 1: Welcome to Arduino This is the first of five programming problem sets. In this assignment you will learn to program the Arduino board that you recently

More information

Touch Board User Guide. Introduction

Touch Board User Guide. Introduction Touch Board User Guide Introduction The Crazy Circuits Touch Board is a fun way to create interactive projects. The Touch Board has 11 built in Touch Points for use with projects and also features built

More information

Project 24 LCD Temperature Display

Project 24 LCD Temperature Display Project 24 LCD Temperature Display This project is a simple demonstration of using an LCD to present useful information to the user in this case, the temperature from an analog temperature sensor. You

More information

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process Lab 01 Arduino 程式設計實驗 Essential Arduino Programming and Digital Signal Process Arduino Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's

More information

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org This procedure was written for the Arduino Uno board with the TC4 shield. Please check the Arduino site for software if you are using a different model. I have not tested it, but this procedure should

More information

RedBoard Hookup Guide

RedBoard Hookup Guide Page 1 of 11 RedBoard Hookup Guide CONTRIBUTORS: JIMB0 Introduction The Redboard is an Arduino-compatible development platform that enables quick-and-easy project prototyping. It can interact with real-world

More information

Required Materials. Optional Materials. Preparation

Required Materials. Optional Materials. Preparation Module 1: Crash Prevention Lesson 3: Weather Information systems Programming Activity Using Arduino Teacher Resource Grade 9-12 Time Required: 3 60 minute sessions or 3 hours Required Materials Computers

More information

Prototyping & Engineering Electronics Kits Basic Kit Guide

Prototyping & Engineering Electronics Kits Basic Kit Guide Prototyping & Engineering Electronics Kits Basic Kit Guide odysseyboard.com Please refer to www.odysseyboard.com for a PDF updated version of this guide. Guide version 1.0, February, 2018. Copyright Odyssey

More information

Robotics/Electronics Review for the Final Exam

Robotics/Electronics Review for the Final Exam Robotics/Electronics Review for the Final Exam Unit 1 Review. 1. The battery is 12V, R1 is 400 ohms, and the current through R1 is 20 ma. How many ohms is R2? ohms What is the voltage drop across R1? V

More information

Arduino - DigitalReadSerial

Arduino - DigitalReadSerial arduino.cc Arduino - DigitalReadSerial 5-6 minutes Digital Read Serial This example shows you how to monitor the state of a switch by establishing serial communication between your Arduino or Genuino and

More information

Computer Architectures

Computer Architectures Implementing the door lock with Arduino Gábor Horváth 2017. február 24. Budapest associate professor BUTE Dept. Of Networked Systems and Services ghorvath@hit.bme.hu Outline Aim of the lecture: To show

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

IME-100 Interdisciplinary Design and Manufacturing

IME-100 Interdisciplinary Design and Manufacturing IME-100 Interdisciplinary Design and Manufacturing Introduction Arduino and Programming Topics: 1. Introduction to Microprocessors/Microcontrollers 2. Introduction to Arduino 3. Arduino Programming Basics

More information

Lab 4 LCDs and Accelerometers

Lab 4 LCDs and Accelerometers University of Pennsylvania Department of Electrical and Systems Engineering ESE 111 Intro to Electrical/Computer/Systems Engineering Lab 4 LCDs and Accelerometers Introduction: In this lab, will learn

More information

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

University of Hull Department of Computer Science C4DI Interfacing with Arduinos Introduction Welcome to our Arduino hardware sessions. University of Hull Department of Computer Science C4DI Interfacing with Arduinos Vsn. 1.0 Rob Miles 2014 Please follow the instructions carefully.

More information

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL 1 Preface About RobotLinking RobotLinking is a technology company focused on 3D Printer, Raspberry Pi and Arduino open source community development.

More information

Physical Programming with Arduino

Physical Programming with Arduino CTA - 2014 Physical Programming with Arduino Some sample projects Arduino Uno - Arduino Leonardo look-alike The Board Arduino Uno and its cheap cousin from Borderless Electronics Mini - Breadboard typical

More information

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

FUNCTIONS USED IN CODING pinmode()

FUNCTIONS USED IN CODING pinmode() FUNCTIONS USED IN CODING pinmode() Configures the specified pin to behave either as an input or an output. See the description of digital pins for details on the functionality of the pins. As of Arduino

More information

Arduino Programming and Interfacing

Arduino Programming and Interfacing Arduino Programming and Interfacing Stensat Group LLC, Copyright 2017 1 Robotic Arm Experimenters Kit 2 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and

More information

SeeMeCNC Guides. Step 5: Installing the Firmware. This guide will show you how to install the firmware on your Rostock MAX v3 3D printer.

SeeMeCNC Guides. Step 5: Installing the Firmware. This guide will show you how to install the firmware on your Rostock MAX v3 3D printer. SeeMeCNC Guides Step 5: Installing the Firmware This guide will show you how to install the firmware on your Rostock MAX v3 3D printer. Written By: geneb 2016 seemecnc.dozuki.com Page 1 of 7 Step 1 Download

More information

Digispark DIY: the Smallest USB Arduino

Digispark DIY: the Smallest USB Arduino materiały pobrane ze strony: https://www.instructables.com/id/digispark-diy-the-smallest-usb-arduino/ 2017-06-21 Digispark DIY: the Smallest USB Arduino by smching in arduino Digispark is an ATtiny85 based

More information

Eng.mohammed Albhaisi. Lab#3 : arduino to proteus simulation. for simulate Arduino program that you wrote you have to have these programs :

Eng.mohammed Albhaisi. Lab#3 : arduino to proteus simulation. for simulate Arduino program that you wrote you have to have these programs : Lab#3 : arduino to proteus simulation for simulate Arduino program that you wrote you have to have these programs : 1-Arduino C 2-proteus 3- Virtual Serial Port Driver 4-Arduino library to proteus You

More information

These instructions were adapted from Arduino: Installing Standard Firmata which is licensed under Attribution- NonCommercial-ShareAlike 2.

These instructions were adapted from Arduino: Installing Standard Firmata which is licensed under Attribution- NonCommercial-ShareAlike 2. These instructions were adapted from Arduino: Installing Standard Firmata which is licensed under Attribution- NonCommercial-ShareAlike 2.5 Generic Step 1: Download and Install Arduino Application Your

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

CTEC 1802 Embedded Programming Labs

CTEC 1802 Embedded Programming Labs CTEC 1802 Embedded Programming Labs This document is intended to get you started using the Arduino and our I/O board in the laboratory - and at home! Many of the lab sessions this year will involve 'embedded

More information

Grelllbbb s ESP Flashamater Adaptimizer Assembly & User Guide

Grelllbbb s ESP Flashamater Adaptimizer Assembly & User Guide Grelllbbb s ESP Flashamater Adaptimizer Assembly & User Guide Overview The GEFA (we don t understand Grelllbb any better than you do, so we ll just abbreviate it GEFA) is a small programming tool that

More information

Introduction to Programming. Writing an Arduino Program

Introduction to Programming. Writing an Arduino Program Introduction to Programming Writing an Arduino Program What is an Arduino? It s an open-source electronics prototyping platform. Say, what!? Let s Define It Word By Word Open-source: Resources that can

More information

What s inside the kit

What s inside the kit What s inside the kit 1 set Jumper Wires 5 pcs Tact Switch 1 pc Photoresistor 1 pc 400 Points Breadboard 1 pc Potentiometer 1 pc LCD 5 pcs 5mm Red LED 5 pcs 5mm Green LED 5 pcs 5mm Yellow LED 30 pcs Resistors

More information

EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments

EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments TEMPERATURE MEASUREMENT AND CONTROL USING LM35 Purpose: To measure

More information

SWITCH 10 KILOHM RESISTOR 220 OHM RESISTOR POTENTIOMETER LCD SCREEN INGREDIENTS

SWITCH 10 KILOHM RESISTOR 220 OHM RESISTOR POTENTIOMETER LCD SCREEN INGREDIENTS 11 SWITCH 10 KILOHM RESISTOR 220 OHM RESISTOR POTENTIOMETER LCD SCREEN INGREDIENTS 115 CRYSTAL BALL CREATE A CRYSTAL BALL TO TELL YOUR FUTURE Discover: LCD displays, switch/case statements, random() Time:

More information

StenBOT Robot Kit. Stensat Group LLC, Copyright 2018

StenBOT Robot Kit. Stensat Group LLC, Copyright 2018 StenBOT Robot Kit 1 Stensat Group LLC, Copyright 2018 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and documentation. There is a 90 day warranty for the

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

Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas

Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas Physics 364 Arduino Lab 1 Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas Vithayathil/Kroll Introduction Last revised: 2014-11-12 This lab introduces you to an electronic development

More information

Gesture Recognition and Voice Synthesis using Intel Real Sense

Gesture Recognition and Voice Synthesis using Intel Real Sense Gesture Recognition and Voice Synthesis using Intel Real Sense An Experimental Manual for Design and Development of Mobile Devices In association with Intel Collaboration Program Designed by: Zeenat Shareef,PhD

More information

User Manual. ESP8266 Wifi Shield

User Manual. ESP8266 Wifi Shield User Manual Of ESP8266 Wifi Shield Description The shield is designed based on esp8266 by Espressif Systems, pin-compatible with Arduino UNO/Mega2560 DevBorad. Which can be used as two independent part,

More information

Arduino Programming Part 3. EAS 199A Fall 2010

Arduino Programming Part 3. EAS 199A Fall 2010 Arduino Programming Part 3 EAS 199A Fall 2010 Overview Part I Circuits and code to control the speed of a small DC motor. Use potentiometer for dynamic user input. Use PWM output from Arduino to control

More information

LCD KeyPad Shield For Arduino SKU: DFR0009

LCD KeyPad Shield For Arduino SKU: DFR0009 LCD KeyPad Shield For Arduino SKU: DFR0009 1602 LCD Keypad Shield For Arduino Contents 1 Introduction 2 Specification 3 Pinout 4 Library Explanation o 4.1 Function Explanation 5 Tutorial o 5.1 Example

More information

Schedule. Sanford Bernhardt, Sangster, Kumfer, Michalaka. 3:10-5:00 Workshop: Build a speedometer 5:15-7:30 Dinner and Symposium: Group 2

Schedule. Sanford Bernhardt, Sangster, Kumfer, Michalaka. 3:10-5:00 Workshop: Build a speedometer 5:15-7:30 Dinner and Symposium: Group 2 Schedule 8:00-11:00 Workshop: Arduino Fundamentals 11:00-12:00 Workshop: Build a follower robot 1:30-3:00 Symposium: Group 1 Sanford Bernhardt, Sangster, Kumfer, Michalaka 3:10-5:00 Workshop: Build a speedometer

More information

Lab 3 XBees and LCDs and Accelerometers, Oh My! Part 1: Wireless Communication Using XBee Modules and the Arduino

Lab 3 XBees and LCDs and Accelerometers, Oh My! Part 1: Wireless Communication Using XBee Modules and the Arduino University of Pennsylvania Department of Electrical and Systems Engineering ESE 205 Electrical Circuits and Systems Laboratory I Lab 3 XBees and LCDs and Accelerometers, Oh My! Introduction: In the first

More information

Intel Galileo Firmware Updater Tool

Intel Galileo Firmware Updater Tool User Guide August 2017 Revision 002 Document Number: 332076-002 Notice: This document contains information on products in the design phase of development. The information here is subject to change without

More information

LAMPIRAN I (LISTING PROGRAM)

LAMPIRAN I (LISTING PROGRAM) LAMPIRAN I (LISTING PROGRAM) #include LiquidCrystal lcd(8, 9, 4, 5, 6, 7); const int numreadings = 10; int readings[numreadings]; // the readings from the analog input int readindex =

More information

IME-100 ECE. Lab 4. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

IME-100 ECE. Lab 4. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE, IME-100 ECE Lab 4 Electrical and Computer Engineering Department Kettering University 4-1 1. Laboratory Computers Getting Started i. Log-in with User Name: Kettering Student (no password required) ii.

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

m-block By Wilmer Arellano

m-block By Wilmer Arellano m-block By Wilmer Arellano You are free: to Share to copy, distribute and transmit the work Under the following conditions: Attribution You must attribute the work in the manner specified by the author

More information

Liquid Crystal Displays

Liquid Crystal Displays Liquid Crystal Displays Let s investigate another popular method of displaying text and symbols, the LCD (Liquid Crystal Display). LCDs are the displays typically used in calculators and alarm clocks.

More information

SPDM Level 2 Smart Electronics Unit, Level 2

SPDM Level 2 Smart Electronics Unit, Level 2 SPDM Level 2 Smart Electronics Unit, Level 2 Evidence Folder John Johns Form 3b RSA Tipton 1.1 describe the purpose of circuit components and symbols. The candidate can describe the purpose of a range

More information

// initialize the library with the numbers of the interface pins - S LiquidCrystal lcd(8, 9, 4, 5, 6, 7);

// initialize the library with the numbers of the interface pins - S LiquidCrystal lcd(8, 9, 4, 5, 6, 7); #include /* Joystick Control of two Sabertooth 2x5 modules Horizontal control is X1, Y1 Vertical/Crabbing control is X2, Y2 */ Include the Software Serial library #include

More information

OpenROV. Update Software Image From SD Card

OpenROV. Update Software Image From SD Card OpenROV Update Software Image From SD Card This guide will walk you through the steps for update your software to the latest image. The steps are for computers running Microsoft Windows or Apple OSx. Written

More information

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE, IME-100 ECE Lab 3 Electrical and Computer Engineering Department Kettering University 3-1 1. Laboratory Computers Getting Started i. Log-in with User Name: Kettering Student (no password required) ii.

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

The speaker connection is circled in yellow, the button connection in red and the temperature sensor in blue

The speaker connection is circled in yellow, the button connection in red and the temperature sensor in blue Connections While the board can be connected to a number of different Arduino versions I chose to use the Pro Mini as I wanted the completed unit to be fairly small. The Mini and the MP3 board run on 5

More information

Blinking an LED 1 PARTS: Circuit 2 LED. Wire. 330Ω Resistor

Blinking an LED 1 PARTS: Circuit 2 LED. Wire. 330Ω Resistor Circuit PIN 3 RedBoard Blinking an LED LED (Light-Emitting Diode) Resistor (33 ohm) (Orange-Orange-Brown) LEDs (light-emitting diodes) are small, powerful lights that are used in many different applications.

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

22080 IoT2 Appendix B: Get Started with Arduino IDE & ExpLoRer

22080 IoT2 Appendix B: Get Started with Arduino IDE & ExpLoRer Contents Purpose... 1 Requirements... 1 Objectives... 2 Procedure... 2 Step 1. Download and Install the Arduino IDE v1.8.5... 2 Step 2. Configure the Sketchbook Location, Board Manager URL & Other Preferences...

More information

Module 1: Crash Prevention Lesson 3: Weather Information systems Programming Activity Using Arduino Teacher Resource Grade 6-8 Time Required

Module 1: Crash Prevention Lesson 3: Weather Information systems Programming Activity Using Arduino Teacher Resource Grade 6-8 Time Required Module 1: Crash Prevention Lesson 3: Weather Information systems Programming Activity Using Arduino Teacher Resource Grade 6-8 Time Required Weather Information Systems is a 120 minute lesson plan (90

More information

LinkIt ONE. Introduction. Specifications

LinkIt ONE. Introduction. Specifications LinkIt ONE Introduction The LinkIt ONE development board is an open source, high performance board for prototyping Wearables and IoT devices. It's based on the world s leading SoC for Wearables, MediaTek

More information

Driver Installation. Getting Started for Windows user (Setting up your Robot)

Driver Installation. Getting Started for Windows user (Setting up your Robot) Getting Started for Windows user (Setting up your Robot) Get the drivers and download the software to make your robots go! Programmer Driver Arduino Software IDE Ringo & Wink Software Libraries Driver

More information

Arduino Programming Part 6: LCD Panel Output

Arduino Programming Part 6: LCD Panel Output Arduino Programming Part 6: LCD Panel Output EAS 199B, Winter 2013 Gerald Recktenwald Portland State University gerry@me.pdx.edu Goals Use the 20x4 character LCD display for output Overview of assembly

More information

Getting Started with Energia for MSP432 LaunchPad

Getting Started with Energia for MSP432 LaunchPad May 9, 2018 Getting Started with Energia for MSP432 LaunchPad This tutorial is intended for installing and getting started with Energia for Texas Instrument SimpleLink MSP432P401R LaunchPad development

More information

Grove - Thumb Joystick

Grove - Thumb Joystick Grove - Thumb Joystick Introduction 3.3V 5.0V Analog Grove - Thumb Joystick is a Grove compatible module which is very similar to the analog joystick on PS2 (PlayStation 2) controllers. The X and Y axes

More information

Create your own wireless motion sensor with

Create your own wireless motion sensor with Create your own wireless motion sensor with Arduino If you have a friend that has an alarm system in his or her home, I am sure you ve all seen these white motion sensors that are usually fixed above doors

More information

m-block By Wilmer Arellano

m-block By Wilmer Arellano m-block By Wilmer Arellano You are free: to Share to copy, distribute and transmit the work Under the following conditions: Attribution You must attribute the work in the manner specified by the author

More information

Introduction to Arduino. Wilson Wingston Sharon

Introduction to Arduino. Wilson Wingston Sharon Introduction to Arduino Wilson Wingston Sharon cto@workshopindia.com Physical computing Developing solutions that implement a software to interact with elements in the physical universe. 1. Sensors convert

More information

Grove - Thumb Joystick

Grove - Thumb Joystick Grove - Thumb Joystick Release date: 9/20/2015 Version: 1.0 Wiki: http://www.seeedstudio.com/wiki/grove_-_thumb_joystick Bazaar: http://www.seeedstudio.com/depot/grove-thumb-joystick-p-935.html 1 Document

More information

Arduino 01: Installing the Arduino Application and Firmware. Jeffrey A. Meunier University of Connecticut

Arduino 01: Installing the Arduino Application and Firmware. Jeffrey A. Meunier University of Connecticut Arduino 01: Installing the Arduino Application and Firmware Jeffrey A. Meunier jeffm@engr.uconn.edu University of Connecticut About: How to use this document I designed these tutorial slides to be tall

More information

Connecting Arduino to Processing

Connecting Arduino to Processing Connecting Arduino to Processing Introduction to Processing So, you ve blinked some LEDs with Arduino, and maybe you ve even drawn some pretty pictures with Processing - what s next? At this point you

More information

ArdOS The Arduino Operating System Quick Start Guide and Examples

ArdOS The Arduino Operating System Quick Start Guide and Examples ArdOS The Arduino Operating System Quick Start Guide and Examples Contents 1. Introduction... 1 2. Obtaining ArdOS... 2 3. Installing ArdOS... 2 a. Arduino IDE Versions 1.0.4 and Prior... 2 b. Arduino

More information

INTRODUCING THE CODEBIT!

INTRODUCING THE CODEBIT! GETTING STARTED Downloading the littlebits Code Kit app STEP 1 Download and open the littlebits Code Kit app at littlebits.com/code-kit-app STEP 2 Click the pink open blank canvas button to start writing

More information

Grove - 80cm Infrared Proximity Sensor

Grove - 80cm Infrared Proximity Sensor Grove - 80cm Infrared Proximity Sensor Introduction 3.3V 5.0V Analog The 80cm Infrared Proximity Sensor is a General Purpose Type Distance Measuring Sensor. This sensor SharpGP2Y0A21YK, boasts a small

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

SPLDuino Programming Guide

SPLDuino Programming Guide SPLDuino Programming Guide V01 http://www.helloapps.com http://helloapps.azurewebsites.net Mail: splduino@gmail.com HelloApps Co., Ltd. 1. Programming with SPLDuino 1.1 Programming with Arduino Sketch

More information

WiFiBee MT7681 (Arduino WiFi Wireless Programming) SKU: TEL0107

WiFiBee MT7681 (Arduino WiFi Wireless Programming) SKU: TEL0107 WiFiBee MT7681 (Arduino WiFi Wireless Programming) SKU: TEL0107 Introduction The WiFi Bee MT7681 is an Arduino WiFi XBee module based on the MT7681 serial Wi-Fi module. It is compatible with an XBee slot,

More information

Contents. 1 Register and Configure Hi-Gate Add Sensor Node Create a Fresh New Project... 6

Contents. 1 Register and Configure Hi-Gate Add Sensor Node Create a Fresh New Project... 6 Contents 1 Register and Configure Hi-Gate... 2 1.1 Add Sensor Node... 4 1.2 Create a Fresh New Project... 6 1.3 Project Testing on Real Hardware... 9 1.4 Troubleshoot Guide... 10 2 Connection Modes: WiFi,

More information

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT I Contents Overview TA0139... 1 Getting started: Arduino 2 Wheel Drive Wireless Bluetooth Robot Kit using Arduino UNO... 1 2.1. What

More information

K9 Series Firmware Update Guide

K9 Series Firmware Update Guide K9 Series Firmware Update Guide This Guide provides how to download and install a new version of the firmware (operating software) for K9 Series DVR. 제품사진 Requirements To update the firmware on the K9

More information