Studuino Gyroscope Manual

Similar documents
North Texas FLL Coaches' Clinics. Beginning Programming October Patrick R. Michaud republicofpi.org

Victoria Combo Remote Control

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD Six-servo Robot Arm

FREE FALL. Introduction. Reference Young and Freedman, University Physics, 12 th Edition: Chapter 2, section 2.5

Digital I/O: OUTPUT: Basic, Count, Count+, Smart+

Hardware Connections between Arduino and IMU Nori Wilkins Apr. 5, 2013

Stop Alert Flasher with G-Force sensor

Microsoft Word 2011: Create a Table of Contents

How To Control Gimbal

SA-9600 Surface Area Software Manual

An internal gyroscope minimizes the influence of dynamic linear acceleration on slope sensor readings.

Appendix C. Vernier Tutorial

Summary of important mathematical operations and formulas (from first tutorial):

RLC Series Resonance

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

Programming the VEX Robot

2013 G Miller. 3 Axis Brushless Gimbal Controller Manual

Transfer of Energy Forms of Energy: Multiple Transformations

ezsystem elab16m Project 1F: Alarm System (Full Project description)

HYDROSOFT Version INSTALLATION AND OPERATING

Installing the IF-NMEASC & SC30 Windows XP Drivers & Software

AT&T USBConnect Mercury Getting Started Guide

Table of Contents Getting Started... 3 The Motors... 4 The Control Board... 5 Setting up the Computer with Mach Starting up the Equipment...

DVPPF02-H2. PROFIBUS DP Slave Communication Module Application Manual

User Guide. Temperature and Humidity Datalogger. Model 42280

GW-7552 PRIFIBUS/MODBUS GATEWAY

Using Flow Control with the HEAD Recorder

Point of View SmartTV-500 Center - Android 4.2. General notices for use...2 Disclaimer...2 Box Contents...2

EPSON Stylus. Start Here

K-Type Thermocouple Sensor User s Guide

Article : A-451. RPM amplifyer. Technical card : Updated :

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

PCI/PXI ETHERNET ADAPTERS

Moomba 2007/2008. Troubleshooting (Electronic Throttle Engines)

Transmitter Interface Program

Windows 10.1 Tablet (UB-15MS10 and UB-15MS10SA) FAQ December 2014

G-100/200 Operation & Installation

ScanWin Installation and Windows 7-64 bit operating system

Creating a Project with PSoC Designer

Parts List. Navigation

Tutorial for Programming the LEGO MINDSTORMS NXT

MXG Dash Logger USER GUIDE

INFRARED REMOTE CONTROL HELICOPTER

INITIALIZATION OF THE MSU032/MSU064

ERC-to-MRC JOB TRANSLATOR MANUAL

SMART CONSOLE Software and Firmware Upgrade Procedure

Quick Start Guide to computer control and robotics using LEGO MINDSTORMS for Schools

EasyC. Programming Tips

NETCOMM LIBERTY SERIES. 3G WiFi Router. Quick Start Guide

Introduction. - Please be sure to read and understand Precautions and Introductions in CX-Simulator Operation Manual and

VAC 50/60Hz Power Adapter

WIFI OBD GPS Tracker T356 User Manual

How to connect your Victron to a computer with VE Bus Quick Configure

Kinect Interface to Play Computer Games with Movement

Capacitive Touch Lab. Renesas Capacitive Touch Lab R8C/36T-A Family

SRP. Controller Programming System for Commercial and Residential Irrigation Controllers. Owner s Manual and Installation Instructions

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

MASTER GUIDE (MAC) Gaming on the go is now possible.

STEP 7 MICRO/WIN TUTORIAL. Step-1: How to open Step 7 Micro/WIN

VIA High Definition Audio VDeck User Guide Black Skin

The ACD pro replaces any resistance based controller and is suitable for nearly any motor within the current rating.

