background image

 

 

7    

 InO

-B

o

Te

ac

her

 G

ui

de

 -

 Scr

at

ch

 

Having listened to all the different sounds, a program could be 
written to play a tune. Below is a list of the musical notes InO-
Bot can play. To the right is an example of a known tune. (Can 
you find out what it is?) 
 
Sound Musical Note 
17 

 

1c 

18 

 

1d 

19 

 

1e 

20 

 

1f 

21 

 

1g 

22 

 

2a 

23 

 

2b 

24 

 

2c 

25 

 

2d 

26 

 

2e 

27 

 

2f 

28 

 

2g 

29 

 

3a 

 
It is important to have the ‘wait’ blocks in place as these set the 
pauses between notes. These pauses could actually be created as 
a variable. This would mean the pause duration could be altered 
in one place rather than many times through the program.  
 
 
This is an example of using a variable 
to set the pauses throughout the 
tune. One change at the top of the 
program will change the pauses 
throughout.  
Note: Where a longer pause is 
needed the tempo variable is 
doubled (* 2). It could also be 
shortened by halving it (/2). 
 
 
 
 
 
 
 
 
 
 
 

Содержание InO-Bot Scratch

Страница 1: ...1 InO Bot Teacher Guide Scratch www tts shopping com Teacher Guide Scratch Product Code EL00483 InO Bot...

Страница 2: ...s 4 Automatic headlights 8 Key Focus 5 Avoid obstacles 9 Key Focus 6 Responding to sound 10 Getting Started with InO Bot and Scratch on Windows 11 InO Bot Bluetooth Connection 11 Windows 7 Bluetooth C...

Страница 3: ...ing references listed below are indicative of some aspects of the curriculum the activities cover They are not an exhaustive list nor do they indicate that one activity fully covers that curriculum ar...

Страница 4: ...of repetition will allow this activity to be developed Children can explore lighting the LEDs in different orders to create alternative patterns The example right could be seen as an emergency vehicle...

Страница 5: ...d to be increased or decreased by a degree or two The accuracy of movement may also be affected by the type of surface InO Bot moves over The example program shown above works but isn t very efficient...

Страница 6: ...variable In the Data section of Scratch choose Make a Variable Call it note The set of blocks shown right mean that pressing the up arrow on the keyboard adds 1 to the variable note and then plays tha...

Страница 7: ...7 2f 28 2g 29 3a It is important to have the wait blocks in place as these set the pauses between notes These pauses could actually be created as a variable This would mean the pause duration could be...

Страница 8: ...he example on the right shows a conditional statement If then else block in use If the value from the light sensor is less the 25 then turn the front lights on If it s not less than 25 25 or more else...

Страница 9: ...t moving forward The wait command ensures this movement starts before more commands are sent The forever loop then contains a conditional check If the distance sensor reports an object less than 20cm...

Страница 10: ...else turn them off If it rises above 20 then turn the next row of LEDs on else turn them off Because both conditional checks are in the same loop both can be true at the same time and therefore the fi...

Страница 11: ...tch2download 2 Download and install the TTS Scratch Launcher from the supporting material section of this page http www tts group co uk ino bot scratch programmable bluetooth floor robot 1009821 html...

Страница 12: ...ick on this message or icon to view the driver installation progress shown below 8 Windows will automatically install the required drivers 9 Once the drivers are installed the message below will be sh...

Страница 13: ...nge and a list of available Bluetooth devices will be shown 5 Click on the headphone icon by InO Bot and then click on Pair 6 Once paired a Connect message will be displayed 7 The Bluetooth connection...

Страница 14: ...ck on Add a Bluetooth Device 4 Click on the headphone icon by InO Bot Ignore the tablet phone icon 5 An option to pair should appear Click on the Pair button 6 Once the pairing completes the Connected...

Страница 15: ...or Advanced box underneath the InO Bot icon Basic is a more limited set of Scratch Blocks for InO Bot and Advanced contains all blocks available for InO Bot Click on Start Scratch 4 Scratch will open...

Страница 16: ...16 InO Bot Teacher Guide Scratch 7 InO Bot can then be used with Scratch Additional blocks to control InO Bot are available in More Blocks...

Страница 17: ...ull brightness 1 127 Moves forwards the stated distance and given speed slow medium or fast 1 127 Moves backwards the stated distance and given speed slow medium or fast Switches the motors on forward...

Страница 18: ...The commands and sensors below are available in addition to the Basic blocks listed above Command Values Description 0 255 Sets the top LEDs a given colour using red green and blue values 1 8 and 0 2...

Страница 19: ...1 1g 5 6 15 f 22 2a 6 7 16 g 23 2b 7 8 24 2c 8 9 25 2d 9 10 26 2e 27 2f 28 2g 29 3a Technical Support Please visit www tts group co uk for the latest product information Email feedback tts group co uk...

Отзывы: