Communicating with the BOE-BOT

Similar documents
Tutorial: Robotics with Boe-Bot and PBASIC

ENGR PBASIC programming

Board Of Education USB (#28850)

Experiment 4.A. Speed and Position Control. ECEN 2270 Electronics Design Laboratory 1

Chapter 1: Your Boe-Bot s Brain

Light Sensors. Measuring Light. The Phototransistor. Discharge Times. Measuring Light. Chapter 7: Measuring Light

BASIC Stamp 1 Project Board (#27112) Development / Education Platform for the BASIC Stamp 1

Microcontrollers. What is a Microcontroller. Setting up. Sample First Programs ASCII. Characteristics Basic Stamp 2 the controller in the Boe Bot

Web Site: Forums: forums.parallax.com Sales: Technical:

Web Site: Forums: forums.parallax.com Sales: Technical:

ME456: Mechatronics. Prof. Clark Radcliffe. Do you have the knack? Joonho Lee, TA. What s Mechatronics? Mechatronics

Propeller Proto Board (#32212) Propeller Proto Board USB (#32812) Proto Board Accessory Kit (# )

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

Omni-Directional Vision System for Mobile Robots Biweekly Report

Halloween Pumpkinusing. Wednesday, October 17, 12

Web Site: Forums: forums.parallax.com Sales: Technical:

Lab1: Introductory and Setup Activities

Prop-1 Controller PN: 31101

StenBOT Robot Kit. Stensat Group LLC, Copyright 2018

Parallax Say It Module (#30080)

Physics 430 Laboratory Manual Rev.: 2004 Sept. 29

1. What is the name of the control unit in Robotics? a. R2D2 b. MSN c. Pilot d. XJ7 e. RCX

Micro-Controllers. Module 2: Outputs Control and Inputs Monitoring. IAT Curriculum Unit PREPARED BY. August 2008

Lab Establishing a Console Connection to a Router or Switch Instructor Version

Prop-2 Controller PN: 31102

Memsic 2125 Accelerometer Demo Kit (#28017) Tilt and Rotation Measurement

Agreement. Objectives. General Guidelines for Labs. Reading Assignment

Parallax Serial LCD 2 rows x 16 characters Non-backlit (#27976) 2 rows x 16 characters Backlit (#27977) 4 rows x 20 characters Backlit (#27979)

Parallax Serial LCD 2 rows x 16 characters Non-backlit (#27976) 2 rows x 16 characters Backlit (#27977)

Problem Score 1 / 27 2 / 19 3 / 16 4 / 14 code check off 5 / 22 /2 Total /100

Scientific Computing: Lecture 1

Introduction to the SX Microcontroller

EECS 388 Laboratory Exercise #03 Button Input and Serial Communication September 16, 2018 Gary J. Minden

More Skills 11 Capture a Screen with the Snipping Tool

Prop-1 Programming Basics

CSCE 436/836: Embedded Systems Lab 1b: Hoverboard Programming Introduction

Welcome. Orientation to online CPS102 Computer Science 2 (Java 2)

Getting Started Manual for CODIBOT

RBT-225 Lab #2 Basic Stamp Relays August 14, 2016

KTX PC User Manual. KumoTeck 06/25/2010. Tech Support. Masahiro Ishida

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

Propeller Board of Education (#32900)

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process

Parallax Audio Amplifier AppMod (#29143)

ACKNOWLEDGEMENT. Sagar Agrawal Parikshit jha Apar Sinha Gaurav Chauhan

ME2110: Creative Decisions and Design Electromechanical and Pneumatic Kit Manual

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

Arduino Micro Breadboard Laboratory Interface Processor (Micro BLIP) User Manual

Laboratory: Introduction to Mechatronics. Instructor TA: Edgar Martinez Soberanes Lab 1.

Train the Trainer Resources Hex Files Here -

Introduction to BS 7671 E-learning Guide

Getting Started in the Online Lab

ESET 369 Embedded Systems Software, Fall 2017

Exercise 3. Task Programs EXERCISE OBJECTIVE

BBC Micro:Bit. Year 7. Teacher Guide and Planning

ESET 369 Embedded Systems Software, Spring 2018

WRITING CONSOLE APPLICATIONS IN C

Xilinx Vivado/SDK Tutorial

Slide Set 1. for ENCM 339 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

CIS* Programming

PINK (Parallax Internet Netburner Kit - #30013)

Stamp Gives the Green Light To Efficient Programming

How-To #3: Make and Use a Motor Controller Shield

TurningPoint Quick Start Guide

Jade Support TM Introduction & User Guide

Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S

Oregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011

The simplest way to search for and enroll in classes is to do so via the Enrollment Shopping Cart.

An Undergraduate Course in Robotics & Machine Intelligence

Lab 1: Arduino Basics. Rodrigo Carbajales and Marco Zennaro ICTP Trieste-Italy

Display & Log Unit. Mikael Larsmark. November 22, 2006

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup

ECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives:

Welcome to Lab! Feel free to get started until we start talking! The lab document is located on the course website:

Part A: Monitoring the Rotational Sensors of the Motor

Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur

Getting Started in C Programming with Keil MDK-ARM Version 5

RoboStamp Basic Software (A tutorial by Technotutorz)

Pre-Laboratory #Boolean Expressions ECE 332

MC950CR Link Program Manual

BIRLA INSTITUTE OF TECHNOLOGY AND SCIENCE, Pilani Pilani Campus

Web Design I. CE Spring 2013 Continuing Education [Pick the date][type the sender company name]

PDF of this portion of workshop notes:

INF 315E Introduction to Databases School of Information Fall 2015

Getting started with Panopto Instructors

Getting Started with Parallax IDE

Intro to the Arduino IDE, the Teensy 3.2, & ARM Technology Hardware, Software & Resources. John R. Wright, Jr. PhD, CSTM ITEC 467, Mobile Robotics

In groups take a Mindstorms kit and decide on what sort of chassis will work best.

Cretile ProLogic is a programmable module. Cretile ProLogic can be programmed with the help of ArduBlocks* or by writing C/C++ code.

RobotC for VEX. By Willem Scholten Learning Access Institute

(Refer Slide Time: 1:07)

This is the Arduino Uno: This is the Arduino motor shield: Digital pins (0-13) Ground Rail

uarm Conveyor User Manual V1.0.0

M16C/62P QSK QSK62P Plus Tutorial 1. Software Development Process using HEW4

Unit 7: Algorithms and Python CS 101, Fall 2018

Week 6 - Robots and lights 2. Section 1. Objective: To Program the Boe-Bot for Light Following. Required parts: Same as the previous Experiment.

EPM900 - Overview. Features. Technical Data

Slave Embedded Serial Bluetooth board Features and Benefits

1.4 MConfig PC software can be optionally used to upload/download configuration settings to the VRU Pro using RS-485 communication.

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

Transcription:

ME 1030 Name: Due date: Introduction to Mechanical Engineering BOE BOT Collected Assignment #1 Communicating with the BOE-BOT Reading Assignment: 1. Refer to the following sections in the BOE BOT Textbook (Version 3.0 for Fall 2012) Chapter 1, ACTIVITY #1: GETTING THE SOFTWARE Chapter 2, ACTIVITY #1: BUILDING AND TESTING THE LED CIRCUIT Chapter 2, ACTIVITY 2 TRACKING TIME AND REPEATING ACTIONS WITH A CIRCUIT Chapter 2, ACTIVITY #3: CONNECTING THE SERVO MOTORS 2. Refer to various sections of BASIC Stamp Syntax and Reference Manual, Version 2.5 for information of PBASIC commands (download from www.parallax.com) 3. Lecture #1 The BOE-BOT Assignment: 1. Setting Up the Hardware and Testing the System Use your own BOE. Use care when handling the BOE-BOT! Connect the serial cable (or USB connection) from the computer to the BOE-BOT. Connect the battery pack to the BOE-BOT (be sure to disconnect this at the end of the class.) Turn the BOE on (move the slide switch to position 1 or 2). 1

Launch the BASIC Stamp Editor. Select Run Identify from the main menu in the BASIC Stamp Editor. A window like the one shown below should indicate that a BASIC Stamp 2 was found on COM1 on your computer. Check with the instructor if this does not work properly. 2. Your First Program A. Program 2A Sending a message from the BOE-BOT to the computer screen Launch the BASIC Stamp Editor. Insert directives in your program: o Specifying a BASIC 2 Stamp o Specifying PBASIC 2.5 as the programming language o Specifying COM1 as the communications port [or whatever port works for you!] Write a program similar to the one shown on p. 21 of Robotics, Version 3.0 (shown below) except make the following changes: Include comments specifying: o course number (ME 1030) o the program number (Program 2A, etc) o the filename (pick an appropriate filename). o Change the greeting to Hello YOUR NAME, this is a message from your BOE-BOT. o Run the program and verify that it works properly. o Demonstrate proper operation of the program to the instructor. Save and print the program. Print the output of the program from the DEBUG screen. 2

B. Program 2B Sending the result of a calculation from the BOE-BOT to the computer screen Make additions to Program 2A above like those on p. 21 of Robotics, Version 3 (shown below) Run the program and verify that it works properly. Demonstrate proper operation of the program to the instructor. Save and print the program. Print the output of the program. 3. Tracking Time and Repeating Actions With a Circuit A. Program 3A Printing a message from the BOE-BOT once per second to the computer screen Write a program similar to the one on p. 25 of YOUR TEXTBOOK (shown below) except: Include initial comments as in previous programs. Add additional comments to explain different PBASIC commands that are used Modify the program so that it displays: o Start timer o One second elapsed o Two seconds elapsed o. o. o Ten seconds elapsed o Done Run the program and verify that it works properly. Demonstrate proper operation of the program to the instructor. Save and print the program. Print the output of the program. 3

B. Program 3B Turning ON and OFF an LED Write a program similar to the one on p. 32 of YOUR TEXTBOOK (shown below) except: Include initial comments as in previous programs. Add additional comments to explain different PBASIC commands that are used Use the output pin corresponding to your group number. Run the program and verify that it works properly. Demonstrate proper operation of the program to the instructor. Save and print the program. C. Program 3C Turning ON and OFF two LEDs (alternating) Write a program like the second one on p. 35 of YOUR TEXTBOOK (shown below) except: Include initial comments as in previous programs. Add additional comments to explain different PBASIC commands that are used Use the output pin corresponding to your group number and the next higher pin. Modify the program so that the first LED is on for two seconds while the second LED is off and then the second LED is on for two seconds while the first is off (i.e., the LED s alternate blinking indefinitely). Run the program and verify that it works properly. Demonstrate proper operation of the program to the instructor. Save and print the program. D. Program 3D Simulating a traffic light using red, yellow, and green LEDs Write a program to control green, yellow, and red LEDs like a traffic signal. The green light should come on for 10 seconds, followed by the yellow for 1 second, and then the red for 7 seconds. The program should loop indefinitely. [NOTE: If you cannot locate your green and yellow LEDs, you may use all red LEDs for this task.] Include initial comments as in previous programs. Add additional comments to explain different PBASIC commands that are used Use any three output pins. Run the program and verify that it works properly. Demonstrate proper operation of the program to the instructor. Save and print the program. 4

E. Program 3E Turning ON and OFF an LED using the PULSOUT command Write a program like the second one on p. 37 of YOUR TEXTBOOK (shown below) except: Include initial comments as in previous programs. Add additional comments to explain different PBASIC commands that are used Use the output corresponding to your group number. The program should turn on the LED for 0.1 seconds and turn it off for 10 seconds. The program should loop indefinitely. Run the program and verify that it works properly. Demonstrate proper operation of the program to the instructor. Save and print the program. 4. Report Organize your results into a report and submit a single typed report for the activity to the instructor by the assigned due date. The report should consist of: A. A coversheet as explained previously. This time include the following Table on your coversheet! The Teaching Assistant and I will come around and inspect your programs during the lab sessions. B. Printouts for each of the programs (2A, 2B, 3A, 3B, 3C, 3D, and 3E). C. A list of the skills you learned. D. A list of problems and solutions. E. Your conclusions. 5