Tutorials: Introduction to MicroPython: getting started with BBC micro:bit

Wednesday - May 15th, 2024 1:30 p.m.-5 p.m. in Room 310/311

Presented by:

Description

Did you know that you can use Python to program microcontrollers?

MicroPython is an re-implementation of Python targeted to microcontrollers. It's optimized to run on devices that have constrained memory and CPU power . It makes it easier to interact with hardware, compared with low level languages such as C and C++.

In this tutorial you'll learn how to use the resources of the BBC micro:bit, an open source embedded device that lets you control electronic components using MicroPython. Some of the components you'll learn to use in this tutorial include: * Push buttons * 5x5 LED matrix * Accelerometer sensor * Radio communication.

The goal of the tutorial is to implement a version of the Battleship game that can be controlled using the accelerometer sensor.

This tutorial is designed for attendees with a basic understanding of Python. No prior knowledge of electronics is required. The tutorial will cover all necessary concepts from the ground up, making it suitable for those who are new to the world of electronics.