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

Size: px
Start display at page:

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

Transcription

1 Experiment 4.B Position Control Electronics Design Laboratory 1

2 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 Design Laboratory 2

3 Experiment 4 B.1 Read Encoder with Arduino Connect the encoder output from both of your motors to the Arduino. A recommended wiring diagram is seen below. Place a 1kΩ resistor in series between the encoder and the Arduino Write a program that will count encoder pulses. You may reuse some of code from the examples posted online. Have both the left and the right wheel encoder counts printed out to the serial console using the following format for the left count, right count, and the count difference: >LEFT: #### RIGHT:#### DIFF ### Have Arduino reset the encoder counts, and then run both wheels at half speed for 1s. In your report, comment on why the left and right encoder counts are not the same. Note: the robot wheel radius is r = 6.5 cm Recommended Pin Connections Electronics Design Laboratory 3

4 Experiment 4 B.2 Position Control by Counting Encoder Pulses Using the example code on the course website, implement position control for your robot. When completed, you should be able to precisely control the distance your robot travels. It is recommended that you split this program into multiple functions. These functions may include int forward( char distance, char speed); int reverse( char distance, char speed); int turn_left( char degrees, char speed); int turn_right( char degrees, char speed); Modify your main loop function to have the robot preform the following tasks Stop, wait for the switch to be in the ON position Wait 1 second 180 o clockwise rotation of the robot 180 o counter clockwise rotation of the robot In the report: Include a copy of your code Comment on the position accuracy achieved, and how fast your robot could accomplish the positioning task Electronics Design Laboratory 4

5 Experiment 4 B.3 Demo Setup Show how the robot powered from 2 battery packs in series (approximately 10 V) can accomplish the specified Part B.2 positioning task: Stop, wait for the switch to be in the ON position Wait 1 second 180 o clockwise rotation of the robot 180 o counter clockwise rotation of the robot Accuracy: the robot should come back to the starting position Show your position control program Show complete speed control circuit, and complete LTspice diagram of your speed control circuit Answer questions related to your position control code and speed control circuit This Lab includes an extra credit opportunity: see next page Note: the robot wheel radius is r = 6.5 cm, each encoder pulse corresponds to approximately 0.53 mm distance traveled Electronics Design Laboratory 5

6 Experiment 4, B.4 Extra Credit The groups whose robot accurately completes the following tasks will be eligible for extra credit Robots will start centered on a floor intersection facing north From the starting position, robot must perform the following moves, as shown on the diagram: Move forward one square north Turn 90 o CC Move forward two squares west Turn 90 o CW Move forward one square north Turn 90 o CW Move forward one square east Turn 90 o CW Move forward two squares south Turn 90 o CC Move forward one square east Turn 90 o CC and stop At the end, the robot should ideally be in the starting position. Accuracy requirements: Robot platform must always cover a portion of the floor line along the route shown in the diagram In the end position, both wheel axis tips must be within +/ 5cm (+/ 2 ) of the southern horizontal floor line, and the caster wheel must be within +/ 5cm (+/ 2 ) of the eastern vertical floor line W N S E The robot wheel radius is r = 6.5 cm START and END Caster wheel 39.5 = 100 cm Electronics Design Laboratory 6

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

Electronics Design Laboratory Lecture #9. ECEN 2270 Electronics Design Laboratory Electronics Design Laboratory Lecture #9 Electronics Design Laboratory 1 Notes Finishing Lab 4 this week Demo requires position control using interrupts and two actions Rotate a given angle Move forward

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

Electronics Design Laboratory Lecture #6. ECEN2270 Electronics Design Laboratory

Electronics Design Laboratory Lecture #6. ECEN2270 Electronics Design Laboratory Electronics Design Laboratory Lecture #6 Electronics Design Laboratory 1 Soldering tips ECEN 227 Electronics Design Laboratory 2 Introduction to Lab 3 Part B: Closed-Loop Speed Control -1V Experiment 3A

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

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

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

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

Experiment (2) DC Motor Control (Direction and Speed)

