• Complain

Pradeeka Seneviratne - Beginning BBC micro:bit: A Practical Introduction to micro:bit Development

Here you can read online Pradeeka Seneviratne - Beginning BBC micro:bit: A Practical Introduction to micro:bit Development full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2018, publisher: Apress, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Pradeeka Seneviratne Beginning BBC micro:bit: A Practical Introduction to micro:bit Development
  • Book:
    Beginning BBC micro:bit: A Practical Introduction to micro:bit Development
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2018
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Beginning BBC micro:bit: A Practical Introduction to micro:bit Development: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Beginning BBC micro:bit: A Practical Introduction to micro:bit Development" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Learn essential concepts and techniques to build simple-to-advanced projects and overcome common programming challenges in micro:bit development.

Beginning BBC micro:bit will take you through the complete features and capabilities of the micro:bit controller, enabling you to program and build your own projects. The uses are endless for the micro:bit and this books will help get you started on building your next project with this popular and easy-to-use microcontroller.

Youll use online Python Editor and Mu Editor to build your own applications. Reviewed by the micro:bit developer team, this comprehensive guide also provides clean code examples to help you learn the key concepts behind the micro:bit API.

What Youll Learn

  • Work with the various kits and accessories

  • Master the micro:bit development platform with easy to follow examples and clean code

  • Build your own micro:bit applications using online Python Editor and Mu Editor

  • Use the board LED matrix, push bottoms, I/O pins, and accelerometer

  • Create your own music, build applications, and connect devices or exchange data with Bluetooth

Who This Book Is For


Beginners, those already experienced with electronics, and hobbyists at all levels looking to get started with a new microcontroller.

Pradeeka Seneviratne: author's other books


Who wrote Beginning BBC micro:bit: A Practical Introduction to micro:bit Development? Find out the surname, the name of the author of the book and a list of all author's works by series.

