Table of Contents
Acknowledgements vii
About the Authors viii
Introduction ix
1 Kit to Classroom 1
Out-of-the-Box Kit 1
Installing the Motors and Wheels on the Chassis 3
Installing the Sensor 12
Adding the Battery Holder 15
Installing the mCore and Battery 16
Wiring the mBot 19
Communicating with Your mBot 20
Test the mCore for Correct Connections 23
Test Your mBot Remote 23
What to Do with Your mBox Right out of the Box 25
Projects 26
To Classroom 28
Onboard Components 28
Powering Up Your mBot 31
Tour of the mCore and Onboard Sensors 34
Storing Components 37
Storing Projects 37
Protecting the mCore 42
Using a LEGO Technic Frame 43
Adding a Cover 51
Making Cables 53
Updating the mBot 58
Where We're Heading from Here 61
2 mBot Software Sensors 63
Default Program Options 63
Makeblock App 64
Tour of the Project Gallery 65
Navigating Blocks on a Mobile Device 68
Balloon Tag 72
mBlock 75
Connecting to mBlock 77
Traffic Light Classroom Volume Meter 85
Working with Sensors in mBlock 93
Sensor Recipes 95
Traffic Light Classroom Volume Meter, Revisited 103
Upload to Arduino 106
Independent Traffic Light Classroom Volume Meter 108
Reinstall the Default Program 113
Where We're Heading from Here 114
3 Animatronics 119
Puppet Movement without Sensors 121
Puppet Movement with Sensors 144
4 Measurement Devices 169
Monitoring Sensors in mBlock 182
Door Monitor 194
5 Robot Navigation 203
Robot Navigation Using Keyboard Commands 203
Robotic Game Challenges 204
6 Building Big and Small with mCore 245
Harnessing DC Power 245
Building Small 251
Building Big 274
Index 289