Experiment (2) DC Motor Control (Direction and Speed) Introduction Experiment (2) DC Motor Control (Direction and Speed) Controlling direction and speed of DC motor is very essential in many applications like: 1- Robotic application to change direction and

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

Internet of Things Student STEM Project Jackson High School. Lesson 3: Arduino Solar Tracker

Internet of Things Student STEM Project Jackson High School. Lesson 3: Arduino Solar Tracker Internet of Things Student STEM Project Jackson High School Lesson 3: Arduino Solar Tracker Lesson 3 Arduino Solar Tracker Time to complete Lesson 60-minute class period Learning objectives Students learn

More information

EECS 318 Electronics Lab Laboratory #2 Electronic Test Equipment

EECS 318 Electronics Lab Laboratory #2 Electronic Test Equipment EECS 318 Electronics Lab Laboratory #2 Electronic Test Equipment Objectives: The purpose of this laboratory is to acquaint you with the electronic sources and measuring equipment you will be using throughout

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

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

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

Lab 1: Testing and Measurement on the r-one

Lab 1: Testing and Measurement on the r-one Lab 1: Testing and Measurement on the r-one Note: This lab is not graded. However, we will discuss the results in class, and think just how embarrassing it will be for me to call on you and you don t have

More information

EECS 473 Final Exam. Fall 2017 NOTES: I have neither given nor received aid on this exam nor observed anyone else doing so. Name: unique name:

EECS 473 Final Exam. Fall 2017 NOTES: I have neither given nor received aid on this exam nor observed anyone else doing so. Name: unique name: EECS 473 Final Exam Fall 2017 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. NOTES: 1. Closed book and Closed notes 2. Do

More information

MASTER SHIFU. STUDENT NAME: Vikramadityan. M ROBOT NAME: Master Shifu COURSE NAME: Intelligent Machine Design Lab

MASTER SHIFU. STUDENT NAME: Vikramadityan. M ROBOT NAME: Master Shifu COURSE NAME: Intelligent Machine Design Lab MASTER SHIFU STUDENT NAME: Vikramadityan. M ROBOT NAME: Master Shifu COURSE NAME: Intelligent Machine Design Lab COURSE NUMBER: EEL 5666C TA: Andy Gray, Nick Cox INSTRUCTORS: Dr. A. Antonio Arroyo, Dr.

More information

Two Hour Robot. Lets build a Robot.

Two Hour Robot. Lets build a Robot. Lets build a Robot. Our robot will use an ultrasonic sensor and servos to navigate it s way around a maze. We will be making 2 voltage circuits : A 5 Volt for our ultrasonic sensor, sound and lights powered

More information

MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits

MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits PH-315 MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits Portland State University Summary Four sequential digital waveforms are used to control a stepper motor. The main objective

More information

Parts to be supplied by the student: Breadboard and wires IRLZ34N N-channel enhancement-mode power MOSFET transistor

Parts to be supplied by the student: Breadboard and wires IRLZ34N N-channel enhancement-mode power MOSFET transistor University of Utah Electrical & Computer Engineering Department ECE 1250 Lab 3 Electronic Speed Control and Pulse Width Modulation A. Stolp, 12/31/12 Rev. Objectives 1 Introduce the Oscilloscope and learn

More information

the Board of Education

the Board of Education the Board of Education Voltage regulator electrical power (V dd, V in, V ss ) breadboard (for building circuits) power jack digital input / output pins 0 to 15 reset button Three-position switch 0 = OFF

More information

Motors and Servos Part 2: DC Motors

Motors and Servos Part 2: DC Motors Motors and Servos Part 2: DC Motors Back to Motors After a brief excursion into serial communication last week, we are returning to DC motors this week. As you recall, we have already worked with servos

More information

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Ahmed Okasha, Assistant Lecturer okasha1st@gmail.com Objective Have a

More information

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

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

More information

DC motor control using arduino

DC motor control using arduino DC motor control using arduino 1) Introduction: First we need to differentiate between DC motor and DC generator and where we can use it in this experiment. What is the main different between the DC-motor,

More information

Roborodentia Robot: Tektronix. Sean Yap Advisor: John Seng California Polytechnic State University, San Luis Obispo June 8th, 2016

