CdS photocell. They utilize resistors that are sensitive to force (bending, touch, gravity), temperature,

Size: px
Start display at page:

Download "CdS photocell. They utilize resistors that are sensitive to force (bending, touch, gravity), temperature,"

Transcription

1 More About Sensors temperature touch switch bend mercury switch resistor CdS photocell rotation light sonar Passive (resistive) Sensors Active (powered) Sensors Passive sensors operate as simple resistances and require no power from the RCX. They utilize resistors that are sensitive to force (bending, touch, gravity), temperature, or visible light. Active sensors (also known as powered sensors) require power from the RCX and involve slightly more sophisticated electronics.

2 The NQC program must tell the RCX which sensor(s) is connected to which input port. i.e., the program needs to configure the sensor port. NQC allows the user to specify the "SENSOR_TYPE" (as _TOUCH, _TEMPERATURE, _LIGHT, or _ROTATION). It also allows the user to configure the reading mode of the sensor by setting SENSOR_MODE (as _RAW, _BOOL, _PERCENT, _FAHRENHEIT, _CELSIUS, _ROTATION, _EDGE, or _PULSE). The quick way to declare a sensor and configure it (to its default mode) is to use the SetSensor ("sensor port", "sensor type") instruction. Here, sensor port = SENSOR_1, SENSOR_2, or SENSOR_ 3 (or 0, 1, 2, respectively). sensor type = SENSOR_TOUCH, SENSOR_LIGHT, SENSOR_CELSIUS, SENSOR_FAHRENHEIT, SENSOR_ROTATION, SENSOR_PULSE, SENSOR_EDGE. The default reading mode is as follows: Touch sensor: BOOL (reads 0 or 1) (other useful modes: RAW, EDGE, PULSE) Light sensor: PERCENT (0-100) (other useful modes: RAW, EDGE, PULSE) Temperature sensor: CELSIUS (-20 to 70 operational range) FAHRENHEIT (-4 to 158 operational range) Rotation sensor: ROTATION (16 ticks per rotation; range: -32,768 to +32,767) Temperature sensor values are scaled by 10 inside the RCX; for example, when the LCD displays a temperature sensor reading of 22.5 degrees, the RCX represent this value as integer 225. This should be kept in mind when writing NQC code. ClearSensor ("sensor port") is useful in resetting sensor readings in ROTATION, EDGE and PULSE modes. Here is an example of configuring sensor input #2 as a touch sensor in RAW mode: SetSensorType(SENSOR_2, SENSOR_TYPE_TOUCH) SetSensorMode(SENSOR_2, SENSOR_MODE_RAW) do in class

3 Sensor Configuration Shortcuts [works with SetSensor("sensor_#", "sensor_configuration") ] Sensor Configuration Implied Type Default Mode SENSOR_TOUCH SENSOR_TYPE_TOUCH SENSOR_MODE_BOOL SENSOR_LIGHT SENSOR_TYPE_LIGHT SENSOR_MODE_PERCENT SENSOR_ROTATION SENSOR_TYPE_ROTATION SENSOR_MODE_ROTATION SENSOR_CELSIUS SENSOR_TYPE_TEMPERATURE SENSOR_MODE_CELSIUS SENSOR_FAHRENHEIT SENSOR_TYPE_TEMPERATURE SENSOR_MODE_FAHRENHEIT SENSOR_PULSE SENSOR_TYPE_TOUCH SENSOR_MODE_PULSE SENSOR_EDGE SENSOR_TYPE_TOUCH SENSOR_MODE_EDGE

