Electronics and Robotics Merit Badges Class 5 – Programming Robot Controllers for Sumo Competition 12/23/2015 Electronics and Robotics Merit Badges - Class.

Slides:



Advertisements
Similar presentations
Introduction to LEGO NXT robotics and Robot Sumo
Advertisements

Each team has their own: a.Laptop computer b.LEGO NXT robot c.USB cable d.Light paper on the table to test the robot Sit Down in Teams of 2.
Advanced Energy Vehicle
Programming Merit Badge
Engineering Roles We will be forming groups of 3 students
Cambodia Robocon March 2015
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.
Navigating the BOE-BOT
Available at: – Program Optical Quad Encoders in Autonomous Mode Program optical quad encoders in autonomous mode.
Connecting VEX and ROBOTC
LEGO Robotics Lecture 1: Getting acquainted with your robotic environment.
Jennifer Goodall, Nick Webb, Katy DeCorah
Robotic Football Group E1 CDR Team Top Gun April 22 nd, 2008.
Robotics Enrichment class Mr. Bosworth. Goals of Class Learn how to build a basic robot that performs various functions Learn how to program robot to.
ENGG1100 Lecture7: Introduction To Engineering Design (Digital Logic) Part 2 Kin Hong Wong ENGG1100. Ch7-Digital Logic (part 2) 16/02/15 1.
Robotics Science/ Technology Project Lesson 2. Hospital robots cut hospital pharmacy bill A robotic pharmacy has improved safety and saved money at a.
Robotics Enrichment class Mr. Bosworth. Goals of Class Learn how to build a basic robot that performs various functions Learn how to program robot to.
NEEDS ANALYSIS & REQUIREMENTS SPECIFICATION Southeast Con 1B “Success” Senior Design Team Louis Cooper Evan Marshall Chelsea Ogle Lorenzo Smith Ivan Vargas.
ENGG1100 Introduction to Engineering Design Digital Logic (Part 2) Prof. Kin Hong Wong Department of Computer Science and Engineering.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class 2.
Sumo Introduction F10. theCOMPETITION Crash course in robotics for the inexperienced/curious.
Available at: Lesson 3.6 – Program Line Follower in Autonomous Mode Program Line Follower in Autonomous Mode.
Electronics and Robotics Merit Badges
Today’s Agenda 1.Scribbler Program Assignment 1.Project idea due next class 2.Program demonstration due Wednesday, June 3 2.Attendance & lab pair groupings.
Sumo Introduction Fall theCOMPETITION Crash course in robotics for the inexperienced/curious.
2 3  A machine  Built to help us  Autonomous (not remote control)  If we want robots to do things for us, we have.
EVALUATION. Rules 1.The class will be divided into three teams. Each team will have a colored flag to use as a buzzer to ring in their readiness to answer.
Programming Design ROBOTC Software Principles of Engineering
Chance Experiments Have you ever heard a weatherman say there is a 40% chance of rain tomorrow or a football referee tell a team there is a 50/50 chance.
Barclays Robot Challenge Learn how to Program Robots.
A note on oral presentations These are the progress report presentations. Please note that the individual presentations should be ~8 min long. Since the.
Sentry System Multiple Sensors
ENGR 101: Robotics Lecture 4 – Making Decisions Outline  The Stall Sensor  Making Decisions  Random Number Generation References 
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class3/Lab 2.
Science 801 Robotics The Final Project. Task Your team will create a robot that will complete a number of challenges as it moves through a series of tasks.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
VEX and Robot C Chris Patterson Frisco ISD CTE Center Presented by.
Deriving Consistency from LEGOs What we have learned in 6 years of FLL by Austin and Travis Schuh © 2005 Austin and Travis Schuh, all rights reserved.
ROBOTICS MERIT BADGE WELCOME BOY SCOUTS!. Welcome to the Microsoft Store - Scottsdale Today’s Workshop: PowerPoint Presentation: Complete the workbook.
Limited rotation servo basics David Hall output shaft servo horn red wire = 5V + black wire = Gnd - white wire = control signal standard servo.
 How does a windmill create energy?.  You should be able to understand the purpose of gearing in a windmill.  You should understand how electricity.
