Application Note. Communication between arduino and IMU Software capturing the data

Size: px
Start display at page:

Download "Application Note. Communication between arduino and IMU Software capturing the data"

Transcription

1 Application Note Communication between arduino and IMU Software capturing the data ECE 480 Team 8 Chenli Yuan Presentation Prep Date: April 8, 2013

2 Executive Summary In summary, this application note is about how to have the arduino communicate with IMUs. In order to achieve that goal, the effort is put into two major parts, the hardware connection and software programming. This application note is focused on the software part. It will guide users through how to correctly choose the libraries corresponding to the hardware components used by design team, how to write the code which will tell arduino to read the data from the sensors, the way to have the software display captured data in the serial monitor in an intuitive form, and the method of time stamping the data. This application note is based on the team s experience of using arduino software provided with hardware from Sparkfun. Keywords Controller & Sensors communication, Arduino Software, Library, Code Functions, Time Stamping, Serial Monitor Introduction Team 08 is tasked to design a product that captures the motion of a runner, and then analyzes the captured data with the data of an elite runner, which is stored as a baseline in the comparison software. At last, the product send feedback to the runner in order to have the runner corrects his running posture immediately. This task can be divided in to three major parts: data capturing, post processing and feedback. For the first part, which is data capturing, it is important to have correct data from sensors and smooth communication between IMUs and Arduino, otherwise, it will be impossible to go to the following two major parts. In order to correctly program the Arduino, programming software named arduino is chosen to be the solution of programming the Arduino because this software is provided from the same company that fabricates the Arduino. The advantages of using this software are: ensured compatibility between software and hardware, intuitive user interface, plenty of build-in examples and library for team to consult and test. Three main libraries included in the team s coding: Wire.h Arduino Wire library, required if I2Cdev I2CDEV_ARDUINO_WIRE implementation is used in I2Cdev.h. I2Cdev.h I2C specialized pins function library, required if I2C buses is used for data transferring. MPU6050.h MPU6050 IMU library, modified to be compatible with IMU-9150, which is the sensors solution of design team. Some main functions used in the team s arduino programming are the followings: Serial.begin (baudrate) initialize serial communication.

3 Accelgyron.initialize() initialize device (IMUs). Accelgyro.GetMotion9 build-in function of MPU6050.h, read 9 axis measurements from device. String prints the data points into a string Serial.print print the text or data string to the serial monitor Micros() useful when doing time-stamping, give time in microseconds. These codes will be discussed in details, and relative examples of how to use these code swill be provided in following section. Objectives 1) To have the Arduino continuously read data collected by IMUs. Besides hardware connection and setup, correct software programming is required. Furthermore, write code which can indicate that the Arduino and sensors are collecting data, i.e. using on-board LED. 2) The arduino software should be able to print the data collected by Arduino. Use serial monitor to verify whether the collected data is correct or not. Use serial monitor of arduino software for testing IMUs and debugging purpose. 3) Time-stamp the collected data, which is important when using multiple sensors. 4) Transfer data points from IMUs to a string, so that the data can be used for post processing. 5) Modify the display format of collected data to give an intuitive visual result. Preparation & Arduino software set-up

4 The figure above shows a hardware connection of the IMU and Arduino. This application note will not go deeper into the hardware specification of the design. However, one thing needs to be mentioned before programming is that in order to upload the software programming into the board, the Arduino needs to be connected with computer via an usb cable. Besides powering the board, all the data communication including program upload is done using usb connection, and the usb connector is located in the top right corner of the Arduino. Furthermore, the on-board memory has a size of 32Kb, which means the file size of our programming can not exceed that limitation. If it does reach the maximum allowed size, simplification for codes and modification for libraries will be necessary to control the actual size of the uploaded program file to ensure the program stored in Arduino is in complete form. Software Set-up Arduino is provided with the hardware board on the Sparkfun s website and is free to download at For stability purpose, the team chooses version of 1.0.3, which is not the latest version but it is recommend for stability and compatibility purpose. After correctly install the software and launch it, one will get the following user interface: On the bottom right corner of the software interface, it indicates the number of serial port which the Arduino is connecting to. However, for first time users, the detection might be wrong because there is another software issue with Arduino installation of driver. To install the driver, do the following steps:

5 1) Disconnect the Arduino from computer and plug in the board again; Windows will begin its driver s installation process automatically, wait until the automatic driver installation fails. 2) Click on the Start Menu, and open up the Control Panel. While in the Control Panel, navigate to System and Security, and then click on System. Once the System window is up, open the Device Manager. 3) Look under Ports (COM & LPT), one should see an open port named Arduino UNO (COMxx) (xx is the number of serial port, which varies depending on different computers). 4) Right click on the Arduino UNO (COMxx) port and choose the Update Driver software option. Next, choose the Browse my computer for Driver software option. 5) Finally, navigate to and select the Arduino Uno s driver file, named ArduinoUNO.inf, located in the Drivers folder of the Arduino Software download. 6) Wait until windows finish up the driver installation from there. Now the Arduino should be recognized by windows and be ready to use. Users can check if the Arduino is working in device manager, similarly, the number of serial port the Arduino is connecting to can be found there. The tutorial above is the guide of installing drivers for the Arduino Uno with Windows OS. More information about installing drivers for MAC OS or Linux can be found at Once the users get to this step, go back to arduino software and finish the software set-up and configuration. To choose the right Arduino board, from the menu bar, select Tools > Board > Arduino UNO.

6 In order to let the arduino software upload program to Arduino board, configure the serial port number. From the menu bar, select Tools > Serial Port > COMxx. Add libraries Once the software set up is done, user can proceed to next step adding libraries. Libraries are a collection of code that makes it easy for users to use the functions of an Arduino. Arduino

