Talks: Using Embedded Python - Building Games on BBC micro: bit

Friday - April 21st, 2023 5 p.m.-5:30 p.m. in

Presented by:


Experience Level:

Some experience

Description

Writing code that runs in the terminal or in your web browser is good fun. Writing code that affects the real world, however, can be satisfying on a whole other level. Writing this sort of code is called embedded development, and Python is making it more accessible than ever!

Through this talk i would like to share about : What embedded development is and why you would use Python to do it. What your hardware and software options are for running Python on an embedded system. When Python is a good fit for an embedded system and when it’s not. How to write a basic game on the BBC micro: bit with MicroPython..

Table of Contents

  1. What Is Embedded Development?

  2. Python for Embedded Development

  3. Benefits of Using Python

  4. Disadvantages of Using Python

  5. Things to Watch Out for When New to Embedded Development

  6. Hardware Options for Running Embedded Python 6.1. BBC micro:bit 6.2. Raspberry Pi 6.3. pyboard 6.4. Others

  7. Software Options for Writing Embedded Python 7.1 MicroPython 7.2. CircuitPython

  8. Project: A Simon Says Game on the BBC micro:bit 8.1. Setting Up Your Environment 8.2. Displaying Instructions on the Screen 8.3. Running Your Code 8.4. Optional: Run Your Code on a Physical micro:bit 8.5. Getting Player Input 8.6. Testing Accelerometer Code in the Simulator 8.7. Points and Losing 8.8. Take It a Step Further

  9. Other Boards That Run Python

  10. Conclusion