Sunteți pe pagina 1din 57

INTRODUCTION

2015 CREATE Lab and BirdBrain Technologies

WHATS A MAKEATHON?

2015 CREATE Lab and BirdBrain Technologies

WHATS A ROBOT
PETTING ZOO?

2015 CREATE Lab and BirdBrain Technologies

INTRODUCTIONS &
ICE BREAKERS

2015 CREATE Lab and BirdBrain Technologies

TODAYS SCHEDULE
Time

Presentation

Now - 11:30

Introduction to Hummingbird Parts & Programming

11:30 12:00

Crazy Pets and Cool Mechanisms

12:00 1:30

Lunch and Brainstorming

1:30 - 3:00

Start Building!

3:00 3:15

Snack time!

3:15 5:00

Keep Building!

2015 CREATE Lab and BirdBrain Technologies

TOMORROWS SCHEDULE
Time

Presentation

10:00 - 12:30

Build robots

12:30 1:00

Lunch!

1:00 4:30

Keep Building Robots!

4:30 - 5:00

Show off the robots, take video, add final touches

2015 CREATE Lab and BirdBrain Technologies

INTRODUCTION TO

2015 CREATE Lab and BirdBrain Technologies

WHAT IS HUMMINGBIRD?
Familiar &
Flexible Craft
Materials

Common Robot
Components

2015 CREATE Lab and BirdBrain Technologies

Visual
Programming
Environments

SO WHAT IS A ROBOT?
Lets look it up
Merriam-Webster:
machine that looks like a human being []
device that automatically performs [] tasks
mechanism guided by automatic controls

2015 CREATE Lab and BirdBrain Technologies

I can't define a robot, but I know one when I see one.


- Joseph Engelberger, the Father of Industrial Robotics

Explore Planets
Create Art

Work in Factories

Drive Cars
Perform

Check out:
http://spectrum.ieee.
Surgery
org/blog/automaton
2015 CREATE Lab and BirdBrain Technologies

Help People with Disabilities

THE SENSE-THINK-ACT ROBOT

SENSE

Plan how to
react

THINK

Do something!

ACT
2015 CREATE Lab and BirdBrain Technologies

The Environment

Sense the
environment

SENSING

WITH HUMMINGBIRD

The Sensors

12

2015 CREATE Lab and BirdBrain Technologies

THINKING

WITH THE

HUMMINGBIRD CONTROLLER

13

2015 CREATE Lab and BirdBrain Technologies

ACTING

WITH LEDS AND MOTORS

The Outputs

14

2015 CREATE Lab and BirdBrain Technologies

CONNECTING &
PROGRAMMING

15

2015 CREATE Lab and BirdBrain Technologies

HUMMINGBIRD
PLUG IN USB AND POWER:
Motor Power Indicator

Motor Power Port

USB Port
Status Indicator

16

2015 CREATE Lab and BirdBrain Technologies

LAUNCH BIRDBRAIN
ROBOT SERVER!

17

2015 CREATE Lab and BirdBrain Technologies

OPEN SCRATCH!

Hummingbird
blocks are on the
More Blocks menu

18

2015 CREATE Lab and BirdBrain Technologies

HUMMINGBIRD
Output Ports

Sensor Ports
19

2015 CREATE Lab and BirdBrain Technologies

OUTPUTS

20

2015 CREATE Lab and BirdBrain Technologies

LED

a single color light source with


controllable brightness

Hint! The light color


matches the wire color.

21

2015 CREATE Lab and BirdBrain Technologies

...like a
miniature
colored light
bulb with a
dimming knob

USING AN LED

22

2015 CREATE Lab and BirdBrain Technologies

CONNECTION STEPS

1. Press little button on top with orange terminal tool


2. Wire should insert easily
If you have to push it hard make sure the button is all the way down
3. Release button to finish

23

2015 CREATE Lab and BirdBrain Technologies

TRI-COLOR LED

a red-green-blue (RGB) light


source which can produce many
colors

like the RGB


pixels of a TV or
computer screen,
the colors mix
together to make
different colors

24

2015 CREATE Lab and BirdBrain Technologies

USING A TRI-COLOR LED

25

2015 CREATE Lab and BirdBrain Technologies

LETS BLINK SOME


LEDS!

26

2015 CREATE Lab and BirdBrain Technologies

Select the port attached to your tri-color LED.


Then set the amount of red, green, and blue (0100).

Blue (0-100)

Port (1 or 2)

27

Red (0-100)

Green (0-100)

2015 CREATE Lab and BirdBrain Technologies