7 software comes with some build-in libraries like SPI, WiFi and SD. Adding additional libraries can extend the ability of Arduino. It is also required if user want to connect additional parts like sensor, display and modules to Arduino. In the team s design project, two important libraries added are MPU6050 and I2Cdev. MPU6050 library is used for MPU6050 sensor, which is an earlier version of MPU9150. The difference between them is MPU6050 is a 6-axis motion capture sensor composed of a 3-axis accelerometer and a 3-axis gyroscope. MPU9150 is a newer version which is capable of doing 9-axis measurement with an additional magnetometer. Because of the similarity shared by the two sensors, an MPU6050 library is easily modified to be compatible with MPU9150. In order to add the necessary library, firstly, download the MPU6050 libraries from the libraries distributed are ZIP files. Uncompress the ZIP file, and copy the desired libraries folder into the software s libraries folder:. Libraries in red box are essential for the design project; make sure they are added to the correct path. Arduino Programming & Examples The team develops a code that allows the Arduino continuously read data from IMU including all

8 9-axis measurements from accelerometer, gyroscope and magnetometer. Then convert the data to string format so that it can be used for post processing. Furthermore, for debugging purpose, the team adds code that have the arduino software display collected data in a serial monitor. Key functions are explained and relative examples are shown below. Set-up code #include xxx.h add libraries to program (xxx is the name of librairy) As mentioned before, the three main libraries are one build-in library named Wire.h and two additional libraries added by team named I2Cdev.h and MPU6050.h. Because the communication chosen in the design project is I2C, corresponding libraries need to be added in advance to active the communication. Between the two libraries related to I2C communication, Wire.h is used to support the functioning of I2Cdev.h. As for the MPU6050.h, it is code library specifically used for IMUs. Build-in functions of this library allows the user to get data of 9-axis measurement with one single command, which makes the programming much easier. Example of adding library: Serial.begin (baudrate) the speed of transferring data, replace baudrate with number of desired speed. Wire.begin() active the I2C bus. Both of the two codes are used for setup purpose. The I2C communication does not automatically active, thus use this build-in code from library trigger on the data transition of I2C bus. The Arduino support several baud rates, i.e. 9600, and so on. Higher baud rate allows more data to be transmitted in a unit time. For accuracy purpose, a high baud rate is chosen in the design to ensure that plenty of data is collected. However, faster data collection also means more power consumption, thus the tradeoff of durability and accuracy needs to be taken into consideration. Example of setting baud rate:

9 Data related code (data capturing, transform, display and time-stamping) Accelgyro.initialize() build-in function of MPU6050.h, used to initialize the sensors. Accelgyron.GetMotion9 build-in function of MPU6050.h, used to commend Arduino to read dara from sensors. Both of the two codes above are built into the IMU library. For the second code, the captured data is in the order of x, y, z axis of accelerometer; x, y, z axis of gyroscope; x, y, z axis of magnetometer respectively. By assigning variables names to these captured data, it will be easier to use or transmit those data in other code. Example of having Arduino read data from sensors & name the captured data: Define the name of IMU sensor and xyz axis measurement variables for accelerometer, gyroscope and magnetometer respectively. The first code prints text message in serial monitor when IMU is initializing. The second code reads the data from IMU and assigns the captured data to the pre-defined variables. String transfer the data into string format The reason the team wants to put the data into sting format are the followings: 1) Data in string format can be directly transmitted to other via Xbee. 2) MATLAB can read data of string format.

10 3) String formatted data can be easily change back to number. Example of printing the data points into a string: The code above firstly changes all numerical value to strings and then combines them into a single one. Serial.print prints data or text to the serial monitor In order to understand the data collected by the sensors, the team writes the code that prints data to serial monitor. Even though it is not necessary for final product, it is helpful during the test phase. By monitoring the continuous updated data, the team can know if the Arduino and sensors are working as expected. Example of prints data and text to the serial monitor: The first picture shows a text message in the serial monitor when Arduino is testing the connection with IMUs. Once the test passes, the program proceeds to the second main function looping the codes in the second picture. In that manner, the data is being continuously displayed. Micros () & Millis() Give user time in microseconds or milliseconds These two are useful codes for time-stamping. To use these two codes, first define time variables, and then assign the variable with one of the codes. At last, use serial.print to display timing information in serial monitor.

11 Arduino working status related code In final design, we will not have the chance to monitor the serial port, so the team needs to come up with something else to verify if the Arduino and IMUs are working or not. The way is to utilize the on-board LED indicator. The idea is to have LED keep blinking if it is reading data. Example of LED coding: Define the variables relates to LED and LED statues. Name pin 13 as LED_PIN, and set the initial state of LED be off. Add this code in the setup part. Because all the analog and digital pins on Arduino can be either an output pin or input pin, the mode needs to be chosen before using them. Because the team wants to send control signal to LED, the pin is used as output pin. Add this code in the loop. Every time the Arduino capture data from sensors, the on/off statues of LED changes. PIN 13 is a digital pin, so use digitalwrite to change the output signal of that pin. Results This is a result of correct programming. The IMU is not moving at the beginning, thus the measurement of 9-axis almost stay constant. For the first three values, they stand for acceleration of xyz axis. Only one of them is large, which makes sense because while holding the IMU one side up, only y axis experience the earth gravity and have a large acceleration. The other two axes have a relatively much smaller acceleration. The gx, gy and gz are the angular speed of three axes; they are close to 0 under a very large resolution, which is also correct. As for the last three values, they record the strength of magnetic field on different direction. The magnetic field changes under different situation with different surroundings. However, these values are in the range of measurement, and they did change when IMU is moved. It is proved that the data capturing is working and the programming is correct.