Programming Design ROBOTC Software. Behavior-Based Programming A behavior is anything your robot does –Turning on a single motor or servo Three main types.
LOGICFUSION’S HANDS-ON ROBOTICS EV3 LEVEL 2! Welcome to.
Programming Design ROBOTC Software Principles Of Engineering
Electrical Engineer Responsibilities
Robotics Training For The Riverside Robotics Society
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
Deriving Consistency from LEGOs
Electrical Engineer Responsibilities
Understanding Communication with a Robot? Activity (60 minutes)
ROBOTC for VEX On-Site Professional Development
SCOUTBOTICS Engineering Notebook
Electrical Engineer Responsibilities
Programming Design ROBOTC Software Computer Integrated Manufacturing
Electrical Engineer Responsibilities
Describe how NASA remotely controls equipment in space.
Product Evaluation & Quality Improvement
Product Evaluation & Quality Improvement
Merit Badge SCOUTBOTICS October 28, 2017
Global Challenge Flashing Wheels Lesson 3.
Design Sample: Build a Swing
Programming Design ROBOTC Software Principles Of Engineering
Global Challenge Flashing Wheels Lesson 3.
SCOUTBOTICS Engineering Notebook
Global Challenge Flashing Wheels Lesson 3.
Global Challenge Flashing Wheels Lesson 3.
Programming Design ROBOTC Software Principles of Engineering
Global Challenge Flashing Wheels Lesson 3.
Global Challenge Flashing Wheels Lesson 3.
Global Challenge Flashing Wheels Lesson 3.
Presentation transcript:

Electronics and Robotics Merit Badges Class 5 – Programming Robot Controllers for Sumo Competition 12/23/2015 Electronics and Robotics Merit Badges - Class 51

The SumoBot Kit12/23/2015 Electronics and Robotics Merit Badge Class 52

SUMOBOT HARDWARE12/23/2015 Electronics and Robotics Merit Badge Class 53

But now we have to program the robots with their instructions for the Sumo ring… TEAM KIAH-1TEAM JACOB-2 Remember how we talk with the robots (Hint: 1’s and 0’s)? Electronics and Robotics Merit Badge Class = “A”

' Applied Robotics with the SumoBot - PushbuttonLed.bs2 ' Simple finite state machine example. ' {$STAMP BS2} ' {$PBASIC 2.5} pbSense PIN 6 LedSpeaker PIN 0 PeizoSpeaker PIN 1 LOW LedSpeaker DO IF pbSense = 1 THEN DEBUG HOME, "State = Blink LED" TOGGLE LedSpeaker ELSE DEBUG HOME, "State = Led off", CLREOL LOW LedSpeaker ENDIF PAUSE 100 LOOP SUMOBOT SOFTWARE Electronics and Robotics Merit Badge Class 55 12/23/2015

ASCII Code12/23/2015 Electronics and Robotics Merit Badge Class 56 But first we need to break up into some functional areas…

SumoBot Rules The Match: 1) Flip a coin to determine who positions their robot first in the ring 2) Place the ‘bot in the ring as directed by the referee 3) Press the start button on the bot when directed by the referee. After 5 seconds the bot may begin moving (sound/light indicates robot working). 4) Move back at least 3 feet from the edge of the ring 5) Catch any bot that is out of the ring and turn it off 6) Place the bot back in a holding area between matches. A contestant may make adjustments between matches, but may not leave the holding area. Basic Rules: 1)One match will consist of three rounds, within a total of 3 minutes each. The team who wins two rounds out of three wins the match. 2) The match will be stopped and a rematch will ensue when it is apparent that neither bot is making any progress for duration of about 4 seconds (as determined by the referee). 3) If a part on the bot comes off that is less than 5 grams, the round will continue. 4) A player has 30 seconds to correct a problem between rounds. 5) The referee has the final decision in a match. Electronics and Robotics Merit Badge Class 5

SumoBot Competition “Specialists” Competition Leads/Motors/Sensors Teams Electronics and Robotics Merit Badge Class5

SumoBot Competition Code – Wiring LED Electronics and Robotics Merit Badge Class 5

SumoBot Competition Code –State Diagram Electronics and Robotics Merit Badge Class 5

SumoBot Competition Code – Code Electronics and Robotics Merit Badge Class 5 ' Applied Robotics with the SumoBot - PushbuttonLed.bs2 ' Simple finite state machine example. ' {$STAMP BS2} ' {$PBASIC 2.5} pbSense PIN 6 LedSpeaker PIN 0 PeizoSpeaker PIN 1 LOW LedSpeaker DO IF pbSense = 1 THEN DEBUG HOME, "State = Blink LED" TOGGLE LedSpeaker ELSE DEBUG HOME, "State = Led off", CLREOL LOW LedSpeaker ENDIF PAUSE 100 LOOP

Sensor Teams: Load and run program 3.1 from handout to test and evaluate the QTI sensors. Electronics and Robotics Merit Badge Class /23/2015

SumoBot Sensors and Border Detection12/23/ Electronics and Robotics Merit Badge Class 5

Sensor Teams: Record Test Program 3.1 results Run the 3.1 test program (using Position 1 of the power switch) and record the values from your SumoBot QTI sensors in your Robot Engineering Notebook. Black White Left QTI ______________ Right QTI ______________ Electronics and Robotics Merit Badge Class /23/2015

Motor Team: Load and run program 2.2 from handout to test and evaluate the servo motors are ready Electronics and Robotics Merit Badge Class /23/2015

