Buy The Official BBC micro:bit User Guide at Bookstore UAE
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer science > Computer architecture and logic design > The Official BBC micro:bit User Guide
The Official BBC micro:bit User Guide

The Official BBC micro:bit User Guide


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

The go-to guide to getting started with the BBC micro:bit and exploring all of its amazing capabilities.

The BBC micro:bit is a pocket-sized electronic development platform built with education in mind. It was developed by the BBC in partnership with major tech companies, communities, and educational organizations to provide kids with a fun, easy, inexpensive way to develop their digital skills. With it, kids (and grownups) can learn basic programming and coding while having fun making virtual pets, developing games, and a whole lot more.

Written by internationally bestselling tech author Gareth Halfacree and endorsed by the Micro:bit Foundation, The Official BBC micro:bit User Guide contains what you need to know to get up and running fast with the BBC micro:bit. Learn everything from taking your first steps with the BBC micro:bit to writing your own programs. You'll also learn how to expand its capabilities with add-ons through easy-to-follow, step-by-step instructions.

  • Set up your BBC micro:bit and develop your digital skills
  • Write code in JavaScript Blocks, JavaScript, and Python
  • Discover the BBC micro:bit’s built-in sensors
  • Connect the BBC micro:bit to a Raspberry Pi to extend its capabilities
  • Build your own circuits and create hardware

The Official BBC micro:bit User Guide is your go-to source for learning all the secrets of the BBC micro:bit. Whether you're just beginning or have some experience, this book allows you to dive right in and experience everything the BBC micro:bit has to offer.



Table of Contents:

Foreword xi

Introduction xiii

Part I

Chapter 1 Meet the BBC micro:bit 3

A Tour of the Board 3

Breaking It Down 5

Display 6

Buttons 7

Processor 8

Radio 9

Accelerometer 10

Compass 11

Input-Output Pins 12

Micro-USB Port 13

Battery Connector 14

Chapter 2 Getting Started with the BBC micro:bit 17

Handling the BBC micro:bit 17

Powering the BBC micro:bit 18

USB Power 18

Battery Power 20

Greetings from the BBC micro:bit 23

Signs of Life 24

Testing the Buttons 24

Motion Gaming 24

Get Coding 25

Resetting the BBC micro:bit 25

Chapter 3 Programming the BBC micro:bit 27

USB Connectivity 27

Drag-and-Drop 29

Automatic Flashing 31

The Code Editor 32

Downloading Your Program 33

About Flash Memory 38

Part II

Chapter 4 Programming Languages 41

About Programming Languages 41

The Three Main BBC micro:bit Languages 42

JavaScript Blocks 43

JavaScript 44

Python 45

Comparing Programming Languages 46

Choosing a Programming Language 48

Other Programming Languages 49

Chapter 5 JavaScript Blocks 51

Introducing the JavaScript Blocks Editor 51

Program 1: ‘Hello, World!’ 54

Loops 57

Program 2: Button Inputs 58

Multiple Buttons 60

Program 3: Touch Inputs 61

Variables 62

Program 4: The Temperature Sensor 65

Formatting the Output 67

Program 5: The Compass Sensor 67

Program 6: The Accelerometer Sensor 70

Delays 73

Reading Raw Accelerometer Data 74

Program 7: The Fruit Catcher Game 76

The Setup 77

The Main Program Loop 78

Conditional Loops 80

Conditional Statements 82

The Control Events 84

Further Steps 86

Chapter 6 JavaScript 87

Introducing the JavaScript Editor 88

Program 1: ‘Hello, World!’ 90

Loops 93

Program 2: Button Inputs 94

Multiple Buttons 97

Program 3: Touch Inputs 98

Variables 99

Program 4: The Temperature Sensor 102

Formatting the Output 104

Program 5: The Compass Sensor 104

Program 6: The Accelerometer Sensor 107

Delays 109

Reading Raw Accelerometer Data 110

Program 7: The Fruit Catcher Game 112

The Setup 113

The Main Program Loop 115

The Conditional Loops 116

The Conditional Statements 117

The Control Events 120

Further Steps 123

Chapter 7 Python 125

Introducing the Python Editor 126

Program 1: ‘Hello, World!’ 128

Loops 132

Program 2: Button Inputs 133

Multiple Buttons 136

Program 3: Touch Inputs 137

Variables 138

Program 4: The Temperature Sensor 141

Formatting the Output 142

Program 5: The Compass Sensor 143

Program 6: The Accelerometer Sensor 145

Delays 147

Reading Raw Accelerometer Data 148

Program 7: The Fruit Catcher Game 150

The Setup 150

The Main Program Loop 153

Conditional Loops 154

Conditional Statements 155

Drawing the Sprites 156

Finishing the Program 157

Further Steps 160

Part III

Chapter 8 The Wireless BBC micro:bit 163

The BBC micro:bit Radio 163

Program 1: One-to-One Communication 164

Program 2: One-to-Many Communication 167

Program 3: Radio Groups 169

Testing the Group Feature 171

Using the BBC micro:bit with a Smartphone or Tablet 173

Chapter 9 The BBC micro:bit and the Raspberry Pi 175

About the Raspberry Pi 176

Connecting the Raspberry Pi to the BBC micro:bit 177

Reading from the BBC micro:bit 180

Using the BBC micro:bit Display 186

Practical Example: A CPU Monitor 189

Chapter 10 Building Circuits 193

Electronic Equipment 194

The Input-Output Pins 196

The Large Pins 197

The Small Pins 199

Serial Peripheral Interface (SPI) 201

Inter-Integrated Circuit (I2C) 201

Universal Asynchronous Receiver/Transmitter (UART) 201

Your First Circuits 202

Reading from a Button Input 202

Reading Resistor Colour Codes 205

Writing to an LED Output 207

Fading an LED via PWM 211

Reading an Analogue Input 213

Chapter 11 Extending the BBC micro:bit 217

Extending via Breakout Boards 217

Kitronik Edge Connector Breakout Board 218

ScienceScope Micro:bit Breakout Board 219

Proto-Pic Bread:Bit 220

Proto-Pic Exhi:Bit 220

Robotics and the BBC micro:bit 222

Kitronik Line-Following Buggy 222

Kitronik Motor Driver Board 223

Technology Will Save Us Micro:Bot 224

4tronix Bit:Bot 225

BinaryBots 226

Other BBC micro:bit Add-Ons 227

Kitronik Mi:Power 227

Proto-Pic Micro:Pixel Board 228

Proto-Pic Simon:Says Board 229

4tronix Bit:2:Pi Board 230

Kitronik Mi:Pro Protector and Mi:Power Cases 231

Chapter 12 The Wearable BBC micro:bit 233

Advantages of the Wearable BBC micro:bit 234

Conductive Thread 235

Using Conductive Thread 237

The Rain-Sensing Hat 241

Building the Hat 242

Mounting the BBC micro:bit 244

The Rain-Sensing Program 245

Battery Power 246

Chapter 13 Additional Resources 249

The Micro:bit Educational Foundation 249

Official Teaching Resources 251

Third-Party Teaching Resources 252

The Institution of Engineering and Technology 252

Computing At School 253

Micro:bit for Primary Schools 253

TES Magazine 255

Code Clubs 256

Part IV

Appendix A JavaScript Blocks Recipes 259

Appendix B JavaScript Recipes 267

Appendix C Python Recipes 275

Appendix D Pin-Out Listing 285

Index 289



About the Author :

GARETH HALFACREE is the author of the Raspberry Pi User Guide and an expert in educational and embedded computing. A noted technology journalist and long-time tech author, Gareth also has an extensive background in computing education.


Best Sellers


Product Details
  • ISBN-13: 9781119413769
  • Publisher: John Wiley & Sons Inc
  • Publisher Imprint: Standards Information Network
  • Language: English
  • ISBN-10: 1119413761
  • Publisher Date: 04 Oct 2017
  • Binding: Digital (delivered electronically)
  • No of Pages: 320


Similar Products

Add Photo
Add Photo

Customer Reviews

     0     
out of (%) reviewers recommend this product
Top Reviews
Rating Snapshot
Select a row below to filter reviews.
5
4
3
2
1
Average Customer Ratings
     0     
00 of 0 Reviews
Sort by :
Active Filters

00 of 0 Reviews
SEARCH RESULTS
1–2 of 2 Reviews
    BoxerLover2 - 5 Days ago
    A Thrilling But Totally Believable Murder Mystery

    Read this in one evening. I had planned to do other things with my day, but it was impossible to put down. Every time I tried, I was drawn back to it in less than 5 minutes. I sobbed my eyes out the entire last 100 pages. Highly recommend!

    BoxerLover2 - 5 Days ago
    A Thrilling But Totally Believable Murder Mystery

    Read this in one evening. I had planned to do other things with my day, but it was impossible to put down. Every time I tried, I was drawn back to it in less than 5 minutes. I sobbed my eyes out the entire last 100 pages. Highly recommend!


Sample text
Photo of
    Media Viewer

    Sample text
    Reviews
    Reader Type:
    BoxerLover2
    00 of 0 review

    Your review was submitted!
    The Official BBC micro:bit User Guide
    John Wiley & Sons Inc -
    The Official BBC micro:bit User Guide
    Writing guidlines
    We want to publish your review, so please:
    • keep your review on the product. Review's that defame author's character will be rejected.
    • Keep your review focused on the product.
    • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
    • Refrain from mentioning competitors or the specific price you paid for the product.
    • Do not include any personally identifiable information, such as full names.

    The Official BBC micro:bit User Guide

    Required fields are marked with *

    Review Title*
    Review
      Add Photo Add up to 6 photos
      Would you recommend this product to a friend?
      Tag this Book Read more
      Does your review contain spoilers?
      What type of reader best describes you?
      I agree to the terms & conditions
      You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

      CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

      These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


      By submitting any content to Bookswagon, you guarantee that:
      • You are the sole author and owner of the intellectual property rights in the content;
      • All "moral rights" that you may have in such content have been voluntarily waived by you;
      • All content that you post is accurate;
      • You are at least 13 years old;
      • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
      You further agree that you may not submit any content:
      • That is known by you to be false, inaccurate or misleading;
      • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
      • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
      • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
      • For which you were compensated or granted any consideration by any unapproved third party;
      • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
      • That contains any computer viruses, worms or other potentially damaging computer programs or files.
      You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


      For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


      All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

      Accept


      Inspired by your browsing history


      Your review has been submitted!

      You've already reviewed this product!