Engineering:Micro Bit

From HandWiki
Short description: Single-board computer designed by the BBC for use in computer education
BBC micro:bit
Microbit-logo-stacked.png
Micro-bit v1 & v2.JPG
micro:bit v1 (right) and v2 (left)
DeveloperBBC Learning, BBC R&D, ARM Holdings, Barclays, element14, NXP Semiconductors, Lancaster University, Microsoft, Samsung, Nordic Semiconductor, ScienceScope, Technology Will Save Us, Python Software Foundation
TypeSingle-board microcontroller
Release datev1: 10 February 2016[1]
v2: 13 October 2020[2]
CPUv1: Nordic nRF51822, 16 MHz ARM Cortex-M0 core, 256 KB Flash, 16 KB RAM[3][4]
v2: Nordic nRF52833, 64 MHz ARM Cortex-M4 core, 512 KB Flash, 128 KB RAM
ConnectivityBluetooth LE, MicroUSB, edge connector
Websitemicrobit.org

The Micro Bit (also referred to as BBC Micro Bit, stylized as micro:bit) is an open source hardware ARM-based embedded system designed by the BBC for use in computer education in the United Kingdom . It was first announced on the launch of BBC's Make It Digital campaign on 12 March 2015[5][6] with the intent of delivering 1 million devices to pupils in the UK. The final device design and features were unveiled on 6 July 2015[7] whereas actual delivery of devices, initially planned for September 2015 to schools and October 2015 to general public,[8] began on 10 February 2016.[9][10]

The device is described as half the size of a credit card[11] and has an ARM Cortex-M0 processor, accelerometer and magnetometer sensors, Bluetooth and USB connectivity, a display consisting of 25 LEDs, two programmable buttons, and can be powered by either USB or an external battery pack.[3] The device inputs and outputs are through five ring connectors that form part of a larger 25-pin edge connector. In October 2020, a physically nearly identical v2 board was released that features a Cortex-M4F microcontroller, with more memory and other new features.

Hardware

v1

The physical board measures 43 mm × 52 mm and, (As of July 2015),[12] included:

micro:bit v1 with its original packaging behind it
  • Nordic nRF5182216 MHz 32-bit ARM Cortex-M0 microcontroller, 256 KB flash memory, 16 KB static RAM, 2.4 GHz Bluetooth low energy wireless networking. The ARM core has the capability to switch between 16 MHz or 32.768 kHz.[3][4][13][14][15][16]
  • NXP/Freescale KL26Z – 48 MHz ARM Cortex-M0+ core microcontroller, that includes a full-speed USB 2.0 On-The-Go (OTG) controller, used as a communication interface between USB and main Nordic microcontroller. This device also performs the voltage regulation from the USB supply (4.5-5.25 V) down to the nominal 3.3 volts used by the rest of the PCB. When running on batteries this regulator is not used.
  • NXP/Freescale MMA8652 – 3-axis accelerometer sensor via I²C-bus.[17]
  • NXP/Freescale MAG3110 – 3-axis magnetometer sensor via I²C-bus (to act as a compass and metal detector).[17]
  • MicroUSB connector, battery connector, 25-pin edge connector.[3][15][17][18]
  • Display consisting of 25 LEDs in a 5×5 array.[15]
  • Three tactile pushbuttons (two for applications, one for reset).[19]

I/O includes three ring connectors (plus one power one ground) which accept crocodile clips or 4 mm banana plugs[19] as well as a 25-pin edge connector with two or three PWM outputs, six to 17 GPIO pins (depending on configuration), six analog inputs, serial I/O, SPI, and I²C.[17] Unlike early prototypes, which had an integral battery, an external battery pack (AAA batteries) can be used to power the device as a standalone or wearable product.[4][11][15] Health and safety concerns, as well as cost, were given as reasons for the removal of the button battery from early designs.[20]

The available hardware design documentation consist of only the schematic and BOM distributed under the Creative Commons By Attribution license, no PCB layout is available.[21][22] The compatible reference design by Micro:bit Educational Foundation, however, is fully documented.

v2

v2, released on 13 October 2020, includes:[23]

