Wireless Group Critical Design Review. Movement BS command -> PULSOUT pin, period –BS2P units for period = 1.18  s 1.0ms pulse = CW, 2.0ms pulse = CCW.

Slides:



Advertisements
Similar presentations
Hardware and Python Steve Granda. Why would I want to do this? You want to make something interactive. You want to recreate sputnik. You want to measure.
Advertisements

IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Arctic IEC-104 Gateway Jari Lahti, CTO.
CS710 IEEE Transactions on vehicular technology 2005 A Distributed Algorithm for the Dead End Problem of Location Based Routing in Sensor Networks Le Zou,
– Wireless PHY and MAC Stallings Types of Infrared FHSS (frequency hopping spread spectrum) DSSS (direct sequence.
Boe-bots and STEM Boe-bots and STEM – This sectional will introduce participants to a programmable robot that is useful for engaging students in building.
Using the Board of Education Breadboard and Your Multimeter ENGR 120 Work in teams of two!
1 Lecture 1: Your Boe-Bot's Servo Motors Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation developed by: Martin.
Hardware Meets Software CPSC 120 Principles of Computer Science February 15, 2012.
1 Chapter 7: Navigating with Infrared Headlights Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation developed.
Living with the Lab Using Your Arduino, Breadboard and Multimeter EAS 199A Fall 2011 Work in teams of two!
ENSC 835: COMMUNICATION NETWORKS SPRING 2011 DEMO OF PROJECT PERFORMANCE EVALUATION OF KEY MAC PROTOCALS Yitao Wu Student ID, Address,
PING))) Ultrasonic Distance Sensor living with the lab ultrasonic pressure waves from PING))) speaker The PING))) sensor emits short bursts of sound and.
IR Object Detection living with the lab IR light from LED IR light reflected off object IR LED IR receiver Infrared (IR) light leaving an LED reflects.
Omni Directional Vision Tracking Denise Fancher Kyle Hoelscher Michael Layton Eric Miller.
1 Computer Networks Local Area Networks. 2 A LAN is a network: –provides Connectivity of computers, mainframes, storage devices, etc. –spans limited geographical.
Dave Mills CANbus: A brief introduction Incorporating: The Fujitsu status Dave Mills Queen Mary, University of London.
Understanding Networks II. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
1 Ultrasonic Distance Sensor. 2 How it Works The distance sensor emits short bursts of sound and listens for this sound to echo off of nearby objects.
Sensors Material taken from Robotics with the Boe-Bot.
Basic Stamp Quick Start. Basic Stamp II Self contained computer –“Micro-controller” Specialized for “embedded” computing (sensing and controlling things)
Arduino Part 2 Topics: Serial Communication Programming Constructs: functions, loops and conditionals Digital Input.
Sensors Material taken from Robotics with the Boe-Bot.
1 An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks The First ACM Conference on Embedded Networked Sensor Systems (SenSys 2003) November.
Control Some Material taken from RobotSubsumption.pdf.
The Basic Stamp Instruction Set Architecture. The Microprocessor A microprocessor is a computer that typically has an architecture that is well suited.
Dale & Lewis Chapter 15 Networks. What is a computer network? A collection of computing devices that are connected in various ways in order to communicate.
Robotics Engineering Basic Maneuvers. Getting the Boe-Bot to Move One of the first tasks we need to do is to get our bots moving.One of the first tasks.
1 Parallax BASIC Stamp ® Tutorial Developed by: Electronic Systems Technologies College of Applied Sciences and Arts Southern Illinois University Carbondale.
Microchip PIC Networks Amrit Bandy, Ben Funk Neil Goldsman.
10/10/ Controlling YOUR ROBOT. 10/10/2015 Basic Stamp  Basic Stamp Input - output pins Interpreter Chip Power supply: 5 Volts voltage Memory: EEPROM.
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
Sensors Material taken from Robotics with the Boe-Bot.
Multi-Vehicles Formation Control Exploring a Scalar Field Polytechnic University Department of Mechanical, Aerospace, and Manufacturing Engineering Polytechnic.
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Collision-free Time Slot Reuse in Multi-hop Wireless Sensor Networks
1 Lecture 1: Your Boe-Bot's Servo Motors Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation developed by: Martin.
IR Communication October 27, Sources  Lindsay, Andy. IR Remote for the Boe- Bot. v
Using IR Chapters 7 & 8 of Robotics with the Boe-Bot.
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
ENGR 101: Robotics Lecture 3 – Robot Motion Outline  Robot Motion  FOR Loops  Making Music References 
ENGR 101: Robotics Lecture 4 – Making Decisions Outline  The Stall Sensor  Making Decisions  Random Number Generation References 
July 7, 2003 Slide 1 of 6 Automation, Robotics and Mechatronics Lab, SUNY at Buffalo Introduction To Programming Chetan Jadhav Talib Bhabharawala Seung-Kook.
Jamis Martin Trenton Andres Jay Zifer Brad Nowak.
Control Material taken from RobotSubsumption.pdf and SumoBot : Mini-Sumo Robotics.
Slide Menlo Drive Suite 100 Rocklin, CA
COLONYWIRELESS September 26, Outline 1.Motivation and Goals 2.Introduction to the XBee 3.The Wireless Library 4.Example Packet Group 5.The Token.
Using IR Chapters 7 & 8 of Robotics with the Boe-Bot.
CS 101 – Nov. 20 Communication, continued (Ch. 15) Cryptography –examples Error detection Local Area Networks –Different ways to hook up machines.
PROMGRAMING YOUR ROBOT How Servos Work: How to control your robot.
Performance Evaluation of IEEE
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
1 BOE-BOT Lecture #2 DE - Digital Electronics Servos and the BOE-BOT.
IR Object Detection living with the lab IR light from LED IR light reflected off object IR LED IR receiver Infrared (IR) light leaving an LED reflects.
TV Remote As A Wireless Mouse For PC.
Wireless control of an LED. the XBee transceiver transmitter: sends radio waves receiver: receives radio waves transceiver: sends AND receives.
Chapter 12 Multiple Access.
Introduction to Servos
Servo Positioning Pulse Width Direction of Rotation PULSOUT Period
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
OEM BASIC Stamp 2sx 220 Ohm.
BASIC Stamp II Programming for Descartes Robots
Some Material taken from RobotSubsumption.pdf
Material taken from Robotics with the Boe-Bot
Ultrasonic Distance Sensor
Controlling YOUR ROBOT
Some Material taken from RobotSubsumption.pdf
Fevzi Ozaydin & Violet Mwaffo
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Working with Photorestistors
Presentation transcript:

