Safety Information .................................................. Inside front cover
Kit Contents .............................................................................................. 1
Table of Contents ..................................................................................... 2
How to get started with CodeGamer ......................................................3
Assembling the gamepad and sensors
The CodeGamer app
The World of the Microcontroller ............................................................. 6
First steps ...................................................................................................... 8
Installation of the Arduino Software
Project 1: Blink! .................................................................................................. 9
Upload a program to your KosmoDuino
Project 2: Off switch ........................................................................................14
Project 3: On switch .........................................................................................15
The Interaction Board .....................................................................................17
Project 4: Colored light .....................................................................18
Project 5: At the push of a button .................................................... 22
Project 6: A blinking die .....................................................................26
Project 7: Serial monitor .....................................................................28
The for loop ........................................................................................... 30
Sensors .................................................................................................... 32
Project 8: Thermometer ........................................................................33
Project 9: Finger disco ........................................................................... 36
Project 10: Cheep! ................................................................................... 38
Project 11: Random sounds! .................................................................. 39
Project 12: Siren ...................................................................................... 40
Project 13: Musical scale ..................................................................... 43
Project 14: Sensor organ ...................................................................... 44
Project 15: The serial plotter ............................................................. 46
Project 16: Clap switch ...................................................................... 47
Project 17: Drawer monitor .............................................................. 48
Project 18: Looking inside the fridge .............................................. 53
Project 19: Ghostly eyes ................................................................... 55
Common Error Messages ............................................................................... 62
Notes ...................................................................................................................64
Publisher’s Information .......................................................Inside back cover
TIP !
You will find addition
al information on
the “Check It Out” pag
es (21, 59-61)
and “Knowledge Bas
e” pages (24-25,
35, 41-42, and 58).
› › › TABLE OF CONTENTS
2
1000 1001
1101 101 00
100 10
1010
0
CodeGamer manual inside english.indd 2
7/19/16 12:31 PM