4 Raw to Boolean Conversion The Boolean Mode SetSensorMode(SENSOR_1, SENSOR_MODE_BOOL + "slope"); where slope ranges from 0 to 31. Touch Sensor with slope = 0: (This is the default for touch sensors) Condition Boolean Conversion Algorithm raw_value > (not pressed) raw_value < (pressed) 460 < raw_value < 562 unchanged (dead zone or hysteresis that reduces jitter) Note: The RCX first reads a raw_value for all sensors regardless of the MODE setting. Then, the raw_value is converted automatically based on the default or user specified mode of operation. The range of raw values is: 0 < raw_value < 1023 Slope > 0 (useful for Light (and other "fast-response" sensors) If the sensor's value changes more than the slope value during a certain time (3ms), then the sensor's boolean state will change. This allows the boolean state to reflect rapid changes in the raw value. A rapid increase (or a rapid decrease) in the raw value will cause the boolean reading to flip (0 to 1, or 1 to 0). See the section on light sensor below for details

5 Edge Count and Pulse Count Sensor Modes In the edge count mode, the RCX (via a touch or other sensors) counts how many times the Boolean value changes. Count starts at 0 and increments every time the Boolean value changes from 0 to 1 or from 1 to 0. For touch sensors, the RCX ignores edges for 0.3 sec after a transition. This increases reliability of edge counting (solves the de-bouncing problem) but limits the detection to edge transitions that are at least 300msec apart. Pulse count mode is similar to the edge count mode except that the counter increments by one when a full pulse is received by the sensor (i.e., a rising edge followed by a falling edge) task main() { SetSensorType(SENSOR_1,SENSOR_TYPE_TOUCH); SetSensorMode(SENSOR_1,SENSOR_MODE_RAW); } //ClearSensor(SENSOR_1); task main() { SetSensorType(SENSOR_1,SENSOR_TYPE_TOUCH); SetSensorMode(SENSOR_1,SENSOR_MODE_EDGE); } ClearSensor(SENSOR_1);

6 Code Short Cuts: task main() { SetSensor(SENSOR_1,SENSOR_PULSE); } ClearSensor(SENSOR_1); task main() { SetSensor(SENSOR_1,SENSOR_EDGE); } ClearSensor(SENSOR_1);

7 Non-Lego Passive Sensors How to configure a passive (resistive type) sensor (e.g., photocell, bend sensor)? Ans. Treat it as a Touch Sensor and set its mode to RAW. Alternatively, we may use the generic sensor type for resistive sensors: SENSOR_TYPE_NONE and set sensor mode to RAW, as follows: task main () { SetSensorType (SENSOR_1, SENSOR_TYPE_NONE); SetSensorMode (SENSOR_1, SENSOR_MODE_RAW); } Write NQC code to configure and experiment with the following sensors: 1. Mercury Switch 2. Bend Sensor 3. CdS Photocell Determine max & min readings. Use RCX LCD to display sensor readings. Now, attach a touch sensor and record the Min and Max values.

8

9 RCX Reading of Passive Sensors Note: Here, port #1 is configured as TOUCH/RAW. Leaving the input port with no load (or equivalently attaching a resistor with very high resistance, say in the Mega Ohm range) will result in a voltage drop of 5V at the input. This is converted to 1023 by the A/D converter. The LCD displays a reading of input port #1 while a 10K Ohm load resistor is attached. This reading is proportional to the voltage drop across the load resistor. The display range is between 0 and 1023 which correspond to voltage readings of 0V and 5 V, respectively. Therefore, the 512 reading reflects a voltage drop of 2.5 V across the load resistor. Where is that voltage coming from? See next slide. The input port reading is converted to binary by a 10-bit A/D converter which can represent values between 0 and 2^10 1 = 1023.

10

11

12

13

14 Passive Sensor Type Sensor Resistance (Ohms) RCX Reading (RAW) LEGO Touch Sensor 700 (closed) Infinity (open) Mercury Switch Infinity (horizontal) Zero (tipped forward) Photocell (CdS) 65,000 (dark) 2,500 (room light) Bend Sensor 9,500 (no bending) 18,000 (bent 90 degrees) Lego Temp. Sensor 12,500 at room temp RAW value = o C= o F= Useful formulas: RCX reading (in raw value) = (1,023 x Rsensor)/(10,000 + Rsensor) o C reading = (785 raw value)/8 o F reading = 32 + (9/5)x( o C reading) These two last readings are referred to as processed values..

15 Active (powered) Sensors When the RCX is programmed to expect an active sensor (e.g., a light sensor) at one of its input ports, then the RCX input interface must supply power to the sensor and read its value using the same pair of wires. It accomplishes this by rapidly alternating between these two functions: First the RCX supplies 8 V for a period of 3 ms and then it measures the sensor value the - same way it does for a passive sensor - for a time of 0.1 ms during which the RCX applied voltage is 5 V. The trace shown in the figure depicts this behavior (setting: 1 ms/div and 2V/div). Note how the RCX makes a sensor reading every 3 ms. This is also the case for passive sensors.

16 Lego Light Sensor PERCENT Mode (for light sensors) The default reading mode for a Lego light sensor is PERCENT. Here, RAW readings are converted into percentages through the use of the following equation: Percentage = (1023 raw_value) / 7 = 146 raw_value/7 (Note: RCX truncates every arithmetic calculations to its integer value. Therefore, only integer results are generated using this formula) Examples: raw_value = 322 when sensor is placed very close to a 100W light bulb (corresponds to a 100% reading). raw_value = 610 when a mirror is used to maximize reflected sensor light (corresponds to a 59% reading). raw_value = 715 when sensor light is reflected back by a regular white printer paper (corresponds to a 44 percent reading) raw_value = 825 when sensor light is reflected back by a (flat) black project paper (corresponds to a 28 percent reading) raw_value = 915 in a dark room (minimal reflectance and ambient light), which corresponds to a percentage value of 16. Note how the first example justifies the division by 7 in the above formula.

17 SetSensorMode(SENSOR_1, SENSOR_MODE_BOOL + "slope"); where slope ranges from 0 to 31. If Slope is between 1 and 31 you get what is called Dynamic Measurement. The value of the Slope parameter sets the size of the Dynamic Measurement i.e. the necessary change of "raw" sensor reading between two consecutive samples, to get a change in the Boolean state. Test the above program by moving the light sensor across the edge of a closely placed piece of white paper. Use the view button to display the light sensor (Boolean) value.

18 Recall that the inputs are read every 3ms or seconds, and that the full-scale range of an input is 0 to 1023 for 0 to 5v. So a raw value of 1 is equal to 5v/1023 or about 5mv or.005v. The slope parameter sets the amount of raw value change on an input from one reading to the next to consider that the input's value has changed state. For example: for a Slope of 10, the raw sensor reading must change by at least 10 in sec. (or equivialently, the reading of the input voltage must change by at least 0.05v in.003s). If the raw value change is (+ or -) 10 per 3msec the corresponding Boolean sensor value becomes TRUE (or 1) and stays TRUE until there is at least a 10 per 3msec change. Then it changes to FALSE (or 0) and stays FALSE. The following plot shows an example voltage input and the state of the input over time.

19 The Lego Rotation Sensor (active sensor)

20 Rotation Sensor Example //Connect a rotation sensor to sensor#1 //Connect a motor to output A and use it to drive the rotation sensor int x, x1; task main() { x=0; SetSensor(SENSOR_1,SENSOR_ROTATION); ClearSensor(SENSOR_1); start display; OnFwd(OUT_A); Wait(6000); Off(OUT_A); } task display() { SetUserDisplay (x1, 0); while(true) { x = SENSOR_1/16; x1=x; } } Note: with 16 ticks per turn, the rotation sensor can resolve 22.5 degrees. Gear reduction can be used to increase this resolution. Suggest a gearing configuration to increase accuracy to 1 degree. (see Baum's text, p. 29). The above program works beacuse the RCX can reliably (no counts are missed) measure rotations between 50 and 300 rpm. However, if missing few counts (ticks) is not critical, then the rotation sensor can be safely used over the range 12 rpm to 1250 rpm. Also, keep in mind that you can often gear your sensor up or down to put it in the proper range.

21 Bonus Earning Team Mini-Projects (Each project earns you bonus points toward Test 1) Each team should complete at least one mini-project and demonstrate it in class (give brief informal presentation) I. (5 points) Use Tankbot with a bend sensor and program it to track (smoothly) a wall. II. (5 points) Use Tankbot with a rotation sensor (no other sensors) and program it to backup when it hits an obstacle (i.e., when motors stall).

22

23

Deriving Consistency from LEGOs

Deriving Consistency from LEGOs Deriving Consistency from LEGOs What we have learned in 6 years of FLL and 7 years of Lego Robotics by Austin and Travis Schuh 1 2006 Austin and Travis Schuh, all rights reserved Objectives Basic Building

More information

Measuring Distance Using Sound

Measuring Distance Using Sound Measuring Distance Using Sound Distance can be measured in various ways: directly, using a ruler or measuring tape, or indirectly, using radio or sound waves. The indirect method measures another variable

More information

PASS Sample Size Software

PASS Sample Size Software Chapter 945 Introduction This section describes the options that are available for the appearance of a histogram. A set of all these options can be stored as a template file which can be retrieved later.

More information

LV8716QAGEVK Evaluation Kit User Guide

LV8716QAGEVK Evaluation Kit User Guide LV8716QAGEVK Evaluation Kit User Guide NOTICE TO CUSTOMERS The LV8716QA Evaluation Kit is intended to be used for ENGINEERING DEVELOPMENT, DEMONSTRATION OR EVALUATION PURPOSES ONLY and is not considered

More information

Workshop 9: First steps in electronics

Workshop 9: First steps in electronics King s Maths School Robotics Club Workshop 9: First steps in electronics 1 Getting Started Make sure you have everything you need to complete this lab: Arduino for power supply breadboard black, red and

More information

Getting started with the SparkFun Inventor's Kit for Google's Science Journal App

Getting started with the SparkFun Inventor's Kit for Google's Science Journal App Page 1 of 16 Getting started with the SparkFun Inventor's Kit for Google's Science Journal App Introduction Google announced their Making & Science Initiative at the 2016 Bay Area Maker Faire. Making &

More information

Worksheet Answer Key: Tree Measurer Projects > Tree Measurer

Worksheet Answer Key: Tree Measurer Projects > Tree Measurer Worksheet Answer Key: Tree Measurer Projects > Tree Measurer Maroon = exact answers Magenta = sample answers Construct: Test Questions: Caliper Reading Reading #1 Reading #2 1492 1236 1. Subtract to find

More information

Chapter 14. using data wires

Chapter 14. using data wires Chapter 14. using data wires In this fifth part of the book, you ll learn how to use data wires (this chapter), Data Operations blocks (Chapter 15), and variables (Chapter 16) to create more advanced programs

More information

Functional description of BSD-01 Module. Features

Functional description of BSD-01 Module. Features Functional description of BSD-01 Module The BSD-01 module is a complete microstepping driver with built-in translator suitable for driving bipolar step motors up to 750mA and 30V. It operates in Full-,

More information

CHAPTER 6 DIGITAL INSTRUMENTS

CHAPTER 6 DIGITAL INSTRUMENTS CHAPTER 6 DIGITAL INSTRUMENTS 1 LECTURE CONTENTS 6.1 Logic Gates 6.2 Digital Instruments 6.3 Analog to Digital Converter 6.4 Electronic Counter 6.6 Digital Multimeters 2 6.1 Logic Gates 3 AND Gate The

More information

Functional description of BSD-01v2 Module

Functional description of BSD-01v2 Module Functional description of BSD-01v2 Module The BSD-01v2 module is a complete microstepping driver with built-in translator suitable for driving bipolar step motors from 15 to 750mA and up to 30V. It comes

More information

In order to do this project you should review the following concepts:

In order to do this project you should review the following concepts: Catapult In order to do this project you should review the following concepts: Catapult 18 Rope Lego Band Rubber Band Catapult: Arm Catapult: Arm Catapult: Arm Leave the other end of the rubber band loose

More information

CHAPTER ELEVEN - Interfacing With the Analog World

CHAPTER ELEVEN - Interfacing With the Analog World CHAPTER ELEVEN - Interfacing With the Analog World 11.1 (a) Analog output = (K) x (digital input) (b) Smallest change that can occur in the analog output as a result of a change in the digital input. (c)

More information

Lesson 13. The Big Idea: Lesson 13: Infrared Transmitters

Lesson 13. The Big Idea: Lesson 13: Infrared Transmitters Lesson Lesson : Infrared Transmitters The Big Idea: In Lesson 12 the ability to detect infrared radiation modulated at 38,000 Hertz was added to the Arduino. This lesson brings the ability to generate

More information

2015 Spin echoes and projection imaging

2015 Spin echoes and projection imaging 1. Spin Echoes 1.1 Find f0, transmit amplitudes, and shim settings In order to acquire spin echoes, we first need to find the appropriate scanner settings using the FID GUI. This was all done last week,

More information

OM-60-TH SERVICE LOGGER WITH TEMPERATURE/HUMIDITY/DEW POINT SENSOR GETTING STARTED

OM-60-TH SERVICE LOGGER WITH TEMPERATURE/HUMIDITY/DEW POINT SENSOR GETTING STARTED OM-60-TH SERVICE LOGGER WITH TEMPERATURE/HUMIDITY/DEW POINT SENSOR The OM-60-TH is a Service Logger with a temperature/humidity/dew point sensor. The OM-60-TH is specified for air use only. The sensor

More information

Lab Exercise 9: Stepper and Servo Motors

Lab Exercise 9: Stepper and Servo Motors ME 3200 Mechatronics Laboratory Lab Exercise 9: Stepper and Servo Motors Introduction In this laboratory exercise, you will explore some of the properties of stepper and servomotors. These actuators are

More information

T6+ Analog I/O Section. Installation booklet for part numbers: 5/4-80A-115 5/4-90A-115 5/4-80A /4-90A-1224

T6+ Analog I/O Section. Installation booklet for part numbers: 5/4-80A-115 5/4-90A-115 5/4-80A /4-90A-1224 T and T+ are trade names of Trol Systems Inc. TSI reserves the right to make changes to the information contained in this manual without notice. publication /4A115MAN- rev:1 2001 TSI All rights reserved

More information

Electricity Transition Questions Applied General in Science

Electricity Transition Questions Applied General in Science Electricity Transition Questions Applied General in Science Marks: 62 marks Pass = 30% Comments: Merit = 45% Distinction = 65% Name: Teacher: MDS Date: Q1. (a) Draw one line from each circuit symbol to

More information

Let There Be Light. Opening Files. Deleting National Technology and Science Press

Let There Be Light. Opening Files. Deleting National Technology and Science Press Let There Be Light 2 Better to light a candle than to curse the darkness. Chinese Proverb The Hello World program demonstrates only the output aspect of a computer program. Now let s write a program that

More information

CCE Image may differ from the actual product By Martin Labbé, eng., Jasmin Goupil & Louis Perreault

CCE Image may differ from the actual product By Martin Labbé, eng., Jasmin Goupil & Louis Perreault CCE-32 1.09 Image may differ from the actual product By Martin Labbé, eng., Jasmin Goupil & Louis Perreault Index 1. General description... 5 2. Applications... 5 3. Installation... 5 4. Connections...

More information

LVTX-10 Series Ultrasonic Sensor Installation and Operation Guide

LVTX-10 Series Ultrasonic Sensor Installation and Operation Guide LVTX-10 Series Ultrasonic Sensor Installation and Operation Guide M-5578/0516 M-5578/0516 Section TABLE OF CONTENTS 1 Introduction... 1 2 Quick Guide on Getting Started... 2 Mounting the LVTX-10 Series

More information

Chapter 7: Instrumentation systems

Chapter 7: Instrumentation systems Chapter 7: Instrumentation systems Learning Objectives: At the end of this topic you will be able to: describe the use of the following analogue sensors: thermistors strain gauge describe the use of the

More information

Digital Logic Circuits

Digital Logic Circuits Digital Logic Circuits Let s look at the essential features of digital logic circuits, which are at the heart of digital computers. Learning Objectives Understand the concepts of analog and digital signals

More information

Microsoft Scrolling Strip Prototype: Technical Description

Microsoft Scrolling Strip Prototype: Technical Description Microsoft Scrolling Strip Prototype: Technical Description Primary features implemented in prototype Ken Hinckley 7/24/00 We have done at least some preliminary usability testing on all of the features

More information

UNIT II: Clocked Synchronous Sequential Circuits. CpE 411 Advanced Logic Circuits Design 1

UNIT II: Clocked Synchronous Sequential Circuits. CpE 411 Advanced Logic Circuits Design 1 UNIT II: Clocked Synchronous Sequential Circuits CpE 411 Advanced Logic Circuits Design 1 Unit Outline Analysis of Sequential Circuits State Tables State Diagrams Flip-flop Excitation Tables Basic Design

More information

Development of control algorithms for a self-learning mobile robot

Development of control algorithms for a self-learning mobile robot 7th WSEAS International Conference on APPLIED COMPUTER SCIENCE, Venice, Italy, November 21-23, 2007 300 Development of control algorithms for a self-learning mobile robot Ionut Resceanu, Marius Niculescu

More information

Note 1: A 3A version to the LT1005 is also available. See LT1035 LT V, 35mA AUXILIARY REGULATOR

Note 1: A 3A version to the LT1005 is also available. See LT1035 LT V, 35mA AUXILIARY REGULATOR August 1984 Understanding and Applying the Multifunction Regulator Jim Williams The number of voltage regulators currently available makes the introduction of another regulator seem almost unnecessary.

More information

The Temperature Controlled Window Matt Aldeman and Chase Brill ME 224 June 2003

The Temperature Controlled Window Matt Aldeman and Chase Brill ME 224 June 2003 The Temperature Controlled Window Matt Aldeman and Chase Brill ME 224 June 2003 Design Objectives The purpose of our device is to control a window based on the temperature of a specified area. The goal

More information

Chapter 6: Sensors and Control

Chapter 6: Sensors and Control Chapter 6: Sensors and Control One of the integral parts of a robot that transforms it from a set of motors to a machine that can react to its surroundings are sensors. Sensors are the link in between

More information

ANALOG TO DIGITAL CONVERTER ANALOG INPUT

ANALOG TO DIGITAL CONVERTER ANALOG INPUT ANALOG INPUT Analog input involves sensing an electrical signal from some source external to the computer. This signal is generated as a result of some changing physical phenomenon such as air pressure,

More information

ELG3331: Digital Tachometer Introduction to Mechatronics by DG Alciatore and M B Histand

ELG3331: Digital Tachometer Introduction to Mechatronics by DG Alciatore and M B Histand ELG333: Digital Tachometer Introduction to Mechatronics by DG Alciatore and M B Histand Our objective is to design a system to measure and the rotational speed of a shaft. A simple method to measure rotational

More information

MAE334 - Introduction to Instrumentation and Computers. Final Exam. December 11, 2006

MAE334 - Introduction to Instrumentation and Computers. Final Exam. December 11, 2006 MAE334 - Introduction to Instrumentation and Computers Final Exam December 11, 2006 o Closed Book and Notes o No Calculators 1. Fill in your name on side 2 of the scoring sheet (Last name first!) 2. Fill

More information

LSP 350: Computers & Society

LSP 350: Computers & Society LSP 350: Computers & Society Lecture Notes 31 August 2005 Prof. Katherine St. John Lehman College & the Graduate Center City Universtity of New York Katherine St. John City University of New York 1 Overview

More information

Ph 3455 The Franck-Hertz Experiment

Ph 3455 The Franck-Hertz Experiment Ph 3455 The Franck-Hertz Experiment Required background reading Tipler, Llewellyn, section 4-5 Prelab Questions 1. In this experiment, we will be using neon rather than mercury as described in the textbook.

More information

gfm-app.com User Manual

gfm-app.com User Manual gfm-app.com User Manual 03.07.16 CONTENTS 1. MAIN CONTROLS Main interface 3 Control panel 3 Gesture controls 3-6 2. CAMERA FUNCTIONS Exposure 7 Focus 8 White balance 9 Zoom 10 Memory 11 3. AUTOMATED SEQUENCES

More information

An Inherently Calibrated Exposure Control Method for Digital Cameras

An Inherently Calibrated Exposure Control Method for Digital Cameras An Inherently Calibrated Exposure Control Method for Digital Cameras Cynthia S. Bell Digital Imaging and Video Division, Intel Corporation Chandler, Arizona e-mail: cynthia.bell@intel.com Abstract Digital

More information

AE Agricultural Customer Services Play-by-Play Tekscope Manual

AE Agricultural Customer Services Play-by-Play Tekscope Manual 1 2012 AE Agricultural Customer Services Play-by-Play Tekscope Manual TABLE OF CONTENTS I. Definitions II. Waveform Properties 1 III. Scientific Notation... 2 IV. Transient Levels of Concern a. ASAE Paper

More information

Hardware Flags. and the RTI system. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

Hardware Flags. and the RTI system. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff Hardware Flags and the RTI system 1 Need for hardware flag Often a microcontroller needs to test whether some event has occurred, and then take an action For example A sensor outputs a pulse when a model

More information

Devantech SRF04 Ultra-Sonic Ranger Finder Cornerstone Electronics Technology and Robotics II

Devantech SRF04 Ultra-Sonic Ranger Finder Cornerstone Electronics Technology and Robotics II Devantech SRF04 Ultra-Sonic Ranger Finder Cornerstone Electronics Technology and Robotics II Administration: o Prayer PicBasic Pro Programs Used in This Lesson: o General PicBasic Pro Program Listing:

More information

Draw in the space below a possible arrangement for the resistor and capacitor. encapsulated components

Draw in the space below a possible arrangement for the resistor and capacitor. encapsulated components 1). An encapsulated component is known to consist of a resistor and a capacitor. It has two input terminals and two output terminals. A 5V, 1kHz square wave signal is connected to the input terminals and