Roborodentia Robot: Tektronix. Sean Yap Advisor: John Seng California Polytechnic State University, San Luis Obispo June 8th, 2016 Roborodentia Robot: Tektronix Sean Yap Advisor: John Seng California Polytechnic State University, San Luis Obispo June 8th, 2016 Table of Contents Introduction... 2 Problem Statement... 2 Software...

More information

Embedded Systems and Software. Rotary Pulse Generators

Embedded Systems and Software. Rotary Pulse Generators Embedded Systems and Software Rotary Pulse Generators Slide 1 What Is An RPG? RPG = Rocket Propelled Grenade RPG = Rotary Pulse Generator Slide 2 Rotary Encoders Switch Switch Output Quadrature output

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

Experiment 5.A. Basic Wireless Control. ECEN 2270 Electronics Design Laboratory 1

Experiment 5.A. Basic Wireless Control. ECEN 2270 Electronics Design Laboratory 1 .A Basic Wireless Control ECEN 2270 Electronics Design Laboratory 1 Procedures 5.A.0 5.A.1 5.A.2 5.A.3 5.A.4 5.A.5 5.A.6 Turn in your pre lab before doing anything else. Receiver design band pass filter

More information

Pulse Width Modulation and

Pulse Width Modulation and Pulse Width Modulation and analogwrite ( ); 28 Materials needed to wire one LED. Odyssey Board 1 dowel Socket block Wire clip (optional) 1 Female to Female (F/F) wire 1 F/F resistor wire LED Note: The

More information

Lab 5: Inverted Pendulum PID Control

Lab 5: Inverted Pendulum PID Control Lab 5: Inverted Pendulum PID Control In this lab we will be learning about PID (Proportional Integral Derivative) control and using it to keep an inverted pendulum system upright. We chose an inverted

More information

EDC Quick Start Guide

EDC Quick Start Guide EDC Quick Start Guide BASIC FUNCTIONS This guide will familiarize the user with the basic functions of the EDC Servo Drive and assist with start up. The guide will cover the following: 1. Restoring Parameters

More information

Sensor and. Motor Control Lab. Abhishek Bhatia. Individual Lab Report #1

Sensor and. Motor Control Lab. Abhishek Bhatia. Individual Lab Report #1 Sensor and 10/16/2015 Motor Control Lab Individual Lab Report #1 Abhishek Bhatia Team D: Team HARP (Human Assistive Robotic Picker) Teammates: Alex Brinkman, Feroze Naina, Lekha Mohan, Rick Shanor I. Individual

More information

EXPERIMENT 1 INTRODUCTION TO LABORATORY INSTRUMENTS

EXPERIMENT 1 INTRODUCTION TO LABORATORY INSTRUMENTS EXPERIMENT 1 INTRODUCTION TO LABORATORY INSTRUMENTS 1.1 Objective: In this experiment, multimeters and some circuit components are introduced. You will learn the following things: i. Reading the color

More information

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech Computational Crafting with Arduino Christopher Michaud Marist School ECEP Programs, Georgia Tech Introduction What do you want to learn and do today? Goals with Arduino / Computational Crafting Purpose

More information

CONSTRUCTION GUIDE Robotic Arm. Robobox. Level II

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

More information

SPIDA SAW OPERATIONS MANUAL

SPIDA SAW OPERATIONS MANUAL SPIDA SAW OPERATIONS MANUAL CM SERIAL NUMBER. OCTOBER 2000 CONTENTS Page description 1.) Contents 2.) Safety First 3.) CM Overview 4.) CM Specifications 5.) CM Installation 6.) CM Operation Setting the

More information

V-MOTION LITE USER GUIDE. Rat Rig All rights reserved.

V-MOTION LITE USER GUIDE. Rat Rig All rights reserved. V-MOTION LITE USER GUIDE Rat Rig 2017. All rights reserved. PACKAGE CONTENTS 1 1x V-Motion Motor 2 1x Belt 3 1x 3mm Hex Key 4 1x AA Battery Pack (for 8x AA batteries)* 5 1x V-Motion Controller 6 2x Knob