How To Use Mview On A Powerline 2.2 (Powerline) On A Pc Or Macbook 2 (Powerplst) On An Iphone Or Ipa 2 (Aldo) On Your Iphon 2 (

Using a USB Flash Drive to Back Up Your Data Files on a Mac Computer

Chapter. Getting Started. In This Chapter...

The NXT Generation. A complete learning solution

What is VAIO Power Management?

E-Blocks Easy Internet Bundle

DIRECT INTERNET 3. Install Guide for the Mac OS Operating System

Introduction. Drenth Motorsport Gearboxes Fleuweweg AG Enter The Netherlands Phone: +31 (0) Fax: +31 (0)

EMBEDDED C USING CODEWARRIOR Getting Started Manual

INDEX. Trademarks All name and product s trademarks mentioned below are the property of their respective companies.

Starting Guide - Poseidon 3265 First steps for remote monitoring with Poseidon & GSM

Leaf River Outdoor Products Vibrashine, Inc. P.O. Box 557 Taylorsville, MS (601) FAX (601)

PCLinq2 Hi-Speed USB Bridge-Network Cable. Quick Network Setup Guide

Sprint 3G/4G Plug-in-Connect USB Web Browser Interface User Guide

1 Installation. Note: In Windows operating systems, you must be logged in with administrator rights to install the printer driver.

PRODUCTIVITY THROUGH INNOVATION 600 CONTROL DIRECT DRIVE TECHNICAL/OPERATION MANUAL

Fusion. User s Guide: Updating the Fusion s Image

SMART Board Software for Macintosh FAQ

Point of View SmartTV HDMI 210 dongle - Android 4.2. General notices for use... 2 Disclaimer... 2 Box Contents... 2

Installing the Gerber P2C Plotter USB Driver

USER MANUAL V5.0 ST100

MS830 / MS833 Barcode Reader v1.0 9-December-2014

How to read this guide

User's Guide. Integrating Sound Level Datalogger. Model Introduction

Communication with BushingGard using computer USB port

Plantronics Calisto Headset with Bluetooth USB Adapter User Guide 56-K61A-23010

Migrating to Excel 2010 from Excel Excel - Microsoft Office 1 of 1

AXE033 SERIAL/I2C LCD

User and installation manual

DASYLab Techniques. Saving DASYLab data to an ASCII (text) readable file. Updated to reflect changes in DASYLab 13

Introduction WELCOME TO LEGO MINDSTORMS EDUCATION

Track and review document changes

DP-313 Wireless Print Server

Recording Audio to a Flash Drive

USER MANUAL ESP. Enhanced Steering Performance. R-Net

SMART BOARD USER GUIDE FOR PC TABLE OF CONTENTS I. BEFORE YOU USE THE SMART BOARD. What is it?

Lenovo Miix 2 8. User Guide. Read the safety notices and important tips in the included manuals before using your computer.

SYSTEM 45. C R H Electronics Design

Handheld LPC Utility Software for Windows. Operation Manual

Transcription:

Studuino Gyroscope 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 find the full manual below. Installing Studuino Software http://artec-kk.co.jp/studuino/docs/en/studuino_setup_software.pdf

Index 1. 1. About Your Gyroscope... 1 1.1. Overview... 1 1.2. Specifications... 1 2. Connecting to Studuino... 1 3. In the Studuino Icon Programming Environment... 3 3.1. Using the Sensor Viewer... 5 3.2. Sample Program... 6 4. In the Studuino Block Programming Environment... 10 4.1. Gyroscope Values... 12 4.2. Sample Program Using the Gyroscope... 12

1. 1. About Your Gyroscope 1.1. Overview Your Gyroscope is an InvenSense MPU-6050, which combines a three-axis gyroscope and three-axis accelerometer module. 1.2. Specifications Sensor Operating Voltage Interface Gyroscope Acceleration MPU-6050 2.4-3.4 V I2C Three-axis at ±250, ±500, ±1000, and ±2000dps (±250dps by default) Three-axis at ±2g, ±4g, ±8g, ±16g (default ±2g) X, Y, and Z axes are written on the circuit board. Z Y X 2. Connecting to Studuino 1 Use the four-wire 50 cm connecting cable (product 153127, sold separately). 2 The white end of the cable plugs into your Gyroscope, while the black end connects to your Studuino. 3 Your sensor uses both connectors A4 and A5 (though it will fit into other connectors, they cannot be used). The gray signal wire should face inward. 1

Gyroscope Make sure the cables are inserted correctly! Use the four-wire cable with connectors A4 and A5. 2

3. In the Studuino Icon Programming Environment Familiarize yourself with the basics of the Studuino Programming Environment by reading the Studuino Programming Environment Manual and the Icon Programming Environment Guide. From the Edit menu click Optional Parts. A check will appear beside this option when enabled. Enabled when checked Your Gyroscope uses the I2C port (A4, A5). Under Port Settings check the boxes for ports A4 and A5 in the Sensor / LED / Buzzer section. You will need to check both of these boxes to use the sensor. 3

Unavailable when only A4 is checked Available when both boxes are checked Drag and drop the icons shown below and choose one of the six A4/A5 Gyroscope (***) conditions. These conditions use the acceleration and angular velocity of the X, Y, and Z axes. 4

3.1. Using the Sensor Viewer Acceleration Angular The Sensor Viewer shows a range of -5 to 5 (a total of 11 values) for each condition. Acceleration values have a range of ±2 g (g = gravitational acceleration = 9.8[m/s^2]) and angular velocity values have a range of ±250 [dps] (degrees( ) per second). 5

3.2. Sample Program Familiarize yourself with the basics of the Studuino Programming Environment by reading the Studuino Programming Environment Manual and the Icon Programming Environment Guide. This section shows you how to make a program which flashes a different number of LEDs depending on how quickly the Gyroscope is spun on its X axis. 1 Set the Port Settings as shown below. 2 Check the Repeat Indefinitely box, place icons, and set them as shown below. 6

No. 1 Action: LED, Switch ON, Connector A0 Condition: Gyro [Anglar. X] > 0 Connector A0 Condition: Gyro [Anglar. X] < 1 7

No. 3 Action: LED, Switch ON, Connector A1 Condition: Gyro [Anglar. X] > 2 No. 4 Action: LED, Switch OFF, Connector A1 Condition: Gyro [Anglar. X] < 3 8

No. 5 Action: LED, Switch ON, Connector A2 Condition: Gyro [Anglar. X] > 4 No. 6No. 2 Action: LED, Switch OFF, Connector A2 Condition: Gyro [Anglar. X] < 5Action: LED, Switch OFF, 9

4. In the Studuino Block Programming Environment To use your Gyroscope in the Block Programming Environment you will need to make sure the Gyroscope block is available and active. Follow the steps below to do this: 1 From the Edit menu, choose Show Optional Parts to display the new sensor blocks. Click the Edit menu and select Show Optional Parts The new sensor blocks will appear 2 Click the Edit menu and choose Port Settings... to open the Port Settings dialog. Click the Edit menu and select Port Settings... The Port Settings dialog will appear 10

3 Under the Sensor / Buzzer / LED section of the Port Settings dialog, check boxes A4 and A5 and use the combo box to select the Gyroscope. Click OK. Choose Gyroscope for A4 and A5 Programs made in the Block Programming Environment which use both an Infrared Receiver and I2C device (Accelerometers, Gyroscopes, or Color Sensors) are too large for your Studuino's memory. The below message will appear if you attempt to select both an Infrared Receiver and an I2C device in the Port Settings dialog. 4 The Gyroscope block will become active. You will now be able to use the Gyroscope block 11

4.1. Gyroscope Values Your Gyroscope detects changes in its slope and acceleration along the X, Y and Z axes. The Gyroscope block returns these values as whole numbers from 0-100. You can check these values using the Sensor Board in Test mode. Shows slope and acceleration In the Sensor Board, (Acceleration X-Z) shows the detected slope and (AngVec X-Z) shows the detected angular velocity. 4.2. Sample Program Using the Gyroscope The picture below shows an example program using a Gyroscope. This program makes a twin-dc Motor car robot turn 45 when you press the switch on the touch sensor. 1 2 3 A measurement is taken every tenth of a second, and those tenths are added together to calculate how far your robot has turned. 12

1 The value from your Gyroscope is 50 at 0 dps and 100 at +250 dps. You can find the value of a single dps by using the formula (100-50) / 250, which equals 0.2. The formula used to find the value of a 45 turn becomes 0.2 * 45, which equals 9. 2 The 0 dps value of 50 is subtracted from Gyroscope measurement. This measurement is in dps, or degrees per second. This example uses milliseconds, which means the value must be divided by 10. 3 Due to the time it takes to process steps 1 and 2, inserting a wait 0.1 sec. block means the total measurement takes longer than 0.1 seconds to calculate. In order to get an accurate measurement, the value you give this block should be slightly lower than 0.1. 13