GACS 2007 Robotics Presentation - woosters.org

worrisomebelgianΤεχνίτη Νοημοσύνη και Ρομποτική

2 Νοε 2013 (πριν από 3 χρόνια και 8 μήνες)

106 εμφανίσεις

GACS 2007
Robotics
Discovering the
Complexities of
Creation
Computation Thinking
Introduction
•Introduce you to the world of robotics and
computer science
•Challenge your thinking in the area of
Creation
•Encourage you to discover the gifts God
has given you and to “do all for the glory of
God”
•Provide some resources for getting started
with robotics
Computation Thinking
My Background
•Head of Computer Science Dept @ BJU
•Own 2 computer businesses
–One builds software solutions
–One hosts websites and provides other Internet
services
•Help ministries with computer needs (websites,
databases, networks, etc)
•Email:
dwooster@bju.edu
•Family Web:
woosters.org
•Personal Blog: woosters.org/dan
•Business Web:
worthwhile.com
Computation Thinking
Biblical Foundation
•God is the Creator
•“In the beginning God created the heavens
and the earth.”
(Genesis 1:1)
•God created us in his image
•Then God said, “Let us make man in Our
image, according to Our likeness:…So
God created man in His own image;”
(Genesis 1:26-27)
Computation Thinking
Biblical Foundation
•God Creates, Man re-creates
•The joy of re-creating
•“A desire accomplished is sweet to the
soul”
(Proverbs 13:19)
Computation Thinking
Biblical Foundation
•Discovery brings God glory
•Man is commanded to subdue (conquer) and
have dominion (rule) over the earth. (Gen 1:28)
•“It is the glory of God to conceal a thing; but the
honor of kings is to search out a matter.”(
Prov
25:2)
•“Thou art worthy, O Lord, to receive glory and
honourand power: for thou hast created all
things, and for thy pleasure they are and were
created. ”(
Rev 4:11)
Computation Thinking
Why Robotics?
•A few thoughts which motivated me to get into robotics using the
Lego Mindstormkits:
•1. There has been a SHARP DECLINE (60%) in college students
studying computer science between 2000 and 2004
•2. The US Bureau of Labor predicts a SIGNIFICANT INCREASE
(50%) in computer related jobs by 2012
•3. Young people need something that will peek their interest in
computer science
•4. God desires His children to know Him and to glorify Him
•5. Studying God’s power and intelligence in Creation is a
wonderful way to glorify God (Rev 4:11)
•6. Robotics is an excellent way for young people to get excited
about computer science and to learn the beauty that is found in
God’s Creation
Computation Thinking
Educational Benefits
of Robotics
•Application of math, science, technology,
problem solving & thinking skills
•Work related competencies
–Project & time management
–Resource allocation
–Information accessing
–Systems understanding
–Team work
–Problem solving
Computation Thinking
Robotics allows teachers to introduce academic
concepts in contexts that make sense to children.
Children begin to gain an understanding of the
digital world that they grow up in.
CargnegieMellon University’s Robotics Academy
Computation Thinking
Learn Math thru
Robotics
•Students “do”math rather than study it
•Programming robots to move requires
geometry, measurement of distance,
conversion of units, ratios and proportions,
radius, circumference, friction, angles,
speed
Computation Thinking
Learn Science thru
Robotics
•Students learn the iterative nature of
scientific exploration
•Allows the student to experience that
science, unlike mathematics, has many
more variables that affect the outcome
Computation Thinking
Learn Technology thru
Robotics
•Technological literacy
•Processors & Sensors
•Programming
•Design
•Testing & Debugging
•Digital Logic & Binary Math
Computation Thinking
Career Benefits
•There has been a SHARP DECLINE
(60%) in college students studying
computer science between 2000 and 2004
•The US Bureau of Labor predicts a
SIGNIFICANT INCREASE (50%) in
computer related jobs by 2012
•Young people need something that will
peek their interest in computer science &
technology
Computation Thinking
What is a Robot?
•Computer
•Motors
•Mechanical parts
•Power source
•Sensors
•Software/Programs
Computation Thinking
Robot Parts:
Computer
•Processes instructions
•Similar to our brain
•Software = instructions
•Hardware = physical & electronic parts
•Without a computer a robot is simply a
machine
Computation Thinking
Computation Thinking
Robot Parts: Motors
•Generates movement
•Similar to our muscles
& tendons
•Without motors the robot doesn’t move
Computation Thinking
Robot Parts:
Mechanical parts
•Provides structure to hold everything
together
•Similar to our bones, joints, and cartilage
•Without a structure the robot falls apart
Computation Thinking
Robot Parts: Power
source
•Produces energy to make things work
(computer, motors, mechanical parts)
•Similar to our food intake
•Without energy the other parts won’t work
Computation Thinking
Robot Parts: Sensors
•Provides input to the computer
•Similar to our eyes, ears and sense of
touch
•Without sensors the robot cannot interface
with things around it
Computation Thinking
Teamwork
•Programmer
•Parts Manager
•Director
•Assembler
Computation Thinking
Process Steps
•Parts Inventory
•Build the Robot
–Start with a few predesignedbots
–Design your own
•Program the Robot
–RCX Code
–RoboLab
–Other languages (C, C++, Java, Basic)
•Test & Debug the Robot
•Demonstrate your Robot
Computation Thinking
The Parts
•Hardware & Software
•Bricks, Gears, Motors, Axles, Wheels,
Microprocessor
•Axle & Beam lengths
•Finding Parts

Great Parts Reference Sheet
Computation Thinking
Projects
IDRobot NameAcronymDriving BaseDrive UnitSensor Unit
1Line Assisted BuggyLABRoverbotWheelsLight sensor
2Single Action BuggySABRoverbotWheelsSingle bumper
3Dual Action BuggyDABRoverbotWheelsDouble bumper
4Line Assisted WalkerLAWRoverbotLegsLight sensor
5Single Action WalkerSAWRoverbotLegsSingle bumper
6Dual Action WalkerDAWRoverbotLegsDouble bumper
7Line Assisted Tank ExplorerLATERoverbotTracksLight sensor
8Single Action Tank ExplorerSATERoverbotTracksSingle bumper
9Dual Action Tank ExplorerDATERoverbotTracksDouble bumper
Computation Thinking
Instructions
ConstructopediaPage
Module From Table
12
RoverbotDriving Base
17
Wheel Drive Unit
18
Leg Drive Unit
21
Track Drive Unit
26
Single Bumper Sensor Unit
30
Double Bumper Sensor Unit
34
Light Sensor Unit
Computation Thinking
Schedule
Start TimeActivity
1:00 hIntroduction
1:15 hSelect teams
1:20 hAssign duties
1:25 hSign out MindstormKit
1:30 hCreate program for rover
1:30 hAssemble rover driving base
1:50 hAssemble rover drive mechanism
2:10 hAssemble rover sensor unit
2:30 hDownload program to rover
2:40 hTest rover
2:45 hDebug program and test until rover works
2:55 hDemonstrate rover to other teams
3:15 hDisassemble rover and return parts to kit
3:25 hThe End
Computation Thinking
Test Procedure for
Light Sensor Robot
•Set your Roverboton the test track on a table, inside the block oval
track.
•Have team members stand on all 4 sides of the table, ready to
prevent the Roverbotfrom going over the edge if things go wrong.
•Press the On-Off button, if the Roverbotis not already turned on.
•Press the Run button.
•Does your Roverbotmove forward?
•Does your Roverbotstart turning in circle when it crosses the black
line?
•Does your Roverbotfind the black line and start moving along it?
•How many times can your Roverbotgo all the way around the track
without losing the line?
•Can you think of any improvements to make to the Roverbotor the
program to make it work better?
•When you are done testing, press the On-Off button to save
batteries.
Computation Thinking
Test Procedure for
Single Bumper
•Set your Roverboton the floor, and point it towards a nearby
obstacle.
•Press the On-Off button, if the Roverbotis not already turned on.
•Press the Run button.
•Does the Roverbotmove forward?
•Does your Roverbotreverse, turn, and move forward again when
the bumper hits an obstacle?
•Is there an arrangement of obstacles that will cause your
Roverbotto be trapped, even if you provide an escape route?
•When you are done testing, press the On-Off button to save
batteries.
Computation Thinking
Test Procedure for
Double Bumper
•Set your Roverboton the floor, and point it towards a nearby
obstacle.
•Press the On-Off button, if the Roverbotis not already turned
on.
•Press the Run button.
•Does the Roverbotmove forward?
•Does your Roverbotreverse, turn right, and move forward again
when the left side of the bumper hits an obstacle?
•Does your Roverbotreverse, turn left, and move forward again
when the right side of the bumper hits an obstacle?
•Is there an arrangement of obstacles that will cause your
Roverbotto be trapped, even if you provide an escape route?
•When you are done testing, press the On-Off button to save
batteries.
Computation Thinking
Project Manager
•Assigns team member duties
•Signs out MindstormsInvention System kit
•Supervises all steps to make sure everything is going smoothly
•Organizes test area:
–If building a line assisted rover, then flatten out a track testsheet on a
table
–If building a bumper robot, set up a floor area with obstacles
•Organizes test:
–If testing a line assisted rover, makes sure that rover does notdrive off
the table!
–If testing a bumper robot, makes sure that robot does not escapetest
area
•Monitors progress of team against schedule
•If getting more than 30 minutes behind schedule, asks instructors for
assistance
•Requests help from instructors when necessary
•Asks questions of instructors when necessary
•Returns kit at end of lab
Computation Thinking
Parts Handler
•Finds correct pages in Constructopediafor
each assembly step
•Guides builders through each construction
step
•Selects and lays out parts for each assembly
step
•Carefully counts holes or bumps on longer
parts to ensure correct part is used
•Has Lego disassembly tool ready to use
when needed
•Leaves last page unfolded for convenient
parts reference
•Replaces parts in kit in an organized fashion
when rover is disassembled at end of lab
Computation Thinking
Builders
•Assembles RoverbotDriving Base
•Assembles Drive Mechanism
•Assembles Sensor Unit
•Assembles Drive Unit and Sensor Unit
to Driving Base
•Disassembles rover at end of lab
Computation Thinking
Programmer
•Describes desired behavior of rover on
paper
•Writes program using RCX programming
window on PC
•Downloads completed program to rover
•Tests rover behavior
•Fixes bugs found in testing
•Demonstrates final working version of rover
Computation Thinking
Computation Thinking
Computation Thinking
Ways to get started
•Lego MindstormKit (approx $250, less on ebayfor prior
version)