More information

Simple Servo USER Instructions

Simple Servo USER Instructions Simple Servo USER Instructions Version 1V2 Copyright 2003-2007 Active Robots Limited 10A New Rock Ind. Est., Newrock, Chilcompton, Somerset BA3 4JE UK Tel: +44(0)1761 239 267 Fax: +44(0)176 123 3162 www.active-robots.com

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

Using Servos with an Arduino

Using Servos with an Arduino Using Servos with an Arduino ME 120 Mechanical and Materials Engineering Portland State University http://web.cecs.pdx.edu/~me120 Learning Objectives Be able to identify characteristics that distinguish

More information

Parts List. Robotic Arm segments ¼ inch screws Cable XBEE module or Wifi module

Parts List. Robotic Arm segments ¼ inch screws Cable XBEE module or Wifi module Robotic Arm 1 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and documentation. There is a 90 day warranty for the Sten-Bot kit against component defects.

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

RC Servo Interface. Figure Bipolar amplifier connected to a large DC motor

RC Servo Interface. Figure Bipolar amplifier connected to a large DC motor The bipolar amplifier is well suited for controlling motors for vehicle propulsion. Figure 12-45 shows a good-sized 24VDC motor that runs nicely on 13.8V from a lead acid battery based power supply. You

More information

The Motor sketch. One Direction ON-OFF DC Motor

The Motor sketch. One Direction ON-OFF DC Motor One Direction ON-OFF DC Motor The DC motor in your Arduino kit is the most basic of electric motors and is used in all types of hobby electronics. When current is passed through, it spins continuously

More information

Warm-Up. Complete the second homework worksheet (the one you didn t do yesterday). Please begin working on FBF010 and FBF011.

Warm-Up. Complete the second homework worksheet (the one you didn t do yesterday). Please begin working on FBF010 and FBF011. Warm-Up Complete the second homework worksheet (the one you didn t do yesterday). Please begin working on FBF010 and FBF011. You have 20 minutes at the beginning of class to work on these three tasks.

More information

Quadro University Of Florida Department of Electrical and Computer Engineering Intelligent Machines Design Laboratory

Quadro University Of Florida Department of Electrical and Computer Engineering Intelligent Machines Design Laboratory Quadro University Of Florida Department of Electrical and Computer Engineering Intelligent Machines Design Laboratory Jeffrey Van Anda 4/28/97 Dr. Keith L. Doty TABLE OF CONTENTS ABSTRACT...3 EXECUTIVE

More information

Machine Intelligence Laboratory

Machine Intelligence Laboratory Introduction Robot Control There is a nice review of the issues in robot control in the 6270 Manual Robots get stuck against obstacles, walls and other robots. Why? Is it mechanical or electronic or sensor

More information

Boe-Bot robot manual

Boe-Bot robot manual Tallinn University of Technology Department of Computer Engineering Chair of Digital Systems Design Boe-Bot robot manual Priit Ruberg Erko Peterson Keijo Lass Tallinn 2016 Contents 1 Robot hardware description...3

More information

Experiment 9 : Pulse Width Modulation

Experiment 9 : Pulse Width Modulation Name/NetID: Experiment 9 : Pulse Width Modulation Laboratory Outline In experiment 5 we learned how to control the speed of a DC motor using a variable resistor. This week, we will learn an alternative

More information

Activity Instructions - Classroom Wind Farm

Activity Instructions - Classroom Wind Farm Wind Power - Classroom Wind Farm Activity Instructions - Classroom Wind Farm The purpose of this activity is for students to build their own windmill generator, which will then be one unit of the classroom

More information

PACIFIC LASER SYSTEMS. HVL100 Procedures

PACIFIC LASER SYSTEMS. HVL100 Procedures PACIFIC LASER SYSTEMS HVL100 Procedures A. Setting Up for Level Calibration of Horizontal Lines, Plumb and Down pg. 2 B. Setting Up for Vertical Line Calibration pg. 4 C. Setting Up for Square Calibration

More information