12 Serial Monitor results: One thing needs to be noted, while in the serial monitor, choose the same baudrate used in the code, otherwise, no reasonable results will be shown because it is monitoring other baudrate. Conclusions and Recommendations After getting familiar with the arduino software and get all preparation done, the team successfully does a programming with arduino software. By following all the steps listed above, the team is able to write a code to have the Arduino read data from sensor, change the format of data, and display the result in a serial port intuitively. Furthermore, a LED indicator will indicate the working statue of device. One aspect of the programming that can be modified is to make the data easier to understand. Currently, the data is kept as it was; conversion is done in the post processing. If the user does not understand the meaning of this value, it will be difficult to debug during the programming development phase. There are two solutions, first, using a newer IMU library which is able to directly give speed and angle information instead of binary value (or corresponding decimal value). Second, write those conversion programs directly in the program. However, there is some disadvantage with this recommendation. While the library is having more build-in functions, the size of library increases. If the whole program exceeds the 32 Kb limitations, user cannot upload the whole program to Auduino. To sum up, if the size of program can be limited under certain value, the team can consider using a more complex library to have the Arduino deal with more data processing.

Motion Capture for Runners

Motion Capture for Runners Motion Capture for Runners Design Team 8 - Spring 2013 Members: Blake Frantz, Zhichao Lu, Alex Mazzoni, Nori Wilkins, Chenli Yuan, Dan Zilinskas Sponsor: Air Force Research Laboratory Dr. Eric T. Vinande

More information

IMU: Get started with Arduino and the MPU 6050 Sensor!

IMU: Get started with Arduino and the MPU 6050 Sensor! 1 of 5 16-3-2017 15:17 IMU Interfacing Tutorial: Get started with Arduino and the MPU 6050 Sensor! By Arvind Sanjeev, Founder of DIY Hacking Arduino MPU 6050 Setup In this post, I will be reviewing a few

More information

Practical Assignment 1: Arduino interface with Simulink

Practical Assignment 1: Arduino interface with Simulink !! Department of Electrical Engineering Indian Institute of Technology Dharwad EE 303: Control Systems Practical Assignment - 1 Adapted from Take Home Labs, Oklahoma State University Practical Assignment

More information

ZX Distance and Gesture Sensor Hookup Guide

ZX Distance and Gesture Sensor Hookup Guide Page 1 of 13 ZX Distance and Gesture Sensor Hookup Guide Introduction The ZX Distance and Gesture Sensor is a collaboration product with XYZ Interactive. The very smart people at XYZ Interactive have created

More information

Application Note AN 102: Arduino I2C Interface to K 30 Sensor

Application Note AN 102: Arduino I2C Interface to K 30 Sensor Application Note AN 102: Arduino I2C Interface to K 30 Sensor Introduction The Arduino UNO, MEGA 1280 or MEGA 2560 are ideal microcontrollers for operating SenseAir s K 30 CO2 sensor. The connection to

More information

Lesson 3: Arduino. Goals

Lesson 3: Arduino. Goals Introduction: This project introduces you to the wonderful world of Arduino and how to program physical devices. In this lesson you will learn how to write code and make an LED flash. Goals 1 - Get to

More information

smraza Getting Start Guide Contents Arduino IDE (Integrated Development Environment)... 1 Introduction... 1 Install the Arduino Software (IDE)...

smraza Getting Start Guide Contents Arduino IDE (Integrated Development Environment)... 1 Introduction... 1 Install the Arduino Software (IDE)... Getting Start Guide Contents Arduino IDE (Integrated Development Environment)... 1 Introduction... 1 Install the Arduino Software (IDE)...1 Introduction... 1 Step 1: Get an Uno R3 and USB cable... 2 Step

More information

ARDUINO BASED CALIBRATION OF AN INERTIAL SENSOR IN VIEW OF A GNSS/IMU INTEGRATION

ARDUINO BASED CALIBRATION OF AN INERTIAL SENSOR IN VIEW OF A GNSS/IMU INTEGRATION Journal of Young Scientist, Volume IV, 2016 ISSN 2344-1283; ISSN CD-ROM 2344-1291; ISSN Online 2344-1305; ISSN-L 2344 1283 ARDUINO BASED CALIBRATION OF AN INERTIAL SENSOR IN VIEW OF A GNSS/IMU INTEGRATION

More information

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs 10-11 Introduction to Arduino In this lab we will introduce the idea of using a microcontroller as a tool for controlling

More information

Coding with Arduino to operate the prosthetic arm

Coding with Arduino to operate the prosthetic arm Setup Board Install FTDI Drivers This is so that your RedBoard will be able to communicate with your computer. If you have Windows 8 or above you might already have the drivers. 1. Download the FTDI driver

More information

Arduino Lesson 1. Blink. Created by Simon Monk

Arduino Lesson 1. Blink. Created by Simon Monk Arduino Lesson 1. Blink Created by Simon Monk Guide Contents Guide Contents Overview Parts Part Qty The 'L' LED Loading the 'Blink' Example Saving a Copy of 'Blink' Uploading Blink to the Board How 'Blink'

More information

CURIE Academy, Summer 2014 Lab 2: Computer Engineering Software Perspective Sign-Off Sheet

CURIE Academy, Summer 2014 Lab 2: Computer Engineering Software Perspective Sign-Off Sheet Lab : Computer Engineering Software Perspective Sign-Off Sheet NAME: NAME: DATE: Sign-Off Milestone TA Initials Part 1.A Part 1.B Part.A Part.B Part.C Part 3.A Part 3.B Part 3.C Test Simple Addition Program

More information

EARTH PEOPLE TECHNOLOGY. EPT-200TMP-TS-U2 Temperature Sensor Docking Board User Manual

