Date: Sun, 19 May 2019 22:00:00 -0400
<div class="wp-block-jetpack-markdown"><h3>Summary</h3> <p>Learning to program can be a frustrating process, because even the simplest code relies on a complex stack of other moving pieces to function. When working with a microcontroller you are in full control of everything so there are fewer concepts that need to be understood in order to build a functioning project. CircuitPython is a platform for beginner developers that provides easy to use abstractions for working with hardware devices. In this episode Scott Shawcroft explains how the project got started, how it relates to MicroPython, some of the cool ways that it is being used, and how you can get started with it today. If you are interested in playing with low cost devices without having to learn and use C then give this a listen and start tinkering!</p> <h3>Announcements</h3> <ul> <li>Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.</li> <li>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 200 Gbit/s private networking, scalable shared block storage, node balancers, and a 40 Gbit/s public network, all controlled by a brand new API you’ve got everything you need to scale up. And for your tasks that need fast computation, such as training machine learning models, they just launched dedicated CPU instances. Go to <a href="https://www.pythonpodcast.com/linode?utm_source=rss&utm_medium=rss">pythonpodcast.com/linode</a> to get a $20 credit and launch a new server in under a minute. And don’t forget to thank them for their continued support of this show!</li> <li>You listen to this show to learn and stay up to date with the ways that Python is being used, including the latest in machine learning and data analysis. For even more opportunities to meet, listen, and learn from your peers you don’t want to miss out on this year’s conference season. We have partnered with organizations such as O’Reilly Media, Dataversity, and the Open Data Science Conference. Go to <a href="https://www.pythonpodcast.com/conferences?utm_source=rss&utm_medium=rss">pythonpodcast.com/conferences</a> to learn more and take advantage of our partner discounts when you register.</li> <li>Visit the <a href="https://www.pythonpodcast.com?utm_source=rss&utm_medium=rss">site</a> to subscribe to the show, sign up for the newsletter, and read the show notes. And if you have any questions, comments, or suggestions I would love to hear them. You can reach me on Twitter at <a href="https://twtiter.com/Podcast__init__?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">@Podcast__init__</a> or email <a href="mailto:hosts@podcastinit.com">hosts@podcastinit.com</a>)</li> <li>To help other people find the show please leave a review on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&uo=6&at=&ct=&utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">iTunes</a> and tell your friends and co-workers</li> <li>Join the community in the new Zulip chat workspace at <a href="https://www.pythonpodcast.com/chat?utm_source=rss&utm_medium=rss">pythonpodcast.com/chat</a></li> <li>Your host as usual is Tobias Macey and today I’m interviewing Scott Shawcroft about CircuitPython, the easiest way to program microcontrollers</li> </ul> <h3>Interview</h3> <ul> <li>Introductions</li> <li>How did you get introduced to Python?</li> <li>Can you start by explaining what CircuitPython is and how the project got started? <ul> <li>I understand that you work at Adafruit and I know that a number of their products support CircuitPython. What other runtimes do you support?</li> </ul> </li> <li>Microcontrollers have typically been the domain of C because of the resource and performance constraints. What are the benefits of using Python to program hardware devices?</li> <li>With the wide availability of powerful computing platforms, what are the benefits of experimenting with microcontrollers and their peripherals?</li> <li>I understand that CircuitPython is a friendly fork of <a href="https://micropython.org?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">MicroPython</a>. What have you changed in your version? <ul> <li>How do you structure your development to avoid conflicts with the upstream project?</li> <li>What are some changes that you have contributed back to MicroPython?</li> </ul> </li> <li>What are some of the features of CircuitPython that make it easier for users to interact with sensors, motors, etc.?</li> <li>CircuitPython provides an easy on-ramp for experimenting with hardware projects. Is there a point where a user will outgrow it and need to move to a different language or framework?</li> <li>What are some of the most interesting/innovative/unexpected projects that you have seen people build using CircuitPython? <ul> <li>Are there any cases of someone building and shipping a production grade project in CircuitPython?</li> </ul> </li> <li>What have been some of the most interesting/challenging/unexpected aspects of building and maintaining CircuitPython?</li> <li>What is in store for the future of the project?</li> </ul> <h3>Keep In Touch</h3> <ul> <li><a href="https://twitter.com/tannewt?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">@tannewt</a> on Twitter</li> <li><a href="http://tannewt.org/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Website</a></li> <li><a href="https://github.com/tannewt?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">tannewt</a> on GitHub</li> </ul> <h3>Picks</h3> <ul> <li>Tobias <ul> <li><a href="https://kids.scholastic.com/kids/books/wings-of-fire/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Wings Of Fire</a> book series</li> </ul> </li> <li>Scott <ul> <li><a href="https://brandonsanderson.com?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Brandon Sanderson</a></li> <li><a href="https://en.wikipedia.org/wiki/The_Wheel_of_Time?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">The Wheel Of Time Series</a></li> <li><a href="https://brandonsanderson.com/books/mistborn/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Mist Born</a></li> </ul> </li> </ul> <h3>Links</h3> <ul> <li><a href="https://www.adafruit.com?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Adafruit</a></li> <li><a href="https://circuitpython.org?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">CircuitPython</a></li> <li><a href="https://micropython.org?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">MicroPython</a> <ul> <li><a href="https://www.pythonpodcast.com/episode-15-damien-george-talks-to-us-about-micropython/?utm_source=rss&utm_medium=rss">Podcast Interview</a></li> </ul> </li> <li><a href="https://en.wikipedia.org/wiki/Microcontroller?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Microcontroller</a></li> <li><a href="https://www.arduino.cc?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Arduino</a></li> <li><a href="https://www.microsoft.com/en-us/makecode?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Microsoft MakeCode</a></li> <li><a href="https://nodebots.io?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">NodeBots</a></li> <li><a href="https://www.espruino.com?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Espruino</a></li> <li><a href="https://en.wikipedia.org/wiki/I%C2%B2C?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">I2C</a></li> <li><a href="https://hackspace.raspberrypi.org?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Hackspace Magazine</a></li> <li><a href="https://github.com/adafruit/Adafruit_Blinka?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Adafruit Blinka</a></li> <li><a href="https://learn.adafruit.com?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">learn.adafruit.com</a></li> <li><a href="https://www.hanselman.com/blog/DisplayingYourRealtimeBloodGlucoseFromNightScoutOnAnAdaFruitPyPortal.aspx?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Scott Hanselman Blog Post</a></li> <li><a href="https://en.wikipedia.org/wiki/Reflow_oven?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Reflow Oven</a></li> <li><a href="https://www.adafruit.com/category/972?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Adafruit Crickit</a> – Creative Robotics Platform</li> <li><a href="https://www.adafruit.com/adabox/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Adabox</a></li> <li><a href="https://en.wikipedia.org/wiki/Moore%27s_law?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Moore’s Law</a></li> <li><a href="https://www.sparkfun.com?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">SparkFun</a></li> <li><a href="https://www.digikey.com?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">DigiKey</a></li> </ul> <p>The intro and outro music is from Requiem for a Fish <a href="http://freemusicarchive.org/music/The_Freak_Fandango_Orchestra/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">The Freak Fandango Orchestra</a> / <a href="http://creativecommons.org/licenses/by-sa/3.0/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">CC BY-SA</a></p> </div> <img alt="" height="0" src="https://analytics.boundlessnotions.com/piwik.php?idsite=1&rec=1&url=https%3A%2F%2Fwww.pythonpodcast.com%2Fcircuitpython-hardware-hacking-episode-212%2F&action_name=Hardware+Hacking+Made+Easy+With+CircuitPython+-+Episode+212&urlref=https%3A%2F%2Fwww.pythonpodcast.com%2Ffeed%2F&utm_source=rss&utm_medium=rss" style="border: 0; width: 0; height: 0;" width="0" />