More information

FlatPack Ultrasonic Sensors

FlatPack Ultrasonic Sensors FlatPack Ultrasonic Sensors Installation & Operation Guide May 23, 2017 The FlatPack Sensor product line listed in the introduction of this manual complies with the European Council EMC Directive 2004/108/EC

More information

INTRODUCTION TO AC FILTERS AND RESONANCE

INTRODUCTION TO AC FILTERS AND RESONANCE AC Filters & Resonance 167 Name Date Partners INTRODUCTION TO AC FILTERS AND RESONANCE OBJECTIVES To understand the design of capacitive and inductive filters To understand resonance in circuits driven

More information

The Challenge. What to Do

The Challenge. What to Do LEGO Protractor The Challenge How can you accurately measure an angle? Create your own protractor using a rotation sensor and gears. Do this protractor activity first, then try the Slingshot or Peripheral

More information

HP 16533A 1-GSa/s and HP 16534A 2-GSa/s Digitizing Oscilloscope

HP 16533A 1-GSa/s and HP 16534A 2-GSa/s Digitizing Oscilloscope User s Reference Publication Number 16534-97009 February 1999 For Safety Information, Warranties, and Regulatory Information, see the pages behind the Index Copyright Hewlett-Packard Company 1991 1999

More information

ASTABLE MULTIVIBRATOR