EARTH PEOPLE TECHNOLOGY. EPT-200TMP-TS-U2 Temperature Sensor Docking Board User Manual EARTH PEOPLE TECHNOLOGY EPT-200TMP-TS-U2 Temperature Sensor Docking Board User Manual The EPT-200TMP-TS-U2 is a temperature sensor mounted on a docking board. The board is designed to fit onto the Arduino

More information

9DoF Sensor Stick Hookup Guide

9DoF Sensor Stick Hookup Guide Page 1 of 5 9DoF Sensor Stick Hookup Guide Introduction The 9DoF Sensor Stick is an easy-to-use 9 degrees of freedom IMU. The sensor used is the LSM9DS1, the same sensor used in the SparkFun 9 Degrees

More information

TWEAK THE ARDUINO LOGO

TWEAK THE ARDUINO LOGO TWEAK THE ARDUINO LOGO Using serial communication, you'll use your Arduino to control a program on your computer Discover : serial communication with a computer program, Processing Time : 45 minutes Level

More information

CONSTRUCTION GUIDE Capacitor, Transistor & Motorbike. Robobox. Level VII

CONSTRUCTION GUIDE Capacitor, Transistor & Motorbike. Robobox. Level VII CONSTRUCTION GUIDE Capacitor, Transistor & Motorbike Robobox Level VII Capacitor, Transistor & Motorbike In this box, we will understand in more detail the operation of DC motors, transistors and capacitor.

More information

Veyron Servo Driver (24 Channel) (SKU:DRI0029)

Veyron Servo Driver (24 Channel) (SKU:DRI0029) Veyron Servo Driver (24 Channel) (SKU:DRI0029) From Robot Wiki Contents 1 Introduction 2 Specifications 3 Pin Definitions 4 Install Driver o 4.1 Windows OS Driver 5 Relationship between Steering Angle

More information

APDS-9960 RGB and Gesture Sensor Hookup Guide

APDS-9960 RGB and Gesture Sensor Hookup Guide Page 1 of 12 APDS-9960 RGB and Gesture Sensor Hookup Guide Introduction Touchless gestures are the new frontier in the world of human-machine interfaces. By swiping your hand over a sensor, you can control

More information

LESSONS Lesson 1. Microcontrollers and SBCs. The Big Idea: Lesson 1: Microcontrollers and SBCs. Background: What, precisely, is computer science?

LESSONS Lesson 1. Microcontrollers and SBCs. The Big Idea: Lesson 1: Microcontrollers and SBCs. Background: What, precisely, is computer science? LESSONS Lesson Lesson : Microcontrollers and SBCs Microcontrollers and SBCs The Big Idea: This book is about computer science. It is not about the Arduino, the C programming language, electronic components,

More information

Welcome to Arduino Day 2016

Welcome to Arduino Day 2016 Welcome to Arduino Day 2016 An Intro to Arduino From Zero to Hero in an Hour! Paul Court (aka @Courty) Welcome to the SLMS Arduino Day 2016 Arduino / Genuino?! What?? Part 1 Intro Quick Look at the Uno

More information

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) PH-315 Portland State University MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) ABSTRACT A microcontroller is an integrated circuit containing a processor and programmable read-only memory, 1 which is

More information

Module: Arduino as Signal Generator

Module: Arduino as Signal Generator Name/NetID: Teammate/NetID: Module: Laboratory Outline In our continuing quest to access the development and debugging capabilities of the equipment on your bench at home Arduino/RedBoard as signal generator.

More information

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools MAE106 Laboratory Exercises Lab # 1 - Laboratory tools University of California, Irvine Department of Mechanical and Aerospace Engineering Goals To learn how to use the oscilloscope, function generator,

More information

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment. Physics 222 Name: Exercise 6: Mr. Blinky This exercise is designed to help you wire a simple circuit based on the Arduino microprocessor, which is a particular brand of microprocessor that also includes

More information

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) PH-315 Portland State University MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) ABSTRACT A microcontroller is an integrated circuit containing a processor and programmable read-only memory, 1 which is

More information

Getting Started with the micro:bit

Getting Started with the micro:bit Page 1 of 10 Getting Started with the micro:bit Introduction So you bought this thing called a micro:bit what is it? micro:bit Board DEV-14208 The BBC micro:bit is a pocket-sized computer that lets you

More information

Arduino

Arduino Arduino Class Kit Contents A Word on Safety Electronics can hurt you Lead in some of the parts Wash up afterwards You can hurt electronics Static-sensitive: don t shuffle your feet & touch Wires only

More information

Understanding the Arduino to LabVIEW Interface

Understanding the Arduino to LabVIEW Interface E-122 Design II Understanding the Arduino to LabVIEW Interface Overview The Arduino microcontroller introduced in Design I will be used as a LabVIEW data acquisition (DAQ) device/controller for Experiments

More information

DragonLink Advanced Transmitter

DragonLink Advanced Transmitter DragonLink Advanced Transmitter A quick introduction - to a new a world of possibilities October 29, 2015 Written by Dennis Frie Contents 1 Disclaimer and notes for early release 3 2 Introduction 4 3 The

More information

Master Op-Doc/Test Plan

Master Op-Doc/Test Plan Power Supply Master Op-Doc/Test Plan Define Engineering Specs Establish battery life Establish battery technology Establish battery size Establish number of batteries Establish weight of batteries Establish

More information

Tarocco Closed Loop Motor Controller

Tarocco Closed Loop Motor Controller Contents Safety Information... 3 Overview... 4 Features... 4 SoC for Closed Loop Control... 4 Gate Driver... 5 MOSFETs in H Bridge Configuration... 5 Device Characteristics... 6 Installation... 7 Motor

More information

BW-IMU200 Serials. Low-cost Inertial Measurement Unit. Technical Manual