micro:bit v2 with its original packaging behind it
  • Nordic nRF52833 – 64 MHz 32-bit ARM Cortex-M4 microcontroller, 512 KB flash memory, 128 KB static RAM, 2.4 GHz Bluetooth low energy wireless networking provided by Nordic S113 SoftDevice, integrated temperature sensor.
  • NXP/Freescale KL27Z – 48 MHz ARM Cortex-M0+ core microcontroller, preprogrammed as a full-speed USB 2.0 controller, used as a communication interface between USB and the CPU.
  • Either ST LSM303 or NXP FXOS8700 – 3-axis combined accelerometer and magnetometer sensor via I²C-bus.
  • Knowles MEMS microphone with a built-in LED indicator.
  • Jiangsu Huaneng MLT-8530 magnetic speaker.
  • MicroUSB connector, JST PH battery connector, 25-pin edge connector.
  • Display consisting of 25 LEDs in a 5×5 matrix.
  • Three tactile pushbuttons (two for applications, one for reset) and a touch sensor button.

In micro:bit v2, the reset button can be used to turn the board off by holding it for 3 seconds.[24][25][26]

Software

There are three official code editors on the micro:bit foundation web site:

The Python programming experience on the Micro Bit is provided by MicroPython.[28][29] Users are able to write Python scripts in the Micro Bit web editor which are then combined with the MicroPython firmware and uploaded to the device. Users can also access the MicroPython REPL running directly on the device via the USB serial connection, which allows them to interact directly with the Micro Bit's peripherals.

The Micro Bit was created using the ARM mbed development kits. The run-time system and programming interface utilize the mbed cloud compiler service to compile the user's code into a .UF2 file. The compiled code is then flashed onto the device using USB or Bluetooth connections. The device appears as a USB drive when connected to a computer, and code can be flashed dragging and dropping the .UF2 file.[18]

Other editors for the BBC micro:bit include:

  • Mu, a Python editor
  • Espruino, a JavaScript interpreter
  • EduBlocks, a block editor for MicroPython

Other programming languages for the BBC micro:bit include:

Operating systems which can be built for the BBC micro:bit:

  • Zephyr - the Zephyr lightweight OS comes with the required parameters file to be able to run it on this board.

History

Development

The Micro Bit was designed to encourage children to get actively involved in writing software for computers and building new things, rather than being consumers of media.[3] It was designed to work alongside other systems, such as the Raspberry Pi,[30] building on BBC's legacy with the BBC Micro for computing in education. The BBC planned to give away the computer free to every year 7 (11- and 12-year old) child in Britain starting from October 2015 (around 1 million devices).[4][20] In advance of the roll-out an online simulator was made available to help educators prepare, and some teachers were to receive the device in September 2015.[3] The device was planned to be on general sale by the end of 2015.[3][31] However, problems delayed the launch until 22 March 2016.[8]

The BBC had a difficult decision to choose which school year group would be the first to receive the free Micro Bits, and the BBC's head of learning said that "The reason we plumped for year seven [rather than year five] is it had more impact with that age group … they were more interested in using it outside the classroom".[31]

Planning for the project began in 2012 as part of the BBC Computer Literacy Programme, and by the time of the launch in July 2015 the BBC had taken on board 29 partners to help with the manufacturing, design, and distribution of the device.[32][33] The BBC has said that the majority of the development costs were borne by the project partners.

Partnerships

The development of the Micro Bit is a product of a number of partners working with the BBC:

  • Microsoft – contributed its software expertise and customised the TouchDevelop platform to work with the device. It hosts the projects and code for users of the device.[32] It has also developed the teacher training materials for the device.[3]
  • Lancaster University – developing the device runtime.[34]
  • Farnell element14 – overseeing the manufacture of the device.[3]
  • Nordic Semiconductor – supplied the CPU for the device.[3]
  • NXP Semiconductors – supplied the sensors and USB controller.[3]
  • ARM Holdings – provided mbed hardware, development kits and compiler services.[34]
  • Technology Will Save Us – designing the physical appearance of the device.[19]
  • Barclays – supported product delivery and outreach activities.[34]
  • Samsung – developed an Android app and helped connect the device to phones and tablets.[34]
  • The Wellcome Trust – provided learning opportunities for teachers and schools.[34]
  • ScienceScope – developing an iOS app and distributing the device to schools.[34]
  • Python Software Foundation – worked to bring MicroPython to the device, created native and web-based beginner-friendly Python code editors, produced numerous educational resources and organised developer-led workshops for teachers.[35][36]
  • Bluetooth SIG – Developed the custom Bluetooth LE profile.[37]
  • Creative Digital Solutions – developed teaching materials, workshops and outreach activities.[38]
  • Cisco – provided staff and resources to STEMNET to aid with the national rollout.[38]
  • Code Club – Created a series of coding resources aimed at children ages 9 to 11 and delivered via volunteer-run coding clubs.[38]
  • STEMNET – Provided STEM ambassadors to support schools and teachers and to liaise with third parties such as Bloodhound SSC and Cisco.[38]
  • Kitronik – Produced and gave away 5,500 e-textile [clarification needed] kits for the BBC micro:bit to D&T (Design & Technology) [clarification needed] teachers across the UK. Designed hardware such as a Motor Driver board to allow the BBC micro:bit to control devices such as motors and servos.[38]
  • Tangent Design – Created the brand identity for the BBC micro:bit and developed the website.[38]