ASTABLE MULTIVIBRATOR 555 TIMER ASTABLE MULTIIBRATOR MONOSTABLE MULTIIBRATOR 555 TIMER PHYSICS (LAB MANUAL) PHYSICS (LAB MANUAL) 555 TIMER Introduction The 555 timer is an integrated circuit (chip) implementing a variety of

More information

Breadboard Traffic Light System

Breadboard Traffic Light System 1 Breadboard Traffic Light System Alex Sawicki & Geoff Yeung TEJ4M Mr. Bawa June20, 2013 2 Table of Contents Materials 3 Background Research 4 Experimental Procedure 7 Method One 8 Method Two 9 Conclusions

More information

Laboratory 7: CONTROL SYSTEMS FUNDAMENTALS

Laboratory 7: CONTROL SYSTEMS FUNDAMENTALS Laboratory 7: CONTROL SYSTEMS FUNDAMENTALS OBJECTIVES - Familiarize the students in the area of automatization and control. - Familiarize the student with programming of toy robots. EQUIPMENT AND REQUERIED

More information

Saxophone Lab. Source 1

Saxophone Lab. Source 1 IB Physics HLII Derek Ewald B. 03Mar14 Saxophone Lab Research Question How do different positions of the mouthpiece (changing the length of the neck) of a saxophone affect the frequency of the sound wave

More information

PQVO3Sd Short duration voltage variations

PQVO3Sd Short duration voltage variations 1MRS755448 Issued: 6/2005 Version: A/08.07.2005 PQVO3Sd Short duration voltage variations Data subject to change without notice Contents 1. Introduction... 3 1.1 Features... 3 1.2 Short duration voltage

More information

1. Introduction to Analog I/O

1. Introduction to Analog I/O EduCake Analog I/O Intro 1. Introduction to Analog I/O In previous chapter, we introduced the 86Duino EduCake, talked about EduCake s I/O features and specification, the development IDE and multiple examples

More information

Sampling and Reconstruction

Sampling and Reconstruction Experiment 10 Sampling and Reconstruction In this experiment we shall learn how an analog signal can be sampled in the time domain and then how the same samples can be used to reconstruct the original

More information

Debouncing Switches. The non-ideal behavior of the contacts that creates multiple electrical transitions for a single user input.

Debouncing Switches. The non-ideal behavior of the contacts that creates multiple electrical transitions for a single user input. Mechanical switches are one of the most common interfaces to a uc. Switch inputs are asynchronous to the uc and are not electrically clean. Asynchronous inputs can be handled with a synchronizer (2 FF

More information

SDIC XX 5075 SD5075. Two Wires Communication Digital Temperature Sensor. Features. Description. Applications. Ordering Information

SDIC XX 5075 SD5075. Two Wires Communication Digital Temperature Sensor. Features. Description. Applications. Ordering Information Two Wires Communication Digital Temperature Sensor Features 2 bits digital temperature readout, 0.0625 resolution ±0.8 maximum error at -40 ~+00 range ±.5 maximum error at -55 ~+25 range Two wires communication

More information

Centralized busbar differential and breaker failure protection function

Centralized busbar differential and breaker failure protection function Centralized busbar differential and breaker failure protection function Budapest, December 2015 Centralized busbar differential and breaker failure protection function Protecta provides two different types

More information

A Low Resolution Vision System

A Low Resolution Vision System A Low Resolution Vision System E155 Final Project Report Charles Matlack and Andrew Mattheisen January 2, 2003 Abstract This project uses an array of 24 CdS photocells to form a crude image of its field

More information

332:223 Principles of Electrical Engineering I Laboratory Experiment #2 Title: Function Generators and Oscilloscopes Suggested Equipment:

332:223 Principles of Electrical Engineering I Laboratory Experiment #2 Title: Function Generators and Oscilloscopes Suggested Equipment: RUTGERS UNIVERSITY The State University of New Jersey School of Engineering Department Of Electrical and Computer Engineering 332:223 Principles of Electrical Engineering I Laboratory Experiment #2 Title:

More information

Parts of a Lego RCX Robot

Parts of a Lego RCX Robot Parts of a Lego RCX Robot RCX / Brain A B C The red button turns the RCX on and off. The green button starts and stops programs. The grey button switches between 5 programs, indicated as 1-5 on right side

More information

DMX-K-DRV-23 Integrated Step Motor Driver & Basic Controller

DMX-K-DRV-23 Integrated Step Motor Driver & Basic Controller DMX-K-DRV-23 Integrated Step Motor Driver & Basic Controller DMX-K-DRV-23 Manual - 1 - rev 1.35 COPYRIGHT 2013 ARCUS, ALL RIGHTS RESERVED First edition, June 2007 ARCUS TECHNOLOGY copyrights this document.

More information

PASS Sample Size Software. These options specify the characteristics of the lines, labels, and tick marks along the X and Y axes.

PASS Sample Size Software. These options specify the characteristics of the lines, labels, and tick marks along the X and Y axes. Chapter 940 Introduction This section describes the options that are available for the appearance of a scatter plot. A set of all these options can be stored as a template file which can be retrieved later.

More information

QUICK START GUIDE. AStrO. Ver Toll Free : 1 (877) Visit :

QUICK START GUIDE. AStrO. Ver Toll Free : 1 (877) Visit : QUICK START GUIDE AStrO Ver.10.309 Toll Free : 1 (877) 462-7296 Visit : 1 Thank you for purchasing the latest in data acquisition technology, the AStrO. We hope that it surpasses your expectations. This

More information

Exercise 1. Basic PWM DC Motor Drive EXERCISE OBJECTIVE DISCUSSION OUTLINE. Block diagram of a basic PWM dc motor drive DISCUSSION

Exercise 1. Basic PWM DC Motor Drive EXERCISE OBJECTIVE DISCUSSION OUTLINE. Block diagram of a basic PWM dc motor drive DISCUSSION Exercise 1 Basic PWM DC Motor Drive EXERCISE OBJECTIVE When you have completed this exercise, you will be familiar with the most basic type of PWM dc motor drive: the buck chopper dc motor drive. You will

More information

INC

INC JAA76551-R.3460.A Preparation for adjusting Main FPC In case of replacing the main FPC, SWM unit or MR encoder unit, be sure to make the below adjustments which will be required. 1. Adjustments Pulse adjustment

More information

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC)

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC) COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC) Connecting digital circuitry to sensor devices

