
The Python Podcast.__init__
Complete Your Hardware "Weekend Projects" In An Actual Weekend With Belay
Oct 3, 2022 · 48 min · Episode 379 · 35.4 MB
0:00-48:30
Streams straight from the publisher. PodNod never proxies or re-hosts episode audio.
Summary
Working on hardware projects often has significant friction involved when compared to pure software. Brian Pugh enjoys tinkering with microcontrollers, but his "weekend projects" often took longer than a weekend to complete, so he created Belay. In this episode he explains how Belay simplifies the interactions involved in developing for MicroPython boards and how you can use it to speed up your own experimentation.
Announcements
- Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great!
- When you’re ready to launch your next app or want to try a project you hear about on the show, you’ll need somewhere to deploy it, so take a look at our friends over at Linode. With their managed Kubernetes platform it’s easy to get started with the next generation of deployment and scaling, powered by the battle tested Linode platform, including simple pricing, node balancers, 40Gbit networking, dedicated CPU and GPU instances, and worldwide data centers. And now you can launch a managed MySQL, Postgres, or Mongo database cluster in minutes to keep your critical data safe with automated backups and failover. Go to pythonpodcast.com/linode and get a $100 credit to try out a Kubernetes cluster of your own. And don’t forget to thank them for their continued support of this show!
- The biggest challenge with modern data systems is understanding what data you have, where it is located, and who is using it. Select Star’s data discovery platform solves that out of the box, with a fully automated catalog that includes lineage from where the data originated, all the way to which dashboards rely on it and who is viewing them every day. Just connect it to your dbt, Snowflake, Tableau, Looker, or whatever you’re using and Select Star will set everything up in just a few hours. Go to pythonpodcast.com/selectstar today to double the length of your free trial and get a swag package when you convert to a paid plan.
- Your host as usual is Tobias Macey and today I’m interviewing Brian Pugh about Belay, a python library that enables the rapid development of projects that interact with hardware via a micropython-compatible board.
Interview
- Introductions
- How did you get introduced to Python?
- Can you describe what Belay is and the story behind it?
- Who are the target users for Belay?
- What are some of the points of friction involved in developing for hardware projects?
- What are some of the features of Belay that make that a smoother process?
- What are some of the ways that simplifying the develop/debug cycles can improve the overall experience of developing for hardware platforms?
- What are some of the inherent limitations of constrained hardware that Belay is unable to paper over?
- Can you describe how Belay is implemented?
- What does the workflow look like when using Belay as compared to using MicroPython directly?
- What are some of the ways that you are using Belay in your own projects?
- What are the most interesting, innovative, or unexpected ways that you have seen Belay used?
- What are the most interesting, unexpected, or challenging lessons that you have learned while working on Belay?
- When is Belay the wrong choice?
- What do you have planned for the future of Belay?
Keep In Touch
Picks
- Tobias
Closing Announcements
- Thank you for listening! Don’t forget to check out our other shows. The Data Engineering Podcast covers the latest on modern data management. The Machine Learning Podcast helps you go from idea to production with machine learning.
- Visit the site to subscribe to the show, sign up for the mailing list, and read the show notes.
- If you’ve learned something or tried out a project from the show then tell us about it! Email hosts@podcastinit.com) with your story.
- To help other people find the show please leave a review on iTunes and tell your friends and co-workers
Links
- Belay
- Geomagical
- PIC Microcontroller
- AVR Microcontroller
- Matlab
- MicroPython
- CircuitPython
- Celery
- Potentiometer
- Raspberry Pi
- Raspberry Pi Pico
- ADC Converter
- Thonny
- Adafruit
- Pyboard
- Python Inspect Module
- Python Tokenize
- Magnetometer Project
- Lidar
The intro and outro music is from Requiem for a Fish The Freak Fandango Orchestra / CC BY-SA
pythonpodcast.com/linode
pythonpodcast.compythonpodcast.com/selectstar
pythonpodcast.comBrianPugh
github.comLinkedIn
linkedin.comGunnar Computer Glasses
gunnar.comData Engineering Podcast
dataengineeringpodcast.comMachine Learning Podcast
themachinelearningpodcast.comsite
pythonpodcast.comiTunes
itunes.apple.comBelay
github.comGeomagical
geomagical.comPIC Microcontroller
en.wikipedia.orgAVR Microcontroller
en.wikipedia.orgMatlab
mathworks.comMicroPython
micropython.orgPodcast Episode
pythonpodcast.comCircuitPython
circuitpython.orgPodcast Episode
pythonpodcast.comCelery
docs.celeryq.devPotentiometer
en.wikipedia.orgRaspberry Pi
raspberrypi.comRaspberry Pi Pico
raspberrypi.comADC Converter
en.wikipedia.orgThonny
thonny.orgPodcast Episode
pythonpodcast.comAdafruit
adafruit.comPyboard
store.micropython.orgPython Inspect Module
docs.python.orgPython Tokenize
docs.python.orgMagnetometer Project
github.comLidar
en.wikipedia.orgThe Freak Fandango Orchestra
freemusicarchive.orgCC BY-SA
creativecommons.org
- 0:13Introduction and Sponsor Messages
- 1:32Interview with Brian Pugh Begins
- 1:34Brian Pugh Introduces Himself
- 2:05Brian's Journey into Python
- 2:39Overview of the Belay Project
- 6:14Scope and Use Cases of Belay
- 8:25Target Audience and Project Cleanliness
- 9:54Challenges in Embedded Project Development
- 13:25Simplifying Development with Belay
- 15:47Technical Implementation of Belay
- 24:11Workflow and Usage of Belay
- 27:27Unit Testing and Debugging in Embedded Projects
- 29:09Brian's Personal Projects Using Belay
- 33:33Belay's Impact on Hardware Development
- 35:32Community Feedback and Use Cases
- 37:19Device Identification and Compatibility
- 40:02Managing Firmware and Device Specifics
- 41:29Challenges and Lessons Learned
- 43:34When Not to Use Belay
- 45:34Future Plans and Projects
- 46:11Closing Remarks and Contact Information
- 46:44Picks of the Week
- 47:47Outro and Additional Shows