The Real Python Podcast

Building With CircuitPython & Constraints of Python for Microcontrollers


Listen Later

Can you make a version of Python that fits within the memory constraints of a microcontroller and have it still feel like Python? That is the intention behind CircuitPython. This week on the show, we have Scott Shawcroft, who is the project lead for CircuitPython.

We talk about all things CircuitPython. While working with the language on several projects I have developed many of my own questions to ask Scott. Scott answers my questions about boot loaders, packages, the bundle, and bluetooth low energy (BLE).

He also talks about the struggle of fitting the language and board specific libraries within tiny memory constraints. We discuss projects and boards for beginners, and many resources to learn more.

Course Spotlight: Getting Started With MicroPython

Are you interested in the Internet of Things, home automation, and connected devices? If so, then you’re in luck! In this course, you’ll learn about MicroPython and the world of electronics hardware. You’ll set up your board, write your code, and deploy a MicroPython project to your own device.

Topics:

  • 00:00:00 – Introduction
  • 00:01:56 – Background With CircuitPython
  • 00:07:22 – Lightning talk and CircuitPython as a subset of Python
  • 00:16:01 – Working with CircuitPython: Bootloaders and Packages
  • 00:27:20 – Specific libraries, adding modules, and pip
  • 00:37:21 – Sponsor: Rev.ai
  • 00:37:57 – How to program, text editor or IDE
  • 00:41:19 – Bluetooth Low Energy (BLE) and programming devices remotely
  • 00:50:02 – Video Course Spotlight
  • 00:51:06 – Do you consider yourself a Maker?
  • 00:54:58 – Bringing CircuitPython coding to the Raspberry Pi?
  • 00:59:56 – Suggestions for beginner hardware
  • 01:00:55 – Suggestions for add-on boards for audio or displays
  • 01:10:20 – Electronics Show and Tell Wednesdays
  • 01:11:51 – Events, video streams, and Discord server
  • 01:16:00 – What are you excited about in the world of Python?
  • 01:17:23 – What do you want to learn next?
  • 01:18:42 – Shoutouts and plugs
  • 01:22:40 – Social media info
  • 01:23:52 – Thanks and goodbye
  • Show Links:

    • CircuitPython: The easiest way to program microcontrollers
    • Adafruit
    • LadyAda.net
    • MicroPython: Python for Microcontrollers
    • 2021 Python Language Summit Lightning Talks Slides: tannewt GitHub
    • The 2021 Python Language Summit: Lightning Talks, Round 1
    • Episode 69: Planning a Faster Future at the Python Language Summit
    • Episode 47: Unraveling Python’s Syntax to Its Core With Brett Cannon
    • Syntatic Sugar Series: Brett Cannon
    • WebAssembly - WASM
    • Adafruit MacroPad RP2040 Starter Kit
    • John Park’s Workshop: YouTube Playlist
    • Code With Mu: A simple Python editor for beginner programmers
    • BLE - Bluetooth Low Energy: Wikipedia
    • CircUp: A tool to manage and update libraries (modules) on a CircuitPython device
    • Blinka: Brings CircuitPython APIs to single board computers
    • Raspberry Pi 400 Desktop - Full Computer Kit
    • Electronics Show and Tell Wednesdays: YouTube playlist
    • learn.adafruit.com
    • AdaBox: Curated Adafruit products
    • tannewt GitHub
    • Adafruit Discord Server: Link to join
    • Level up your Python skills with our expert-led courses:

      • Reading and Writing Files With pandas
      • Documenting Code in Python
      • Getting Started With MicroPython
      • Support the podcast & join our community of Pythonistas

        ...more
        View all episodesView all episodes
        Download on the App Store

        The Real Python PodcastBy Real Python

        • 4.7
        • 4.7
        • 4.7
        • 4.7
        • 4.7

        4.7

        139 ratings


        More shows like The Real Python Podcast

        View all
        The Changelog: Software Development, Open Source by Changelog Media

        The Changelog: Software Development, Open Source

        288 Listeners

        Software Engineering Daily by Software Engineering Daily

        Software Engineering Daily

        625 Listeners

        Talk Python To Me by Michael Kennedy

        Talk Python To Me

        581 Listeners

        Soft Skills Engineering by Jamison Dance and Dave Smith

        Soft Skills Engineering

        289 Listeners

        Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

        Super Data Science: ML & AI Podcast with Jon Krohn

        302 Listeners

        Python Bytes by Michael Kennedy and Brian Okken

        Python Bytes

        213 Listeners

        Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

        Syntax - Tasty Web Development Treats

        988 Listeners

        Darknet Diaries by Jack Rhysider

        Darknet Diaries

        8,091 Listeners

        Tech Brew Ride Home by Morning Brew

        Tech Brew Ride Home

        969 Listeners

        Practical AI by Practical AI LLC

        Practical AI

        200 Listeners

        AWS Podcast by Amazon Web Services

        AWS Podcast

        206 Listeners

        Django Chat by William Vincent and Carlton Gibson

        Django Chat

        75 Listeners

        Last Week in AI by Skynet Today

        Last Week in AI

        309 Listeners

        Machine Learning Street Talk (MLST) by Machine Learning Street Talk (MLST)

        Machine Learning Street Talk (MLST)

        99 Listeners

        The Pragmatic Engineer by Gergely Orosz

        The Pragmatic Engineer

        69 Listeners