More information

Today s Menu. Near Infrared Sensors

Today s Menu. Near Infrared Sensors Today s Menu Near Infrared Sensors CdS Cells Programming Simple Behaviors 1 Near-Infrared Sensors Infrared (IR) Sensors > Near-infrared proximity sensors are called IRs for short. These devices are insensitive

More information

User Manual. KNX MultiLight Dali. Article number: function Technology AS. Picture: KNX MultiLight products

User Manual. KNX MultiLight Dali. Article number: function Technology AS. Picture: KNX MultiLight products User Manual KNX MultiLight Dali Article number: 44002 Picture: KNX MultiLight products function Technology AS Table of Contents 1 THE KNX MULTILIGHT DALI... 3 2 INTRODUCTION... 3 3 START-UP AND GENERAL

More information

The light sensor, rotation sensor, and motors may all be monitored using the view function on the RCX.

The light sensor, rotation sensor, and motors may all be monitored using the view function on the RCX. Review the following material on sensors. Discuss how you might use each of these sensors. When you have completed reading through this material, build a robot of your choosing that has 2 motors (connected

More information

Agent-based/Robotics Programming Lab II

Agent-based/Robotics Programming Lab II cis3.5, spring 2009, lab IV.3 / prof sklar. Agent-based/Robotics Programming Lab II For this lab, you will need a LEGO robot kit, a USB communications tower and a LEGO light sensor. 1 start up RoboLab

More information

2.4 Sensorized robots

2.4 Sensorized robots 66 Chap. 2 Robotics as learning object 2.4 Sensorized robots 2.4.1 Introduction The main objectives (competences or skills to be acquired) behind the problems presented in this section are: - The students

More information

Lab 7 LEDs to the Rescue!

Lab 7 LEDs to the Rescue! Lab 7 LEDs to the Rescue! Figure 7.0. Stoplights with LabVIEW Indicators Have you ever sat in your car stopped at a city intersection waiting for the stoplight to change and wondering how long the red

More information

Portable FFT Analyzer CF-9200/9400

Portable FFT Analyzer CF-9200/9400 Portable FFT Analyzer CF-9200/9400 Frequency response measurement by impact excitation by using Impulse hammer November2015 Contents 1 Introduction 2 Preparing equipment 3 Before measurement 3-1. Connection

More information

Automatic reclosing function for high voltage networks

Automatic reclosing function for high voltage networks Automatic reclosing function for high voltage networks Budapest, December 2010. Automatic reclosing function for high voltage networks The HV automatic reclosing function for high voltage networks can

More information

Learning Objectives:

Learning Objectives: Learning Objectives: At the end of this topic you will be able to; Analyse and design a DAC based on an op-amp summing amplifier to meet a given specification. 1 Digital and Analogue Information Module

More information

A New Simulator for Botball Robots

A New Simulator for Botball Robots A New Simulator for Botball Robots Stephen Carlson Montgomery Blair High School (Lockheed Martin Exploring Post 10-0162) 1 Introduction A New Simulator for Botball Robots Simulation is important when designing

More information

Number of Lessons:155 #14B (P) Electronics Technology with Digital and Microprocessor Laboratory Completion Time: 42 months

Number of Lessons:155 #14B (P) Electronics Technology with Digital and Microprocessor Laboratory Completion Time: 42 months PROGRESS RECORD Study your lessons in the order listed below. Number of Lessons:155 #14B (P) Electronics Technology with Digital and Microprocessor Laboratory Completion Time: 42 months 1 2330A Current

More information

A Lego-Based Soccer-Playing Robot Competition For Teaching Design

A Lego-Based Soccer-Playing Robot Competition For Teaching Design Session 2620 A Lego-Based Soccer-Playing Robot Competition For Teaching Design Ronald A. Lessard Norwich University Abstract Course Objectives in the ME382 Instrumentation Laboratory at Norwich University

More information

Inrush3 Three-Phase Transformer Inrush and Motor Start-Up Current Detector

Inrush3 Three-Phase Transformer Inrush and Motor Start-Up Current Detector 1MRS752306-MUM Issued: 10/1997 Version: G/23.6.2005 Data subject to change without notice Three-Phase Transformer Inrush and Motor Start-Up Current Detector Contents 1. Introduction... 2 1.1 Features...

More information

MAE106 Laboratory Exercises Lab # 3 Open-loop control of a DC motor

MAE106 Laboratory Exercises Lab # 3 Open-loop control of a DC motor MAE106 Laboratory Exercises Lab # 3 Open-loop control of a DC motor University of California, Irvine Department of Mechanical and Aerospace Engineering Goals To understand and gain insight about how a

More information

Automatic Headlights

Automatic Headlights Automatic Headlights Design car features that will improve nighttime driving safety. Learning Objectives Students will: Explore the concept of Inputs and the way to control them Explore the concept of

More information

Assignments from last week

Assignments from last week Assignments from last week Review LED flasher kits Review protoshields Need more soldering practice (see below)? http://www.allelectronics.com/make-a-store/category/305/kits/1.html http://www.mpja.com/departments.asp?dept=61

More information

The physics of capacitive touch technology

The physics of capacitive touch technology The physics of capacitive touch technology By Tom Perme Applications Engineer Microchip Technology Inc. Introduction Understanding the physics of capacitive touch technology makes it easier to choose the

More information

Applying mathematics to digital image processing using a spreadsheet

Applying mathematics to digital image processing using a spreadsheet Jeff Waldock Applying mathematics to digital image processing using a spreadsheet Jeff Waldock Department of Engineering and Mathematics Sheffield Hallam University j.waldock@shu.ac.uk Introduction When

More information

Motomatic Servo Control

Motomatic Servo Control Exercise 2 Motomatic Servo Control This exercise will take two weeks. You will work in teams of two. 2.0 Prelab Read through this exercise in the lab manual. Using Appendix B as a reference, create a block

More information

Physics 4C Chabot College Scott Hildreth

Physics 4C Chabot College Scott Hildreth Physics 4C Chabot College Scott Hildreth The Inverse Square Law for Light Intensity vs. Distance Using Microwaves Experiment Goals: Experimentally test the inverse square law for light using Microwaves.

More information

understanding sensors

understanding sensors The LEGO MINDSTORMS EV3 set includes three types of sensors: Touch, Color, and Infrared. You can use these sensors to make your robot respond to its environment. For example, you can program your robot

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

Experiment 3. Ohm s Law. Become familiar with the use of a digital voltmeter and a digital ammeter to measure DC voltage and current.

Experiment 3. Ohm s Law. Become familiar with the use of a digital voltmeter and a digital ammeter to measure DC voltage and current. Experiment 3 Ohm s Law 3.1 Objectives Become familiar with the use of a digital voltmeter and a digital ammeter to measure DC voltage and current. Construct a circuit using resistors, wires and a breadboard

More information

SignalCalc Drop Test Demo Guide

SignalCalc Drop Test Demo Guide SignalCalc Drop Test Demo Guide Introduction Most protective packaging for electronic and other fragile products use cushion materials in the packaging that are designed to deform in response to forces

More information

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter EE283 Electrical Measurement Laboratory Laboratory Exercise #7: al Counter Objectives: 1. To familiarize students with sequential digital circuits. 2. To show how digital devices can be used for measurement

More information

Experiment 2. Ohm s Law. Become familiar with the use of a digital voltmeter and a digital ammeter to measure DC voltage and current.

Experiment 2. Ohm s Law. Become familiar with the use of a digital voltmeter and a digital ammeter to measure DC voltage and current. Experiment 2 Ohm s Law 2.1 Objectives Become familiar with the use of a digital voltmeter and a digital ammeter to measure DC voltage and current. Construct a circuit using resistors, wires and a breadboard

More information

1000TR. Instructions

1000TR. Instructions 1000TR ph Instructions CONTENTS 1. INTRODUCTION... 2 1.1 COMMON INTRODUCTION... 2 1.2 PARTS & ACCESSORIES... 2 2. INSTALLATION... 3 2.1 CASING... 3 2.2 MOUNTING... 3 2.3 ELECTRICAL INSTALLATION... 3 2.3.1

More information

Sentido KNX Manual. Sentido KNX. Manual. basalte bvba hundelgemsesteenweg 1a 9820 merelbeke belgium

Sentido KNX Manual. Sentido KNX. Manual. basalte bvba hundelgemsesteenweg 1a 9820 merelbeke belgium basalte bvba hundelgemsesteenweg a 980 merelbeke belgium / 68 06 basalte Table of contents:. Introduction... 3. Installation... 4. 3. Identifying the parts... 5 General... 6 3. General functions... 7 3.

More information

PQ-Box 100/150/200 Recorder Triggers

PQ-Box 100/150/200 Recorder Triggers HV Power hints and tips: PQ-Box 100 Power Quality Recorder Issue 13b August 18 th 2015 [WinPQ mobil V2.2.7] Updated 19/2/2016 PQ-Box 100/150/200 Recorder Triggers Figure 1. 10 ms RMS recorder settings.

More information

METALLOGRAPHY EQUIPMENT

METALLOGRAPHY EQUIPMENT Fully matic Abrasive Cutting Machine - SERVOCUT 602 www.worldoftest.com/fully-automatic-abrasive-cutting-machine-servocut-602 Applications: Fully matic Abrasive Cutting Machine - SERVOCUT 602 is a fully

More information

Lab 4 Ohm s Law and Resistors

Lab 4 Ohm s Law and Resistors ` Lab 4 Ohm s Law and Resistors What You Need To Know: The Physics One of the things that students have a difficult time with when they first learn about circuits is the electronics lingo. The lingo and

More information

MEGA MOUTH HEAVY DUTY 3 WHEEL SLICKLINE MEASUREMENT DEVICE WITH COMBINED DEPTH AND TENSION CERTIFIED FOR USE IN A ZONE 2 ENVIRONMENT

MEGA MOUTH HEAVY DUTY 3 WHEEL SLICKLINE MEASUREMENT DEVICE WITH COMBINED DEPTH AND TENSION CERTIFIED FOR USE IN A ZONE 2 ENVIRONMENT MEGA MOUTH HEAVY DUTY 3 WHEEL SLICKLINE MEASUREMENT DEVICE WITH COMBINED DEPTH AND TENSION CERTIFIED FOR USE IN A ZONE 2 ENVIRONMENT AMSLA416 ZONE 2 MEGA MOUTH SPECIFICATION AMSLA416 Rev A Sep 2008 Page

More information

EE 300W Lab 2: Optical Theremin Critical Design Review

EE 300W Lab 2: Optical Theremin Critical Design Review EE 300W Lab 2: Optical Theremin Critical Design Review Team Drunken Tinkers: S6G8 Levi Nicolai, Harvish Mehta, Justice Lee October 21, 2016 Abstract The objective of this lab is to create an Optical Theremin,

More information

MM V 10A ENGLISH. INSTRUCTION MANUAL Auto-Ranging DATA HOLD AUDIBLE CONTINUITY MIN / MAX TEMPERATURE DIODE TEST CAPACITANCE

MM V 10A ENGLISH. INSTRUCTION MANUAL Auto-Ranging DATA HOLD AUDIBLE CONTINUITY MIN / MAX TEMPERATURE DIODE TEST CAPACITANCE INSTRUCTION MANUAL Auto-Ranging Digital Multimeter MM400 DATA HOLD AUDIBLE CONTINUITY MIN / MAX TEMPERATURE DIODE TEST CAPACITANCE 600V 10A 40MΩ 2 GENERAL SPECIFICATIONS Klein Tools MM400 is an auto-ranging

More information

SGM V Step-Up LED Driver

SGM V Step-Up LED Driver GENERAL DESCRIPTION The SGM3725 is a versatile constant current LED driver with a high efficiency step-up converter architecture. Unique technology and high 1.35A current limit allow SGM3725 to drive up

More information

A software solution for displacement and angular speed measurement through virtual instrumentation

A software solution for displacement and angular speed measurement through virtual instrumentation software solution for displacement and angular speed measurement through virtual instrumentation NICOLE PTRSCOIU RON PONT DRIN TOMUS OGDN SOCHIRC utomatics, pplied Informatics and Computers Engineering

More information