Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
BBC Micro:bit in Practice

You're reading from   BBC Micro:bit in Practice A hands-on guide to building creative real-life projects with MicroPython and the BBC Micro:bit

Arrow left icon
Product type Paperback
Published in Dec 2022
Publisher Packt
ISBN-13 9781804610121
Length 292 pages
Edition 1st Edition
Arrow right icon
Authors (3):
Arrow left icon
Sandeep Saini Sandeep Saini
Author Profile Icon Sandeep Saini
Sandeep Saini
Ashwin Pajankar Ashwin Pajankar
Author Profile Icon Ashwin Pajankar
Ashwin Pajankar
Abhishek Sharma Abhishek Sharma
Author Profile Icon Abhishek Sharma
Abhishek Sharma
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Part 1: Getting Started with the BBC Micro:bit
2. Chapter 1: Introduction to the BBC Micro:bit FREE CHAPTER 3. Chapter 2: Setting Up the Micro:bit and Using Code Editors 4. Chapter 3: Python Programming Essentials 5. Chapter 4: Advanced Python 6. Part 2: Programming Hardware with MicroPython
7. Chapter 5: Built-in LED Matrix Display and Push Buttons 8. Chapter 6: Interfacing External LEDs 9. Chapter 7: Programming External Push Buttons, Buzzers, and Stepper Motors 10. Part 3: Filesystems and Programming Analog I/O
11. Chapter 8: Exploring the Filesystem 12. Chapter 9: Working with Analog Input and PWM 13. Part 4: Advanced Hardware Interfacing and Applications
14. Chapter 10: Working with Acceleration and Direction 15. Chapter 11: Working with NeoPixels and a MAX7219 Display 16. Chapter 12: Producing Music and Speech 17. Chapter 13: Networking and Radio 18. Chapter 14: Advanced Features of the Micro:bit 19. Chapter 15: Wearable Computing and More Programming Environments 20. Index 21. Other Books You May Enjoy

The specifications of Micro:bit V1 and Micro:bit V2

The following table compares the features of the BBC Micro:bit V1 and V2 side by side (source: https://microbit.org/):

BBC Micro:bit

V1

V2

Processor

Nordic nRF51822

Nordic nRF52833

Flash memory

256 KB

512 KB

RAM

16 KB

128 KB

Speed

16 MHz

64 MHz

Bluetooth

Bluetooth 4.0

Bluetooth 5.1 with Bluetooth Low Energy (BLE)

Radio communication

2.4 GHz radio (80 channels)

2.4 GHz radio (80 channels)

Buttons

Two programmable (A and B) and one system (reset)

Two programmable (A and B) and one system (power/reset)

On/off switch

None

Press and hold the rear power button

Touchpad

None

Touch-sensitive logo

Microphone

None

Onboard Knowles SPU0410LR5H-QB-7 MEMS microphone (with LED indicator)

Display

5x5 programmable LED matrix (25 LEDs in total)

5x5 programmable LED matrix (25 LEDs in total)

Speaker

None

Onboard JIANGSU HUANENG MLT-8530 (up to 80 dB)

Motion sensor and compass

LSM303AGR

LSM303AGR

Temperature sensor

On-board temperature sensor

On-core NRF52

Edge connector

25 pins

25 pins

Table 1.1 – Comparison of the features of BBC Micro:bit V1 and V2

The processors used in both versions are a special type of processor known as a System on Chip (also abbreviated as SoC or SOC). An SoC is an Integrated Circuit (IC) that has all or most components of a complete working computer system. A typical SoC has a processor, flash memory, and RAM. Both versions employ Advanced RISC Machines (ARM) processors. The ARM uses Reduced Instruction Set Computer (RISC) instruction architecture. The V1 uses Nordic nRF51822 SoC (https://www.nordicsemi.com/Products/nRF51822), and the V2 uses Nordic nRF52833 (https://www.nordicsemi.com/products/nrf52833). The Random Access Memory (RAM) is used to execute the programs. The flash memory is used to store the programs, and it is reprogrammable.

The following diagram shows the front faces of V2 and V1 side by side:

Figure 1.1 – Hardware features on the fronts of V2 and V1 (courtesy: ©Micro:bit Educational Foundation/microbit.org)

Figure 1.1 – Hardware features on the fronts of V2 and V1 (courtesy: ©Micro:bit Educational Foundation/microbit.org)

The following diagram shows the rear of the V2 and V1 side by side:

Figure 1.2 – The hardware features on the rears of V2 and V1 (courtesy: ©Micro:bit Educational Foundation/microbit.org)

Figure 1.2 – The hardware features on the rears of V2 and V1 (courtesy: ©Micro:bit Educational Foundation/microbit.org)

Another important aspect of the Micro:bit boards of both versions is that they come with edge connectors to interface with external hardware components. The following diagram explains the slight difference between the edge connectors of V2 and V1 side by side:

Figure 1.3 – The edge connectors of V2 and V1 (courtesy: https://tech.microbit.org/hardware/edgeconnector/)

Figure 1.3 – The edge connectors of V2 and V1 (courtesy: https://tech.microbit.org/hardware/edgeconnector/)

You can read online about the edge connectors in detail at https://tech.microbit.org/hardware/edgeconnector/ and https://microbit.pinout.xyz/.

I understand that you may feel a bit overwhelmed with all this technical information at this stage. Without enough context about the utility of this technical information, it is natural to feel that way. However, in the upcoming chapters, we will learn about and demonstrate all these features in detail.

Now that we have a fair understanding of the history and specifications of the Micro:bit, let’s learn various methods to power it up.

You have been reading a chapter from
BBC Micro:bit in Practice
Published in: Dec 2022
Publisher: Packt
ISBN-13: 9781804610121
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime