EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

Size: px
Start display at page:

Download "EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE"

Transcription

1 EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 7: IR SENSORS AND DISTANCE DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOAL: This section will introduce the Sharp IR Distance Sensor and interface it with the Arduino UNO and OBJECTIVES: Learn the basics of Arduino Programming o Commands: setup() loop() Serial Library DistanceGP2Y0A21YK Library Interface with the Sharp Distance Sensor Generate a calculated distance Furthur expand and create an event based on the returned value OVERVIEW AND REQUIREMENTS: Infrared Proximity Sensor - Sharp GP2Y0A21YK 1 Output 2 Ground 3 VCC (5V) Fig. 1. Sensor The Sharp GP2Y0A21YK is an Infrared proximity Sensor. It shines a beam of IR light from an LED, and measures the intensity of light that is bounced pack using a phototransistor. This IR sensor is more economical than sonar rangefinders, yet it provides much better performance than other IR alternatives. Interfacing to most microcontrollers is straightforward: the single analog DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 1

2 output can be connected to an analog-to-digital converter for taking distance measurements, or the output can be connected to a comparator for threshold detection. The detection range of this version is approximately 10 cm to 80 cm (4" to 32"); a plot of distance versus output voltage is shown below. Fig. 2. Voltage and distance relation As you can see the output from the sensor is not linear. In order to compensate for this we are using a library that contains a Look-up Table (LUT) that has stored distance values relative to the analog output voltage from the IR sensor. How the Sensor Works 1. A pulse of IR light is emitted by the emitter. 2. This light travels out in the field of view and hits an object. 3. The reflected light returns to the detector and creates a triangle between the point of reflection, the emitter, and the detector. 4. The angles in this triangle vary based on the distance to the object. 5. The receiver uses a precision lens to transmit the reflected light onto various portions of the enclosed linear CCD array based on the angle of the triangle described above. 6. The CCD array can then determine what angle the reflected light came back at and therefore, it can calculate the distance to the object. DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 2

3 COMPONENTS: Arduino Uno USB A-B Cable Sharp GP2Y0A21YK IR Proximity Sensor Host PC Installed Arduino Uno drivers and IDE DIAGRAM: DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 3

4 OPERATION: Using the distance sensor 1. Download and extract the DistanceGP2Y0A21YK.zip file included in this lab Copy the extracted DistanceGP2Y0A21YK into the Arduino libraries folder. 3. If you already have the Arduino client running, make sure to restart the client after copying the Distance folder into the libraries folder (i.e. extract the zip into libraries folder). The client will not recognize that the folder is there if you do not. 4. Wire the circuit as shown in the schematic. Your final result should be something similar to the following snapshot. 5. Attach the Arduino UNO to the host PC with the use of the USB cable. DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 4

5 6. Open the Arduino IDE and create a new sketch titled IRSensor. Verify that the correct COM port is in use. 7. Upload the following sketch to your Arduino UNO (Code 1): #include <DistanceGP2Y0A21YK.h> //Load Distance Library DistanceGP2Y0A21YK Dist; int distance; void setup() { Serial.begin(9600); Dist.begin(A0); } //Define the struct //Variable to hold distance //Start Serial //Start Distance Lib void loop() { distance = Dist.getDistanceCentimeter(); //Use LUT to get Distance Serial.print("\nDistance in centimeters: "); //Print Serial.print(distance); delay(100); } 8. Verify your results by running the COM window and testing the IR Sensor. If your sketch is not compiling please add the following line at the top of DistanceGP2Y0A21YK_LUTs.h library file (it can be found in the folder DistanceGP2Y0A21YK): typedef const unsigned char prog_uchar; DEMO AND SCREENSHOTS: DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 5