Two different colors should be separated by a


wait block (Control menu).

28

2015 CREATE Lab and BirdBrain Technologies

You can use a loop to make the LED blink. Dont


forget the second wait block!

29

2015 CREATE Lab and BirdBrain Technologies

SERVO

a limited range motor with controls for


specific angular positions

like an elbow
which can move
to different
angles through a
limited motion
range

30

2015 CREATE Lab and BirdBrain Technologies

USING A SERVO

31

2015 CREATE Lab and BirdBrain Technologies

LETS MOVE A
SERVO!

32

2015 CREATE Lab and BirdBrain Technologies

To use the HB servo block, select the servo port


and choose an angle (0-180). It can be helpful
to start with an angle of 90.

Port (1-4)

33

2015 CREATE Lab and BirdBrain Technologies

Angle (0-180)

Make a sequence that moves the servo back and


forth between two positions. Which blocks will
you need?
Can you make the LED blink as the servo moves
back and forth?

34

2015 CREATE Lab and BirdBrain Technologies

SOUND
We use computer speakers, theyre free!
Text to speech
Play sound files, or add your own!
Play notes

35

2015 CREATE Lab and BirdBrain Technologies

USING SOUND
Blocks on the Sound
menu and More
Blocks menu
Record your own sounds on the
Sounds tab!

36

2015 CREATE Lab and BirdBrain Technologies

Modify your previous expressions to add a note


for each position of the servo. Play your
sequence to make music as the servo moves
back and forth.

37

2015 CREATE Lab and BirdBrain Technologies

MOTOR

an electric motor with speed control that can


rotate in either direction indefinitely

like a fan
where you
can control
the blade
speed and
blowing
direction

38

2015 CREATE Lab and BirdBrain Technologies

USING A MOTOR

39

2015 CREATE Lab and BirdBrain Technologies

VIBRATION MOTOR
a small motor that causes a shaking motion
where you can control the intensity of
shaking

like the
vibrate
mode of a
cellphone

40

2015 CREATE Lab and BirdBrain Technologies

USING A VIBRATION
MOTOR

41

2015 CREATE Lab and BirdBrain Technologies

LETS USE MOTORS AND


VIBRATION MOTORS!

42

2015 CREATE Lab and BirdBrain Technologies

For the motor, you set the port and the speed of
rotation from -100 to 100 (0 = off).

For the vibration motor, you set the port and


the strength of vibration (0-100).

43

2015 CREATE Lab and BirdBrain Technologies

Write a script that turns the motor and vibration


motor on for five seconds and then off for five
seconds.

44

2015 CREATE Lab and BirdBrain Technologies

SENSORS

45

2015 CREATE Lab and BirdBrain Technologies

USING A SENSOR

Hint! Any sensor type can be used in any sensor port.

46

2015 CREATE Lab and BirdBrain Technologies

LIGHT SENSOR
a sensor that detects how bright the ambient light is

like in
walkway
lights that
turn on at
dark

47

2015 CREATE Lab and BirdBrain Technologies

TEMPERATURE SENSOR
a sensor that detects the temperature

like in
modern
digital
thermostats

48

2015 CREATE Lab and BirdBrain Technologies

DISTANCE SENSOR
a sensor that detects how far away something is

like in no
touch soap
dispensers

49

2015 CREATE Lab and BirdBrain Technologies

SOUND SENSOR
a sensor that detects how noisy the environment is

50

2015 CREATE Lab and BirdBrain Technologies

POTENTIOMETER
a sensor that detects how it has been rotated

like the volume


control knob on a
radio

51

2015 CREATE Lab and BirdBrain Technologies

PROGRAMMING A SENSOR!

52

2015 CREATE Lab and BirdBrain Technologies

The sensor blocks must be used within other


blocks.
Most blocks measure magnitude on a scale of 0 100 (arbitrary units), but distance is measured in
centimeters and temperature in degrees Celsius.

53

2015 CREATE Lab and BirdBrain Technologies

You can use a sensor to control a light or motor.

Can you control the motor with a light sensor?

54

2015 CREATE Lab and BirdBrain Technologies

Use a sensor block to make a decision!


What will this script do? Try it out!

55

2015 CREATE Lab and BirdBrain Technologies

The threshold is the point where the robots


decision changes.
Threshold

56

2015 CREATE Lab and BirdBrain Technologies

Write a sequence that moves a servo to one


position when it is dark and another when it is
light.

57

2015 CREATE Lab and BirdBrain Technologies

S-ar putea să vă placă și