boe -bots and stem

26
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 circuits, problem solving, and writing computer programs. This project easily incorporates the science, technology, engineering and mathematics that is STEM. (8 th grade and up)

Upload: merry

Post on 23-Feb-2016

32 views

Category:

Documents


0 download

DESCRIPTION

Boe -bots and STEM. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Boe -bots and STEM

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

circuits, problem solving, and writing computer programs. This project easily incorporates the science, technology, engineering

and mathematics that is STEM. (8th grade and up)

Page 2: Boe -bots and STEM

Matthew 28:19

“Go therefore and make disciples of all nations, baptizing them in the name of the Father, and of the Son, and of the Holy Spirit…”

Page 3: Boe -bots and STEM

STEM• Science – electricity, circuits, electronics,

computer operations• Technology – programming a robot with a

computer• Engineering – constructing a rolling “robot”

and planning for it to accomplish given tasks• Math – thinking logically, looking for patterns

or using ratios when programming, calculating speed, RPM’s, etc.

Page 4: Boe -bots and STEM

What You Get in a Boe-Bot KitAvailable from www.parallax.com$159.99 each - may be reused!

Don’t forget to include the cost of batteries!

Page 5: Boe -bots and STEM

The “Board of Education”

• Includes a breadboard to connect LED’s, capacitors, resistors, servos

• Plug-in for the “brain”• Connection to a

computer• Connection to a power

source (1 - 9 V or 4 AA batteries)

Page 6: Boe -bots and STEM

The BASIC Stamp

• The “brain” of the Boe-bot• A plug-in microcontroller• Programmed in PBASIC

ParallaxBeginnersAll-PurposeInstructionCode

Page 7: Boe -bots and STEM

Completed Boe-Bot

Page 8: Boe -bots and STEM

Chapter 1: Your Boe-Bot’s Brain

• Downloading & installing software

• Setting up the hardware & testing it

• Beginning programming: DEBUG, END, Ascii Code

Page 9: Boe -bots and STEM

Chapter 2• Programming with PAUSE,

DO-LOOP, HIGH, LOW, PULSOUT (more precise at controlling duration)

• Resistors (Color Bands)• Diodes and LED’s• Voltage and circuits• Causing the LED’s to blink• microseconds

Page 10: Boe -bots and STEM

Chapter 2 (cont.)

• Connecting the servo motors

• Centering the servo motors

• Programming with variables (bits, bytes, words), FOR – NEXT

• Idea of subsystem testing• Emphasis on Trouble-

Shooting

Page 11: Boe -bots and STEM

' {$STAMP BS2}' {$PBASIC 2.5}

DEBUG "Program running."

counter VAR Word

FOR counter = 1 TO 122 'clockwise just under 3 secPULSOUT 12,650PAUSE 20NEXT

FOR counter = 1 TO 40 ' stop 1 secPULSOUT 12,750PAUSE 20NEXT

FOR counter = 1 TO 122 'counterclockwise 3 secPULSOUT 12,850PAUSE 20NEXT

END

Page 12: Boe -bots and STEM

Chapter 2 (cont.)

Observing the servos when given different commands (clockwise, counterclockwise, speeds)

P13 P12 Description Behavior

850 650 Full speed, P13 ccw, P12 cw

650 850

850 850

650 650

750 850

650 750

750 750 Both stay still

760 740

776 730

850 700

800 650

Page 13: Boe -bots and STEM

Chapter 3

• Assemble the Boe-Bot (servo motors, power supply, side wheels, tail ball, cotter pin)

• Connect parts to the Board of Education

• Test each wheel

Page 14: Boe -bots and STEM

Chapter 3 (cont.)

Piezospeaker• Introduced to frequency,

hertz, and how voltage changes can cause vibrations

• Programming with FREQOUT• Some students enjoy

programming it to play a tune.

• Using the speaker to detect bownout.

Page 15: Boe -bots and STEM

Chapter 3

Calculating RPM’s of wheels.

Pulse Width (ms) Rotational Velocity(RPM)

1.3

1.35

1.4

1.45

1.5

1.55

1.6

1.65

1.7

Page 16: Boe -bots and STEM

Chapter 4

• The concept of using the direction the wheels are turning to cause the Boe-Bot to turn.

• Learning to program it to move backwards, rotate, and pivot.

Back of Boe-Bot

Page 17: Boe -bots and STEM

Chapter 4 (cont.)

• Experimenting with programming to straighten out the Boe-Bot’s path.

• Gathering data in order to control the distance traveled by the Boe-Bot.

• Calculating the speed of the Boe-Bot.• Using subroutines to control the navigation of

the Boe-Bot.

Page 18: Boe -bots and STEM
Page 19: Boe -bots and STEM

' Robotics with the Boe-Bot ' Move forward, left, right, and backward

' {$STAMP BS2}' {$PBASIC 2.5}

DEBUG "program running."

counter VAR word

FREQOUT 4, 2000, 3000 'SIGNAL PROGRAM START/RESET

GOSUB ForwardGOSUB LeftGOSUB RightGOSUB Backward

END

Main Program

Page 20: Boe -bots and STEM

Forward:FOR counter = 1 TO 64 PULSOUT 13,850 PULSOUT 12,650 PAUSE 20nextPAUSE 200return

Left:FOR counter = 1 TO 64 PULSOUT 13,650 PULSOUT 12,650 PAUSE 20nextPAUSE 200RETURN

Right:FOR counter = 1 TO 64 PULSOUT 13,850 PULSOUT 12,850 PAUSE 20nextPAUSE 200RETURN

Backward:FOR counter = 1 TO 64 PULSOUT 13,650 PULSOUT 12,850 PAUSE 20nextPAUSE 200RETURN

The Subroutines

Page 21: Boe -bots and STEM

Chapter 5

• Introduced to the idea of a tactile sensor that can be programmed to react to touch.

• Building and testing the whiskers.

• Programming with IF – THEN – ELSE – ENDIF

• Programming for “AI”.

Page 22: Boe -bots and STEM

Chapter 6• Introduced to a

photoresistor and the concept of illuminance.

• Building a photoresistor circuit and understanding how it works (resistors in series, voltage dividers, threshold voltage).

• Experimenting with different voltage dividers and roaming towards light.

http://www.parallax.com/Portals/0/Downloads/mm/video/boebot/lightfollower.mpg

Page 23: Boe -bots and STEM

Chapter 7

• The spectrum and its wavelengths.• Building and testing infrared

transmitter/ detector pairs.• Testing for object detection and

infrared interference.• Programming to detect objects and

avoid them.

Page 24: Boe -bots and STEM

STEM• Science – electricity, circuits, electronics,

computer operations• Technology – programming a robot with a

computer• Engineering – constructing a rolling “robot”

and planning for it to accomplish given tasks• Math – thinking logically, looking for patterns

or using ratios when programming, calculating speed, RPM’s, etc.

Page 25: Boe -bots and STEM

Boe-Bots and STEM Concepts!!

Page 26: Boe -bots and STEM

The Presenters

Vera AbreschChrist Lutheran School

Albuquerque, NM

Middle School Math, Science & Technology

[email protected]

Julie LemkeSt. John’s School

Denver, CO

Middle SchoolLanguage Arts & Technology

[email protected]