Motor Teams: Test Program 2.2 (motors) results Run the 2.2 test program (using Position 2 of the power switch) and you should observe the following behavior by the robot (write this in your Robot Engineers Notebook): 1) Move forward slowly PASS/FAIL__________ 2) Pivot turn 90 degrees on left wheel PASS/FAIL__________ 3) Move forward quickly PASS/FAIL__________ 4) Pivot turn 180 degrees on right wheel PASS/FAIL__________ 5) Move forward quickly PASS/FAIL__________ 6)Spin turn (rotates SumoBot around its own center) 360 degrees PASS/FAIL__________ 7) Stop PASS/FAIL____ Electronics and Robotics Merit Badge Class /23/2015

Team Leads: Load and run program 3.3 (Simple Mini Sumo) from handout to test and evaluate overall readiness of your robot Run the 3.3 test program (using Position 2 of the power switch) and record the values from your SumoBot QTI sensors in your Robot Engineering Notebook. PassFail Motors ______________ Edge Sensors ______________ Electronics and Robotics Merit Badge Class /23/2015

Competition Time!!! Electronics and Robotics Merit Badge Class /23/2015

Robotics merit badge requirements 1.Safety. Do each of the following: a. Explain to your counselor the most likely hazards you may encounter while working with robots and what you should do to anticipate, mitigate and prevent, and respond to these hazards. Describe the appropriate safety gear and clothing that should be used when working with robotics. b. Discuss first aid and prevention for the types of injuries that could occur while participating in robotics activities and competitions, including cuts, eye injuries, and burns (chemical or heat). 2.Robotics industry. Discuss the following with your counselor: a. The kinds of things robots can do and how robots are best used today. b. The similarities and differences between remote-control vehicles, telerobots, and autonomous robots. c. Three different methods robots can use to move themselves other than wheels or tracks. Describe when it would be appropriate to use each method. 3.General knowledge. Discuss with your counselor three of the five major fields of robotics (human-robot interface, mobility, manipulation, programming, sensors) and their importance to robotics development. Discuss either the three fields as they relate to a single robot system OR talk about each field in general. Find pictures or at least one video to aid in your discussion. 4.Design, build, program, test. Do each of the following: a. With your counselor's approval, choose a task for the robot or robotic subsystem that you plan to build. Include sensor feedback and programming in the task. Document this information in your robot engineering notebook. b. Design your robot. The robot design should use sensors and programming and have at least 2 degrees of freedom. Document the design in your robot engineering notebook using drawings and a written description. c. Build a robot or robotic subsystem of your original design to accomplish the task you chose for requirement 4a. d. Discuss with your counselor the programming options available for your robot. Then do either option 1 OR option 2. (1) Option 1. Program your robot to perform the task you chose for your robot in 4a. Include a sample of your program's source code in your robot engineering notebook. (2) Option 2. Prepare a flowchart of the desired steps to program your robot for accomplishing the task in 4a. Include procedures that show activities based on sensor inputs. Place this in your robot engineering notebook. e. Test your robot and record the results in your robot engineering notebook. Include suggestions on how you could improve your robot, as well as pictures or sketches of your finished robot. 5.Demonstrate. Do the following: a. Demonstrate for your counselor the robot you built in requirement 4. b. Share your robot engineering notebook with your counselor. Talk about how well your robot accomplished the task, the improvements you would make in your next design, and what you learned about the design process. 6.Competitions. Do ONE of the following. a. Attend a robotics competition and report to your counselor what you saw and learned about the competition and how teams are organized and managed. b. Learn about three youth robotics competitions. Tell your counselor about these, including the type of competition, time commitment, age of the participants, and how many teams are involved. 7.Careers. Name three career opportunities in robotics. Pick one and find out the education, training, and experience required for this profession. Discuss this with your counselor, and explain why this profession might interest you. Electronics and Robotics Merit Badge Class /23/2015

SumoBot Rules The Match: 1) Flip a coin to determine who positions their robot first in the ring 2) Place the ‘bot in the ring as directed by the referee 3) Press the start button on the bot when directed by the referee. After 5 seconds the bot may begin moving (sound/light indicates robot working). 4) Move back at least 3 feet from the edge of the ring 5) Catch any bot that is out of the ring and turn it off 6) Place the bot back in a holding area between matches. A contestant may make adjustments between matches, but may not leave the holding area. Basic Rules: 1)One match will consist of three rounds, within a total of 3 minutes each. The team who wins two rounds out of three wins the match. 2) The match will be stopped and a rematch will ensue when it is apparent that neither bot is making any progress for duration of about 4 seconds (as determined by the referee). 3) If a part on the bot comes off that is less than 5 grams, the round will continue. 4) A player has 30 seconds to correct a problem between rounds. 5) The referee has the final decision in a match. Electronics and Robotics Merit Badge Class 5