Beginning BBC micro:bit: A Practical Introduction to micro:bit Development — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Beginning BBC micro:bit: A Practical Introduction to micro:bit Development" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Pradeeka Seneviratne 2018
Pradeeka Seneviratne Beginning BBC micro:bit
1. Getting Ready
Pradeeka Seneviratne 1
(1)
Mulleriyawa, Sri Lanka
Welcome to the exciting world of building projects with BBC micro:bit! First, this chapter introduces the micro:bit and provides a shopping guide for micro:bit and its accessories, including starter kits and inventors kits. Then you will learn how to power the micro:bit board using various powering options. The most interesting part of this chapter is when you write your first code for the micro:bit with the online Python editor, and the Mu editor. You will also learn how to flash a program to the micro:bit and run it. The latter part of the chapter introduces working with REPL (Read-Evaluate-Print-Loop) using the Mu editor to run code line-by-line without flashing the complete program to the micro:bit.
What Is the BBC micro:bit?
The micro: bit (see Figure ) and is becoming increasingly popular with people around the world.
Figure 1-1 The BBC microbit in use image courtesy of the microbit - photo 1
Figure 1-1
The BBC micro:bit in use (image courtesy of the micro:bit Foundation)
It is the successor of the BBC micro (see Figure .
Figure 1-2 BBC micro from the 1980s source - photo 2
Figure 1-2
BBC micro from the 1980s (source: https://en.wikipedia.org/wiki/BBC_Micro )
Whats on the micro:bit?
Before you start coding with the micro:bit, you should familiarize yourself with the key features of the board.
Figure shows the front of the micro:bit board. The board has one of four color schemes, and you dont know which color you will get when purchasing a board.
Figure 1-3 Front view of the microbit board image courtesy of Kitronik - photo 3
Figure 1-3
Front view of the micro:bit board (image courtesy of Kitronik)
The front of the micro:bit board is designed to interact with the user by exposing the following components , as labeled on Figure :
  1. The buttons : There are two momentary push buttons labeled A and B that allow you to directly interact with your programs. You can configure them to control a game or pause and skip songs on a playlist, for example.
  2. Display : The display consists of 25 surface-mounted red LEDs arranged as a 5x5 grid that allow you to display text, images, and animations. The display can be used as an ambient light sensor too.
  3. Edge connector : The total of 25 pins on the edge connector allow you to connect various sensors and actuators, access I/O lines, and connect to power and ground. They include an LED matrix, two pushbuttons, an I2C bus, and a SPI. The 0, 1, 2, 3V, and GND pins are exposed as ring connectors, which allow you to easily connect crocodile or banana clips. The 0, 1, and 2 pins are specialized for capacitive sensing. All the pins can be accessed with the Kitronik edge connector breakout board (see Figure ) .
Figure 1-4 Kitronik edge connector breakout board image courtesy of Kitronik - photo 4
Figure 1-4
Kitronik edge connector breakout board (image courtesy of Kitronik: https://www.kitronik.co.uk/5601b-edge-connector-breakout-board-for-bbc-microbit-pre-built.html )
Figure 1-5 SparkFun microbit breakout image courtesy of SparkFun - photo 5
Figure 1-5
SparkFun micro:bit breakout (image courtesy of SparkFun Electronics: https://www.sparkfun.com/products/13989 )
Figure , Using Inputs and Outputs.
Figure 1-6 The microbit pinout image courtesy of microbit Foundation The - photo 6
Figure 1-6
The micro:bit pinout (image courtesy of micro:bit Foundation)
The back of the board (see Figure ) consists of a host of electronic components and hardware.
Figure 1-7 Back view of the microbit board image courtesy of Kitronik - photo 7
Figure 1-7
Back view of the micro:bit board (image courtesy of Kitronik)
The following list explains the most important things that can be found on the back of the board, as numbered in Figure :
  1. Processor (Nordic nRF51822): 16MHz 32-bit ARM Cortex-M0 CPU, 256KB flash memory, 16KB Static RAM ( https://developer.arm.com/products/processors/cortex-m/cortex-m0 ), with 2.4GHz Bluetooth low energy wireless networking, which allows you to pair the micro:bit with Bluetooth enabled mobile devices running Android and iOS.
  2. Compass (NXP/Freescale MAG3110) : Allows you to measure magnetic field strength in each of three axes.
  3. Accelerometer (NXP/Freescale MMA8652) : Allows you to measure the acceleration and movement along three axes.
  4. USB controller (NXP/Freescale KL26Z) : 48MHz ARM Cortex-M0+ core microcontroller, which includes a full-speed USB 2.0 On-The-Go (OTG) controller, used as a communication interface between the USB and the main Nordic microcontroller.
  5. Micro USB connector: Allows you to connect the micro:bit board with a computer for flashing codes or power it with 5V USB power.
  6. Bluetooth smart antenna : A printed antenna that transmits Bluetooth signals in the 2.4GHz band.
  7. RESET button: Allows you to reset the micro:bit and restart the currently running program or bring the micro:bit into maintenance mode.
  8. Battery connector/socket: Allows you to power the micro:bit board with 2 AAA batteries.
  9. System LED: The yellow color LED indicates USB power (solid) and data transfer (flashing). It doesnt indicate the battery power.
  10. Edge connector: Includes 21 pins
Buying a micro:bit
A single micro:bit board (see Figure ) is more than enough to build most of the applications that you can imagine, but if youre planning to build the peer-to-peer and radio networks that we will be discussing in this book, you need at least two micro:bit boards.
Figure 1-8 microbit board only You can buy microbit boards from various - photo 8
Figure 1-8
micro:bit board only
You can buy micro:bit boards from various local and online sellers. Table shows a list of online sellers that typically stock the micro:bit along with the product name and product page. These sellers usually ship the micro:bit to any country in the world. However, contact the seller before ordering to verify if there are any shipping restrictions to your country.
Table 1-1
Where to Buy the micro:bit
Vendor
Product Name
Product Page
Kitronik
BBC micro:bit (board only)
https://www.kitronik.co.uk/5613-bbc-microbit-board-only.html
BBC micro:bit (board only), retail pack
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Beginning BBC micro:bit: A Practical Introduction to micro:bit Development»

Look at similar books to Beginning BBC micro:bit: A Practical Introduction to micro:bit Development. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Beginning BBC micro:bit: A Practical Introduction to micro:bit Development»

Discussion, reviews of the book Beginning BBC micro:bit: A Practical Introduction to micro:bit Development and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.