September meetup - Writing hardware drivers in MicroPython (Workshop)
Details
Are you curious about how hardware drivers are developed? Carlos Pereira Atencio, from the Microbit Foundation will show you how with MicroPython we can now create drivers in our favourite language!
Note that the event starts a little earlier than usual, and drinks and pizza will be provided.
Workshop details
MicroPython is a lean an efficient implementation of the Python programming language for microcontrollers and constrained environments.
This workshop will start with a short presentation introducing basic concepts of embedded development, and we will then work individually or in pairs through the steps to create a simple Python driver to read accelerometer data from a BBC micro:bit.
This is a BYOL (Bring Your Own Laptop) session and BBC micro:bits will be
provided. The workshop is beginner friendly, but basic programming concepts are required (variables, conditionals, loops, functions, and basic Python syntax).
To load the Python code into to micro:bit is recommended to install the Mu editor before the session (https://codewith.mu), but the online micro:bit Python Editor can be used as well: https://python.microbit.org/v/beta, Alternatively the uFlash (https://github.com/ntoll/uflash/) and MicroFs
(https://github.com/ntoll/microfs/) Python CLI tools are available.
In summary, you will need:
- Laptop
- Windows 7 or 8 users might need to install this driver: https://os.mbed.com/docs/mbed-os/v5.13/tutorials/windows-serial-driver.html
- Mu Editor https://codewith.mu
OR - Chrome browser for the online Python Editor: https://python.microbit.org/v/beta
Sponsor
Corriculo are sponsoring this month's event. Based in Oxford, Corriculo are an IT specialist recruitment agency committed to building relationships with both candidates and clients. They will be in attendance at the event, feel free to say hello!