BW-IMU200 Serials. Low-cost Inertial Measurement Unit. Technical Manual Serials Low-cost Inertial Measurement Unit Technical Manual Introduction As a low-cost inertial measurement sensor, the BW-IMU200 measures the attitude parameters of the motion carrier (roll angle, pitch

More information

Application Note AN 157: Arduino UART Interface to TelAire T6613 CO2 Sensor

Application Note AN 157: Arduino UART Interface to TelAire T6613 CO2 Sensor Application Note AN 157: Arduino UART Interface to TelAire T6613 CO2 Sensor Introduction The Arduino UNO, Mega and Mega 2560 are ideal microcontrollers for reading CO2 sensors. Arduino boards are useful

More information

Flight control Set and Kit

Flight control Set and Kit Flight control Set and Kit Quick Start Guide For MegaPirate NG Version 1.2 Thanks for choosing AirStudio flight control electronics. We have created it based on best-in-class software, hardware and our

More information

Arduino An Introduction

Arduino An Introduction Arduino An Introduction Hardware and Programming Presented by Madu Suthanan, P. Eng., FEC. Volunteer, Former Chair (2013-14) PEO Scarborough Chapter 2 Arduino for Mechatronics 2017 This note is for those

More information

BW-VG525 Serials. High Precision CAN bus Dynamic Inclination Sensor. Technical Manual

BW-VG525 Serials. High Precision CAN bus Dynamic Inclination Sensor. Technical Manual Serials High Precision CAN bus Dynamic Inclination Sensor Technical Manual Introduction The Dynamic Inclination Sensor is a high precision inertial measurement device that measures the attitude parameters

More information

CPSC 226 Lab Four Spring 2018

CPSC 226 Lab Four Spring 2018 CPSC 226 Lab Four Spring 2018 Directions. This lab is a quick introduction to programming your Arduino to do some basic internal operations and arithmetic, perform character IO, read analog voltages, drive

More information

Experiment 1: Robot Moves in 3ft squared makes sound and

Experiment 1: Robot Moves in 3ft squared makes sound and Experiment 1: Robot Moves in 3ft squared makes sound and turns on an LED at each turn then stop where it started. Edited: 9-7-2015 Purpose: Press a button, make a sound and wait 3 seconds before starting

More information

INA169 Breakout Board Hookup Guide

INA169 Breakout Board Hookup Guide Page 1 of 10 INA169 Breakout Board Hookup Guide CONTRIBUTORS: SHAWNHYMEL Introduction Have a project where you want to measure the current draw? Need to carefully monitor low current through an LED? The

More information

High Voltage Waveform Sensor

High Voltage Waveform Sensor High Voltage Waveform Sensor Computer Engineering Senior Project Nathan Stump Spring 2013 Statement of Purpose The purpose of this project was to build a system to measure the voltage waveform of a discharging

More information

IX Feb Operation Guide. Sequence Creation and Control Software SD011-PCR-LE. Wavy for PCR-LE. Ver. 5.5x

IX Feb Operation Guide. Sequence Creation and Control Software SD011-PCR-LE. Wavy for PCR-LE. Ver. 5.5x IX000693 Feb. 015 Operation Guide Sequence Creation and Control Software SD011-PCR-LE Wavy for PCR-LE Ver. 5.5x About This Guide This PDF version of the operation guide is provided so that you can print

More information

J. La Favre Using Arduino with Raspberry Pi February 7, 2018

J. La Favre Using Arduino with Raspberry Pi February 7, 2018 As you have already discovered, the Raspberry Pi is a very capable digital device. Nevertheless, it does have some weaknesses. For example, it does not produce a clean pulse width modulation output (unless

More information

10 Things to Consider when Acquiring a Nanopositioning System

10 Things to Consider when Acquiring a Nanopositioning System 10 Things to Consider when Acquiring a Nanopositioning System There are many factors to consider when looking for nanopositioning piezo stages. This article will help explain some items that are important

More information

FLCS V2.1. AHRS, Autopilot, Gyro Stabilized Gimbals Control, Ground Control Station

FLCS V2.1. AHRS, Autopilot, Gyro Stabilized Gimbals Control, Ground Control Station AHRS, Autopilot, Gyro Stabilized Gimbals Control, Ground Control Station The platform provides a high performance basis for electromechanical system control. Originally designed for autonomous aerial vehicle

More information

Introduction to the Analog Discovery

Introduction to the Analog Discovery Introduction to the Analog Discovery The Analog Discovery from Digilent (http://store.digilentinc.com/all-products/scopes-instruments) is a versatile and powerful USB-connected instrument that lets you

More information

1Getting Started SIK BINDER //3

1Getting Started SIK BINDER //3 SIK BINDER //1 SIK BINDER //2 1Getting Started SIK BINDER //3 Sparkfun Inventor s Kit Teacher s Helper These worksheets and handouts are supplemental material intended to make the educator s job a little

More information

RigExpert TI-7 USB Transceiver Interface User s manual

RigExpert TI-7 USB Transceiver Interface User s manual RigExpert TI-7 USB Transceiver Interface User s manual Please read this manual before attempting to use the RigExpert TI-7 device. - - 2 - Table of contents 1. What is a RigExpert TI-7?... 4 2. Specifications...

More information

Using the S5U13781R01C100 Shield Graphics Library with Atmel Studio

Using the S5U13781R01C100 Shield Graphics Library with Atmel Studio Using the S5U13781R01C100 Shield Graphics Library with Atmel Studio Document Number: X94A-B-002-01 Status: Revision 1.0 Issue Date: 2015/07/30 SEIKO EPSON CORPORATION Rev. 1.0 Page 2 NOTICE No part of

More information

LoRa Quick Start Guide

LoRa Quick Start Guide LoRa Quick Start Guide The Things Uno Tweetonig Rotterdam (English) v1.0 - written for Things Uno v4 Index LoRa Quick Start Guide 1 The Things Uno 1 Index 2 Specifications 3 CPU: ATmega32u4 3 Pin layout

More information

On the front of the board there are a number of components that are pretty visible right off the bat!

On the front of the board there are a number of components that are pretty visible right off the bat! Hardware Overview The micro:bit has a lot to offer when it comes to onboard inputs and outputs. In fact, there are so many things packed onto this little board that you would be hard pressed to really

More information

Revision 1. March 21, ADC Operation Manual N 11 th St San Jose CA

Revision 1. March 21, ADC Operation Manual N 11 th St San Jose CA Revision 1 March 21, 2017 ADC Operation Manual www.mountztorque.com - 1080 N 11 th St San Jose CA 95112 408.292.2214 1 Index 1. Installation 3 1.1 Required PC specification 3 1.2 Software 3 2. Operation

More information

Blue Bamboo P25 Device Manager Guide

Blue Bamboo P25 Device Manager Guide Blue Bamboo P25 Device Manager Guide Version of Device Manager: 1.1.28 Document version: 2.3 Document date: 2011-09-20 Products: P25 / P25-M / P25i / P25i-M BLUE BAMBOO Headquarters Blue Bamboo Transaction

More information

INSTRUCTIONS. 3DR Plane CONTENTS. Thank you for purchasing a 3DR Plane!

INSTRUCTIONS. 3DR Plane CONTENTS. Thank you for purchasing a 3DR Plane! DR Plane INSTRUCTIONS Thank you for purchasing a DR Plane! CONTENTS 1 1 Fuselage Right wing Left wing Horizontal stabilizer Vertical stabilizer Carbon fiber bar 1 1 1 7 8 10 11 1 Audio/video (AV) cable

More information

Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink

Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink By the end of this session: You will know how to use an Arduino

More information

The wiring is relatively simple. You should put the module on one of the compatible Arduinos. The following are compatible:

The wiring is relatively simple. You should put the module on one of the compatible Arduinos. The following are compatible: Welcome! And thank you for purchasing our AZ-Delivery Data Logger module for the Arduino. On the following pages, we will take you through the first steps of the installation process on the Arduino. We

More information

Master Thesis Presentation Future Electric Vehicle on Lego By Karan Savant. Guide: Dr. Kai Huang

Master Thesis Presentation Future Electric Vehicle on Lego By Karan Savant. Guide: Dr. Kai Huang Master Thesis Presentation Future Electric Vehicle on Lego By Karan Savant Guide: Dr. Kai Huang Overview Objective Lego Car Wifi Interface to Lego Car Lego Car FPGA System Android Application Conclusion

More information

Programming 2 Servos. Learn to connect and write code to control two servos.

Programming 2 Servos. Learn to connect and write code to control two servos. Programming 2 Servos Learn to connect and write code to control two servos. Many students who visit the lab and learn how to use a Servo want to use 2 Servos in their project rather than just 1. This lesson

More information

nrf24l01+ Transceiver Hookup Guide

nrf24l01+ Transceiver Hookup Guide Page 1 of 6 nrf24l01+ Transceiver Hookup Guide Introduction These breakout boards provide SPI access to the nrf24l01+ transceiver module from Nordic Semiconductor. The transceiver operates at 2.4 GHz and

More information

AUTOPILOT QUICK START GUIDE

AUTOPILOT QUICK START GUIDE AUTOPILOT QUICK START GUIDE The view of PIXHAWK2.1 Ports: GPS1/GPS2 TELEM1/TELEM2 I2C 2 USB Analog to digital converter 3.3 V CAN1/CAN2 Spektrum DSM receiver POWER1 POWER2 S.BUS out for servo SERIAL 5

More information

Sten-Bot Robot Kit Stensat Group LLC, Copyright 2013

Sten-Bot Robot Kit Stensat Group LLC, Copyright 2013 Sten-Bot Robot Kit Stensat Group LLC, Copyright 2013 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

Catalog

Catalog - 1 - Catalog 1. Overview...- 3-2. Feature... - 3-3. Application...- 3-4. Block Diagram...- 3-5. Electrical Characteristics... - 4-6. Operation... - 4-1) Power on Reset... - 4-2) Sleep mode... - 4-3) Working