Wireless Group Critical Design Review

Movement BS command -> PULSOUT pin, period –BS2P units for period = 1.18  s 1.0ms pulse = CW, 2.0ms pulse = CCW –CW: period = 1ms/1.18  s = 1695 –CCW: period = 2ms/1. 18  s = 847

IR Navigation IR led must 38.5kHz BS command -> FREQOUT pin, period, freq BS2P units for freq = 3.77Hz freq = 38.5kHz/3.77Hz = Can increment to decrease distance of sensitivity > inches Nominal: > 2-6 inches

Light Searching Light location can be found with photoresistors included with kit Photoresistors have high resistances with little light, and low resistances with more light We can find relative values of the resistance using RC circuits and use these to navigate

Searching Algorithm To introduce some randomness, have all Bots go in random directions from a base point as soon as they are released. Afterwards, use IR navigation to a void collisions with other robots Use photoresistors to find sources of light and move towards them

Program flow (FSM) Prog_0: initProg_1: get ID Prog_2: Search for light Prog_3: Listen Prog_4: Search for bot If Rx If timeout If Rx If light is found If end of exe If timeout

Prog_0: “Initialization” PROG_0 pollin 5,1 'poll for Rx pollmode 3 'polled-run only pollrun 1 'run slot 1 token var bit token = 1 time var word time = 0 ID var byte TIMeOUT con 'may need something better ' main start: if time > TIMEOUT then start_token 'listen, if nothing, start new token time = time + 1 goto start start_token: token = 1 'give node right to Tx ID = 1 'give node ID = 1 put token, 0 'save token and ID in RAM put ID, 0 'before calling new program run 2 Listen for Rx in background If Rx, run prog_1 Set token = 0 While !Timeout, loop Else Start_Token Start_Token: Token = 1 ID = 0 Save token, ID in RAM Run prog_2

Prog_1: “Listen and Learn” node VAR byte node_next VAR byte node_list VAR bit(254) x VAR byte ID VAR byte SYNCH CON "A" 'Establish synch byte BAUD CON 16780'N2400 baud (MAX) trash VAR word SERIN 5,BAUD,[WAIT(SYNCH),node] SERIN 5,BAUD,[WAIT(SYNCH),trash] node_list(node) = 1 START: SERIN 5,BAUD,[WAIT(SYNCH),node_next] 'get node SERIN 5,BAUD,[WAIT(SYNCH),trash] 'trash node_list(node_next) = 1 if node = node_next then GET_ID GOTO START GET_ID: for x = 0 to 254 if node_list(x) <> 1 then SET_ID next SET_ID: ID = x ' wait for Invitation to join ring Set token = 0 Listen for ID’s in use Choose unique ID Wait for invitation to join Ring Run prog_2

Prog_2: “To boldly go…” Listen for Rx in background If Rx, run prog_3 Get token, next_ID from RAM If token = 1, then Talk Continually Search if timeout, then run prog_0 if light is found, found =1 Talk: tell if light is found Send token Continue search

Prog_3: “Listen” If found = 1, run prog_4 Listen for token Save token on RAM Run prog_2

Prog_4: “Find node” Search for node by beacon If timeout, goto prog_2

Communication Program Testing Begin with wired network Avoids RF latency and reception due to distance All Tx run to OR gate. This simulates the possiblility of collisions. Allows all nodes to “promiscuously” listen to all Tx’s