[SpotSDKdirectory]/doc/javadoc directory 2 and look at the demonstration applications in the [SpotSDKdirectory]/Demos/
|
|
- Geoffrey Underwood
- 6 years ago
- Views:
Transcription
1 Lab session 2: Accessing the Sensor Board. We learn how to access some of the elements included in the sensor board of our Sun SPOTs. This allows us to begin programming easy Java applications collecting environmental sensored data. Other elements included in the sensor board of the Sun SPOTs are the 3D Accelerometer, the general-purpose I/O pins, and the high current output pins. For the goals of this course, the 3D Accelerometer is of more interest and thus, in this session we will concentrate on working with it. This documentation is based on the documentation of Sun for the accelerometer, to be found at [SpotSDKdirectory]/doc/AppNotes/AccelerometerAppNote.pdf. 1 For more information about the general-purpose I/O pins and the high current output pins, you are addressed to the Sun SPOT documentation on Sun's website. Basically, both type of pins can be programmed through the classes in the package com.sun.spot.sensorboard.edemoboard and the package com.sun.spot.sensorboard.io. Introduction The sensor board (also called EDemoBoard) includes a 3D accelerometer, a temperature sensor, a light sensor, eight LEDs, two switches, five general-purpose I/O pins and four high current output pins. In the following, we give a rapid introduction to using these components in a Sun SPOT Java program. For more details, look at the Javadoc pages in the [SpotSDKdirectory]/doc/javadoc directory 2 and look at the demonstration applications in the [SpotSDKdirectory]/Demos/ CodeSamples directory. These applications show the details of using one or two sensor board devices. To work with any of the elements in the sensor board, you need to import the package com.sun.spot.sensorboard.edemoboard, which provides the programmer with an object instance of the sensor board and thus also of any of the elements in it. You also need to import the package com.sun.spot.sensorboard.peripheral, which contains interfaces and concrete implementations of various peripherals that are either connected to or built into the daughter cards. The simplest interfaces to sensor board devices are also described in the sections below. All of the sensor board input devices also have listener classes associated with them. These listener classes are detailed in the javadoc. 1 Also available at 2 Also at
2 Temperature Sensor The temperature sensor is the simplest of the sensors. There are no raw readings and no parameters to set. However, it is, inevitably, close to some heat sources in the Sun SPOT. More accurate temperature readings could be obtained with an external temperature sensor tied to the I/O pins on the sensor board. 1. Instantiate the temperature sensor object Import com.sun.spot.sensorboard.edemoboard; Import com.sun.spot.sensorboard.peripheral.itemperatureinput; ITemperatureInput ourtempsensor = EdemoBoard.getInstance().getADCTemperature(); 2. Read the temperature // The temperature can be read in Celsius double celsiustemp = ourtempsensor.getcelsius(); // or in Fahrenheit double fahrenheittemp= ourtempsensor.getfahrenheit(); Light Sensor The light sensor returns an integer that ranges from 0 to 750. Zero represents complete darkness. Peak sensitivity of light sensor is at 600nm wavelength. To use the light sensor: 1. Instantiate a light sensor object Import com.sun.spot.sensorboard.edemoboard; Import com.sun.spot.sensorboard.peripheral.ilightsensor; ILightSensor ourlightsensor = EdemoBoard.getInstance().getLightSensor(); 2. Get the light sensor raw reading. int lightsensorreading = ourlightsensor.getvalue(); This is fine for a constant light source. However, some light sources, specifically fluorescent light bulbs, while seeming constant to the human eye, actually vary rapidly. For these sources, it is better to use the method getaveragevalue(int n). The method will return the average of n samples taken at 1 millisecond intervals. If n is not specified, 17 samples will be taken, spanning one sixtieth of a second, or the usual length of a power/light cycle. int lightsensorreading = ourlightsensor.getaveragevalue(34); LEDs There are eight three-color LEDs on the demo sensor board, in a row. Each LED has a red, a green, and a blue emitter as part of the LED. Each individual color can have an intensity from 0 to 255, with 0 being off and 255 being as bright as possible.
3 To use the LEDs: 1. Instantiate the LED object array. Import com.sun.spot.sensorboard.edemoboard; Import com.sun.spot.sensorboard.peripheral.itricolorled; ITriColorLED[] ourleds = EdemoBoard.getInstance().getLEDs(); 2. Set the LED color desired. Colors are specified with the setrgb(int R, int G, int B) method. // set the LED color desired // set the first two LEDs to bright red, the next two to bright green, // the next two to bright blue, and the last two to white. // First two = bright red ourleds[0].setrgb(255,0,0); ourleds[1].setrgb(255,0,0); // Next two = bright green ourleds[2].setrgb(0,255,0); ourleds[3].setrgb(0,255,0); // Next two = bright blue ourleds[4].setrbg(0,0,255); ourleds[5].setrgb(0,0,255); // Last two = white ourleds[6].setrgb(255,255,255); ourleds[7].setrgb(255,255,255); 3. Turn the LEDs on. //turn the LEDs on for (int i = 0; i < 8; i++) ourleds[i].seton(); 4. If desired, turn the LEDs off. // turn the LEDs off for (int i = 0; i < 8; i++) ourleds[i].setoff(); You can also query the state of the LEDs using the ison(), getred(), getgreen(), and getblue() methods. The package com.sun.spot.sensorboard.peripheral.ledcolor gives support to work with predefined colors. Switches The sensor board has two switches on it. These are represented in the EdemoBoard object as an array of type ISwitch. You may query the state of the switches using the isopen() and isclosed() methods. Ordinarily you will implement an event loop
4 which will check the switches used in your application on a periodic basis, or you will ask the Sun SPOT to stop and wait for the switch state to change. When you want the SPOT to wait for the state switch to change, you would use the waitforchange() method. 1. Instantiate the switch array. Import com.sun.spot.sensorboard.edemoboard; Import com.sun.spot.sensorboard.iswitch; ISwitch[] ourswitches = EdemoBoard.getInstance().getSwitches(); 2. Look for a switch press. If you wanted a switch press and were willing to wait for it: if(ourswitches[0].isopen()) { // if it is open, wait for it to close ourswitches[0].waitforchange(); // Whether it was closed before or just closed, wait for it to open ourswitches[0].waitforchange(); Accelerometer The LIS3L02AQ Accelerometer is a low-power, three-axis linear accelerometer that is mounted on the demo sensor board of the Sun SPOT. The accelerometer can be used to measure the motion of the SPOT. It can also measure the SPOT's orientation with respect to gravity. The Z-axis is perpendicular to the Sun SPOT boards. The X-axis is parallel to the row of LEDs on the sensor board. The Y-axis is parallel to the long edge of the sensor board. The figure shows the accelerometer X, Y and Z axes. The plus (+) on the end of an axis indicates that when the device's acceleration vector increases in that direction, the associated accelerometer readings will grow larger. If the SPOT is sitting flat on a table then the acceleration due to the Earth's gravity will be 1g along the positive Z-axis, and 0g along the X and Y axes. Note that while gravity is pointing down (along the negative Z-axis) this is equivalent to a uniform upwards acceleration of 1g according to the Einstein equivalence principle even though the SPOT is not moving. The LIS3L02AQ accelerometer consists of a Micro-Electro-Mechanical System (MEMS) sensor element that is displaced from its nominal position when a linear acceleration is applied, causing an electrical imbalance that is read via the demo sensor board's analog-to-digital converter. The raw voltage value is then converted to g-force units. The accelerometer can be set to measure accelerations over a scale of either ± 2g or ± 6g. For a full description of the technical specifications of the LIS3L02AQ accelerometer please refer to the STMicroelectronics documentation at The SPOT library includes both the IAccelerometer3D interface that defines the basic methods that any three-axis accelerometer should support, and the
5 LIS3L02AQAccelerometer class that implements that interface along with several other methods specific to the LIS3L02AQ. The Basic Iaccelerometer3D API The basic methods used to read the current acceleration along each axis are getaccelx(), getaccely() and getaccelz(). See an example on how to use them: //Create an accelerometer interface instance import com.sun.spot.sensorboard.edemoboard; import com.sun.spot.sensorboard.iaccelerometer3d; IAccelerometer3D acc = EdemoBoard.getInstance().getAccelerometer(); //Read from the accelerometer double x_accel = acc.getaccelx(); double y_accel = acc.getaccely(); double z_accel = acc.getaccelz(); The readings will be in g-force units. There is also a method getaccel() that returns the vector sum of the acceleration along all three individual axes (i.e., its vector sum, Here is a code fragment that will loop until the acceleration along the X-axis exceeds ¼ g: import com.sun.spot.sensorboard.edemoboard; import com.sun.spot.sensorboard.iaccelerometer3d; import com.sun.spot.util.utils; IAccelerometer3D acc = EdemoBoard.getInstance().getAccelerometer(); while (true) { double ax = acc.getaccelx(); if (ax >= 0.25) { System.out.println( X acceleration above threshold: + ax); break; Util.sleep(250); // check every 1/4 second Here's another fragment to detect when the SPOT is in motion by checking for the total acceleration to deviate from the 1g of gravity: public boolean ismoving() throws IOException { double mag = acc.getaccel(); return Math.abs(mag - 1.0) >= 0.1; The accelerometer interface also has methods for determining the acceleration relative to a previously set acceleration. This measures only the relative acceleration and allows you to remove the force of gravity from your measurements. // Zero out the current forces on the SPOT, usually gravity acc.setrestoffsets();
6 // see if we are accelerating up or down double z_relative_accel = acc.getrelativeaccelz(); The set of methods, getrelativeaccelx(), getrelativeaccely(), getrelativeaccelz() and getrelativeaccel(), return the current acceleration relative to a previously measured acceleration. The method, setrestoffsets(), computes the current acceleration along each axis and saves it, establishing a new zero reading to be used by the above methods. Here is the above code example for method ismoving() rewritten using the relative acceleration routines: public boolean ismoving() throws IOException { return acc.getrelativeaccel() >= 0.1; IAccelerometer3D also has methods that calculate the orientation of the SPOT to the acceleration of the SPOT. When the SPOT is at rest, this acceleration will be gravity and the tilt (i.e., the inclination) will be relative to gravity. The methods are gettiltx(), gettilty(), gettiltz() use the acceleration along an axis in order to compute the inclination, of that axis with respect to the total acceleration the SPOT is experiencing. The tilt is measured in radians. To transform it to degrees, you can use the Math.toDegrees method. FIGURE 2: Computing the tilt Here is a code example to measure the tilt of the SPOT and display the tilt in the LEDs like a bubble in a level. This example is installed with the Sun SPOT SDK and can be found in the directory Demos/CodeSamples/AccelerometerSampleCode. public void demobubblelevel() { for (int i = 0; i < 8; i++) { leds[i].setoff(); // turn off all LEDs leds[i].setcolor(ledcolor.blue); // LEDs will be blue when lit while (true) { try { int tiltx = (int)math.todegrees(acc.gettiltx()); // tiltx is a value in the interval [-90, +90] int offset = -tiltx / 15; // bubble goes to higher side [6,-6] if (offset < -3) offset = -3; // clip angle to range [3, -3] if (offset > 3) offset = 3; leds[3 + offset].seton(); // use 2 LEDs to display "bubble"" leds[4 + offset].seton(); Utils.sleep(50); // update 20 times per second
7 leds[3 + offset].setoff(); // clear display leds[4 + offset].setoff(); catch (IOException ex) { System.out.println("Error reading accelerometer: " + ex); More details about the IAccelerometer3D class are available in the javadoc documentation 3. The LIS3L02AQAccelerometer3D class For most SPOT programs, the functionalities defined by IAccelerometer3D will be all that is needed. However, when requiring more control over the accelerometer than is available through this interface, then the LIS3L02AQAccelerometer class should be consulted. The LIS3L02AQAccelerometer API allows, among many other things, to measure accelerations over a scale of either ± 2g or ± 6g, and to calibrate the accelerometer. Documentation of this API can be found at [SpotSDKdirectory]/doc/AppNotes/AccelerometerAppNote.pdf Also available at
8 Exercises For doing these exercises you can use the code samples to be found at [SpotSDKdirectory]/Demos/CodeSamples as starting point or template. Those examples also show you other slightly more advanced functionalities that we have omitted here. Do also take into account that all of the sensor board input devices also have listener classes associated with them. 1 Have a detailed look at the examples at [SpotSDKdirectory]/Demos/CodeSamples referring to the temperature, light, LEDs and switches. Observe that all the new classes defined in these examples extend the class MIDlet. NOTE: A MIDLet is a MID Profile application. The application must extend this class to allow the application management software to control the MIDlet and to be able to retrieve properties from the application descriptor and notify and request state changes. The methods of this class allow the application management software to create, start, pause, and destroy a MIDlet. A MIDlet is a set of classes designed to be run and controlled by the application management software via this interface. The states allow the application management software to manage the activities of multiple MIDlets within a runtime environment. It can select which MIDlets are active at a given time by starting and pausing them individually. The application management software maintains the state of the MIDlet and invokes methods on the MIDlet to change states. The MIDlet implements these methods to update its internal activities and resource usage as directed by the application management software. The MIDlet can initiate some state changes itself and notifies the application management software of those state changes by invoking the appropriate methods. 2 Program an application to be run on the spot which shows the binary representation of a number using the LEDs. 3 Using the procedure done in the first exercise, program an application on the spot to show the measured temperature. 4 Using the procedure done in the first exercise, program an application on the spot to show the measured light. 5 Using the procedures done in the previous exercises, program an application on the spot to show, alternatively, the temperature and the light measure. The spot should change from one measure to the other by pressing a switch. 6 Using the procedure done in the first exercise, program an application on the spot that counts in binary. The spot should start with no LED switched on (i.e., number zero). When pressing one switch, it should add one unit to the (binary) number showed on the LEDs. When pressing the other switch, it should subtract one. The following exercises work with the accelerometer and are slightly more complex than the previous ones. For doing them you can use the code sample to be found at [SpotSDKdirectory]/Demos/CodeSamples/AccelerometerSamplecode as starting point or template. For doing exercises 9, 10 and 11, you need to use a little bit of communication (from the spot to the basestation), an example of which you can see at the telemetry demo.
9 7 Program an application to be run on the spot which shows (in binary representation, using the LEDs) the measurement of the accelerometer on the X-axis. 8 Protect your sunspot appropriately. Try that it shows (in binary representation, using the LEDs) an inference of the distance traversed (or velocity at which it was thrown) when throwing it in front of you. 9 Make a desktop application to show the measurements of the accelerometer in each axis in a numerical form. 10 Make a desktop application that initially shows an empty window with ball in it (at any position). The ball can not move alone, but it is moved by the user according to the acceleration that he applies on the sunspot. For moving the ball, only the X-axis and the Y-axis are to be considered (the Z-axis is ignored). Acceleration on the X-axis: the ball moves left or right, depending on which direction the spot is moved Acceleration on the Y-axis: the ball moves up or down, depending on which direction the spot is moved 11 Enrich the program of the previous exercise by substituting the empty window by a random maze.
HOBO Pendant G Data Logger (UA ) White Paper
HOBO Pendant G Data Logger (UA-4-64) White Paper This white paper explains the operation of the HOBO Pendant G data logger (UA-4-64). Operating Principles The accelerometer used in the Pendant G logger
More informationmicro:bit Lesson 1. Using the Built-in Sensors
micro:bit Lesson 1. Using the Built-in Sensors Created by Simon Monk Last updated on 2018-03-02 05:46:13 PM UTC Guide Contents Guide Contents Overview Magnetometer Magnet Detector High-strength 'rare earth'
More informationMe 3-Axis Accelerometer and Gyro Sensor
Me 3-Axis Accelerometer and Gyro Sensor SKU: 11012 Weight: 20.00 Gram Description: Me 3-Axis Accelerometer and Gyro Sensor is a motion processing module. It can use to measure the angular rate and the
More informationVSEW_mk2-8g. Data Sheet. Dec Bruno Paillard
VSEW_mk2-8g Data Sheet Dec 4 2017 Bruno Paillard 1 PRODUCT DESCRIPTION 2 2 APPLICATIONS 2 3 SPECIFICATIONS 3 3.1 Frequency Response 5 3.1.1 Upper Frequency Limit 5 3.1.2 Low-Frequency Limit 6 3.2 Noise
More informationImpact detection. You can get the latest firmware and configurator from our documentation website: doc.ruptela.lt
Impact detection Introduction When impact detection feature is active, FM device monitors its acceleration in all directions and generates records every time when the acceleration exceeds configured limits.
More information1 Features. 2 Applications. 3 Description. USB Accelerometer Model X6-2
USB Accelerometer Model X6-2 1 Features 3-axis accelerometer ±2g or ±6g range in each axis 12-bit and 16-bit resolution modes User selectable sample rates of 20, 40, 80, 160, and 320 Hz Internal Li-Poly
More informationKXCJK AN 039. Getting Started with the KXCJK. Introduction
Getting Started with the KXCJK Introduction This application note will help developers quickly implement proof-of-concept designs using the KXCJK tri-axis accelerometer. Please refer to the KXCJK data
More informationUniversity of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I.
University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 06 Analog to Digital Conversion Goals: Bonus: Pre Lab Questions: Display
More informationNEULOG ACCELERATION LOGGER SENSOR GUIDE
NeuLog acceleration logger sensor NUL-227 The NeuLog acceleration sensor can be used for any science experiment which utilizes acceleration measurements such as in the fields of Physics, Mechanics, Physiology,
More informationAn Adaptable Framework for Integrating and Querying Sensor Data
An Adaptable Framework for Integrating and Querying Sensor Data Shahina Ferdous 1, Sarantos Kapidakis 2, Leonidas Fegaras 1, Fillia Makedon 1 1 Heracleia Human Centered Computing Lab University of Texas
More informationSphero Lightning Lab Cheat Sheet
Actions Tool Description Variables Ranges Roll Combines heading, speed and time variables to make the robot roll. Duration Speed Heading (0 to 999999 seconds) (degrees 0-359) Set Speed Sets the speed of
More informationAN 038. Getting Started with the KXTJ2. Introduction
Getting Started with the KXTJ2 Introduction This application note will help developers quickly implement proof-of-concept designs using the KXTJ2 tri-axis accelerometer. Please refer to the KXTJ2 data
More informationnavigation Isaac Skog
Foot-mounted zerovelocity aided inertial navigation Isaac Skog skog@kth.se Course Outline 1. Foot-mounted inertial navigation a. Basic idea b. Pros and cons 2. Inertial navigation a. The inertial sensors
More information1 Features. 2 Applications. 3 Description. USB Accelerometer Model X8M-3
USB Accelerometer Model X8M-3 1 Features 3-axis 14-bit ±8g accelerometer 3-axis magnetometer User selectable sample rates of 6, 12, 25, 50, 100, and 200 Hz Internal Li-Poly battery charges via USB Accurate
More informationII. Functions. 61. Find a way to graph the line from the problem 59 on your calculator. Sketch the calculator graph here, including the window values:
II Functions Week 4 Functions: graphs, tables and formulas Problem of the Week: The Farmer s Fence A field bounded on one side by a river is to be fenced on three sides so as to form a rectangular enclosure
More informationStuduino Block Programming Environment Guide
Studuino Block Programming Environment Guide [DC Motors and Servomotors] This is a tutorial for the Studuino Block programming environment. As the Studuino programming environment develops, these instructions
More information1 Features. 2 Applications. 3 Description. USB Accelerometer Model X16-2
USB Accelerometer Model X16-2 1 Features 3-axis accelerometer Single gain mode set to +/-16g 15-bit resolution User selectable sample rate of 12, 25, 50, 100, 200, and 400 Hertz Internal Li-Poly battery
More informationThis is a tutorial about sensing the environment using a Raspberry Pi. measure a digital input (from a button) output a digital signal (to an LED)
Practical 2 - Overview This is a tutorial about sensing the environment using a Raspberry Pi and a GrovePi+. You will learn: digital input and output measure a digital input (from a button) output a digital
More informationAnnouncements. Lab Friday, 1-2:30 and 3-4:30 in Boot your laptop and start Forte, if you brought your laptop
Announcements Lab Friday, 1-2:30 and 3-4:30 in 26-152 Boot your laptop and start Forte, if you brought your laptop Create an empty file called Lecture4 and create an empty main() method in a class: 1.00
More informationMachine Learning for the Quantified Self. Lecture 2 Basic of Sensory Data
Machine Learning for the Quantified Self Lecture 2 Basic of Sensory Data Dataset (1) During the course we will use a running example provided by CrowdSignals.io People share their mobile sensors data (smart
More informationFlex Series User Guide
User Programmable Current 4..20mA Digital RS485 Dual & Single Axis Up to 360º 2016 Flex Series User Guide Sensor Installation, Wiring, Flexware App Instructions Page 1 of 33 Page 2 of 33 Table of Contents
More informationLecture 4. If P1(x1,y1) and P2(x2,y2) are points on a non-vertical line, then the slope m of the line is defined by
Lines Lecture 4 In this section we shall discuss ways to measure the "steepness" or "slope" of a line in the plane. The ideas we develop here will be important when we discuss equations and graphs of straight
More informationHCOMM Reference Manual
HCOMM Reference Manual Document Number: 1000-2984 Document Revision: 0.3.2 Date: December 23, 2013 November 21, 2013 1000-2984 Revision 0.3.1 1 / 49 Copyright 2012, Hillcrest Laboratories, Inc. All rights
More informationIME-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 informationHow do you roll? Fig. 1 - Capstone screen showing graph areas and menus
How do you roll? Purpose: Observe and compare the motion of a cart rolling down hill versus a cart rolling up hill. Develop a mathematical model of the position versus time and velocity versus time for
More informationNetworked Absolute Inclinometer Page 1 of 9
Page 1 of 9 Description The T7 is now IP68 rated. For more details, download the T7_IP_Certification. The T7 is a solid state absolute inclinometer that senses tilt angles over a full 360 range in a single
More informationUsing Accelerometer in Windows 8* Metro Style App and a Case Study of Tap Detection
Using Accelerometer in Windows 8* Metro Style App and a Case Study of Tap Detection Outlines 1. Introduction... 2 2. Accelerometer... 2 2.1. Capabilities... 2 2.2. Use cases... 3 3. Develop environment
More informationDETERMINING ANGLE POSITION OF AN OBJECT USING ACCELEROMETERS
DETERMINING ANGLE POSITION OF AN OBJECT USING ACCELEROMETERS Marin Berov Marinov*, Marin Hristov Hristov**, Ivan Pavlov Topalov*** Technical University of Sofia, Faculty of Electronics, P.O. Box 43, BG-1756
More informationECV ecompass Series. Technical Brief. Rev A. Page 1 of 8. Making Sense out of Motion
Technical Brief The ECV ecompass Series provides stable azimuth, pitch, and roll measurements in dynamic conditions. An enhanced version of our ECG Series, the ECV includes a full suite of precision, 3-axis,
More informationAN023. Getting started with the KXTF9. Introduction. Circuit Schematic
Getting started with the KXTF9 Introduction This application note will help developers quickly implement proof-of-concept designs using the KXTF9 tri-axis accelerometer. Please refer to the KXTF9 data
More informationAdafruit Analog Accelerometer Breakouts
Adafruit Analog Accelerometer Breakouts Created by Bill Earl Last updated on 2017-12-20 04:37:08 PM UTC Guide Contents Guide Contents Overview How it Works: MEMS - Micro Electro-Mechanical Systems Ratiometric
More informationChapter 2: Data and Expressions
Chapter 2: Data and Expressions CS 121 Department of Computer Science College of Engineering Boise State University April 21, 2015 Chapter 2: Data and Expressions CS 121 1 / 53 Chapter 2 Part 1: Data Types
More informationTizen Sensors (Tizen Ver. 2.3)
Tizen Sensors (Tizen Ver. 2.3) Spring 2015 Soo Dong Kim, Ph.D. Professor, Department of Computer Science Software Engineering Laboratory Soongsil University Office 02-820-0909 Mobile 010-7392-2220 sdkim777@gmail.com
More information2.3 Projectile Motion
Figure 1 An Olympic ski jumper uses his own body as a projectile. projectile an object that moves along a two-dimensional curved trajectory in response to gravity projectile motion the motion of a projectile
More informationVibration Sentry RT. Data Sheet. May Bruno Paillard
Vibration Sentry RT Data Sheet May 26 2014 Bruno Paillard 1 PRODUCT DESCRIPTION 2 2 APPLICATIONS 2 3 SPECIFICATIONS 3 3.1 Frequency Response 4 3.1.1 Upper Frequency Limit 4 3.1.2 Low-Frequency Limit 5
More informationProgramming-By-Example Gesture Recognition Kevin Gabayan, Steven Lansel December 15, 2006
Programming-By-Example Gesture Recognition Kevin Gabayan, Steven Lansel December 15, 6 Abstract Machine learning and hardware improvements to a programming-by-example rapid prototyping system are proposed.
More informationTesting Approaches for Characterization and Selection of MEMS Inertial Sensors 2016, 2016, ACUTRONIC 1
Testing Approaches for Characterization and Selection of MEMS Inertial Sensors by Dino Smajlovic and Roman Tkachev 2016, 2016, ACUTRONIC 1 Table of Contents Summary & Introduction 3 Sensor Parameter Definitions
More informationNetworked Absolute Inclinometer Page 1 of 9
Page 1 of 9 Description The T7 is now IP68 rated. For more details, download the T7_IP_Certification. The T7 is a solid state absolute inclinometer that senses tilt angles over a full 360 range in a single
More information5/5/2016 Bluetooth Developer Studio Level 2 Profile Report PROFILE SERVICES. Generic Access - CHARACTERISTICS Device Name. Profile Name BBC MICROBIT
5/5/2016 Bluetooth Developer Studio Level 2 Profile Report PROFILE Profile Name BBC MICROBIT Custom profile for the BBC micro:bit Version 1.9 27th April 2016 Added Nordic Semiconductor UART service Version
More informationCOMP 202 Java in one week
COMP 202 Java in one week... Continued CONTENTS: Return to material from previous lecture At-home programming exercises Please Do Ask Questions It's perfectly normal not to understand everything Most of
More informationTime-step Simulation
Time-step Simulation Model: a simplified representation of something else. (Java book) The model will SIMULATE something else. Time-step Simulation: We simulate continuous time by a loop. Each iteration
More informationThe Data may not be disclosed or distributed to third parties, in whole or in part, without the prior written consent of Motion Workshop.
SDK Reference Motion Version 2.6 www.motionnode.com www.motionshadow.com Copyright c 2017 Motion Workshop. All rights reserved. The coded instructions, statements, computer programs, and/or related material
More informationAutonomous Navigation for Flying Robots
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 3.2: Sensors Jürgen Sturm Technische Universität München Sensors IMUs (inertial measurement units) Accelerometers
More informationV ARIENSE SENSE Y O UR W ORLD. Inertial Measurement Unit VMU931. User Guide. Version 1.3. March VARIENSE INC.
V ARIENSE SENSE Y O UR W ORLD Inertial Measurement Unit VMU931 Version 1.3 March 2018 2017 VARIENSE INC. Contents 1 Product Overview 1 2 Safety 2 3 Setup 3 3.1 Mounting the sensor...........................................
More informationTwo slit interference - Prelab questions
Two slit interference - Prelab questions 1. Show that the intensity distribution given in equation 3 leads to bright and dark fringes at y = mλd/a and y = (m + 1/2) λd/a respectively, where m is an integer.
More informationMEMSENSE. AccelRate3D. Triaxial Accelerometer & Gyroscope Analog Inertial Sensor
FUNCTIONAL DESCRIPTION FEATURES The is the world s smallest commercially available analog inertial measurement unit, providing analog outputs of triaxial acceleration and rate of turn (gyro) data. The
More informationMotivation. Gray Levels
Motivation Image Intensity and Point Operations Dr. Edmund Lam Department of Electrical and Electronic Engineering The University of Hong ong A digital image is a matrix of numbers, each corresponding
More informationMemsic 2125 Accelerometer Demo Kit (#28017) Tilt and Rotation Measurement
599 Menlo Drive, Suite 100 Rocklin, California 95765, USA Office: (916) 624-8333 Fax: (916) 624-8003 General: info@parallaxinc.com Technical: support@parallaxinc.com Web Site: www.parallaxinc.com Educational:
More informationSummary: Background:
Request #: HUTRR74 Title: Creation of an Eye Tracker Usage Page Spec Release: 1.12 Received: 13 Dec 2017 Requester: Denny Rönngren Company: Tobii AB Phone: +46 70 714 75 61 FAX: email: denny.ronngren@tobii.com
More informationAdafruit Analog Accelerometer Breakouts
Adafruit Analog Accelerometer Breakouts Created by Bill Earl Last updated on 2016-0-0 07:03:24 AM EDT Guide Contents Guide Contents Overview How it Works: MEMS - Micro Electro-Mechanical Systems Ratiometric
More informationLab 4 Projectile Motion
b Lab 4 Projectile Motion What You Need To Know: x = x v = v v o ox = v + v ox ox + at 1 t + at + a x FIGURE 1 Linear Motion Equations The Physics So far in lab you ve dealt with an object moving horizontally
More informationArduino Uno. Power & Interface. Arduino Part 1. Introductory Medical Device Prototyping. Digital I/O Pins. Reset Button. USB Interface.
Introductory Medical Device Prototyping Arduino Part 1, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota Arduino Uno Power & Interface Reset Button USB Interface
More informationSerial communications with SPI
Serial communications with SPI DRAFT VERSION - This is part of a course slide set, currently under development at: http://mbed.org/cookbook/course-notes We welcome your feedback in the comments section
More informationProduct information. Hi-Tech Electronics Pte Ltd
Product information Introduction TEMA Motion is the world leading software for advanced motion analysis. Starting with digital image sequences the operator uses TEMA Motion to track objects in images,
More informationMMA7260QT. 3 Axis Accelerometer Module
Document : Datasheet Model # : SEN - 09041 Date : 12-May-08 MMA7260QT 3 Axis Accelerometer Module Rhydo Technologies (P) Ltd. (An ISO 9001:2000 Certified R&D Company) Golden Plaza, Chitoor Road, Cochin
More informationProject Final Report Internet Ready Refrigerator Inventory Control System
Project Final Report April 25, 2006 Dustin Graves, dgraves@gwu.edu Project Abstract Appliance vendors have started producing internet enabled refrigerators which allow users to keep track of refrigerator
More informationPurpose of the experiment
Projectile Motion PES 116 Advanced Physics Lab I Purpose of the experiment Measure the velocity of a ball using two photogates and Logger Pro. Apply the concepts of two-dimensional kinematics to predict
More informationDiffraction. PHYS 1301 F98 Prof. T.E. Coan Last edit 6 Aug 98. Introduction
1 Diffraction PHYS 1301 F98 Prof. T.E. Coan Last edit 6 Aug 98 Introduction You have probably asked yourself at one time or another, what is light. One way of thinking about light is that it is a kind
More informationCOMP-202: Foundations of Programming. Lecture 3: Boolean, Mathematical Expressions, and Flow Control Sandeep Manjanna, Summer 2015
COMP-202: Foundations of Programming Lecture 3: Boolean, Mathematical Expressions, and Flow Control Sandeep Manjanna, Summer 2015 Announcements Slides will be posted before the class. There might be few
More informationmi:node User Manual Element14 element14.com/minode 1 User Manual V3.1
mi:node User Manual Element14 element14.com/minode 1 Table of Contents 1) Introduction... 3 1.1 Overview... 3 1.2 Features... 3 1.3 Kit Contents... 3 2) Getting Started... 5 2.1 The Connector Board...
More informationJava_Embedded_Open_Onli...
Homework 2 - Working with GPIO and I2C Developing Java ME Embedded Applications by Using a Raspberry Pi: Homework for Lesson 2 Assumptions Team Collaboration Java_Embedded_Open_Onli... You have successfully
More informationNavigational Aids 1 st Semester/2007/TF 7:30 PM -9:00 PM
Glossary of Navigation Terms accelerometer. A device that senses inertial reaction to measure linear or angular acceleration. In its simplest form, it consists of a case-mounted spring and mass arrangement
More informationChapter 2: Data and Expressions
Chapter 2: Data and Expressions CS 121 Department of Computer Science College of Engineering Boise State University January 15, 2015 Chapter 2: Data and Expressions CS 121 1 / 1 Chapter 2 Part 1: Data
More informationTKT-2301 Exercise API Last updated
TKT-2301 Exercise API Last updated 28.7.2010 TKT-2301 Exercise API... 1 Installation application... 2 Wireless sensor network exercise message types... 5 XML interface... 10 RSS... 11 WSNgadget (XML Demo)...
More informationProjectile Trajectory Scenarios
Projectile Trajectory Scenarios Student Worksheet Name Class Note: Sections of this document are numbered to correspond to the pages in the TI-Nspire.tns document ProjectileTrajectory.tns. 1.1 Trajectories
More information16-Dec-10. Consider the following method:
Boaz Kantor Introduction to Computer Science IDC Herzliya Exception is a class. Java comes with many, we can write our own. The Exception objects, along with some Java-specific structures, allow us to
More informationExperiment 8 Wave Optics
Physics 263 Experiment 8 Wave Optics In this laboratory, we will perform two experiments on wave optics. 1 Double Slit Interference In two-slit interference, light falls on an opaque screen with two closely
More informationExperiment 5: Polarization and Interference
Experiment 5: Polarization and Interference Nate Saffold nas2173@columbia.edu Office Hour: Mondays, 5:30PM-6:30PM @ Pupin 1216 INTRO TO EXPERIMENTAL PHYS-LAB 1493/1494/2699 Introduction Outline: Review
More informationpublic static boolean isoutside(int min, int max, int value)
See the 2 APIs attached at the end of this worksheet. 1. Methods: Javadoc Complete the Javadoc comments for the following two methods from the API: (a) / @param @param @param @return @pre. / public static
More informationBuilding Java Programs
Building Java Programs Chapter 3 Lecture 3-2: Return values, Math, and double reading: 3.2, 2.1-2.2 Copyright 2011 by Pearson Education 2 Method name Math.abs(value) Math.ceil(value) Math.floor(value)
More informationPedometer 3 Click. PID: MIKROE 3259 Weight: 24 g
Pedometer 3 Click PID: MIKROE 3259 Weight: 24 g The Pedometer 3 click is a tri-axis acceleration sensing Click board utilizing the KX126-1063. An advanced three-axis acceleration sensor, the KX126-1063
More informationIntensity Transformations and Spatial Filtering
77 Chapter 3 Intensity Transformations and Spatial Filtering Spatial domain refers to the image plane itself, and image processing methods in this category are based on direct manipulation of pixels in
More informationMathematics (www.tiwariacademy.com)
() Miscellaneous Exercise on Chapter 10 Question 1: Find the values of k for which the line is (a) Parallel to the x-axis, (b) Parallel to the y-axis, (c) Passing through the origin. Answer 1: The given
More informationZENSOL CIRCUIT BREAKER PERFORMANCE ANALYZER
ZENSOL AUTOMATION INC. COMPUTERIZED TEST EQUIPMENT ZENSOL CIRCUIT BREAKER PERFORMANCE ANALYZER CBA-32P Micro CBA MANUAL 1W E OPERATOR S GUIDE Version 1.70 January 2001 www.zensol.com Man-1we.doc Rév 5
More informationBuilding Java Programs
Building Java Programs Chapter 3 Return values, Math, and double reading: 3.2, 2.1-2.2 Copyright 2011 by Pearson Education 2 Java's Math class Method name Math.abs(value) Math.ceil(value) Math.floor(value)
More information6.3 Creating and Comparing Quadratics
6.3 Creating and Comparing Quadratics Just like with exponentials and linear functions, to be able to compare quadratics, we ll need to be able to create equation forms of the quadratic functions. Let
More informationSensor Toolbox (Part 2): Inertial Sensors
November 2010 Sensor Toolbox (Part 2): Inertial Sensors AMF-ENT-T1118 Michael Steffen MCU & Sensor Field Application Engineer Expert Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient
More informationThis design tip applies to all accelerometers, ecompass modules, and inemo inertial IMUs from STMicroelectronics.
DT0106 Design tip Residual linear acceleration by gravity subtraction to enable dead-reckoning By Andrea Vitali Purpose and benefits This design tip explains how to compute the residual linear acceleration,
More informationBASEBALL TRAJECTORY EXTRACTION FROM
CS670 Final Project CS4670 BASEBALL TRAJECTORY EXTRACTION FROM A SINGLE-VIEW VIDEO SEQUENCE Team members: Ali Goheer (mag97) Irene Liew (isl23) Introduction In this project we created a mobile application
More informationOPERATING MANUAL AND TECHNICAL REFERENCE
MODEL WFG-D-130 HIGH SPEED DIGITAL 3 AXIS FLUXGATE MAGNETOMETER OPERATING MANUAL AND TECHNICAL REFERENCE December, 2012 Table of Contents I. Description of the System 1 II. System Specifications.. 2 III.
More informationTA Programming of Interactive Systems
TA Programming of Interactive Systems https://www.lri.fr/~cfleury/teaching/isi2014/ Arnaud Prouzeau (M1 Info)! prouzeau@lri.fr Cédric Fleury (M1 HCID)! cfleury@lri.fr The presentation is based on last
More informationSpring Lecture 9 Lecturer: Omid Jafarinezhad
Mobile Programming Sharif University of Technology Spring 2016 - Lecture 9 Lecturer: Omid Jafarinezhad Sensors Overview Most Android-powered devices have built-in sensors that measure motion, orientation,
More informationA3900 II Online Monitoring System
USER MANUAL A3900 II Online Monitoring System Contents On-line vibration monitoring system... 3 Before the First Start-up... 4 Unit description... 5 Data outputs... 5 Front panel description... 5 A3900-II
More informationTechnical Document Compensating. for Tilt, Hard Iron and Soft Iron Effects
Technical Document Compensating for Tilt, Hard Iron and Soft Iron Effects Published: August 6, 2008 Updated: December 4, 2008 Author: Christopher Konvalin Revision: 1.2 www.memsense.com 888.668.8743 Rev:
More informationMath Learning Center Boise State 2010, Quadratic Modeling STEM 10
Quadratic Modeling STEM 10 Today we are going to put together an understanding of the two physics equations we have been using. Distance: Height : Recall the variables: o acceleration o gravitation force
More informationBlackBerry Java Application UI and Navigation Version: 5.0. Development Guide
BlackBerry Java Application UI and Navigation Version: 5.0 Development Guide Published: 2010-08-20 SWD-810476-0820021303-001 Contents 1 Creating a UI that is consistent with standard BlackBerry UIs...
More informationUM2192. Getting started with MotionMC magnetometer calibration library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.
User manual Getting started with MotionMC magnetometer calibration library in X-CUBE-MEMS1 expansion for STM32Cube Introduction The MotionMC is a middleware library part of X-CUBE-MEMS1 software and runs
More informationUsing LoggerPro. Nothing is more terrible than to see ignorance in action. J. W. Goethe ( )
Using LoggerPro Nothing is more terrible than to see ignorance in action. J. W. Goethe (1749-1832) LoggerPro is a general-purpose program for acquiring, graphing and analyzing data. It can accept input
More informationAbsolute Stand Alone Inclinometer
1 (10) 0750 SERIES Absolute Stand Alone Inclinometer 1. PRODUCT DESCRIPTION The 0750 Series single and dual axis stand alone inclinometers utilize the proven capacitive 3D-MEMS sensing element technology
More informationMotion in One Dimension
Motion in One Dimension Motion in one dimension is the simplest type of motion. Distance, velocity and acceleration are all vector quantities and must be treated as vectors. However, in onedimensional
More informationCross-Domain Development Kit XDK110 Platform for Application Development
Sensor Guide Cross-Domain Development Kit Platform for Application Development Bosch Connected Devices and Solutions : Data Sheet Document revision 2.1 Document release date 05.10.17 Workbench version
More informationApplications of Piezo Actuators for Space Instrument Optical Alignment
Year 4 University of Birmingham Presentation Applications of Piezo Actuators for Space Instrument Optical Alignment Michelle Louise Antonik 520689 Supervisor: Prof. B. Swinyard Outline of Presentation
More informationSR4000 Data Sheet.
1 Product Specifications Standard Field of View Cameras (43 (h) x 34 (v)) and Wide Field of View Cameras (69 (h) x 56 (v)) Product Number Communication interface Modulation Frequency Non Ambiguity Range
More informationCalibration - a Word about magnetics
V4.0 Electronic Thickness Gauge Disclaimer: WARNING!! - This device uses extremely strong NEODYMIUM magnets. These magnets can cause injury or damage if misused. KEEP AWAY FROM CHILDREN!!. DO NOT OPEN
More informationGetting started with osxmotiongc gyroscope calibration library for X-CUBE-MEMS1 expansion for STM32Cube
UM2162 User manual Getting started with osxmotiongc gyroscope calibration library for X-CUBE-MEMS1 expansion for STM32Cube Introduction The osxmotiongc add-on software package for X-CUBE-MEMS1 software
More informationOPSE FINAL EXAM Fall CLOSED BOOK. Two pages (front/back of both pages) of equations are allowed.
CLOSED BOOK. Two pages (front/back of both pages) of equations are allowed. YOU MUST SHOW YOUR WORK. ANSWERS THAT ARE NOT JUSTIFIED WILL BE GIVEN ZERO CREDIT. ALL NUMERICAL ANSERS MUST HAVE UNITS INDICATED.
More informationSmart Monitor ZG2 User s Manual
Smart Monitor ZG2 User s Manual Smart Sensors ZG2 Series 2D Profile Measuring Sensors CONTENTS SMART MONITOR ZG2 USER S MANUAL...1 SECTION 1 PREPARATIONS...2 Installing the Smart Monitor ZG2 on a Computer...
More informationAdvanced Java Concepts Unit 2: Linked Lists.
Advanced Java Concepts Unit 2: Linked Lists. The List interface defines the structure of a linear collection. Here are some of its methods. boolean add( E element ) Appends the element to the end of the
More informationWho am I? Wireless Online Game Development for Mobile Device. What games can you make after this course? Are you take the right course?
Who am I? Wireless Online Game Development for Mobile Device Lo Chi Wing, Peter Lesson 1 Email: Peter@Peter-Lo.com I123-1-A@Peter Lo 2007 1 I123-1-A@Peter Lo 2007 2 Are you take the right course? This
More informationCamera Drones Lecture 2 Control and Sensors
Camera Drones Lecture 2 Control and Sensors Ass.Prof. Friedrich Fraundorfer WS 2017 1 Outline Quadrotor control principles Sensors 2 Quadrotor control - Hovering Hovering means quadrotor needs to hold
More information