More information

iphoto Getting Started Get to know iphoto and learn how to import and organize your photos, and create a photo slideshow and book.

iphoto Getting Started Get to know iphoto and learn how to import and organize your photos, and create a photo slideshow and book. iphoto Getting Started Get to know iphoto and learn how to import and organize your photos, and create a photo slideshow and book. 1 Contents Chapter 1 3 Welcome to iphoto 3 What You ll Learn 4 Before

More information

SPEEDBOX Technical Datasheet

SPEEDBOX Technical Datasheet SPEEDBOX Technical Datasheet Race Technology Limited, 2008 Version 1.1 1. Introduction... 3 1.1. Product Overview... 3 1.2. Applications... 3 1.3. Standard Features... 3 2. Port / Connector details...

More information

MINIMUM SYSTEM REQUIREMENTS

MINIMUM SYSTEM REQUIREMENTS Quick Start Guide Copyright 2000-2012 Frontline Test Equipment, Inc. All rights reserved. You may not reproduce, transmit, or store on magnetic media any part of this publication in any way without prior

More information

Servomotor Control with Arduino Integrated Development Environment. Application Notes. Bingyang Wu Mar 27, Introduction

Servomotor Control with Arduino Integrated Development Environment. Application Notes. Bingyang Wu Mar 27, Introduction Servomotor Control with Arduino Integrated Development Environment Application Notes Bingyang Wu Mar 27, 2015 Introduction Arduino is a tool for making computers that can sense and control more of the

More information

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 7: IR SENSORS AND DISTANCE DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOAL: This section will introduce