6 PRELAB: What does analogread() returns? How to convert this value to a voltage (0 5V)? EXPERIMENTS: Experiment 1 1. Wire the circuit and sensor as mentioned in Operation section 2. Verify the operation of the sensor 3. Demonstrate the results to the TA Experiment 2 1. Extend the circuit: a. Using the breadboard shield, add an LED to your design b. Modify the code so that when the IR Sensor detects a distance less than 10 centimeters the LED turns on. 2. Demonstrate the results to the TA Experiment 3 1. Extend the circuit from Experiment 2: a. Using the breadboard shield, add one more LED, so you have green LED and red LED. b. Keep in mind, that the measurements below 10cm and above 80 cm are erroneous. However for the purpose of this experiment assume 40 cm as the higher bound (i.e. you are assuming that only measurements between 10 cm and 40 cm are correct). Modify the code so green LED is on when measurements are correct, and red LED turns on when measurements are incorrect (outside of assumed range). c. Display the measurements in the serial monitor d. Demonstrate the operation to the TA Experiment 4 1. By plotting the output voltage versus inverse number distance (1/cm), we can get the linear relation such as in Fig Using the equation y = 20.99x , where y is voltage output and x is inverted distance, modify Code 1 to find the distance without the use of the included library. 3. Make 5 measurements for the library and your method (same object distance for the pair of measurements). Place them in the table: No Library measurement A Your method measurement B A B DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 6

7 What are your conclusions? Fig. 3. Output characteristics with inverse number of distance POSTLAB REPORT DELIVERIES Include the following elements in your postlab report: 1. Theory of operation a. Describe how the distance sensor works b. List 3 different applications of the distance sensors 2. Results of the experiments For each experiment, include: a. The code that you developed for the experiment. Each line that was added must be highlighted and commented with the explanation of what is its meaning. b. Brief explanation how the goal of the experiment was reached c. Screenshots of the serial monitor with the values, presenting the operation of your code For experiment 4, explain your method. Write your conclusions about the differences between library and your results. 3. Answer the questions: a. Is the output of the IR sensor analog or digital? b. Find out the technical data about the sensor used: i. Detecting distance DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 7

8 ii. Operating temperature iii. Operating supply voltage 4. Conclusions a. Write down your conclusions, things learned, problems encountered during the lab and how they were solved, etc. DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 8

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 6: INTRODUCTION TO BREADBOARDS DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOAL: This section introduces

More information

Grove - Infrared Receiver

Grove - Infrared Receiver Grove - Infrared Receiver The Infrared Receiver is used to receive infrared signals and also used for remote control detection. There is an IR detector on the Infrared Receiver which is used to get the

More information

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

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

More information

ZX Distance and Gesture Sensor Hookup Guide

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

More information

FABO ACADEMY X ELECTRONIC DESIGN

FABO ACADEMY X ELECTRONIC DESIGN ELECTRONIC DESIGN MAKE A DEVICE WITH INPUT & OUTPUT The Shanghaino can be programmed to use many input and output devices (a motor, a light sensor, etc) uploading an instruction code (a program) to it

More information

CPE 100L LOGIC DESIGN I

CPE 100L LOGIC DESIGN I CPE 100L LABORATORY 3: COMBINATIONAL CIRCUIT DESIGN FULL ADDER BY GRZEGORZ CHMAJ DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOALS: Develop the ability to write a

More information

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

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

More information

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Lab 2: Blinkie Lab. Objectives. Materials. Theory Lab 2: Blinkie Lab Objectives This lab introduces the Arduino Uno as students will need to use the Arduino to control their final robot. Students will build a basic circuit on their prototyping board and

More information

Arduino Lesson 1. Blink. Created by Simon Monk

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

More information

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

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

More information

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

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

More information

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

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

More information

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

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

More information

TWEAK THE ARDUINO LOGO

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

More information

ESC 100: Exploring Engineering. Fall Lab 2: Calibrating An Infrared Distance Sensor

ESC 100: Exploring Engineering. Fall Lab 2: Calibrating An Infrared Distance Sensor ESC 100: Exploring Engineering Fall 2013 Lab 2: Calibrating An Infrared Distance Sensor Name Date Section/Professor Please indicate with whom you worked with on this Lab Exercise (if applicable): I affirm

More information

Using a Sharp GP2D12 Infrared Ranger with BasicX

Using a Sharp GP2D12 Infrared Ranger with BasicX Basic Express Application Note Using a Sharp GP2D12 Infrared Ranger with BasicX Introduction The Sharp GP2D12 infrared ranger is able to continuously measure the distance to an object. The usable range

More information

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

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

More information

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

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

More information

Community College of Allegheny County Unit 7 Page #1. Analog to Digital

Community College of Allegheny County Unit 7 Page #1. Analog to Digital Community College of Allegheny County Unit 7 Page #1 Analog to Digital "Engineers can't focus just on technology; they need to develop their professional skills-things like presenting yourself, speaking

More information

ILR #1: Sensors and Motor Control Lab. Zihao (Theo) Zhang- Team A October 14, 2016 Teammates: Amit Agarwal, Harry Golash, Yihao Qian, Menghan Zhang

ILR #1: Sensors and Motor Control Lab. Zihao (Theo) Zhang- Team A October 14, 2016 Teammates: Amit Agarwal, Harry Golash, Yihao Qian, Menghan Zhang ILR #1: Sensors and Motor Control Lab Zihao (Theo) Zhang- Team A October 14, 2016 Teammates: Amit Agarwal, Harry Golash, Yihao Qian, Menghan Zhang Individual Progress For my team s sensors and motor control

More information

Module: Arduino as Signal Generator

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

More information

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

INA169 Breakout Board Hookup Guide

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

More information

CPSC 226 Lab Four Spring 2018

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

More information

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

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

More information

Grove - I2C Color Sensor User Manual

Grove - I2C Color Sensor User Manual Grove - I2C Color Sensor User Manual Release date: 2015/9/22 Version: 1.0 Wiki:http://www.seeedstudio.com/wiki/index.php?title=Twig_-_I2C_C olor_sensor_v0.9b Bazaar:http://www.seeedstudio.com/depot/Grove-I2C-Color-Sensor-p

More information

EE 221 L CIRCUIT II. by Ming Zhu

EE 221 L CIRCUIT II. by Ming Zhu EE 221 L CIRCUIT II LABORATORY 6: OP AMP CIRCUITS by Ming Zhu DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS OBJECTIVE Learn to use Op Amp to implement simple linear

More information

EE 221 L CIRCUIT II. Learn to use LTspice to run circuit simulations for voltage, current, etc.

EE 221 L CIRCUIT II. Learn to use LTspice to run circuit simulations for voltage, current, etc. EE 221 L CIRCUIT II LABORATORY 3: LTSPICE DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS OBJECTIVE Learn to use LTspice to run circuit simulations for voltage, current,

More information

Portland State University MICROCONTROLLERS

Portland State University MICROCONTROLLERS PH-315 MICROCONTROLLERS INTERRUPTS and ACCURATE TIMING I Portland State University OBJECTIVE We aim at becoming familiar with the concept of interrupt, and, through a specific example, learn how to implement

More information

Arduino: Sensors for Fun and Non Profit

Arduino: Sensors for Fun and Non Profit Arduino: Sensors for Fun and Non Profit Slides and Programs: http://pamplin.com/dms/ Nicholas Webb DMS: @NickWebb 1 Arduino: Sensors for Fun and Non Profit Slides and Programs: http://pamplin.com/dms/

More information

Lesson 3: Arduino. Goals

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

More information

Pin Symbol Wire Colour Connect To. 1 Vcc Red + 5 V DC. 2 GND Black Ground. Table 1 - GP2Y0A02YK0F Pinout

Pin Symbol Wire Colour Connect To. 1 Vcc Red + 5 V DC. 2 GND Black Ground. Table 1 - GP2Y0A02YK0F Pinout AIRRSv2 Analog Infra-Red Ranging Sensor Sharp GP2Y0A02YK0F Sensor The GP2Y0A02YK0F is a well-proven, robust sensor that uses angleof-reflection to measure distances. It s not fooled by bright light or

More information

APDS-9960 RGB and Gesture Sensor Hookup Guide

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

More information

Welcome to Arduino Day 2016

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

More information

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

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

More information

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

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

More information

Light Emitting Diode IV Characterization

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

More information

User Manual. Grove - IR Distance Interrupter. Release date: 2015/9/22. Version: 1.0

User Manual. Grove - IR Distance Interrupter. Release date: 2015/9/22. Version: 1.0 Grove - IR Distance Interrupter User Manual Release date: 2015/9/22 Version: 1.0 Wiki: http://www.seeedstudio.com/wiki/grove_-_ir_distance_interrupt Bazaar: http://www.seeedstudio.com/depot/grove-ir-distance-

More information

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1 HAW-Arduino Sensors and Arduino 14.10.2010 F. Schubert HAW - Arduino 1 Content of the USB-Stick PDF-File of this script Arduino-software Source-codes Helpful links 14.10.2010 HAW - Arduino 2 Report for

More information

SCHOOL OF TECHNOLOGY AND PUBLIC MANAGEMENT ENGINEERING TECHNOLOGY DEPARTMENT

SCHOOL OF TECHNOLOGY AND PUBLIC MANAGEMENT ENGINEERING TECHNOLOGY DEPARTMENT SCHOOL OF TECHNOLOGY AND PUBLIC MANAGEMENT ENGINEERING TECHNOLOGY DEPARTMENT Course ENGT 3260 Microcontrollers Summer III 2015 Instructor: Dr. Maged Mikhail Project Report Submitted By: Nicole Kirch 7/10/2015

More information

Experiment 4.B. Position Control. ECEN 2270 Electronics Design Laboratory 1

Experiment 4.B. Position Control. ECEN 2270 Electronics Design Laboratory 1 Experiment 4.B Position Control Electronics Design Laboratory 1 Procedures 4.B.1 4.B.2 4.B.3 4.B.4 Read Encoder with Arduino Position Control by Counting Encoder Pulses Demo Setup Extra Credit Electronics

More information

Arduino An Introduction

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

More information

URM37 V3.2 Ultrasonic Sensor (SKU:SEN0001)

URM37 V3.2 Ultrasonic Sensor (SKU:SEN0001) URM37 V3.2 Ultrasonic Sensor (SKU:SEN0001) From Robot Wiki Contents 1 Introduction 2 Specification 2.1 Compare with other ultrasonic sensor 3 Hardware requierments 4 Tools used 5 Software 6 Working Mode

More information

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

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

More information

Practical Assignment 1: Arduino interface with Simulink

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

More information

Training Schedule. Robotic System Design using Arduino Platform

Training Schedule. Robotic System Design using Arduino Platform Training Schedule Robotic System Design using Arduino Platform Session - 1 Embedded System Design Basics : Scope : To introduce Embedded Systems hardware design fundamentals to students. Processor Selection

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

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads:

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads: Project 4: Arduino Servos Part 1 Description: A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads: a. Red: Current b. Black:

More information

Magnetic Levitation System

Magnetic Levitation System TAKE HOME LABS OKLAHOMA STATE UNIVERSITY Magnetic Levitation System by Amir Hossein Jafari 1 OBJECTIVE This experiment will review the concept of dynamic systems and will show to acquire data in real-time

More information

Experiment 5.B. Multifunction Wireless Control. ECEN 2270 Electronics Design Laboratory 1

Experiment 5.B. Multifunction Wireless Control. ECEN 2270 Electronics Design Laboratory 1 .B Multifunction Wireless Control Electronics Design Laboratory 1 Procedures 5.B.0 5.B.1 5.B.2 5.B.3 5.B.4 Turn in your pre-lab before doing anything else. Check that Part A is in working order Wirelessly

More information

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

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

More information

PSoC and Arduino Calculator

PSoC and Arduino Calculator EGR 322 Microcontrollers PSoC and Arduino Calculator Prepared for: Dr. Foist Christopher Parisi (390281) Ryan Canty (384185) College of Engineering California Baptist University 05/02/12 TABLE OF CONTENTS

More information

Operating Mode: Serial; (PWM) passive control mode; Autonomous Mode; On/OFF Mode

Operating Mode: Serial; (PWM) passive control mode; Autonomous Mode; On/OFF Mode RB-Dfr-11 DFRobot URM V3.2 Ultrasonic Sensor URM37 V3.2 Ultrasonic Sensor uses an industrial level AVR processor as the main processing unit. It comes with a temperature correction which is very unique

More information

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

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

More information

Community College of Allegheny County Unit 4 Page #1. Timers and PWM Motor Control

Community College of Allegheny County Unit 4 Page #1. Timers and PWM Motor Control Community College of Allegheny County Unit 4 Page #1 Timers and PWM Motor Control Revised: Dan Wolf, 3/1/2018 Community College of Allegheny County Unit 4 Page #2 OBJECTIVES: Timers: Astable and Mono-Stable

More information

1. Controlling the DC Motors

1. Controlling the DC Motors E11: Autonomous Vehicles Lab 5: Motors and Sensors By this point, you should have an assembled robot and Mudduino to power it. Let s get things moving! In this lab, you will write code to test your motors

More information

The Robot Builder's Shield for Arduino

The Robot Builder's Shield for Arduino The Robot Builder's Shield for Arduino by Ro-Bot-X Designs Introduction. The Robot Builder's Shield for Arduino was especially designed to make building robots with Arduino easy. The built in dual motors

More information

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

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

More information

EE 320 L LABORATORY 9: MOSFET TRANSISTOR CHARACTERIZATIONS. by Ming Zhu UNIVERSITY OF NEVADA, LAS VEGAS 1. OBJECTIVE 2. COMPONENTS & EQUIPMENT

EE 320 L LABORATORY 9: MOSFET TRANSISTOR CHARACTERIZATIONS. by Ming Zhu UNIVERSITY OF NEVADA, LAS VEGAS 1. OBJECTIVE 2. COMPONENTS & EQUIPMENT EE 320 L ELECTRONICS I LABORATORY 9: MOSFET TRANSISTOR CHARACTERIZATIONS by Ming Zhu DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS 1. OBJECTIVE Get familiar with MOSFETs,

More information

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab The purpose of this lab is to learn about sensors and use the ADC module to digitize the sensor signals. You will use the digitized signals

More information

EE 221 L CIRCUIT II. by Ming Zhu

EE 221 L CIRCUIT II. by Ming Zhu EE 22 L CIRCUIT II LABORATORY 9: RC CIRCUITS, FREQUENCY RESPONSE & FILTER DESIGNS by Ming Zhu DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS OBJECTIVE Enhance the knowledge

More information

Available online Journal of Scientific and Engineering Research, 2018, 5(4): Research Article

Available online   Journal of Scientific and Engineering Research, 2018, 5(4): Research Article Available online www.jsaer.com, 2018, 5(4):341-349 Research Article ISSN: 2394-2630 CODEN(USA): JSERBR Arduino Based door Automation System Using Ultrasonic Sensor and Servo Motor Orji EZ*, Oleka CV, Nduanya

More information

Arduino Microcontroller Processing for Everyone!: Third Edition / Steven F. Barrett

Arduino Microcontroller Processing for Everyone!: Third Edition / Steven F. Barrett Arduino Microcontroller Processing for Everyone!: Third Edition / Steven F. Barrett Anatomy of a Program Programs written for a microcontroller have a fairly repeatable format. Slight variations exist

More information

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

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

More information

Figure 1. Digilent DC Motor

Figure 1. Digilent DC Motor Laboratory 9 - Usage of DC- and servo-motors The current laboratory describes the usage of DC and servomotors 1. DC motors Figure 1. Digilent DC Motor Classical DC motors are converting electrical energy

More information

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

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

More information

Adafruit 16-Channel Servo Driver with Arduino

Adafruit 16-Channel Servo Driver with Arduino Adafruit 16-Channel Servo Driver with Arduino Created by Bill Earl Last updated on 2015-09-29 06:19:37 PM EDT Guide Contents Guide Contents Overview Assembly Install the Servo Headers Solder all pins Add

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

INTRODUCTION to MICRO-CONTROLLERS

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

More information

HVW Technologies Analog Infra-Red Ranging System (AIRRS )

HVW Technologies Analog Infra-Red Ranging System (AIRRS ) HVW Technologies Analog Infra-Red Ranging System (AIRRS ) Overview AIRRS is a low-cost, short-range Infra-Red (IR) alternative to ultrasonic range-finding systems. Usable detection range is 10 cm to 80

More information

CONSTRUCTION GUIDE IR Alarm. Robobox. Level I

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

More information

ASCOM EF Lens Controller

ASCOM EF Lens Controller ASCOM EF Lens Controller ASCOM EF Lens Controller control unit for Canon EF/EF-S lenses. It allows you to control lens using the ASCOM platform tools. Features (supported by driver): focus control; aperture

More information

Basic Microprocessor Interfacing Trainer Lab Manual

Basic Microprocessor Interfacing Trainer Lab Manual Basic Microprocessor Interfacing Trainer Lab Manual Control Inputs Microprocessor Data Inputs ff Control Unit '0' Datapath MUX Nextstate Logic State Memory Register Output Logic Control Signals ALU ff

More information

Pulse Sensor Individual Progress Report

Pulse Sensor Individual Progress Report Pulse Sensor Individual Progress Report TA: Kevin Chen ECE 445 March 31, 2015 Name: Ying Wang NETID: ywang360 I. Overview 1. Objective This project intends to realize a device that can read the human pulse

More information

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

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

More information

HC-SR501 Passive Infrared (PIR) Motion Sensor

HC-SR501 Passive Infrared (PIR) Motion Sensor Handson Technology User Guide HC-SR501 Passive Infrared (PIR) Motion Sensor This motion sensor module uses the LHI778 Passive Infrared Sensor and the BISS0001 IC to control how motion is detected. The

More information

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

ESE 150 Lab 04: The Discrete Fourier Transform (DFT) LAB 04 In this lab we will do the following: 1. Use Matlab to perform the Fourier Transform on sampled data in the time domain, converting it to the frequency domain 2. Add two sinewaves together of differing

More information

AN ARDUINO CONTROLLED CHAOTIC PENDULUM FOR A REMOTE PHYSICS LABORATORY

AN ARDUINO CONTROLLED CHAOTIC PENDULUM FOR A REMOTE PHYSICS LABORATORY AN ARDUINO CONTROLLED CHAOTIC PENDULUM FOR A REMOTE PHYSICS LABORATORY J. C. Álvarez, J. Lamas, A. J. López, A. Ramil Universidade da Coruña (SPAIN) carlos.alvarez@udc.es, jlamas@udc.es, ana.xesus.lopez@udc.es,

More information

1Getting Started SIK BINDER //3

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

More information

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

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

More information

INTRODUCTION to MICRO-CONTROLLERS

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

More information

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

Application Note. Communication between arduino and IMU Software capturing the data Application Note Communication between arduino and IMU Software capturing the data ECE 480 Team 8 Chenli Yuan Presentation Prep Date: April 8, 2013 Executive Summary In summary, this application note is

More information

Adafruit 16-Channel Servo Driver with Arduino

Adafruit 16-Channel Servo Driver with Arduino Adafruit 16-Channel Servo Driver with Arduino Created by Bill Earl Last updated on 2017-11-26 09:41:23 PM UTC Guide Contents Guide Contents Overview Assembly Install the Servo Headers Solder all pins Add

More information

Security in a Radio Controlled Remote Switch

Security in a Radio Controlled Remote Switch Security in a Radio Controlled Remote Switch Project 3, EDA625 Security, 2017 Ben Smeets Dept. of Electrical and Information Technology, Lund University, Sweden Last revised by Adnan Mehmedagic on 2017-02-14

More information

Lab 13: Microcontrollers II

Lab 13: Microcontrollers II Lab 13: Microcontrollers II You will turn in this lab report at the end of lab. Be sure to bring a printed coverpage to attach to your report. Prelab Watch this video on DACs https://www.youtube.com/watch?v=b-vug7h0lpe.

More information

Walle. Members: Sebastian Hening. Amir Pourshafiee. Behnam Zohoor CMPE 118/L. Introduction to Mechatronics. Professor: Gabriel H.

Walle. Members: Sebastian Hening. Amir Pourshafiee. Behnam Zohoor CMPE 118/L. Introduction to Mechatronics. Professor: Gabriel H. Walle Members: Sebastian Hening Amir Pourshafiee Behnam Zohoor CMPE 118/L Introduction to Mechatronics Professor: Gabriel H. Elkaim March 19, 2012 Page 2 Introduction: In this report, we will explain the

More information

S AMPLE CHAPTER IN ACTION. Martin Evans Joshua Noble Jordan Hochenbaum MANNING

S AMPLE CHAPTER IN ACTION. Martin Evans Joshua Noble Jordan Hochenbaum MANNING S AMPLE CHAPTER IN ACTION Martin Evans Joshua Noble Jordan Hochenbaum MANNING Arduino in Action by Martin Evans Joshua Noble Jordan Hochenbaum Chapter 6 Copyright 2013 Manning Publications brief contents

More information

LAB PROJECT 2. Lab Exercise

LAB PROJECT 2. Lab Exercise LAB PROJECT 2 Objective Investigate photoresistors, infrared light emitting diodes (IRLED), phototransistors, and fiber optic cable. Type a semi-formal lab report as described in the lab manual. Use tables

More information

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

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

More information

1 Lab + Hwk 4: Introduction to the e-puck Robot

1 Lab + Hwk 4: Introduction to the e-puck Robot 1 Lab + Hwk 4: Introduction to the e-puck Robot This laboratory requires the following: (The development tools are already installed on the DISAL virtual machine (Ubuntu Linux) in GR B0 01): C development

More information

Capacitive Touch with Conductive Fabric & Flora

Capacitive Touch with Conductive Fabric & Flora Capacitive Touch with Conductive Fabric & Flora Created by Becky Stern Last updated on 2015-02-20 01:17:52 PM EST Guide Contents Guide Contents Overview Tools & supplies Wiring the circuit Code Adding

More information

Distance Measurement of an Object by using Ultrasonic Sensors with Arduino and GSM Module

Distance Measurement of an Object by using Ultrasonic Sensors with Arduino and GSM Module IJSTE - International Journal of Science Technology & Engineering Volume 4 Issue 11 May 2018 ISSN (online): 2349-784X Distance Measurement of an Object by using Ultrasonic Sensors with Arduino and GSM

More information

AS726X NIR/VIS Spectral Sensor Hookup Guide

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

More information

Arduino Hacking Village THOTCON 0x9

Arduino Hacking Village THOTCON 0x9 RFID Lock Analysis Lab Use an Oscilloscope to view RFID transponder signals Use an Arduino to capture and decode transponder signals Use Arduino to spoof a transponder Lab time: 10 minutes Lab 1: Viewing

More information

INTRODUCTION to MICRO-CONTROLLERS

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

More information

EE 221 L CIRCUIT II LABORATORY 4: AC CIRCUITS, CAPACITORS AND INDUCTORS UNIVERSITY OF NEVADA, LAS VEGAS OBJECTIVE COMPONENTS & EQUIPMENT BACKGROUND

EE 221 L CIRCUIT II LABORATORY 4: AC CIRCUITS, CAPACITORS AND INDUCTORS UNIVERSITY OF NEVADA, LAS VEGAS OBJECTIVE COMPONENTS & EQUIPMENT BACKGROUND EE 221 L CIRCUIT II LABORATORY 4: AC CIRCUITS, CAPACITORS AND INDUCTORS DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS OBJECTIVE Compare the difference between DC and

More information

PIR Motion Detector Experiment. In today s crime infested society, security systems have become a much more

PIR Motion Detector Experiment. In today s crime infested society, security systems have become a much more PIR Motion Detector Experiment I. Rationale In today s crime infested society, security systems have become a much more necessary and sought out addition to homes or stores. Motion detectors provide a

More information

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory Electronics Design Laboratory Lecture #10 Electronics Design Laboratory 1 Lessons from Experiment 4 Code debugging: use print statements and serial monitor window Circuit debugging: Re check operation

More information

Arduino Control of Tetrix Prizm Robotics. Motors and Servos Introduction to Robotics and Engineering Marist School

Arduino Control of Tetrix Prizm Robotics. Motors and Servos Introduction to Robotics and Engineering Marist School Arduino Control of Tetrix Prizm Robotics Motors and Servos Introduction to Robotics and Engineering Marist School Motor or Servo? Motor Faster revolution but less Power Tetrix 12 Volt DC motors have a

More information

Marine Debris Cleaner Phase 1 Navigation

Marine Debris Cleaner Phase 1 Navigation Southeastern Louisiana University Marine Debris Cleaner Phase 1 Navigation Submitted as partial fulfillment for the senior design project By Ryan Fabre & Brock Dickinson ET 494 Advisor: Dr. Ahmad Fayed

More information