RoboLab
-a more extensive programming environment for
the Mindstorm($69)
•RoboCode(free!)
•ALICE (Free) -
http://www.alice.org/
•FIRST
–FIRST(For Inspiration and Recognition of Science and
Technology) is a multinational non-profit organization, that
aspires to transform culture, making science, math,
engineering, and technology as cool for kids as sports are
today.
•FIRST LEGO League
–The FIRSTLEGO League (FLL), considered the "little league"
of the
FIRST
Robotics Competition, is the result of a
partnership between FIRSTand the LEGO Group. FLL extends
the FIRSTconcept of inspiring and celebrating science and
technology to children aged 9 through 14, using real-world
context and hands-on experimentation.
Computation Thinking
Next Generation Lego
Mindstorm-NXT
•NXT brick with a 32 bit microprocessor
•Sound sensor that makes your robot react
to sound commands
•Ultrasonic sensor that makes your robot
see
•Interactive servo motors that make the
robot walk and move
•Bluetooth®technology that allows your
robot to communicate with external
devices such as mobile phones.
Computation Thinking
References -Robotics
•Carnegie Mellon Robotics Academy

http://www-education.rec.ri.cmu.edu/
•Robot Magazine

http://www.botmag.com/
•First League

http://www.firstlegoleague.org
•Lego Education

http://www.legoeducation.com/
Computation Thinking
MindstormTeaching
Resources

Motors & Sounds
(ppt)

Sensors
(ppt)

Parts Inventory
(pdf)

Building Tips
(ppt)

RCX Maintenance
(ppt)

Electric Generator
(ppt)

Programming Challenges 1
(pdf)
Computation Thinking
Teaching Units from
CMU

Introduction to Robots

Introduction to Hardware

Introduction to Software

Introduction to Programming

Introduction to Gears

Gears, Speed, and Torque

Simple Machines

Touch Sensors

Light Sensors

Rotational Sensors
Computation Thinking
RoboCode
•Competitors write
software
that controls a
miniature
tank
that fights other identically-built (but
differently programmed) tanks in a playing field.
•Robots move, shoot at each other, scan for each
other, and hit the walls (or other robots) if they
aren't careful.
•Though the idea of this "game" may seem simple,
the actual strategy needed to win is not.
•Good robots can have thousands of lines in their
code dedicated to strategy.
•Some of the more successful robots use
techniques such as
statistical analysis
and
attempts at
neural networks
in their designs.
Computation Thinking
Robocode
•Introduction

http://www-
128.ibm.com/developerworks/java/l
ibrary/j-robocode/
•Secrets from the masters

http://www-
128.ibm.com/developerworks/librar
y/j-robotips/index.html
Computation Thinking
Alice
•An innovative 3D programming
environment that makes it easy to create
an animation for telling a story, playing an
interactive game, or a video to share on
the web.
•It is by far the easiest way to introduce
students to computer programming!
•Best of all, it is FREE!

http://alice.org/
Computation Thinking
Book
Recommendations
•Classroom Robotics: Case Stories of 21st
Century Instruction for Millennial Students
by Mark Guraand Kathleen King
•The purpose of this book is to reach out to
teachers, parents, coaches, and students who
may be hoping to, or just investigating the
possibility of, how to get started with robotics.

http://www.infoagepub.com/products/content/97
8-1-59311-602-6.php
Computation Thinking
Computation Thinking
Computation Thinking
QuickTime™ and a
MPEG-4 Video decompressor
are needed to see this picture.
Computation Thinking
Computation Thinking
BJU Computer
Science Team
•Team of 4 undergraduate college students
•Expose students to computational thinking
through exciting hands-on activities
•Contact
dwooster@bju.edu
to see about
scheduling us for a day with your young people
•Robotics -Lego Mindstorm
•Robocode-software robotics
•Alice -3D Interactive Story Telling
•Google Labs -explore the information age
Computation Thinking
I Welcome Feedback
& Quesitons
Computation Thinking
Killian Hill Christian
Computation Thinking
Athens Christian
Computation Thinking
Colonial Hills -Lithia Springs
I thought that was
really fun. You
also taught me
that I could solve
an EXTREMELY
hard math problem
and get it right! I
hope to do it
AGAIN next
year!!!!
Computation Thinking
You can
always come
back and get
us out of
school for a
day to play
with robots if
you want.
Lots of Smiling Faces!
Computation Thinking
I thought the
class would be
very boring, but
it was interesting
and insightful.
Your team was really friendly and they did not
talk to us like we were below them or belittle
us at all.
Computation Thinking
Forest Glen Bible
Camp (Nova Scotia)
Computation Thinking
Computation Thinking
The Worthwhile Team
Bit Builder Team
Web Strategist Team
First Impression Team