More information

Topcon Receiver Utility: GNSS Receiver Firmware Update Process. Oscar R. Cantu

Topcon Receiver Utility: GNSS Receiver Firmware Update Process. Oscar R. Cantu Topcon Receiver Utility: GNSS Receiver Firmware Update Process Oscar R. Cantu TRU: GNSS Receiver Firmware Update Topcon Receiver Utility (TRU), product definition Office Processing and Reporting Software

More information

Lab 4 Rev. 1 Open Lab Due COB Friday April 6, 2018

Lab 4 Rev. 1 Open Lab Due COB Friday April 6, 2018 EE314 Systems Spring Semester 2018 College of Engineering Prof. C.R. Tolle South Dakota School of Mines & Technology Lab 4 Rev. 1 Open Lab Due COB Friday April 6, 2018 In this lab we will setup Matlab

More information

LC-10 Chipless TagReader v 2.0 August 2006

LC-10 Chipless TagReader v 2.0 August 2006 LC-10 Chipless TagReader v 2.0 August 2006 The LC-10 is a portable instrument that connects to the USB port of any computer. The LC-10 operates in the frequency range of 1-50 MHz, and is designed to detect

More information

INTRODUCTION to MICRO-CONTROLLERS

INTRODUCTION to MICRO-CONTROLLERS PH-315 Portland State University INTRODUCTION to MICRO-CONTROLLERS Bret Comnes, Dan Lankow, and Andres La Rosa 1. ABSTRACT A microcontroller is an integrated circuit containing a processor and programmable

More information

INTRODUCTION to MICRO-CONTROLLERS

INTRODUCTION to MICRO-CONTROLLERS PH-315 Portland State University INTRODUCTION to MICRO-CONTROLLERS Bret Comnes and A. La Rosa 1. ABSTRACT This laboratory session pursues getting familiar with the operation of microcontrollers, namely

More information

Pico-Satellite Training Kit HEPTA-Sat: Hands-on Practices for Space Engineering

Pico-Satellite Training Kit HEPTA-Sat: Hands-on Practices for Space Engineering College of Science and Technology Pico-Satellite Training Kit HEPTA-Sat: Hands-on Practices for Space Engineering Masahiko Yamazaki(Nihon University) Pre-Symposium Hands-on Workshop at Stellenbosch University(Dec.

More information

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Roberts Page 1 See Appendix A, for Licensing Attribution information

More information

Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman

Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman Exercise 5-1: Familiarization with Lab Box Contents Objective: To review the items required for working

More information

Milli Developer Kit Reference Application Published on Silver Spring Networks STAGE (

Milli Developer Kit Reference Application Published on Silver Spring Networks STAGE ( Milli Developer Kit Example Application PART 1 Example CoAP Server Sensor Implementation With The Milli Dev Kit Get the Milli Developer Kit Temperature Sensor Reference Application on GitHub [1] This reference

More information

Internet of Things Student STEM Project Jackson High School. Lesson 2: Arduino and LED

Internet of Things Student STEM Project Jackson High School. Lesson 2: Arduino and LED Internet of Things Student STEM Project Jackson High School Lesson 2: Arduino and LED Lesson 2: Arduino and LED Time to complete Lesson 60-minute class period Learning objectives Students learn about Arduino

More information

M-16DX 16-Channel Digital Mixer

M-16DX 16-Channel Digital Mixer M-16DX 16-Channel Digital Mixer Workshop Using the M-16DX with a DAW 2007 Roland Corporation U.S. All rights reserved. No part of this publication may be reproduced in any form without the written permission

More information

Setup Download the Arduino library (link) for Processing and the Lab 12 sketches (link).

Setup Download the Arduino library (link) for Processing and the Lab 12 sketches (link). Lab 12 Connecting Processing and Arduino Overview In the previous lab we have examined how to connect various sensors to the Arduino using Scratch. While Scratch enables us to make simple Arduino programs,

More information

AS726X NIR/VIS Spectral Sensor Hookup Guide

AS726X NIR/VIS Spectral Sensor Hookup Guide Page 1 of 9 AS726X NIR/VIS Spectral Sensor Hookup Guide Introduction The AS726X Spectral Sensors from AMS brings a field of study to consumers that was previously unavailable, spectroscopy! It s now easier

More information

Zybo Z7 Pcam 5C Demo

Zybo Z7 Pcam 5C Demo Zybo Z7 Pcam 5C Demo The demo in action - displaying the Pcam 5C data. Overview Description The Zybo Z7 Pcam 5C project demonstrates the usage of the Pcam 5C as a video source by forwarding the streaming

More information

HG1120 INERTIAL MEASUREMENT UNIT (IMU) Installation and Interface Manual

HG1120 INERTIAL MEASUREMENT UNIT (IMU) Installation and Interface Manual HG1120 INERTIAL MEASUREMENT UNIT (IMU) Installation and Interface Manual HG1120 Installation and Interface Manual aerospace.honeywell.com/hg1120 2 Table of Contents 4 5 6 15 17 17 Honeywell Industrial

More information

IMU60 Inertial Measurement Unit

IMU60 Inertial Measurement Unit Precision 6 DoF MEMS Inertial Measurement Unit Range: acc ±2g, gyro ±300 /s, (ODM supported) Acc Bias Instability: ±70mg, Gyro Bias Instability: 24 /h Data Update Rate: 100Hz Wide Input Power Range: 5~18VDC

More information

Troubleshooting Rig Connection Issues

Troubleshooting Rig Connection Issues Rig Control Page 1 Troubleshooting Rig Connection Issues There are many reasons HRD can not or will not connect to your radio during initial setup of the software. This document will walk you through some

More information

Quick Start. Precis-BX305. Precise GNSS RTK Board.

Quick Start. Precis-BX305. Precise GNSS RTK Board. Quick Start Precis-BX305 Precise GNSS RTK Board www.tersus-gnss.com December, 2016 Quick Start Guide of Precis-BX305 This quick start guide provides the basic information needed to set up and use Precis-BX305

More information

You'll create a lamp that turns a light on and off when you touch a piece of conductive material

You'll create a lamp that turns a light on and off when you touch a piece of conductive material TOUCHY-FEELY LAMP You'll create a lamp that turns a light on and off when you touch a piece of conductive material Discover : installing third party libraries, creating a touch sensor Time : 5 minutes

More information

INTRODUCTION to MICRO-CONTROLLERS

INTRODUCTION to MICRO-CONTROLLERS PH-315 Portland State University INTRODUCTION to MICRO-CONTROLLERS Bret Comnes, Dan Lankow, and Andres La Rosa 1. ABSTRACT A microcontroller is an integrated circuit containing a processor and programmable

More information

Attribution Thank you to Arduino and SparkFun for open source access to reference materials.

Attribution Thank you to Arduino and SparkFun for open source access to reference materials. Attribution Thank you to Arduino and SparkFun for open source access to reference materials. Contents Parts Reference... 1 Installing Arduino... 7 Unit 1: LEDs, Resistors, & Buttons... 7 1.1 Blink (Hello

More information

Catalog

Catalog - 1 - Catalog 1. Overview... - 3-2. Feature...- 3-3. Application... - 3-4. Block Diagram... - 3-5. Electrical Characteristics...- 4-6. Operation...- 4-1) Power on Reset... - 4-2) Sleep mode...- 4-3) Working

More information

Studuino Color Sensor Manual

Studuino Color Sensor Manual Studuino Color Sensor Manual This manual explains the Studuino Programming Environment and how to use it. As the Studuino Programming Environment develops, this manual may be edited or revised. You can

More information

Sensors Fundamentals. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved.

Sensors Fundamentals. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved. Sensors Fundamentals Renesas Electronics America Inc. Renesas Technology & Solution Portfolio 2 Agenda Introduction Sensors fundamentals ADI sensors Sensors data acquisition ADI support for sensors applications

More information

Using the USB2.0 camera and guider interface

Using the USB2.0 camera and guider interface Using the USB2.0 camera and guider interface The USB2.0 interface is an updated replacement for the original Starlight Xpress USB1.1 unit, released in 2001. Its main function is to provide a USB2 compatible

More information

CONSTRUCTION GUIDE Robotic Arm. Robobox. Level II

CONSTRUCTION GUIDE Robotic Arm. Robobox. Level II CONSTRUCTION GUIDE Robotic Arm Robobox Level II Robotic Arm This month s robot is a robotic arm with two degrees of freedom that will teach you how to use motors. You will then be able to move the arm

More information

Disclaimer. Arduino Hands-On 2 CS5968 / ART4455 9/1/10. ! Many of these slides are mine. ! But, some are stolen from various places on the web

Disclaimer. Arduino Hands-On 2 CS5968 / ART4455 9/1/10. ! Many of these slides are mine. ! But, some are stolen from various places on the web Arduino Hands-On 2 CS5968 / ART4455 Disclaimer! Many of these slides are mine! But, some are stolen from various places on the web! todbot.com Bionic Arduino and Spooky Arduino class notes from Tod E.Kurt!

More information

Light Emitting Diode IV Characterization

Light Emitting Diode IV Characterization Light Emitting Diode IV Characterization In this lab you will build a basic current-voltage characterization tool and determine the IV response of a set of light emitting diodes (LEDs) of various wavelengths.

More information

PalmGauss SC PGSC-5G. Instruction Manual

PalmGauss SC PGSC-5G. Instruction Manual PalmGauss SC PGSC-5G Instruction Manual PalmGauss SC PGSC 5G Instruction Manual Thank you very much for purchasing our products. Please, read this instruction manual in order to use our product in safety

More information

Touch Potentiometer Hookup Guide

Touch Potentiometer Hookup Guide Page 1 of 14 Touch Potentiometer Hookup Guide Introduction The Touch Potentiometer, or Touch Pot for short, is an intelligent, linear capacitive touch sensor that implements potentiometer functionality

More information

Arduino Setup & Flexing the ExBow

Arduino Setup & Flexing the ExBow Arduino Setup & Flexing the ExBow What is Arduino? Before we begin, We must first download the Arduino and Ardublock software. For our Set-up we will be using Arduino. Arduino is an electronics platform.

More information

Attack on the drones. Vectors of attack on small unmanned aerial vehicles Oleg Petrovsky / VB2015 Prague

Attack on the drones. Vectors of attack on small unmanned aerial vehicles Oleg Petrovsky / VB2015 Prague Attack on the drones Vectors of attack on small unmanned aerial vehicles Oleg Petrovsky / VB2015 Prague Google trends Google trends This is my drone. There are many like it, but this one is mine. Majority

More information

isys-4004 GUI interface - V2.1 Power up Initialize Peripheral Start Measurement YES LED flashes red Object available LED blinking

isys-4004 GUI interface - V2.1 Power up Initialize Peripheral Start Measurement YES LED flashes red Object available LED blinking isys-4004 GUI interface - V2.1 Power up Initialize Peripheral Start Measurement Mode Object available YES LED flashes red NO LED blinking isys-4004 distance sensor GUI description content 1. connecting

More information

CONSTRUCTION GUIDE IR Alarm. Robobox. Level I

CONSTRUCTION GUIDE IR Alarm. Robobox. Level I CONSTRUCTION GUIDE Robobox Level I This month s montage is an that will allow you to detect any intruder. When a movement is detected, the alarm will turn its LEDs on and buzz to a personalized tune. 1X

More information