80 ` AutoCAD 2D I. Module 7. Drawing Lines Using Polar Coordinates PREPARED BY. IAT Curriculum Unit. February 2011

80 ` AutoCAD 2D I. Module 7. Drawing Lines Using Polar Coordinates PREPARED BY. IAT Curriculum Unit. February 2011 80 ` AutoCAD 2D I Module 7 Drawing Lines Using Polar Coordinates PREPARED BY IAT Curriculum Unit February 2011 Institute of Applied Technology, 2011 Module 7 Auto CAD Self-paced Learning Modules AutoCAD

More information

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK Team Members: Andrew Blanford Matthew Drummond Krishnaveni Das Dheeraj Reddy 1 Abstract: The goal of the project was to build an interactive and mobile

More information

CHAPTER 6. Motor Driver

CHAPTER 6. Motor Driver CHAPTER 6 Motor Driver In this lab, we will construct the circuitry that your robot uses to drive its motors. However, before testing the motor circuit we will begin by making sure that you are able to

More information

Programming Design ROBOTC Software

Programming Design ROBOTC Software Programming Design ROBOTC Software Computer Integrated Manufacturing 2013 Project Lead The Way, Inc. Behavior-Based Programming A behavior is anything your robot does Example: Turn on a single motor or

More information

Laboratory 2 More Resistor Networks and Potentiometers.

Laboratory 2 More Resistor Networks and Potentiometers. Laboratory More Resistor Networks and Potentiometers. Introduction Laboratory page of 5 This is a relatively short laboratory, because you will also be assembling your Micro-BLIP, a customized device based

More information

Lab 10. Magnetic-Levitation Controller

Lab 10. Magnetic-Levitation Controller Lab 10. Magnetic-Levitation Controller INTRODUCTION In this lab you will build a 5 op-amp module magnetic levitation controller. Many ideas and concepts from previous labs will be incorporated in this

More information

Başkent University Department of Electrical and Electronics Engineering EEM 214 Electronics I Experiment 8. Bipolar Junction Transistor

Başkent University Department of Electrical and Electronics Engineering EEM 214 Electronics I Experiment 8. Bipolar Junction Transistor Başkent University Department of Electrical and Electronics Engineering EEM 214 Electronics I Experiment 8 Bipolar Junction Transistor Aim: The aim of this experiment is to investigate the DC behavior

More information

PWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness

PWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness PWM CONTROL USING ARDUINO Learn to Control DC Motor Speed and LED Brightness In this article we explain how to do PWM (Pulse Width Modulation) control using arduino. If you are new to electronics, we have

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

Persistence of Vision LED Sphere

Persistence of Vision LED Sphere Persistence of Vision LED Sphere Project Proposal ECE 445 February 10, 2016 TA: Vivian Hou Michael Ling Li Quan 1 Table of Contents 1.0 Introduction... 3 1.1 Purpose and Motivation:... 3 1.2 Objectives:...

More information

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY Objectives Preparation Tools To see the inner workings of a commercial mechatronic system and to construct a simple manual motor speed controller and current

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

Part of: Inquiry Science with Dartmouth

Part of: Inquiry Science with Dartmouth Curriculum Guide Part of: Inquiry Science with Dartmouth Developed by: David Qian, MD/PhD Candidate Department of Biomedical Data Science Overview Using existing knowledge of computer science, students

More information

6.1 - Introduction to Periodic Functions

6.1 - Introduction to Periodic Functions 6.1 - Introduction to Periodic Functions Periodic Functions: Period, Midline, and Amplitude In general: A function f is periodic if its values repeat at regular intervals. Graphically, this means that

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

DCS Series Brush DC Servo Drive. Datasheet

DCS Series Brush DC Servo Drive. Datasheet DCS Series Brush DC Servo Drive Datasheet Version DCS-2014-01 http://www.primopal.com DCS series Brush DC Servo Drives Description PrimoPal s DCS series Brush DC Servo Drive are fully digital brushed servo

More information

Exercise 3-3. Manual Reversing Starters EXERCISE OBJECTIVE DISCUSSION. Build manual reversing starters and understand how they work.

Exercise 3-3. Manual Reversing Starters EXERCISE OBJECTIVE DISCUSSION. Build manual reversing starters and understand how they work. Exercise 3-3 Manual Reversing Starters EXERCISE OBJECTIVE Build manual reversing starters and understand how they work. DISCUSSION Reversing motor rotation direction is a common operation in industrial

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

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor Recommended Due Date: By your lab time the week of February 12 th Possible Points: If checked off before

More information

LED + Servo 2 devices, 1 Arduino

LED + Servo 2 devices, 1 Arduino LED + Servo 2 devices, 1 Arduino Learn to connect and write code to control both a Servo and an LED at the same time. Many students who come through the lab ask if they can use both an LED and a Servo

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

Learning Objectives. References 10/26/11. Using servos with an Arduino. EAS 199A Fall 2011

Learning Objectives. References 10/26/11. Using servos with an Arduino. EAS 199A Fall 2011 Using servos with an Arduino EAS 199A Fall 2011 Learning Objectives Be able to identify characteristics that distinguish a servo and a DC motor Be able to describe the difference a conventional servo and

More information

Experiment P48: Transistor Lab 1 The NPN Transistor as a Digital Switch (Power Amplifier, Voltage Sensor)

Experiment P48: Transistor Lab 1 The NPN Transistor as a Digital Switch (Power Amplifier, Voltage Sensor) PASCO scientific Vol. 2 Physics Lab Manual: P48-1 Experiment P48: Transistor Lab 1 The NPN Transistor as a Digital Switch (Power Amplifier, Voltage Sensor) Concept Time SW Interface Macintosh file Windows

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

Unit 4: Robot Chassis Construction

Unit 4: Robot Chassis Construction Unit 4: Robot Chassis Construction Unit 4: Teacher s Guide Lesson Overview: Paul s robotic assistant needs to operate in a real environment. The size, scale, and capabilities of the TETRIX materials are

More information

Students will design, program, and build a robot vehicle to traverse a maze in 30 seconds without touching any sidewalls or going out of bounds.

Students will design, program, and build a robot vehicle to traverse a maze in 30 seconds without touching any sidewalls or going out of bounds. Overview Challenge Students will design, program, and build a robot vehicle to traverse a maze in 30 seconds without touching any sidewalls or going out of bounds. Materials Needed One of these sets: TETRIX

More information

Voltage Dividers a learn.sparkfun.com tutorial

Voltage Dividers a learn.sparkfun.com tutorial Voltage Dividers a learn.sparkfun.com tutorial Available online at: http://sfe.io/t44 Contents Introduction Ideal Voltage Divider Applications Extra Credit: Proof Resources and Going Further Introduction

More information

ARDUINO BASED DC MOTOR SPEED CONTROL

ARDUINO BASED DC MOTOR SPEED CONTROL ARDUINO BASED DC MOTOR SPEED CONTROL Student of Electrical Engineering Department 1.Hirdesh Kr. Saini 2.Shahid Firoz 3.Ashutosh Pandey Abstract The Uno is a microcontroller board based on the ATmega328P.

More information

User Interface Engineering FS 2013

User Interface Engineering FS 2013 User Interface Engineering FS 2013 Input Fundamentals 23.09.2013 1 Last Week Brief Overview of HCI as a discipline History of the UI Product perspective Research perspective Overview of own research as

More information

HB-25 Motor Controller (#29144)

HB-25 Motor Controller (#29144) Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

Lab 06: Ohm s Law and Servo Motor Control

Lab 06: Ohm s Law and Servo Motor Control CS281: Computer Systems Lab 06: Ohm s Law and Servo Motor Control The main purpose of this lab is to build a servo motor control circuit. As with prior labs, there will be some exploratory sections designed

More information

Project 27 Joystick Servo Control

Project 27 Joystick Servo Control Project 27 Joystick Servo Control For another simple project, let s use a joystick to control the two servos. You ll arrange the servos in such a way that you get a pan-tilt head, such as is used for CCTV

More information

APSC 150 Project: Remotely Controlled Satellite Launcher Design [Feb.2015]

APSC 150 Project: Remotely Controlled Satellite Launcher Design [Feb.2015] APSC 150 Project: Remotely Controlled Satellite Launcher Design [Feb.2015] Summary Through the course of 4 lab components (Lab 2-2, 2-3, 2-4, and 2-5) you will be given the opportunity to work as a group

More information

Photo/Image Controls

Photo/Image Controls Table of Contents Introduction... 2 Using Image Controls... 2 Using the Image Editor... 3 19 July 2017 TIP-2017-092 1 Introduction The Edge s photo controls now include image editing options. This document

More information

TETRIX PULSE Workshop Guide

TETRIX PULSE Workshop Guide TETRIX PULSE Workshop Guide 44512 1 Who Are We and Why Are We Here? Who is Pitsco? Pitsco s unwavering focus on innovative educational solutions and unparalleled customer service began when the company

More information

Quantizer step: volts Input Voltage [V]

Quantizer step: volts Input Voltage [V] EE 101 Fall 2008 Date: Lab Section # Lab #8 Name: A/D Converter and ECEbot Power Abstract Partner: Autonomous robots need to have a means to sense the world around them. For example, the bumper switches

More information

Robot Control. Robot Control

Robot Control. Robot Control Robot Control Introduction There is a nice review of the issues in robot control in the 6270 Manual Robots get stuck against obstacles, walls and other robots. Why? Is it mechanical or electronic or sensor

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

Capstone Python Project Features CSSE 120, Introduction to Software Development

Capstone Python Project Features CSSE 120, Introduction to Software Development Capstone Python Project Features CSSE 120, Introduction to Software Development General instructions: The following assumes a 3-person team. If you are a 2-person or 4-person team, see your instructor

More information

Advanced Mechatronics 1 st Mini Project. Remote Control Car. Jose Antonio De Gracia Gómez, Amartya Barua March, 25 th 2014

Advanced Mechatronics 1 st Mini Project. Remote Control Car. Jose Antonio De Gracia Gómez, Amartya Barua March, 25 th 2014 Advanced Mechatronics 1 st Mini Project Remote Control Car Jose Antonio De Gracia Gómez, Amartya Barua March, 25 th 2014 Remote Control Car Manual Control with the remote and direction buttons Automatic

More information

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

Electronics Design Laboratory Lecture #4. ECEN 2270 Electronics Design Laboratory Electronics Design Laboratory Lecture #4 Electronics Design Laboratory 1 Part A Experiment 2 Robot DC Motor Measure DC motor characteristics Develop a Spice circuit model for the DC motor and determine

More information

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

ME 461 Laboratory #5 Characterization and Control of PMDC Motors ME 461 Laboratory #5 Characterization and Control of PMDC Motors Goals: 1. Build an op-amp circuit and use it to scale and shift an analog voltage. 2. Calibrate a tachometer and use it to determine motor

More information

Programming Design. ROBOTC Software

Programming Design. ROBOTC Software Programming Design ROBOTC Software Behavior-Based Programming A behavior is anything your robot does Turning on a single motor or servo Three main types of behaviors 1. Complex behaviors Robot performs

More information

Lab 8: Introduction to the e-puck Robot

Lab 8: Introduction to the e-puck Robot Lab 8: Introduction to the e-puck Robot This laboratory requires the following equipment: C development tools (gcc, make, etc.) C30 programming tools for the e-puck robot The development tree which is

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

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

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

More information

Lesson 2 Bluetooth Car

Lesson 2 Bluetooth Car Lesson 2 Bluetooth Car Points of this section It is very important and so cool to control your car wirelessly in a certain space when we learn the Arduino, so in the lesson, we will teach you how to control

More information

A Do-and-See Approach for Learning Mechatronics Concepts

A Do-and-See Approach for Learning Mechatronics Concepts Proceedings of the 5 th International Conference of Control, Dynamic Systems, and Robotics (CDSR'18) Niagara Falls, Canada June 7 9, 2018 Paper No. 124 DOI: 10.11159/cdsr18.124 A Do-and-See Approach for

More information