A prototype device and software stack created by BBC R&D, demonstrated in the initial announcement,[39] was used to test the proposition in schools, and to provide a reference specification for the partnership to build upon.[40]

Microbit Educational Foundation

After a successful roll-out of the micro:bit across the UK, the BBC handed over the future of the BBC micro:bit, and adoption in other parts of the world, to the newly formed, not-for-profit, Microbit Education Foundation.[41][42] The announcement was made on Oct 18, 2016 to a small group of journalists and educators at Savoy Place in London,[43] that included a review of the past year and their plans for the future. The transition from the BBC to the micro:bit Education Foundation moved the official home of the micro:bit from microbit.co.uk to microbit.org.

The BBC licensed the hardware technology as open source and allows it to be manufactured around the world for use in education. The foundation oversees this.[31][32]

On Jan 2, 2018 it was announced that Gareth Stockdale from BBC Learning would succeed Zach Shelby as CEO of the Microbit Educational Foundation.[44]

Microbit Reference Design

The foundation is also providing a fully documented reference design of a device different from the marketed, but software compatible, with the intention of easing the independent development and manufacturing of micro:bit derived devices and products.[45] The reference design is open source hardware, but unlike the marketed device employing a CC BY 4.0 license it is distributed under the terms of the Solderpad Hardware Licence, Version 0.51.[46] The available design documentation for the reference design includes both schematic and circuit board layout in several EDA suite formats.[47]

micro:bit v2

On 13 October 2020, the Micro:bit Educational Foundation has announced a revised version of micro:bit. Available for the same price as the original micro:bit and sharing its general design, micro:bit v2 includes Nordic nRF52833 CPU (ARM Cortex-M4, 64 MHz, 128 KB RAM, 512 KB flash), and additionally a microphone, a speaker, a touch sensor, and power saving mode.[2]

See also

References

  1. "Computing at School Community". http://community.computingatschool.org.uk/forums/23/topics/4771#post_72001. Retrieved 11 February 2016. 
  2. 2.0 2.1 https://blog.adafruit.com/2020/10/13/the-new-bbc-microbit-v2-announced-microbit-microbit_edu/
  3. 3.00 3.01 3.02 3.03 3.04 3.05 3.06 3.07 3.08 3.09 3.10 Anthony, Sebastian (7 July 2015). "BBC Micro:bit—a free single-board PC for every Year 7 kid in the UK". arstechnica.uk. http://arstechnica.co.uk/gadgets/2015/07/bbc-microbit-a-free-single-board-pc-for-every-year-7-kid-in-the-uk/. Retrieved 8 July 2015. 
  4. 4.0 4.1 4.2 4.3 Sherwin, Adam (7 July 2015). "BBC micro:bit: Can a pocket-sized computer 'inspire digital creativity' in Britain's children?". The Independent. https://www.independent.co.uk/life-style/gadgets-and-tech/news/bbc-microbit-can-a-pocketsized-computer-inspire-digital-creativity-in-britains-children-10372834.html. Retrieved 7 July 2015. 
  5. "The Micro Bit - can it make us digital?". 2015-03-15. https://www.bbc.co.uk/news/technology-31859283. 
  6. "BBC gives children mini-computers in Make it Digital scheme". 2015-03-15. https://www.bbc.co.uk/news/technology-31834927. 
  7. "BBC and partners unveil the landmark BBC micro:bit". 6 July 2015. https://www.bbc.co.uk/mediacentre/mediapacks/microbit. 
  8. 8.0 8.1 "BBC defends delay of 'truly transformational' micro:bit". Wired. 18 September 2015. https://www.wired.co.uk/news/archive/2015-09/18/bbc-micro-bit-delay-response. Retrieved 17 November 2015. 
  9. "BBC micro:bit at Bett 2016". 2015-09-17. https://www.bbc.co.uk/blogs/aboutthebbc/entries/32f2edad-d51f-41bb-af98-f42f41d0a705. 
  10. Sentance, Sue; Waite, Jane; Hodges, Steve; MacLeod, Emily; Yeomans, Lucy (2017). "Creating Cool Stuff: Pupils' Experience of the BBC micro:bit". SIGCSE '17: Proceedings of the 2017 ACM SIGCSE Technical Symposium on Computer Science Education: 531–536. doi:10.1145/3017680.3017749. https://kclpure.kcl.ac.uk/portal/files/65615345/creating_cool_stuff_POSTPRINT_to_share.pdf. 
  11. 11.0 11.1 Kamen, Matt (12 March 2015). "Micro Bit: hands-on with BBC's coding kit". https://www.wired.co.uk/article/bbc-micro-bit-hands-on. 
  12. Bell, Lee (7 July 2015). "BBC teams with ARM, Microsoft and Samsung to launch Micro:bit and get kids coding". The Inquirer. http://www.theinquirer.net/inquirer/news/2416670/bbc-teams-with-arm-microsoft-and-samsung-to-launch-micro-bit-and-get-kids-coding. 
  13. Austin, Jonathan (7 July 2015). "Working with the BBC on micro:bit: Part 1 – using the mbed HDK". https://developer.mbed.org/blog/entry/bbc-microbit-mbed-hdk/. "…we plugged them into a Nordic NRF51822 development kit, which uses the same chip as the micro:bit…" 
  14. Introducing the BBC micro:bit (Shockwave Flash) (Television production). BBC. 7 July 2015. Event occurs at 00:39.
  15. 15.0 15.1 15.2 15.3 Franklin-Wallis, Oliver (7 July 2015). "BBC unveils final Micro:Bit computer design". wired.co.uk. https://www.wired.co.uk/news/archive/2015-07/07/bbc-micro-bit-launch-details-announced. Retrieved 8 July 2015. 
  16. "BBC micro:bit | Mbed". https://os.mbed.com/platforms/Microbit/. 
  17. 17.0 17.1 17.2 17.3 "BBC micro:bit". mbed.org. https://developer.mbed.org/platforms/Microbit/. Retrieved 8 July 2015. "The BBC micro:bit is based on the mbed HDK. The target MCU is a Nordic nRF51822 with 16K RAM, 256K Flash. As well as the nRF51822 there's also an onboard accelerometer and magnetometer from Freescale." 
  18. 18.0 18.1 Williams, Alun. "Micro Bit reunites BBC and ARM for grand education initiative". http://www.electronicsweekly.com/news/home-carousele/micro-bit-reunites-bbc-arm-grand-education-initiative-2015-07/. Retrieved 8 July 2015. 
  19. 19.0 19.1 19.2 "Groundbreaking initiative to inspire digital creativity and develop a new generation of tech pioneers". BBC. https://www.bbc.co.uk/mediacentre/mediapacks/microbit. Retrieved 8 July 2015. 
  20. 20.0 20.1 Anderson, Tim. "Why the BBC is stuffing free Micro:bit computers into schoolkids' satchels". https://www.theregister.co.uk/2015/07/07/bbc_microbit_final_specification_announced_a_million_devices_to_be_flung_at_schools_in_october/. Retrieved 8 July 2015. 
  21. "micro:bit Circuit Schematics". http://tech.microbit.org/hardware/schematic/. 
  22. "Creative Commons Attribution 4.0 International Public License ("CC BY 4.0")". https://github.com/bbcmicrobit/hardware/blob/master/CC-BY-4.0. 
  23. https://tech.microbit.org/hardware/
  24. "Everything You Need To Know About The BBC micro:bit V2". https://www.rs-online.com/designspark/everything-you-need-to-know-about-bbc-microbit-v2. 
  25. "micro:bit shield for MakeCode Arcade". https://makecode.com/blog/microbit/arcade-shield. 
  26. "Meet the new BBC micro:bit". https://microbit.org/new-microbit/. 
  27. Williams, Alun. "Hands on with the BBC Micro-Bit user interface". http://www.electronicsweekly.com/news/design/embedded-systems/video-bbc-micro-bit-user-interface-2015-07/. Retrieved 8 July 2015. 
  28. "The Story of MicroPython on the BBC micro:bit". http://ntoll.org/article/story-micropython-on-microbit. Retrieved 13 November 2015. 
  29. "MicroPython for the BBC micro:bit". https://github.com/bbcmicrobit/micropython. Retrieved 13 November 2015. 
  30. Stuart Dredge. "BBC Micro Bit will complement Raspberry Pi not compete with it". The Guardian. https://www.theguardian.com/technology/2015/mar/12/bbc-micro-bit-raspberry-pi. 
  31. 31.0 31.1 31.2 Dredge, Stuart (7 July 2015). "BBC to give away 1m Micro:bit computers to schoolchildren". The Guardian. https://www.theguardian.com/technology/2015/jul/07/bbc-give-away-1m-microbit-computers-schoolchildren. Retrieved 8 July 2015. 
  32. 32.0 32.1 32.2 Brian, Matt (7 July 2015). "How the BBC's Micro:bit came to be". Engadget. https://www.engadget.com/2015/07/07/bbc-micro-bit-explained/. Retrieved 8 July 2015. 
  33. Stainer, Katie. "Microsoft and the BBC micro:bit: a million ways to inspire a generation". https://news.microsoft.com/en-gb/2015/07/07/microsoft-and-the-bbc-microbit-a-million-ways-to-inspire-a-generation/. Retrieved 8 July 2015. 
  34. 34.0 34.1 34.2 34.3 34.4 34.5 Bell, Lee. "BBC teams with ARM, Microsoft and Samsung to launch Micro:bit and get kids coding". http://www.theinquirer.net/inquirer/news/2416670/bbc-teams-with-arm-microsoft-and-samsung-to-launch-micro-bit-and-get-kids-coding. Retrieved 8 July 2015. 
  35. "A Million Children". https://pyfound.blogspot.co.uk/2016/03/a-million-children.html. Retrieved 24 April 2016. 
  36. "BBC launches MicroBit". http://pyfound.blogspot.co.uk/2015/03/bbc-launches-microbit.html. Retrieved 13 November 2015. 
  37. Bush, Steve (4 March 2016). "Bluetooth SIG creates profile for BBC micro:bit". https://www.electronicsweekly.com/news/bluetooth-sig-creates-stack-for-bbc-microbit-2016-03/. 
  38. 38.0 38.1 38.2 38.3 38.4 38.5 "The Micro:bit Educational Foundation". https://microbit.org/about/. 
  39. Wakefield, Jane (12 March 2015). "BBC gives children mini-computers in Make it Digital scheme". https://www.bbc.co.uk/news/technology-31834927. Retrieved 6 August 2015. 
  40. Sparks, Michael (7 July 2015). "Prototyping the BBC micro:bit". https://www.bbc.co.uk/rd/blog/2015/07/prototyping-the-bbc-microbit. Retrieved 6 August 2015. 
  41. "Archived copy". http://microbit.org/news/2016/10/18/news-microbit-foundation.html. 
  42. Kelion, Leo (19 October 2016). "Micro Bit mini-computer heads overseas". https://www.bbc.com/news/technology-37682405. 
  43. "micro:bit Educational Foundation Launch". https://kitronik.co.uk/blogs/resources/microbit-educational-foundation-launch. 
  44. "Welcome Gareth Stockdale" (in en). https://microbit.org/en/2018-01-02-welcome-gareth/. 
  45. "micro:bit Reference Design". http://tech.microbit.org/hardware/reference-design/. 
  46. "License file of the reference design repository". https://github.com/microbit-foundation/microbit-reference-design/blob/master/LICENSE. 
  47. "micro:bit Reference Design". http://tech.microbit.org/hardware/reference-design/#design-software. 

Further reading

  • "Beginning Data Science, IoT, and AI on Single Board Computers: Core Skills and Real-World Application with the BBC micro:bit and XinaBox 1st ed. Edition" Authors: Pradeeka Seneviratne, Philip Meitiner (2020)
  • "BBC micro:bit Recipes: Learn Programming with Microsoft MakeCode Blocks" Author: Pradeeka Seneviratne (2019)
  • "Beginning BBC micro:bit:A Practical Introduction to micro:bit Development" Author: Pradeeka Seneviratne (2018); Chinese translation by Jason Liu (2019)
  • "Robótica Educativa - 50 Proyectos con micro:bit" Author: Ernesto Martínez de Carvajal Hedrich (2018).
  • "The Official BBC micro:bit User Guide" Author: Gareth Halfacree (2017)
  • "micro: bit in Wonderland: Coding & Craft with the BBC micro:bit" Authors: Tracy Gardner and Elbrie de Kock (2018).
  • "Getting Started with the BBC Micro:Bit" Author: Mike Tooley (2017)
  • "Micro:Bit – A Quick Start Guide for Teachers" Author: Ray Chambers (2015)

External links