Quantcast
Channel: python – Adafruit Industries – Makers, hackers, artists, designers and engineers!
Viewing all 1343 articles
Browse latest View live

The Top Programming Languages 2019 – Python tops the charts with a CircuitPython nod! @circuitpython @micropython @IEEESpectrum #python


Python on Microcontrollers newsletter: subscribe now! #pythonhardware #circuitpython #python @CircuitPython @micropython @ThePSF @Adafruit

$
0
0

www.adafruitdaily.com

The Python on Microcontrollers newsletter – your source for Python information every week – subscriptions open

The word is out that our newsletter is the place for the hottest news involving Python on hardware. 6,580+ readers and growing!

Catch all the weekly news on Python for Microcontrollers with adafruitdaily.com. This ad-free, spam-free weekly email is filled with the Python information that you may have missed, all in one place! This includes Python news worldwide – you get a summary of all the gear, events, projects, and the latest hardware!

Ensure you catch the weekly news roundup– you can cancel anytime – try our spam-free newsletter today!

Save time hunting for the breaking news, we’ve got it all.

Including news on the Circuit Playground Bluefruit, boards to make Halloween fun and much, much more!

ICYMI: The Top Programming Languages 2019 – Python tops the charts with a CircuitPython nod! #Python #Adafruit #CircuitPython #PythonHardware @circuitpython @micropython @ThePSF @Adafruit

$
0
0

ICYMI (In case you missed it) – Tuesday’s Python on Microcontrollers Newsletter from AdafruitDaily.com went out – if you missed it, subscribe now!

The next newsletter goes out in a week and being subscribed the best way to keep up with all things Python for hardware.

Over 6k+ subscribers worldwide!

The Top Programming Languages 2019 – Python tops the charts with a CircuitPython nod!

Python tops

Python comes in at #1 with a nod to Python on hardware! – IEEE Spectrum.

“Python is having an impact that could not have been anticipated when the language was first released in 1991. The dramatic increase in computing power found in microcontrollers means that embedded versions of Python, such as CircuitPython and MicroPython, are becoming increasingly popular among makers.”

CircuitPython 5.0.0 Alpha 2 Released!

CircuitPython 5.0.0 Alpha 2 Released

This is the second alpha release of CircuitPython 5.0.0. Alpha releases are meant for testing. Use the latest stable 4.x release when first starting with CircuitPython – Adafruit.

Machine Learning with Microcontrollers Hack Chat

Machine Learning with Microcontrollers Hack Chat

“Ladyada” Fried and PT will host the Hack Chat on Wednesday, September 11, 2019 at noon PDT / 3PM EDT – Hackaday.

Click here to join – hackaday.io

We’ve gotten to the point where a $35 Raspberry Pi can be a reasonable alternative to a traditional desktop or laptop, and microcontrollers in the Arduino ecosystem are getting powerful enough to handle some remarkably demanding computational jobs. But there’s still one area where microcontrollers seem to be lagging a bit: machine learning. Sure, there are purpose-built edge-computing SBCs, but wouldn’t it be great to be able to run AI models on versatile and ubiquitous MCUs that you can pick up for a couple of bucks?

We’re moving in that direction, and our friends at Adafruit Industries want to stop by the Hack Chat and tell us all about what they’re working on. In addition to Ladyada and PT, we’ll be joined by Meghna Natraj, Daniel Situnayake, and Pete Warden, all from the Google TensorFlow team. If you’ve got any interest in edge computing on small form-factor computers, you won’t want to miss this chat. Join us, ask your questions about TensorFlow Lite and TensorFlow Lite for Microcontrollers, and see what’s possible in machine learning way out on the edge.

A scary Python powered ADABOX is coming

ADABOX 13

This is the last week to sign up for the ADABOX 013, Halloween box. All we can say is that it has Python on hardware and it will be scary 🙂 JOIN US – ADABOX.COM.

CircuitPython snakes its way to the XinaBox Programmable Core

XinaBox Programmable Core

This tutorial will show you how to load an implementation of CircuitPython onto an XinaBox core, then use the Mu Editor to interact with it – Hackster.io

News from around the web!

After Dark

Blinka appears on the “after dark” PCBs from OSH Park – Twitter.

Open Book

The Open Book — An Open, Feather-Compatible eBook! – Hackster.io

STEM Cell Robotics

STEM Cell Robotics has a cool vid of some cool kids with Circuit Playground – Instagram.

WoW

WoW classic anti-AFK tool using the Trinket M0 microcontroller as a HID – Instagram.

Geek Mom

Thank you Geek Mom Projects! – Twitter.

Tool to generate native .mpy files from a .elf file – GitHub.

WAVs

Nice little vid about being able to play WAV files on the Circuit Playground Express board using CircuitPython – Twitter.

SLCPython

SLCPython Sept Meetup 2019. In this meetup, Faris will be presenting the magic of a PyBadge using CircuitPython – YouTube.

“…MicroPython is the future for embedded electronics.”

MicroPython is the future for embedded electronics

Hackaday calls it

“…MicroPython is the future for embedded electronics. We will always need embedded engineers, but in the same way that electronic design trended away from analog and toward digital, engineer-focused electronics will trend toward higher level languages and I think Python has already managed to vanquish its challengers.” – Mike Szczys, Editor in Chief, HACKADAY.

Huzzah 32 Matrix FeatherWing

Huzzah 32 Matrix FeatherWing. A FeatherWing for the Adafruit Feather Huzzah 32 ESP32 board that connects to a RGB LED Matrix panel. Designed by Brian Lough – Tindie.

Braincraft board

From Hackster, the Braincraft board! “Available as both a standalone board and as a Raspberry Pi HAT, the Braincraft board was conceived by Adafruit along with Pete Warden, part of the TensorFlow Lite team at Google, who was also involved in the design of the SparkFun Edge board.”

Proof of Concept of ESP32/8266 Wi-Fi vulnerabilities: CVE-2019-12586, CVE-2019-12587, CVE-2019-12588 – GitHub.

A curated list of awesome MicroPython libraries, frameworks, software and resource – GitHub.

Concurrently detect the minimum Python versions needed to run code – GitHub.

If the iPhone was created in the style of Apple’s retro computers – YouTube.

Some obscure C features – Pancakes and computers.

IoT

The latest IoT newsletter is out!

4 million lines of Python

Our journey to type checking 4 million lines of Python – Dropbox.

Open Source Hardware Certifications For August 2019 – Make.

Regex Crossword.

Reach Robotics is closing up shop – TechCrunch.

Google’s Engineering Practices documentation, how to do a code reviewGitHub.

Looks like AP Circuits is closed – Reddit via Twitter.

Daniel Garcia, the originator of FastLED, has passed away – Reddit.

wiringPi, wiringPi GPIO library – deprecated… lessons for the open-source community – Adafruit.

Hackaday 15

Hackaday turned 15YouTube.

Ren Py

Ren’Py, gotta try this out!

“Ren’Py is a visual novel engine – used by thousands of creators from around the world – that helps you use words, images, and sounds to tell interactive stories that run on computers and mobile devices. These can be both visual novels and life simulation games. The easy to learn script language allows anyone to efficiently write large visual novels, while its Python scripting is enough for complex simulation games. Ren’Py is open source and free for commercial use.”

There is also a Ren’Py HyperCard framework too.

The Importance of Diversity in Tech – Adafruit.

DeepFaceLab is a tool that utilizes machine learning to replace faces in videos – GitHub.

AI cheat sheets at aicheatsheets.com

Sensing the Air Quality

Sensing the Air Quality, a low-cost IoT Air Quality Monitor based on the Raspberry Pi 4 – Towards Data Science.

The Fry’s Era by Jean-Louis Gassée

“Throughout the 90’s and aughts, Fry’s Electronics was a Silicon Valley institution, a truly aboriginal techie bazaar where geeks could find everything they needed to live in autarky, from logic boards to voltmeters, dried noodles to “nice” clothes for a job interview, magazines, energy bars, mini-fridges… A quarter-century later, Fry’s stores have become sad, pale shadows of their glorious past.”

HyperCard graphics pack

This HyperCard graphics pack is super cool.

#ICYDNCI What was the most popular, most clicked link, in last week’s newsletter? Device Simulator Express, a Microsoft Garage project.

PyDev of the Week: Aymeric Augustin on Mouse vs Python.

CircuitPython Weekly for September 3rd, 2019 on YouTube and on diode.zone

CircuitPython Weekly for September 9th, 2019 on YouTube

Made with Mu

Made with Mu

Made with Mu

Year 7 students take their finished Digital Technologies projects home – Twitter.

PyperCard on Android

PyperCard on Android

A beginner friendly way to write cross-platform Python GUI apps, including Android. The HyperCard inspired GUI framework, PyperCard, is going mobile! Beginners will compile the apps “in the cloud” via the Mu editor – YouTube.

What’s the CircuitPython team up to this week?

Each week we have a mini-update on what the team is working on, here is what’s cookin’ this week!

Bryan

Bryan

“Earlier week I finished on the TVL493D and Airlift Bitsy Add-on guides. Next up, I’m assembling, testing and getting started on the drivers for the PCT2075. This is an inexpensive I2C temperature sensor and “thermal watchdog”. This means that, in addition to getting the temperature, you can ask it to tell you when the temperature has gone above or below a temperature that you choose.”

Dan

“CircuitPython BLE HID devices (mouse, keyboard, etc.) are now working on iOS. Thanks to our resident BLE and HID expert Thach, who figured out the issue. I prepared and released CircuitPython, 5.0.0-alpha.1, the first release for major version 5 of CircuitPython. This release also includes support for monochrome and ePaper displays done by Scott, among many other fixes and additions. Check out the release notes and try it out! I fixed an odd problem with CircuitPython DotStar colors on the PyRuler. Sometimes we buy a new batch of a supposedly identical product, and it’s not quite the same as before. 🙂 This week, I’m working on adding bonding support to BLE. Bonding remembers pairing information, so you don’t have to re-pair every time.”

Jeff

Jeff

“Hello from Nebraska! I’m Jeff (@jepler on discord and GitHub) and this is my first time writing for the Python on Hardware newsletter. I am working on the CircuitPython core. I continue to amass audio breakout boards, since audio has been the main aspect of my work on the core so far. My current project is to implement I2SOut for nRF boards like the Circuit Playground Bluefruit. While the PWM audio out I implemented this summer is okay, the quality is limited to 8 bits. With I2SOut, you will also be able to do 16 bit audio for CD-like audio quality. Image shows various audio breakouts around a central breadboard, with tools and equipment also visible. An nRF feather is running a PDMIn sound level demo adapted from Circuit Playground Express.”

Kattni

Kattni

“This week I’ve been working on product guides. I added the new JST breakout and a CircuitPython example to the PDM Microphone Breakout guide, and wrote up the new guide for the ATECC608. We began working towards updating this guide so we have a better way to track open issues and pull requests across all of the library GitHub repositories. I’ve started working on the massive guide for the Circuit Playground Bluefruit, our latest Circuit Playground board. It’ll have all the details about the new board, including pinouts and a guided tour. Look for it soon!”

Lucian

“Hello from the Artisans Asylum of Boston! I’m Lucian (@hierophect), and this is also my first time in the Python for Hardware newsletter. I am developing for the STM32 port of CircuitPython, and related functionality. I am working to expand the functionality of CircuitPython across ST’s Discovery line of development boards, starting with expanded module support for AnalogIO and BusIO, as well as adding QSPI Flash support for the discovery boards that include it. I’ll also be working on standardizing support across the F411, F412, and F405 MCUs to support a wider variety of both ST and third party STM32 breakouts and development modules.”

Melissa

Melissa

“I just finished up a guide on Object Detection with TensorFlow on the Raspberry Pi 4. You can check the guide out here. The next project that I’m working on is writing a guide to get Blinka up and running on the Nvidia Jetson Nano.”

Coming soon

Artemis Feather

Artemis Feather? Maybe! – Twitter.

CircuitPython on the STM32F412

Feather STM32F405 – How did we do?

Feather STM32F405

Updates on our STM32405, previous post

“we wanted to make a super fast stm32 based feather and decided to go with the tried and true STM32F405 which is small enough to fit, and super speedy! here’s our first pass at a Feather design – not fully finished (there’s a few more wires to route) but 95% of the way there! please check it out and let us know if you have any suggestions. we put the SD card on the sdio bus, have the two DAC’s on A0 and A1 to match our other feathers, and added some SPI flash (it doesn’t seem like the stm32f405 has a QSPI peripheral?) it’s 2.0?x0.9?, with USB C and should be compatible with all of our wings.”

Melbourne MicroPython Meetup

Melbourne MicroPython Meetup

August 2019 Melbourne MicroPython Meetup – Thanks Matt!

New Learn Guides!

Adafruit Airlift Bitsy Add-On – ESP32 WiFi Co-Processor from Bryan Siepert

Saving CircuitPython Bitmaps and Screenshots from Dave Astels

Updated Guides – Now With More Python!

You can use CircuitPython libraries on Raspberry Pi! We’re updating all of our CircuitPython guides to show how to wire up sensors to your Raspberry Pi, and load the necessary CircuitPython libraries to get going using them with Python. We’ll be including the updates here so you can easily keep track of which sensors are ready to go. Check it out!

Keep checking back back for more updated guides!

CircuitPython Libraries!

CircuitPython Libraries

CircuitPython support for hardware continues to grow. We are adding support for new sensors and breakouts all the time, as well as improving on the drivers we already have. As we add more libraries and update current ones, you can keep up with all the changes right here!

For the latest drivers, download the Adafruit CircuitPython Library Bundle.

If you’d like to contribute, CircuitPython libraries are a great place to start. Have an idea for a new driver? File an issue on CircuitPython! Interested in helping with current libraries? Check out this GitHub issue on CircuitPython for an overview of the State of the CircuitPython Libraries, updated each week. We’ve included open issues from the library issue lists, and details about repo-level issues that need to be addressed. We have a guide on contributing to CircuitPython with Git and Github if you need help getting started. You can also find us in the #circuitpython channel on the Adafruit Discord. Feel free to contact Kattni (@kattni) with any questions.

You can check out this list of all the CircuitPython libraries and drivers available.

The current number of CircuitPython libraries is 184!

New Libraries!

Here’s this week’s new CircuitPython libraries:

Updated Libraries!

Here’s this week’s updated CircuitPython libraries:

PyPI Download Stats!

We’ve written a special library called Adafruit Blinka that makes it possible to use CircuitPython Libraries on Raspberry Pi and other compatible single-board computers. Adafruit Blinka and all the CircuitPython libraries have been deployed to PyPI for super simple installation on Linux! Here are the top 10 CircuitPython libraries downloaded from PyPI in the last week, including the total downloads for those libraries:

Library Last Week Total
Adafruit-Blinka 1088 46199
Adafruit_CircuitPython_BusDevice 701 20642
Adafruit_CircuitPython_MCP230xx 369 6121
Adafruit_CircuitPython_NeoPixel 132 6368
Adafruit_CircuitPython_ADS1x15 101 2801
Adafruit_CircuitPython_Register 97 7520
Adafruit_CircuitPython_ServoKit 84 3718
Adafruit_CircuitPython_PCA9685 81 4755
Adafruit_CircuitPython_BME280 81 2667
Adafruit_CircuitPython_Motor 80 5335

Upcoming events!

PYCON UK 2019

PYCON UK 2019 – Cardiff City Hall, Friday 13th to Tuesday 17th September. PyCon UK is back at Cardiff City Hall, for five days of talks, workshops and collaboration. The conference also features a young coders’ day, themes dedicated to science and education, and numerous Python-related events – PyCon UK.

Open source hardware month

October is Open Hardware Month @ Open Source Hardware Association.

“October is Open Hardware Month! Check out the Open Hardware Month website. Host an event, find a local event, or certify your hardware to support Open Source Hardware. We are providing resources and asking you, the community, to host small, local events in the name of open source hardware. Tell us about your October event by filling out the form below. Your event will be featured on OSHWA’s Open Hardware Month page (provided you have followed OSHWA’s rules listed on the “Do’s and Don’ts” page).”

Read more, Tweet for speakers in 2020, and Open Hardware Month @ http://ohm.oshwa.org/

micro:bit Live 2019

micro:bit Live 2019 is coming to BBC MediaCityUK, Greater Manchester, England on October 4-5. This will be the very first annual gathering of the global micro:bit community of educators and partners – micro:bit.

PyCon DE

PyCon DE & PyData Berlin, Germany // October 9 – 13 2019. Main conference, 3 days of talks and workshops. More than 100 sessions dedicated to PyData (artificial intelligence, machine learning, ethics…) and Python topics (programming, DevOps, Web, Django…) – de.pycon.org.

Hackaday Superconference

Hackaday Superconference is November 15th, 16th, and 17th in Pasadena, California, USA. The Hackaday Superconference is returning for another 3 full days of technical talks, badge hacking, and hands-on workshops: Eventbrite & hackaday.io

Latest releases

CircuitPython’s stable release is 4.1.0 and its unstable release is 5.0.0-alpha.2. New to CircuitPython? Start with our Welcome to CircuitPython Guide.

20190909 is the latest CircuitPython library bundle.

v1.11 is the latest MicroPython release. Documentation for it is here.

3.7.4 is the latest Python release. The latest pre-release version is 3.8.0b4.

1378 Stars Like CircuitPython? Star it on GitHub!

Call for help – CircuitPython messaging to other languages!

Hello world

We posted on the Adafruit blog about bringing CircuitPython messaging to other languages, one of the exciting features of CircuitPython 4.x is translated control and error messages. Native language messages will help non-native English speakers understand what is happening in CircuitPython even though the Python keywords and APIs will still be in English. If you would like to help, please post to the main issue on GitHub and join us on Discord.

We made this graphic with translated text, we could use your help with that to make sure we got the text right, please check out the text in the image – if there is anything we did not get correct, please let us know. Dan sent me this handy site too.

jobs.adafruit.com – Find a dream job, find great candidates!

jobs.adafruit.com

jobs.adafruit.com has returned and folks are posting their skills (including CircuitPython) and companies are looking for talented makers to join their companies – from Digi-Key, to Makey Makey, to micro:mag, to Hackaday, Microcenter, Raspberry Pi and more.

13,938 thanks!

13,938

Adafruit Discord

The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 13,938 humans, thank you! Join today! https://adafru.it/discord

ICYMI – In case you missed it

ICYMI

The wonderful world of Python on hardware! This is our first video-newsletter-podcast that we’ve started! The news comes from the Python community, Discord, Adafruit communities and more. It’s part of the weekly newsletter, then we have a segment on ASK an ENGINEER and this is the video slice from that! The complete Python on Hardware weekly videocast playlist is here.

This video podcast is on iTunes, YouTube, IGTV (Instagram TV), and XML.

Weekly community chat on Adafruit Discord server CircuitPython channel – Audio / Podcast edition – Audio from the Discord chat space for CircuitPython, meetings are usually Mondays at 2pm ET, this is the audio version on iTunes, Pocket Casts, Spotify, and XML feed.

And lastly, we are working up a one-spot destination for all things podcast-able here – podcasts.adafruit.com

Codecademy “Learn Hardware Programming with CircuitPython”

Codecademy CircuitPython

Codecademy, an online interactive learning platform used by more than 45 million people, has teamed up with the leading manufacturer in STEAM electronics, Adafruit Industries, to create a coding course, “Learn Hardware Programming with CircuitPython”. The course is now available in the Codecademy catalog.

Python is a highly versatile, easy to learn programming language that a wide range of people, from visual effects artists in Hollywood to mission control at NASA, use to quickly solve problems. But you don’t need to be a rocket scientist to accomplish amazing things with it. This new course introduces programmers to Python by way of a microcontroller — CircuitPython — which is a Python-based programming language optimized for use on hardware.

CircuitPython’s hardware-ready design makes it easier than ever to program a variety of single-board computers, and this course gets you from no experience to working prototype faster than ever before. Codecademy’s interactive learning environment, combined with Adafruit’s highly rated Circuit Playground Express, present aspiring hardware hackers with a never-before-seen opportunity to learn hardware programming seamlessly online.

Whether for those who are new to programming, or for those who want to expand their skill set to include physical computing, this course will have students getting familiar with Python and creating incredible projects along the way. By the end, students will have built their own bike lights, drum machine, and even a moisture detector that can tell when it’s time to water a plant.

Visit Codecademy to access the Learn Hardware Programming with CircuitPython course and Adafruit to purchase a Circuit Playground Express.

Codecademy has helped more than 45 million people around the world upgrade their careers with technology skills. The company’s online interactive learning platform is widely recognized for providing an accessible, flexible, and engaging experience for beginners and experienced programmers alike. Codecademy has raised a total of $43 million from investors including Union Square Ventures, Kleiner Perkins, Index Ventures, Thrive Capital, Naspers, Yuri Milner and Richard Branson, most recently raising its $30 million Series C in July 2016.

Contribute!

The CircuitPython Weekly Newsletter is a CircuitPython community-run newsletter emailed every Tuesday. The complete archives are here. It highlights the latest CircuitPython related news from around the web including Python and MicroPython developments. To contribute, edit next week’s draft on GitHub and submit a pull request with the changes. Join our Discord or post to the forum for any further questions.

Python on hardware! 47 #PythonHardware #CircuitPython #Adafruit #Python @CircuitPython @Adafruit @micropython @ThePSF

$
0
0

The wonderful world of Python on hardware!

Episode 47 (September 11, 2019) This is our weekly video-newsletter-podcast!

Watch Ladyada and Phil discuss this week’s Python on hardware news and events.

The news comes from the Python community, Discord, Adafruit communities and more. It’s part of the weekly newsletter we do each week with more than 6K+ readers!

——————————————

Our entire playlist of Python on hardware videos:
https://www.youtube.com/playlist?list=PLjF7R1fz_OOXRMjM7Sm0J2Xt6H81TdDev

The current newsletter post and the archives, over 2 years worth! https://www.adafruitdaily.com/category/circuitpython/

Sign up for the newsletter here: https://www.adafruitdaily.com/

Find out more about CircuitPython at https://CircuitPython.org/

See all the information on CircuitPython on the curated Awesome CircuitPython List

ICYMI! Python snakes its way to the STM32, Serpente, and more! #Python #Adafruit #CircuitPython #PythonHardware @circuitpython @micropython @ThePSF @Adafruit

$
0
0

ICYMI (In case you missed it) – Tuesday’s Python on Microcontrollers Newsletter from AdafruitDaily.com went out – if you missed it, subscribe now!

The next newsletter goes out in a week and being subscribed the best way to keep up with all things Python for hardware.

Over 6k+ subscribers worldwide!

CircuitPython snakes its way to the STM32

CircuitPython snakes its way to the STM32

CircuitPython snakes its way to the STM32! Here’s a preview of us testing analog input on ST32F4 port of CircuitPython using Mu. Did you know we’re working on STM32 support for CircuitPython? Its slowly coming together! Here’s the STM32F412 Discovery board from ST, running a simple sketch to test analog inputs. We use Mu to edit the Python code on the device and the plotter makes testing easy, twist & look! – YouTube.

Download the very first builds from CircuitPython.org! They are available for the STM32F411 Discovery and the STM32F412 Discovery.

CircuitPython 5.0.0 Alpha 4 released!

Alpha

CircuitPython 5.0.0-alpha.4 was released over the weekend and includes initial support for the STM32, adds I2SOut for the nRF52840 and a number of other fixes. If you are one of the lucky folks who has a CircuitPlayground Bluefruit, we recommend updating now to get a couple board specific fixes. Download the release from CircuitPython.org/downloads!

Serpente – A Tiny CircuitPython Prototyping Board

A Tiny CircuitPython Prototyping Board

The Serpente boards are low-cost development boards designed to be used with Adafruit’s CircuitPython. They are both virtually the same, except for the USB connector. The standard Serpente board contains a USB Type-C connector, and the Serpente Plug uses the board itself as a Type-A USB plug. If you are familiar with the Digispark boards, you may notice some similarities. This fact is of course not incidental, the Serpente boards are inspired by the Digispark, both in form-factor as well as use-cases. The Serpente boards are meant to be used as quick and dirty, yet flexible, prototyping tools – Tindie & Twitter.

machXOprog – Program Lattice MachXO2/3 with CircuitPython

machXOprog

machXOprog is a CircuitPython library that allows updating the internal flash in a MachXO2/3 device through I2C with a CircuitPython board – GitHub via Twitter.

Hanselminutes Technology Podcast – Learning CircuitPython with Scott Shawcroft

Hanselminutes Technology Podcast

Hanselminutes Technology Podcast – Fresh Air and Fresh Perspectives for Developers – Learning CircuitPython with Scott Shawcroft:

“CircuitPython is a programming language designed to simplify experimenting and learning to code on low-cost microcontroller boards. The history of CircuitPython begins with MicroPython, a Python interpreter written from scratch for embedded systems by Damien George starting in 2013. Three years later, Adafruit hired Shawcroft to port MicroPython to the SAMD21 chip they use on many of their boards. The Scott talks about how to lower the barrier to entry and how to enable beginners to be productive with CircuitPython.”

Listen in! And please subscribe! Hanselminutes Technology Podcast is on iTunes, SpotifyGoogle PlayTwitter, or download the MP3. Share on Twitter and Facebook. Also, see their survey!

14,000 thank yous

14,000 thank yous

The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 14,028 humans, thank you! Join today! https://adafru.it/discord

Call for Proposals for PyCon 2020 is open!

Call for Proposals for PyCon 2020 is open

Call for Proposals for PyCon 2020 is open

“We need beginner, intermediate, and advanced proposals on all sorts of topics as well as beginner, intermediate, and advanced speakers to present talks. You don’t need to be a 20-year veteran who has spoken at dozens of conferences. On all fronts, we need all types of people. That’s what this community is comprised of, so that’s what this conference’s schedule should be made from.”

The S in IoT stands for security

The S in IoT stands for security

The running joke is that the ‘S’ in IoT stands for security…cause its never there. But safety and security is something you will need to think about at all steps of your design process. There’s going to be billions of IoT devices on-line around the world, many of which will be connected to the Internet, and almost all of them will be unmonitored. A 2015 survey by authentication service provider Auth0 found that 85% of IoT developers admitted to being pressured to get a product to market before adequate security could be implemented. And as an engineer, you’re probably used to that pressure to get a product to market, in which case, selling features often get more attention than security.

With more and more of these connected devices being rushed to market, they’ve become a lucrative target. The 2016 Mirai botnet attack used unsecured CCTV cameras that were connected to the Internet to launch a crippling denial of service attack. That one wasn’t even using the cameras to spy on people, it was just using the TCP/IP stack of the embedded linux device to send lots of junk traffic.

Having security as a priority for your engineering and marketing team will not just help you sleep well at night. As we’ve seen with the European GDPR regulations, privacy and security are being legislated. Having poor security will now get you fined and banned in the marketplace. It’s nearly impossible to add security after the fact, so if you want to avoid a devastating recall – listen up and take security seriously.

Watch the full video here – YouTube.

CircuitPython.org updates!

CircuitPython.org updates

We’re always updating CircuitPython and the libraries. We’ve had CircuitPython 4.0.1 stable out for a while, and recently released 5.0.0-alpha.2 which means it’s time for a new CircuitPython Library Bundle! The 4.x and 5.x bundles are now available for download at circuitpython.org/libraries. We’ve stopped supporting the 2.x and 3.x bundles, but you can always get access to the final builds here – GitHub.

There are now over 77+ boards! Some of the new boards added…

STM32F412 Discovery kit

STM32F412 Discovery kit by ST.

Discovery kit for STM32F411

Discovery kit for STM32F411 by ST.

PewPew M4

PewPew M4 by Radomir Dopieralski.

Python on Hardware Community Showcase at PyConUK

Python on Hardware Community Showcase at PyConUK

Python on Hardware Community Showcase at PyConUK

Python on Hardware Community Showcase at PyConUK

Python on Hardware Community Showcase at PyConUK

Python on Hardware Community Showcase at PyConUK

Python on Hardware Community Showcase at PyConUK

The Python on Hardware Community Showcase was over the weekend at PyConUk! There were have robots, keyboards, microscopes, more robots and a lot of cool enthusiastic people! – Twitter. Thanks Carlos!

PewPew! Updates!

PewPew

From the State of PewPew newsletter.

  • James Wootton is doing quantum science on the PewPews. James also wrote some other cool games.
  • Christian Walther is working on a version of PewPew that uses TinyPico to run.
  • PicoPew. A PewPew shield for the TinyPICO.
  • Christian Walther and Radomir Dopieralski will run a game programming workshop with PewPews at the Flick the World event in Zürich. It happens on Saturday 31 August and Sunday 1 September at Rote Fabrik. The exact time of the workshops on each of the days is not yet set.
  • You can now buy PewPew Standalone fully assembled directly from the factory, or if you prefer Tindie.
  • Work continues on PewPew M4, a version of the console with a display, that can run bot PewPew and µGame games. Right now, waiting for the prototype number 4.

News from around the web!

CPX pinouts

CPX pinouts for the upcoming CircuitPython book in Japan – Twitter. AND check out this great video that promos the book! – Twitter.

NeoPixel and Trinket Swords

Kat Grey’s NeoPixel and Trinket Swords! – Twitter.

Handheld LoRa Joystick For Long-Range Bots

Handheld LoRa Joystick For Long-Range Bots – Thingiverse & some Hackkaday coverage.

NOAA Weather

NOAA Weather

Laser-Goo is making NOAA Weather Satellite tracker using a CircuitPython powered PyPortal. Currently modifying the ISS tracker code. Tracking NOAA 15. Next up, adding NOAA 18 and 19 and track simultaneously – Twitter.

Kevin is working on a CircuitPython-BLEThermometer… A Simple UART thermometer working with the CircuitPython Circuit Playground Bluefruit – ALPHA – Bluetooth Low Energy device where you type ‘temp’ in the UART console to get the latest temperature from the device in both fahrenheit and celsius – GitHub.

Huh, not sure what this is, Seeed_ArduPy_MagicStick, “Generate common-hal and binding level code for Ardupy.” – GitHub. Maybe a wrapper for Arduino libraries to make them CircuitPython compatible?

Five Minutes With…Yunsup Lee, CTO, SiFive – Embedded Insiders Podcast.

Hack Chat recap

Hack Chat recap! – hackaday.io

AirBit

micro:bit drone, the Air:Bit – Instagram.

PyGame: A Primer on Game Programming in Python – RealPython.

An example OMI Device with 2 DDR4 memory ports – GitHub.

Waveform generator FEATHER wing

Jeff’s waveform generator FEATHER wing – Twitter.

MBTA arrival times display for Adafruit PyPortal – GitHub.

TI-Nspire

Looks like MicroPython is running, or can be run, on the TI-Nspire – TI-Planet.

PyCParser is a C parser and interpreter written in Python with automatic ctypes interface generation – GitHub.

Making a Static Website, 1995 vs. 2019, it’s true and even worse.

Web Development Merit Badges – CSS-Tricks.

gitGraber: monitor GitHub to search and find sensitive data in real time for different online services such as: Google, Amazon, Paypal, Github, Mailgun, Facebook, Twitter, Heroku, Stripe… – GitHub.

AirGesture

AirGesture – Play games without touching keyboard – GitHub.

2020 Open Hardware Summit sponsorships are now open

The 2020 Open Hardware Summit sponsorships are now open, Adafruit is a sponsor.

20 years of open logos and gear logos

Speaking of, here are 20 years of open logos and gear logos – Adafruit.

Veronica Hanus

PyDev of the Week: Veronica Hanus – Mouse vs Python.

The Top Programming Languages 2019 – Python tops the charts with a CircuitPython nod

ICYDNCI! What was the most popular, most clicked link, in last week’s newsletter? The Top Programming Languages 2019 – Python tops the charts with a CircuitPython nod!.

CircuitPython Weekly Meeting for September 16th, 2019 on YouTube and on diode.zone

TEAM CIRCUITPYTHON!

What’s the team workin’ on this week? Let’s see!

Bryan

Bryan

Bryan

Bryan

“This week I wrote the guide for the TLV493D magnetometer as well as the PCT2075 temperature sensor. The PCT2075 also got brand new drivers. It’s a sweet little sensor, good at doing what little it does, which is essentially act like a thermostat, measuring the temperature and letting you know if it goes past a temperature threshold you set. I also built and started testing the latest revision of the large OLED bonnet. It’s working but the drivers need some love to display things properly: I’ll be working on the libraries for the SSD1305 controller chip that the OLED in the bonnet uses to make the best of such a nice display.”

Dan

“I’m continuing to work on BLE bonding in CircuitPython. I’m also in touch with the developers who are adding BLE support to MicroPython. We have complementary ideas and experience that will improve both of our implementations. I’m debugging gamepad support on Windows and on the Xbox Assistive Controller, in conjunction with Bill Binko of ATMakers. When done, this will make the XAC useful for even more folks. I fixed an issue that interfered with using the status NeoPixel on some boards. It was really two bugs in one.”

Lucian

“I’m working through a rework of the internals of pin organization for the STM32 port of CircuitPython, and getting the AnalogIO module up and running. Past that, I’ll be working on doing the same for more complex modules, such as SPI and UART, as well as expanding support across the STM32 line of chips and development boards.”

Jeff

Jeff

“In the core, I continued to concentrate on audio features. This past weekend, I added I2SOut to the nRF52840 port, and learned a lot about I2S in the process. This has been pulled into the CircuitPython master branch, so boards like the Feather nRF52840 Express and Circuit Playground Bluefruit will be able to use compatible audio devices in CircuitPython 5.0. Image shows three waveforms in the I2S protocol. Top: bit clock. Middle: Left/Right Clock. Bottom: PCM encoded Audio Data.”

Jeff

“For fun, I created a prototype PCB that bridges between the “USER PORT” (serial port) of the classic Commodore 64 computer and any Feather. Potential uses include developing CircuitPython programs on this unconventional system, creating new interfaces between the C64 and modern I2C / SPI sensors, or even adding wireless capabilities. Image shows a hand holding a purple PCB with large blue USER PORT connector and Feather HUZZAH32 module.”

Kattni

Kattni

“This week I’ve been working on the Circuit Playground Bluefruit Learn guide. I’ve been testing it against all the Circuit Playground Express code, some of which required small updates to work for both. I discovered a bug in the board definition for the CPB – pin A1 and A5 were assigned to the same pin, so A1 didn’t work as expected. Bugs like this are exactly why I’m testing everything. I also found a library that’s not compatible with the CPB, and got an issue filed there to get that fixed up. For the most part, everything works exactly the same way, which is the expected result. Look for the guide soon!”

Melissa

Melissa

“This week I just published a new learn guide about getting CircuitPython up and running on the NVIDIA Jetson Nano. You can view the guide here. Now I’m starting a new Learn guide for Nicholas Tollervey’s circup, which is a utility to allow you to keep up to date on the latest CircuitPython libraries. I will also be working on cleaning up a few outstanding Blinka issues and guides.”

Scott

“I’ve wrapped up displayio work for now and have dove into the land of Bluetooth Low Energy. I polished up our old Basic Chat sample app to Swift 5 and begun expanding the BLE library. Next steps are to hook the CircuitPython work up into basic mobile apps.”

Coming soon

A mini PiTFT display with STEMMA QT connector

A mini PiTFT display with STEMMA QT connector

A mini PiTFT display with STEMMA QT connector

A mini PiTFT display with STEMMA QT connector

A mini PiTFT display with STEMMA QT connector

As displays have gotten smaller and higher res, we’ve seen some really cute mini TFTs. this one is only 1.1″ but has 240×135 pixels, great for a little display. we wrote a kernel driver for it, and with the STEMMA QT connector on the bottom, its ez to connect sensors like this MSA301. Then run python scripts to print out the motion output. Fun! – YouTube.

Tiny TensorFlow

And there’s more! Tiny TensorFlow! We’re putting our lil miniPiTFT through some tests, this one is running our TensorFlow Lite tutorial for object recognition, and using the 240×165 pixel screen to see inference output. Makes it a little easier to know what the machine is seeing! – YouTube.

We are also trying out Google Assistant on the BrainCraft HAT – YouTube. The BrainCraft HAT we’ve designed has gone through some tests with vision recognition and TensorFlow with great success! Now we’re ready to try it with voice recognition. We installed the free Google Assistant code – took only about 20 minutes to set up – now we can use it as an audio assistant thanks to the onboard microphones and speaker amplifier!

Adafruit eyes on a Sphero RVR

Adam from Sphero stopped by Adafruit last week and we now have a Sphero RVR we’re tinkering around with! Here’s a quick vid of some Monster M4sk eyes on the RVR. – YouTube.

Boglin

The Adafruit Monster M4sk just happens to fit perfectly in a BOGLIN! – YouTube. What is a BOGLIN??

“Boglins were a series of toy puppets distributed by Mattel. They were created by Tim Clarke, Maureen Trotto, and Larry Mass, and licensed by Seven Towns. The original run of Boglins was released in 1987, coinciding with a “creatures” craze that included Ghoulies, Critters, and Gremlins. Boglins were goblin-themed hand puppets made of flexible rubber and could be manipulated to represent speech and facial expressions. Several series of large and small Boglins were released until 1994, with additional aquatic, Halloween, and baby themed Boglins released later into the line. Small solid ‘Mini-Boglins’ were also produced, akin to the M.U.S.C.L.E. figures also from the 1980s.”

React Native over BLE

Scott successfully loaded code.py into React Native over BLE – Twitter.

New Learn Guides!

reate Custom APIs for PyPortal

Create Custom APIs for PyPortal from Isaac Wellish

CircuitPython Libraries on Linux and the NVIDIA Jetson Nano from Melissa LeBlanc-Williams

Adafruit TLV493 Triple-Axis Magnetometer from Bryan Siepert

AdaBox 013 from John Park

Updated Guides – Now With More Python!

You can use CircuitPython libraries on Raspberry Pi! We’re updating all of our CircuitPython guides to show how to wire up sensors to your Raspberry Pi, and load the necessary CircuitPython libraries to get going using them with Python. We’ll be including the updates here so you can easily keep track of which sensors are ready to go. Check it out!

Keep checking back for more updated guides!

CircuitPython Libraries!

CircuitPython Libraries

CircuitPython support for hardware continues to grow. We are adding support for new sensors and breakouts all the time, as well as improving on the drivers we already have. As we add more libraries and update current ones, you can keep up with all the changes right here!

For the latest drivers, download the Adafruit CircuitPython Library Bundle.

If you’d like to contribute, CircuitPython libraries are a great place to start. Have an idea for a new driver? File an issue on CircuitPython! Interested in helping with current libraries? Check out this GitHub issue on CircuitPython for an overview of the State of the CircuitPython Libraries, updated each week. We’ve included open issues from the library issue lists, and details about repo-level issues that need to be addressed. We have a guide on contributing to CircuitPython with Git and Github if you need help getting started. You can also find us in the #circuitpython channel on the Adafruit Discord. Feel free to contact Kattni (@kattni) with any questions.

You can check out this list of all the CircuitPython libraries and drivers available.

The current number of CircuitPython libraries is 186!

New Libraries!

Here’s this week’s new CircuitPython libraries:

Updated Libraries!

Here’s this week’s updated CircuitPython libraries:

PyPI Download Stats!

We’ve written a special library called Adafruit Blinka that makes it possible to use CircuitPython Libraries on Raspberry Pi and other compatible single-board computers. Adafruit Blinka and all the CircuitPython libraries have been deployed to PyPI for super simple installation on Linux! Here are the top 10 CircuitPython libraries downloaded from PyPI in the last week, including the total downloads for those libraries:

Library Last Week Total
Adafruit-Blinka 1396 46767
Adafruit_CircuitPython_BusDevice 863 21134
Adafruit_CircuitPython_MCP230xx 430 6462
Adafruit_CircuitPython_Register 208 7327
Adafruit_CircuitPython_ESP32SPI 203 1769
Adafruit_CircuitPython_Motor 165 5422
Adafruit_CircuitPython_NeoPixel 157 6350
Adafruit_CircuitPython_ADS1x15 156 2854
Adafruit_CircuitPython_PCA9685 150 4830
Adafruit_CircuitPython_ServoKit 131 3727

Upcoming events!

Open source hardware month

October is Open Hardware Month @ Open Source Hardware Association.

“October is Open Hardware Month! Check out the Open Hardware Month website. Host an event, find a local event, or certify your hardware to support Open Source Hardware. We are providing resources and asking you, the community, to host small, local events in the name of open source hardware. Tell us about your October event by filling out the form below. Your event will be featured on OSHWA’s Open Hardware Month page (provided you have followed OSHWA’s rules listed on the “Do’s and Don’ts” page).”

Read more, Tweet for speakers in 2020, and Open Hardware Month @ http://ohm.oshwa.org/

PyCon DE

PyCon DE & PyData Berlin // October 9 – 13 2019. Main conference, 3 days of talks and workshops. More than 100 sessions dedicated to PyData (artificial intelligence, machine learning, ethics…) and Python topics (programming, DevOps, Web, Django…) – de.pycon.org.

micro:bit Live 2019

micro:bit Live 2019 is coming to BBC MediaCityUK, Greater Manchester, England on October 4-5. This will be the very first annual gathering of the global micro:bit community of educators and partners – micro:bit.

Hackaday Superconference

Hackaday Superconference is November 15th, 16th, and 17th in Pasadena, California, USA. The Hackaday Superconference is returning for another 3 full days of technical talks, badge hacking, and hands-on workshops: [Eventbrite](https://www.eventbrite.com/e/hackaday-superconference-2019-tickets-60129236164?aff=0626com
) & hackaday.io

Latest releases

CircuitPython’s stable release is 4.1.0 and its unstable release is 5.0.0-alpha.4. New to CircuitPython? Start with our Welcome to CircuitPython Guide.

20190916 is the latest CircuitPython library bundle.

v1.11 is the latest MicroPython release. Documentation for it is here.

3.7.4 is the latest Python release. The latest pre-release version is 3.8.0b4.

1381 Stars Like CircuitPython? Star it on GitHub!

Call for help – CircuitPython messaging to other languages!

Hello world

We recently posted on the Adafruit blog about bringing CircuitPython messaging to other languages, one of the exciting features of CircuitPython 4.x is translated control and error messages. Native language messages will help non-native English speakers understand what is happening in CircuitPython even though the Python keywords and APIs will still be in English. If you would like to help, please post to the main issue on GitHub and join us on Discord.

We made this graphic with translated text, we could use your help with that to make sure we got the text right, please check out the text in the image – if there is anything we did not get correct, please let us know. Dan sent me this handy site too.

jobs.adafruit.com – Find a dream job, find great candidates!

jobs.adafruit.com

SPHERO jobs.adafruit.com

jobs.adafruit.com has returned and folks are posting their skills (including CircuitPython) and companies are looking for talented makers to join their companies – from Digi-Key, to Hackaday, Microcenter, Raspberry Pi and more.

14,028 thanks!

14,000 thank yous

Adafruit Discord

The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 14,028 humans, thank you! Join today! https://adafru.it/discord

ICYMI – In case you missed it

ICYMI

The wonderful world of Python on hardware! This is our first video-newsletter-podcast that we’ve started! The news comes from the Python community, Discord, Adafruit communities and more. It’s part of the weekly newsletter, then we have a segment on ASK an ENGINEER and this is the video slice from that! The complete Python on Hardware weekly videocast playlist is here.

This video podcast is on iTunes, YouTube, IGTV (Instagram TV), and XML.

Weekly community chat on Adafruit Discord server CircuitPython channel – Audio / Podcast edition – Audio from the Discord chat space for CircuitPython, meetings are usually Mondays at 2pm ET, this is the audio version on iTunes, Pocket Casts, Spotify, and XML feed.

And lastly, we are working up a one-spot destination for all things podcast-able here – podcasts.adafruit.com

Codecademy “Learn Hardware Programming with CircuitPython”

Codecademy CircuitPython

Codecademy, an online interactive learning platform used by more than 45 million people, has teamed up with the leading manufacturer in STEAM electronics, Adafruit Industries, to create a coding course, “Learn Hardware Programming with CircuitPython”. The course is now available in the Codecademy catalog.

Python is a highly versatile, easy to learn programming language that a wide range of people, from visual effects artists in Hollywood to mission control at NASA, use to quickly solve problems. But you don’t need to be a rocket scientist to accomplish amazing things with it. This new course introduces programmers to Python by way of a microcontroller — CircuitPython — which is a Python-based programming language optimized for use on hardware.

CircuitPython’s hardware-ready design makes it easier than ever to program a variety of single-board computers, and this course gets you from no experience to working prototype faster than ever before. Codecademy’s interactive learning environment, combined with Adafruit’s highly rated Circuit Playground Express, present aspiring hardware hackers with a never-before-seen opportunity to learn hardware programming seamlessly online.

Whether for those who are new to programming, or for those who want to expand their skill set to include physical computing, this course will have students getting familiar with Python and creating incredible projects along the way. By the end, students will have built their own bike lights, drum machine, and even a moisture detector that can tell when it’s time to water a plant.

Visit Codecademy to access the Learn Hardware Programming with CircuitPython course and Adafruit to purchase a Circuit Playground Express.

Codecademy has helped more than 45 million people around the world upgrade their careers with technology skills. The company’s online interactive learning platform is widely recognized for providing an accessible, flexible, and engaging experience for beginners and experienced programmers alike. Codecademy has raised a total of $43 million from investors including Union Square Ventures, Kleiner Perkins, Index Ventures, Thrive Capital, Naspers, Yuri Milner and Richard Branson, most recently raising its $30 million Series C in July 2016.

Contribute!

The CircuitPython Weekly Newsletter is a CircuitPython community-run newsletter emailed every Tuesday. The complete archives are here. It highlights the latest CircuitPython related news from around the web including Python and MicroPython developments. To contribute, edit next week’s draft on GitHub and submit a pull request with the changes. Join our Discord or post to the forum for any further questions.

Issue 23 – HackSpace magazine: Send data with If This Then That – Control almost anything with CircuitPython by @ben_everard @HackSpaceMag @circuitpython @IFTTT #IFTTT

$
0
0

Ifttcphs01

Ifttcphs02

Issue 23 – HackSpace magazine: Send data with If This Then That – Control almost anything with CircuitPython by Ben Everard

“If This Then That (IFTTT) is a really simple bit of glue that lets you link a condition with an action, both of which are taken from web services. All IFTTT applets are in the format If ‘condition’ then ‘action’. This simple form is surprisingly powerful because it’s linked to a huge number of internet services and web-connected devices. The sheer range of services that can link together, and the fact that everything can be configured by clicking on things in a website, make it a great platform for basic Internet of Things devices and experiments.”

Read more pages 78 to 81, download PDF, buy now, subscribe.


Hs 23 Subs-1

Subscribers save a bunch, and get a free Circuit Playground Express!

CircuitPython snakes its way to FT232H @adafruit @CircuitPython #adafruit #circuitpython #python #FT232H

$
0
0

The FT232H is a handy USB to gpio/i2c/spi breakout board we’ve stocked for a long time (video). It is used by lots of folks as a hardware interfacing bridge. For a long time we’ve had Python support for it but that support has gotten kinda old and neglected as we’ve spent a lot of our efforts on CircuitPython. Well, now we have CircuitPython Blinka support, so you can control sensors, oleds, buttons, LEDs and more all via FT232H! All thanks to Carter who fearlessly took on this code support – we’ll start writing up a guide in the next week or two.

Max Holliday – CircuitPython in space, SmallSats and more! @circuitpython @maholli404 @SmallSat @Stanford #KeysightIoTChallenge @zacinaction #KickSat

$
0
0

Max Holliday has been Integrating CircuitPython into many aspects of his PhD research at Stanford University, we had a great time together chatting (video), thank you Max! Topics included:

Pycubed

KickSat-2 development yielded the PyCubed project and after Max’s talk at SmallSat 2019 over 60 universities have reached out wanting to use and/or incorporate PyCubed into the Cubesat development efforts.

Python In Space

All of the radiation testing, data collection, etc … for the research is collected using CircuitPython

Sx1280

Sx1280 On Adafruit

Max is really excited lately with the time-of-flight ranging capability of the Semtech SX1280 radios. So Max built a breakout that fits existing HopeRF footprints and published a working (albeit rough around the edges) CircuitPython library!

Keysight

Max was in NYC for this Keysight IoT competition. Using the KickSat-2 CircuitPython platform (the small form-factor sprites), Max’s team worked with a chemical engineering group at Stanford to develop a completely new means of measuring ammonia concentrations in water. The mesh network: gateways, sensing nodes, etc… are all using CircuitPython.

Won

THEY WON!

Max’s contributions to the maker community and Stanford curriculum include:

Sam32

Max developed the SAM32 board as a “catch-all” or swiss-army knife for student projects, it’s is now part the curriculum in 5+ courses in the fall.

E240

One example, Eng240, is a MEMS course that’s historically been purely theory-based. However, Prof. Roger Howe and Max have overhauled the class to include labs in the fall. The first of which have students assembling their own SAM32, the second has students designing their own “marco” accelerometer using PCBs. Everything is driven with CircuitPython.

Solder01

Solder02

Max is a self described soldering nerd – and was completely dissatisfied with resources online for folks learning to solder. Max made a very polished tutorial with a self-assessment quiz. Then coupled it with a soldering practice + exam board for Stanford students to use.

Blinka In Space-1

We’ll be posting more later, wanted to get this out there now so it made it in to our Python on Hardware newsletter!


ICYMI CircuitPython Newsletter: CircuitPython is out of this world! Doc Holliday stops by and more! #Python #Adafruit #CircuitPython #PythonHardware #ICYMI @circuitpython @micropython @ThePSF @Adafruit

$
0
0

ICYMI (In case you missed it) – Tuesday’s Python on Microcontrollers Newsletter from AdafruitDaily.com went out – if you missed it, subscribe now!

The next newsletter goes out in a week and being subscribed the best way to keep up with all things Python for hardware.

Over 6k+ subscribers worldwide!

Max Holliday – CircuitPython in space, SmallSats and more!

Max in space

Max Holliday has been integrating CircuitPython into many aspects of his PhD research at Stanford University. We had a great time together chatting (video). Thank you Max! Topics included:

PyCubed

KickSat-2 development yielded the PyCubed project and after Max’s talk at SmallSat 2019, over 60 universities have reached out wanting to use and/or incorporate PyCubed into their Cubesat development efforts.

KickSat

All of the radiation testing, data collection, etc. … for the research is collected using CircuitPython.

SX1280

SX1280

Max is really excited lately with the time-of-flight ranging capability of the Semtech SX1280 radios. So Max built a breakout that fits existing HopeRF footprints and published a working (albeit rough around the edges) CircuitPython library!

Keysight

Max was in NYC for this Keysight IoT competition. Using the KickSat-2 CircuitPython platform (the small form-factor sprites), Max’s team worked with a chemical engineering group at Stanford to develop a completely new means of measuring ammonia concentrations in water. The mesh network, gateways, sensing nodes, etc. are all using CircuitPython.

Max’s contributions to the Maker community and Stanford curriculum include:

SAM32

Max developed the SAM32 board as a “catch-all” or swiss-army knife for student projects. It’s is now part the curriculum in 5+ courses in the fall.

MEMs

One example, Eng240, is a MEMS course that’s historically been purely theory-based. However, Prof. Roger Howe and Max have overhauled the class to include labs in the fall. The first of which has students assembling their own SAM32, the second has students designing their own “marco” accelerometer using PCBs. Everything is driven with CircuitPython.

Soldering

Soldering

Max is a self described soldering nerd, and he was completely dissatisfied with resources online for folks learning to solder. Max made a very polished tutorial with a self-assessment quiz. Then he coupled it with a soldering practice + exam board for Stanford students to use.

Program CircuitPython devices with iPhone & iOS 13

CPiOS

With the launch of iOS 13, iPhone users now have the ability to edit code on CircuitPython USB devices! Once you’re device is updated, you can connect a board such as Circuit Playground Express and edit & run code on the go – Adafruit.

CircuitPython snakes its way to the FT232H

FT232H

The FT232H is a handy USB to GPIO/I2C/SPI breakout board we’ve stocked for a long time. It is used by lots of folks as a hardware interfacing bridge. For a long time, we’ve had Python support for it, but that support has gotten kind of old and neglected as we’ve spent a lot of our efforts on CircuitPython. Well, now we have CircuitPython Blinka support, so you can control sensors, OLEDs, buttons, LEDs and more all via FT232H! All thanks to Carter who fearlessly took on this code support – we’ll start writing up a guide in the next week or two – YouTube.

CircuitPython slithers its way to Halloween! HackSpace issue 23!

Halloween HackSpace

Issue 23 – HackSpace magazine: Halloween builds!

Turn to the fun (and dark) side of making with a look at the best crazy, creative Halloween builds around – then have a go at making your own! There are a lot of CircuitPython and Python projects in this issue, check it out and help support a great magazine!

Read more, download PDF, buy now, subscribe.

Subscribe

Subscribers save a bunch and they get a free Circuit Playground Express!

Send data with If This Then That – Control almost anything with CircuitPython

IFTTT CircuitPython

IFTTT CircuitPython

Issue 23 – HackSpace magazine: Send data with If This Then That – Control almost anything with CircuitPython by Ben Everard

“If This Then That (IFTTT) is a really simple bit of glue that lets you link a condition with an action, both of which are taken from web services. All IFTTT applets are in the format If ‘condition’ then ‘action’. This simple form is surprisingly powerful because it’s linked to a huge number of internet services and web-connected devices. The sheer range of services that can link together, and the fact that everything can be configured by clicking on things in a website, make it a great platform for basic Internet of Things devices and experiments.”

Read more pages 78 to 81, download PDF.

Motorized wing, making your cosplay move

Motorized wing

Motorized wing

Issue 23 – HackSpace magazine: Motorized wing, making your cosplay move, add a servo for breathtaking effects by Sophy Wong –

“Add movement to your cosplay with a servo motor! In this intermediate build, we’ll make an articulating wing that opens and closes at the touch of a finger. This project is a perfect add-on to a sci-fi robot costume, a steampunk aviator, or any costume with a shoulder pauldron. We’ll bring our wing to life with some crafting, soldering, and a little bit of code! We’ve kept this build simple with everyday materials like cardboard and string. Clean, used shipping boxes are a great source of 4mm corrugated cardboard. A laser cutter makes quick work of cutting out the wings, but if you don’t have access to one, use scissors or a craft knife to cut the cardboard by hand. Our cyberpunk-style wing template includes design lines that can be engraved or traced on the surface of the wing for more texture. Download our template at hsmag.cc/issue23, or create your own custom wing shape from scratch. Just make sure the pivoting side of the wing is a nice, round circle, for smooth movement. Once cut, paint the wings to match your costume – a coat of silver spray paint made our cardboard shine bright.”

Read more pages 78 to 81, download PDF.

Adafruit Feather takes flight with the SparkFun Thing Plus Artemis

Adafruit Feather takes flight with the SparkFun Thing Plus

Adafruit Feather takes flight with the SparkFun Thing Plus – Artemis. AND: it appears CircuitPython support is “a topic of discussion for sure”! – Twitter.

The latest SparkFun board is Feather-compatible! This is the fifth SparkFun Adafruit Feather-compatible board (not including the Particle boards which are Feather format as well).

“To make the Thing Plus even easier to use, we’ve moved a few pins around to make the board Feather compatible…“

Awesome Feather

Feather is a complete line of development boards that are both standalone and stackable. They’re able to be powered by LiPo batteries for on-the-go use or by their micro-USB plugs for stationary projects. Feathers are flexible, portable, and as light as their namesake. FeatherWings are stacking boards and add functionality and room for prototyping. At its core, Feather is a complete ecosystem of products – and the best way to get your project flying.

The Feathers at Adafruit are open source. Adafruit encourages other companies to utilize this form factor to maximize compatibility with dozens of pre-existing boards.

Check out awesome-feather for a complete list! – github.com/adafruit/awesome-feather.

Meet GIZMO!

Gizmo

Meet the new Circuit Playground TFT Gizmo, a Bolt-on Display + Audio Amplifier – Adafruit.

Extend and expand your Circuit Playground projects with a bolt on TFT Gizmo that lets you add a lovely color display in a sturdy and reliable fashion. This PCB looks just like a round TFT breakout but has permanently affixed M3 standoffs that act as mechanical and electrical connections.

Once attached you’ll get a 1.54” 240×240 IPS display with backlight control, two 3-pin STEMMA connectors for attaching NeoPixel strips or servos, and a Class D audio amplifier with a Molex PicoBlade connector that can plug on one of our li’l speakers.

This is a great companion for our Circuit Playground Express or Bluefruit boards thanks to their fast SPI hardware speeds, and it works in CircuitPython. It comes with a PCB that has pre-soldered standoffs attached and 12x M3 screws for attachment.

CircuitPython and Mu book!

CircuitPython and Mu book

CircuitPython and Mu book

CircuitPython and Mu book

CircuitPython and Mu book

Lots of activity and more for the CircuitPython & Mu book that is coming soon from Japan, including shirts! – STEAM TOKYO.

Introduction to CircuitPython class in Canton, CT

Introduction to CircuitPython class

For individuals (Ages 10 – Adult) who love circuits or coding, check out this Introduction to CircuitPython class at NextGen SmartyPants in Canton, Connecticut USA – nextgensmartypants.com.

News from around the web!

badges

A nice laser cut holder for all of the PyBadges at MacInspires – Twitter.

Mike

Mike, from Mouse vs Python, has his PyBadge up and running – Twitter.

Mask 13

Silver Mask with moving eyes with ADABOX 013 – YouTube via Twitter.

Spectral Foxes

Presenting a pair of Spectral Foxes – Instagram.

Jeff board

More progress on Jeff’s CircuitPython board – Twitter.

CP badge life

Kevin’s CircuitPython based custom conference badge is looking great! – Twitter.

PyPortal IoT Plant Monitor

PyPortal IoT Plant Monitor with Microsoft Azure IoT and CircuitPython. Monitor your plant’s vitals by combining CircuitPython with Microsoft Azure IoT – learn.adafruit.com

Eyes

Anrhok work in progress, eyes made by Lucky and Hige – Twitter.

What can you fit into an 8×8 pixel display? Find out: Christian is bringing some PewPews to the Creative Coding ZH meetup and will show how to program simple games or demos in CircuitPython – Meetup.

Daniel

Daniel’s excellent PyBadge – Twitter.

Building Custom Deep Learning Based OCR models by Anuj Sable – nanonets.com

Lamp

Building a micro:bit gesture controlled lamp – manjo.ninja.

Learn Python

Microsoft has a 44 part series on YouTube, all about Python

“Probably the largest hurdle when learning any new programming language is simply knowing where to get started. This is why we, Chris and Susan, decided to create this series about Python for Beginners! Even though we won’t cover everything there is to know about Python in the course, we want to make sure we give you the foundation on programming in Python, starting from common everyday code and scenarios. At the end of the course, you’ll be able to go and learn on your own, for example with docs, tutorials, or books.”

Amp Hour

The latest Amp Hour electronics podcast had Ken Burns of TinyCircuits – towards the end of the interview there are some CircuitPython mentions around the 1 hour 22 min mark.

Laser Crown

Laser crown! – Instructables.

Comodore 64

Jepler was working on a cool Commodore 64 + CircuitPython project!

Robo HAT

Robo HAT MM1 by Robotics Masters – their testing jig arrived – Crowdy Supply.

KiPro is Professional support for KiCad. Offers private bug reports, customized hardware and feature release schedules kipro-pcb.com.

100k pi

Visualizing 100k decimals of Pi, Tau and e with Python – moon.hoyd.net.

Token scanning – GitHub.

Lectures in Quantitative Economics with Python – PDF.

A Python alternative to Docker – Matt Layman.

Colab

Basic TensorFlow Object Recognition on any Computer or iOS device with Google Colab – Adafruit.

An absolute beginners guide to nRF52840 by Teja Chintalapati.

Brian Ringley list of construction robotics – Google Doc.

Python bundle

A few days left for the Humble Level Up Your Python Bundle, pay what you want and help charity – humblebundle.com/level-up-your-python.

PyGame

PyGame: A Primer on Game Programming in Python by Jon Fincher – Real Python.

14,000 word Technical Deep Dive about RS-232, WiFi modems and networking in C64 OS, with some intro talk about Chess and turn-based network games – C64OS via Twitter.

Inside Tesla’s Neural Processor In The FSD Chip – wikichip.org

100,000 AI-Generated Faces – Free to use! – generated.photos & Google drive photos.

Artbreeder – Create beautiful, wild and weird images.

ImageNet Roulette is a provocation designed to help us see into the ways that humans are classified in machine learning systems. It uses a neural network trained on the “Person” categories from the ImageNet dataset which has over 2,500 labels used to classify images of people – imagenet-roulette.paglen.com

Halloween custom prints – Print all over me.

Balancing Makers and Takers to scale and sustain Open Source – DRIES BUYTAERT.

Software Engineering at Google – PDF.

Moore's Law

Moore’s law visualization, predictions vs actual growth in transistor count – Twitter.

Serpente

Easy

And on that note, this is great to hear – Twitter.

“Thanks to Adafruit’s UF2 bootloader, the update process is super easy.”

Bugfix and DMCA Lawsuit Progress NeTV2 – Crowd Supply.

How did we miss this? Mouser acquired Crowd Supply LAST YEAR – Crowd Supply.

#ICYDNCI What was the most popular, most clicked link, in last week’s newsletter? Serpente – A Tiny CircuitPython Prototyping Board.

PyDev of the Week: Peter Farrell – Mouse vs Python.

CircuitPython Weekly Meeting for September 23rd, 2019 on YouTube and on diode.zone.

Coming soon

BeagleBone AI

The new BeagleBone AI was released! We have one – we’re going to get BLINKA going on it first!

Updates coming soon to Bluefruit

Updates coming soon to Bluefruit! – YouTube.

STEMMA Relay Breakout

STEMMA Relay Breakout. This all-SMT breakout lets you control a 60W relay with a plug-n-play 3-pin JST PH cable connection. Clicky clacky!

PyBadge cases

PyBadge cases

PyBadge cases

Working on some new cases for the PyBadge!

WiFi backpack

WiFi backpack

Mini SAM + WiFi backpack, maybe? – Twitter.

Introducing Glider

Glider

Glider is a portable mobile app aimed at making wireless editing of Python code really easy and fun. We’ll have more soon, this is the start! – GitHub & Twitter.

New Learn Guides!

CircUp

Keep your CircuitPython libraries on devices easily updated with CircUp from Melissa LeBlanc-Williams

Bluefruit

Adafruit Circuit Playground Bluefruit from Kattni

Adafruit Hallowing M4 from Kattni

Team updates!

Bryan

Bryan

Bryan

“This week I finished up and released the SSD1305 framebuf driver to be used with the upcoming Large OLED Bonnet. If I may say so myself, it looks great! I also assembled and started working on the driver for the upcoming MPU-6050 STEMMA QT compatible 6-axis Accelerometer and Gyroscope.”

Jepler

Jepler

“This week, my main work was more research about DAC issues on the boards with samd51 microcontrollers, like the Metro M4 Express. A pull request improved various problems when the DACs were used for simple analog out or audio out, but some strange behavior remains where high amplitude square waves are concerned. I personally suspect there might be gremlins in the silicon at this point. Along the way, I learned how to use my scope’s pass/fail mode to record how often an anomaly occurred when looping a short sample via CircuitPython’s AudioOut. Answer: Less than 0.5% of the time in this test, after employing a workaround.”

Kattni

“The Circuit Playground Bluefruit guide has been published! I found a number of bugs during testing, and we’ve since fixed them all. This week, I’m working on the Hallowing M4 guide. If you’re looking for how to get going with your Hallowing M4, keep an eye out for that to be published soon! After that, I’ll be adding three Bluetooth examples to the Circuit Playground Bluefruit guide. They’ll provide a starting point for using CircuitPython with the Bluetooth features of your CPB!”

Lucian

“We just wrapped up AnalogIO for the STM32 today after getting held up by some tricky bugs. Now that that’s completed, I’ll be moving on to expanding the implementation of I2C and the rest of BusIO using a new implementation of peripherals specific to the STM32. This will enable a bunch of new modules and breakout boards to be used with CircuitPython! I’ll also be working on support for new F4 dev boards.”

Melissa

“Just finished up writing a learn guide for a new utility called CircUp that allows easy maintenance of CircuitPython libraries across your devices. You can check out the learn guide here. I’ve gone through the displayio examples making some minor updates and updated the corresponding CircuitPython displayio learn guide pages. I’ve also been adding several new boards to the circuitpython.org website under the Downloads page. I took the Arduino ST7735 Library and split up the graphicstest example into 4 different examples so it would be easier to follow along with newer boards such as the HalloWing M4. I also fixed a bug in the CircuitPython Seesaw library that wasn’t allowing the NeoTrellis and MiniTFT boards to work correctly on the latest versions of CircuitPython. Now I’m working on going through updating the monochrome OLED learn guide pages to reflect some of the recently added displayio drivers.”

Updated Guides – Now With More Python!

You can use CircuitPython libraries on Raspberry Pi! We’re updating all of our CircuitPython guides to show how to wire up sensors to your Raspberry Pi, and load the necessary CircuitPython libraries to get going using them with Python. We’ll be including the updates here so you can easily keep track of which sensors are ready to go. Check it out!

Keep checking back for more updated guides!

CircuitPython Libraries!

CircuitPython Libraries

CircuitPython support for hardware continues to grow. We are adding support for new sensors and breakouts all the time, as well as improving on the drivers we already have. As we add more libraries and update current ones, you can keep up with all the changes right here!

For the latest drivers, download the Adafruit CircuitPython Library Bundle.

If you’d like to contribute, CircuitPython libraries are a great place to start. Have an idea for a new driver? File an issue on CircuitPython! Interested in helping with current libraries? Check out this GitHub issue on CircuitPython for an overview of the State of the CircuitPython Libraries, updated each week. We’ve included open issues from the library issue lists, and details about repo-level issues that need to be addressed. We have a guide on contributing to CircuitPython with Git and Github if you need help getting started. You can also find us in the #circuitpython channel on the Adafruit Discord. Feel free to contact Kattni (@kattni) with any questions.

You can check out this list of all the CircuitPython libraries and drivers available.

The current number of CircuitPython libraries is 187!

New Libraries!

Here’s this week’s new CircuitPython libraries:

Updated Libraries!

Here’s this week’s updated CircuitPython libraries:

PyPI Download Stats!

We’ve written a special library called Adafruit Blinka that makes it possible to use CircuitPython Libraries on Raspberry Pi and other compatible single-board computers. Adafruit Blinka and all the CircuitPython libraries have been deployed to PyPI for super simple installation on Linux! Here are the top 10 CircuitPython libraries downloaded from PyPI in the last week, including the total downloads for those libraries:

Library Last Week Total
Adafruit-Blinka 1472 46065
Adafruit_CircuitPython_BusDevice 822 21636
Adafruit_CircuitPython_MCP230xx 342 6761
Adafruit_CircuitPython_Register 171 7074
Adafruit_CircuitPython_Thermal_Printer 164 1067
Adafruit_CircuitPython_ESP32SPI 143 1870
Adafruit_CircuitPython_NeoPixel 128 6296
Adafruit_CircuitPython_Motor 128 5228
Adafruit_CircuitPython_PCA9685 123 4869
Adafruit_CircuitPython_MotorKit 118 2603

Upcoming events!

Open source hardware month

October is Open Hardware Month @ Open Source Hardware Association.

“October is Open Hardware Month! Check out the Open Hardware Month website. Host an event, find a local event, or certify your hardware to support Open Source Hardware. We are providing resources and asking you, the community, to host small, local events in the name of open source hardware. Tell us about your October event by filling out the form. Your event will be featured on OSHWA’s Open Hardware Month page (provided you have followed OSHWA’s rules listed on the “Do’s and Don’ts” page).”

Read more, Tweet for speakers in 2020, and Open Hardware Month @ http://ohm.oshwa.org/

Ada Lovelace Day

Ada Lovelace Day (ALD) is an international celebration of the achievements of women in science, technology, engineering and maths (STEM). It aims to increase the profile of women in STEM and, in doing so, create new role models who will encourage more girls into STEM careers and support women already working in STEM – findingada.com.

PyCon DE

PyCon DE & PyData Berlin, Germany // October 9 – 13 2019. Main conference, 3 days of talks and workshops. More than 100 sessions dedicated to PyData (artificial intelligence, machine learning, ethics…) and Python topics (programming, DevOps, Web, Django…) – de.pycon.org.

micro:bit Live 2019

micro:bit Live 2019 is coming to BBC MediaCityUK, Greater Manchester, England on October 4-5. This will be the very first annual gathering of the global micro:bit community of educators and partners – micro:bit.

Hackaday Superconference

Hackaday Superconference is November 15th, 16th, and 17th in Pasadena, California, USA. The Hackaday Superconference is returning for another 3 full days of technical talks, badge hacking, and hands-on workshops: Eventbrite & hackaday.io

Latest releases

CircuitPython’s stable release is 4.1.0 and its unstable release is 5.0.0-alpha.4. New to CircuitPython? Start with our Welcome to CircuitPython Guide.

20190922 is the latest CircuitPython library bundle.

v1.11 is the latest MicroPython release. Documentation for it is here.

3.7.4 is the latest Python release. The latest pre-release version is 3.8.0b4.

1399 Stars Like CircuitPython? Star it on GitHub!

Call for help – CircuitPython messaging to other languages!

Hello world

We posted on the Adafruit blog about bringing CircuitPython messaging to other languages, one of the exciting features of CircuitPython 4.x is translated control and error messages. Native language messages will help non-native English speakers understand what is happening in CircuitPython even though the Python keywords and APIs will still be in English. If you would like to help, please post to the main issue on GitHub and join us on Discord.

We made this graphic with translated text, we could use your help with that to make sure we got the text right, please check out the text in the image – if there is anything we did not get correct, please let us know. Dan sent me this handy site too.

jobs.adafruit.com – Find a dream job, find great candidates!

jobs.adafruit.com

jobs.adafruit.com has returned and folks are posting their skills (including CircuitPython) and companies are looking for talented makers to join their companies – from Digi-Key, to Hackaday, Microcenter, Raspberry Pi and more.

14,151 thanks!

14,151

Adafruit Discord

The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 14,151 humans, thank you! Join today! https://adafru.it/discord

Chart

We just reached 14,000 humans, here’s what that looks like over time!

Discord now offers “server boosts”. We have 13 on our server (level 2) and if we get to 50 boosts we get to level 3 and some other good features for the community: +100 emojis for a total of 250, 384 Kbps audio, vanity URL, 100 mb uploads for all members (and all the things we have now, like the server banner). Stop by and boost! https://adafru.it/discord.

ICYMI – In case you missed it

ICYMI

The wonderful world of Python on hardware! This is our first video-newsletter-podcast that we’ve started! The news comes from the Python community, Discord, Adafruit communities and more. It’s part of the weekly newsletter, then we have a segment on ASK an ENGINEER and this is the video slice from that! The complete Python on Hardware weekly videocast playlist is here.

This video podcast is on iTunes, YouTube, IGTV (Instagram TV), and XML.

Weekly community chat on Adafruit Discord server CircuitPython channel – Audio / Podcast edition – Audio from the Discord chat space for CircuitPython, meetings are usually Mondays at 2pm ET, this is the audio version on iTunes, Pocket Casts, Spotify, and XML feed.

And lastly, we are working up a one-spot destination for all things podcast-able here – podcasts.adafruit.com

Codecademy “Learn Hardware Programming with CircuitPython”

Codecademy CircuitPython

Codecademy, an online interactive learning platform used by more than 45 million people, has teamed up with the leading manufacturer in STEAM electronics, Adafruit Industries, to create a coding course, “Learn Hardware Programming with CircuitPython”. The course is now available in the Codecademy catalog.

Python is a highly versatile, easy to learn programming language that a wide range of people, from visual effects artists in Hollywood to mission control at NASA, use to quickly solve problems. But you don’t need to be a rocket scientist to accomplish amazing things with it. This new course introduces programmers to Python by way of a microcontroller — CircuitPython — which is a Python-based programming language optimized for use on hardware.

CircuitPython’s hardware-ready design makes it easier than ever to program a variety of single-board computers, and this course gets you from no experience to working prototype faster than ever before. Codecademy’s interactive learning environment, combined with Adafruit’s highly rated Circuit Playground Express, present aspiring hardware hackers with a never-before-seen opportunity to learn hardware programming seamlessly online.

Whether for those who are new to programming, or for those who want to expand their skill set to include physical computing, this course will have students getting familiar with Python and creating incredible projects along the way. By the end, students will have built their own bike lights, drum machine, and even a moisture detector that can tell when it’s time to water a plant.

Visit Codecademy to access the Learn Hardware Programming with CircuitPython course and Adafruit to purchase a Circuit Playground Express.

Codecademy has helped more than 45 million people around the world upgrade their careers with technology skills. The company’s online interactive learning platform is widely recognized for providing an accessible, flexible, and engaging experience for beginners and experienced programmers alike. Codecademy has raised a total of $43 million from investors including Union Square Ventures, Kleiner Perkins, Index Ventures, Thrive Capital, Naspers, Yuri Milner and Richard Branson, most recently raising its $30 million Series C in July 2016.

Contribute!

The CircuitPython Weekly Newsletter is a CircuitPython community-run newsletter emailed every Tuesday. The complete archives are here. It highlights the latest CircuitPython related news from around the web including Python and MicroPython developments. To contribute, edit next week’s draft on GitHub and submit a pull request with the changes. Join our Discord or post to the forum for any further questions.

SmartEdge Gym Buddy: A Workout Tracker @Raspberry_Pi #PiDay #RaspberryPi

$
0
0

Awesome project from HyperChiicken up on Hackster.io.

Exercising is an important part to good health and well-being. Setting exercise/workout goals is a simple way to motivate and keep yourself on track. Of course, it’s not so easy to get yourself up to exercise, let alone record your progress as you do it. You need to bring your notebook or whip out your cellphone to record the repetitions and sets, which increases distraction and lowers productivity.

This project tackles the analog way of logging and analyzing workouts/exercises by automating this process. The device autonomously logs the type of exercise and number of repetitions using AI Studio. The data is then visualized using Python and PyQt5.

Read more.


3055 06Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

Learning IoT with Python and Raspberry Pi by E.I. Horvath, E.A. Horvath @learningiotnet #python #raspberrypi @Raspberry_Pi #IoT

$
0
0

Learning IoT with Python and Raspberry Pi by E.I. Horvath, E.A. Horvath

Developing applications that operate in the realm of the Internet of Things requires, in addition to the mastery of a programming language, an understanding of networking, an understanding of how to use different platforms, an understanding of basic electronic circuits, and a familiarity with databases. Owing to its built-in WiFi capability and its forty general-purpose input/output pins, the Raspberry Pi computer is the ideal device for teaching students how to write code that controls electronic circuits whether the code is executed from a keyboard attached directly to the Raspberry Pi or executed from a smart phone. One of the most popular programming languages in the world, Python, is installed with the Raspbian operating system. Several Python packages enable the programmer to write code that turns an LED or a buzzer, gets data from a sensor, controls motors, and so on.

  • Code tested on the Raspberry Pi 3 and the new Raspberry Pi 4
  • Color photographs and circuit diagrams
  • 300+ code listings illustrate Python programming concepts
  • 250+ homework problems ranging from short Python scripts to web site configuration projects
  • Circuit examples
  • Labs on measuring voltage, current, and resistance using a multimeter
  • Send a text message if the light level detected by an LDR circuit falls below a threshold
  • Send an email if motion is detected using a PIR sensor circuit
  • Use an ultrasonic sensor in a proximity alert circuit and make a phone call if an intruder gets too close
  • Use a GPS HAT to get waypoints and store them in a file
  • Use an analog to digital converter to read in data from sensors
  • Control a servo using classes
  • Upload data to the cloud
  • Learn how to access a database using SQL statements
  • Deploy a home monitor system that uses the Raspberry Pi Camera and a PIR sensor circuit. Upload pictures to a web server in the cloud and access the pictures on a web page.
  • Control a robot using a multi-threaded application

9780578549361 P0 V1 S600X595

Learn more, video, & site: https://learningiot.net/

Python on hardware! 49 CircuitPython is out of this world! Doc Holliday stops by and more! @adafruit @circuitpython @micropython #python

$
0
0

The wonderful world of Python on hardware!

Episode 49 (September 27, 2019) This is our weekly video-newsletter-podcast!

Watch Ladyada and Phil discuss this week’s Python on hardware news and events.

The news comes from the Python community, Discord, Adafruit communities and more. It’s part of the weekly newsletter we do each week with more than 6K+ readers!

Our entire playlist of Python on hardware videos:
https://www.youtube.com/playlist?list=PLjF7R1fz_OOXRMjM7Sm0J2Xt6H81TdDev

The current newsletter post and the archives, over 2 years worth! https://www.adafruitdaily.com/category/circuitpython/

Sign up for the newsletter here: https://www.adafruitdaily.com/

Find out more about CircuitPython at https://CircuitPython.org/

See all the information on CircuitPython on the curated Awesome CircuitPython List

Test & Code – Python Testing & Development 89: Improving Programming Education – Nicholas Tollervey @testpodcast @CircuitPython @TestAndCode @brianokken @ntoll #madewithmu

$
0
0

Adafruit 2019 2651

Test & Code – Python Testing & Development 89: Improving Programming Education – Nicholas Tollervey.

Nicholas Tollervey is working toward better ways of teaching programming. His projects include the Mu Editor, PyperCard, and CodeGrades. Many of us talk about problems with software education. Nicholas is doing something about it.

  • Code With Mu — a simple Python editor for beginner programmers.
  • Made With Mu — A blog to celebrate projects that use the Mu Python code editor to create cool stuff.
  • PyperCard — Easy GUIs for All.
  • CodeGrades.

Listen in, and MP3.

Overview | CircuitPython on any Computer with FT232H @adafruit @circuitpython

$
0
0

10119Ft232Hsensors Banner

Powerful computers can now use the power of CircuitPython libraries. This guide will show you how to use an FT232H to connect to I2C and SPI sensors and breakouts from your desktop PC running Windows, Mac OSX, or Linux. The FT232H also allows for general purpose digital input and output (GPIO) for things like buttons and LEDs.

The cool part about this is that you can then use any of the CircuitPython Libraries that have been written for the numerous sensors and breakouts – learn.adafruit.com.

STEMMA Sunday – Starring the STM32F405 Feather #stm32 #circuitpython #madewithmu @adafruit @circuitpython #circuitpython @st_world #STM32F405 #STM32 #STM @sparkfun @seeedstudio @dfrobotcn #qwiic #grove #gravity #stemma #stemmaQT

$
0
0

The new STM32F405 Feather (video) that we designed runs CircuitPython at a blistering 168MHz – our fastest CircuitPython board ever! We put a STEMMA QT / Qwiic port on the end, so you can really easily plug and play I2C sensors. With CircuitPython basics running on this board, its fast to get all our drivers working, then use the built in plotter in Mu to instantly get sensor data displaying within 3 minutes of unboxing.


Stemma Stemmaqt-1

Adafruit STEMMA & STEMMA QT Plug & play connectivity

WHAT IS STEMMA? STEMMA is not an original idea, we’re working within an ecosystem of many other plug and play systems. We started STEMMA in 2014, and intended to be compatible with Grove only (cause that’s all that existed at the time) but then when Qwiic came around in 2017, added a smaller connector so we could work with those parts too!

STEMMA attempts to be as cross-compatible as possible with both Grove and Gravity (compatible connectors & 3-5V power/logic). STEMMA QT is cross-compatible with Qwiic – STEMMA QT connector/cable is same as Qwiic. You can use STEMMA QT devices with Qwiic devices/controllers.

Adafruit STEMMA & STEMMA QT: Plug & play connectivity – learn.adafruit.com If you’re lookin for the differences between each and what works (and what does not), skip to the comparison page and if we missed anything, post in the comments!

More STEMMA & STEMMA Sunday! – Adafruit.


Subscribe now to get the Python on Microcontrollers newsletter tomorrow! #pythonhardware #circuitpython #python @CircuitPython @micropython @ThePSF @Adafruit

$
0
0

The Python on Microcontrollers newsletter – your source for Python information every week – subscriptions open

The word is out that our newsletter is the place for the hottest news involving Python on hardware. 6,600+ readers and growing!

Catch all the weekly news on Python for Microcontrollers with adafruitdaily.com. This ad-free, spam-free weekly email is filled with the Python information that you may have missed, all in one place! This includes Python news worldwide – you get a summary of all the gear, events, projects, and the latest hardware!

Ensure you catch the weekly news roundup– you can cancel anytime – try our spam-free newsletter today!

Save time hunting for the breaking news, we’ve got it all.

Including news on the Circuit Playground Bluefruit, boards to make Halloween fun and much, much more!

EuroPython 2019 talk video: Radomir Dopieralski – Game Development with CircuitPython #CircuitPython @EuroPython @deshipu

$
0
0

The talks from EuroPython 2019 last July are now posted on the web!

Above is Radomir Dopieralski (Twitter @deshipu) talking about full stack game development (from hardware to games) with the software consisting of CircuitPython to accelerate design and production.

“Game Development with CircuitPython [EuroPython 2019 – Talk – 2019-07-12 – Boston] [Basel, CH] By Radomir Dopieralski Making computer games is difficult: it requires creativity, multidisciplinary knowledge of art, psychology, math, computer science, physics and others, patience, open mind and dedication. Making computer games with Python is a nightmare. You hit practically every sharp corner that Python has, starting with installation, through binary libraries, poor hardware support, up to distribution.

PewPew devices are an attempt at solving the worst problems by giving you a dedicated, cheap, simple and portable gaming device, that you can easily program with Python with just a simple text editor. They also make pretty neat conference badges. I will talk about how they were conceived, how they are used, and how you can extend and improve them yourself.

At the end of the talk you should have a good idea about what is CircuitPython and MicroPython and how they can be used to build and program such simple devices. You should also know where to find the resources necessary to try designing and building your own.

ICYMI: CircuitPython on any computer, Halloween time and more! #Python #Adafruit #CircuitPython #PythonHardware #ICYMI @circuitpython @micropython @ThePSF @Adafruit

$
0
0

ICYMI (In case you missed it) – Tuesday’s Python on Microcontrollers Newsletter from AdafruitDaily.com went out – if you missed it, subscribe now!

The next newsletter goes out in a week and being subscribed the best way to keep up with all things Python for hardware.

Over 6,600 subscribers worldwide!

SIPB 50: Physical Computing – Dan Halbert

Dan

This weekend was the MIT SIPB 50th anniversary with our very own Dan Halbert, sipb50.mit.edu. Dan gave a personal retrospective talk and then talked about Adafruit and demo’d CircuitPython – YouTube.

“For the last 50 years, the Student Information Processing Board has addressed the computing needs of the MIT Community. The services we have provided throughout the years have improved the lives of those around us. The policies we have advocated for helped shape the digital landscape of MIT. The classes and cluedumps we organize have opened doors for countless students. It is important for us as a community to reflect on the impact we made here at MIT and beyond.”

CircuitPython Libraries on any Computer with FT232H

FT232H

Powerful computers can now use the power of CircuitPython libraries. This guide will show you how to use an FT232H to connect to I2C and SPI sensors and breakouts from your desktop PC running Windows, Mac OSX, or Linux. The FT232H also allows for general purpose digital input and output (GPIO) for things like buttons and LEDs.

The cool part about this is that you can then use any of the CircuitPython Libraries that have been written for the numerous sensors and breakouts – learn.adafruit.com.

GIMME SOME CANDY!

Alien

Why roam around with a boring pumpkin bucket when you can collect delicious candy with a robotic Xenomorph head? This robotic candy bucket shoots out a small receptacle to retrieve candy and bring it back into the bucket – learn.adafruit.com

2,000 Guides!

Learn

The Adafruit Learning System has 2,000 guides! Thank you to our entire team, Justin, Tyler, Sheehan, and everyone at Adafruit who builds and makes learn.adafruit.com one of the best resources online for learning. Thank you to all our authors, and contributors for putting your smarts out there for so many to build their dreams with. Thank you to our teams and friends that take photos, shoot video, write code, and helped make something so special for so many.

Most of all, thank you to the folks who read, learn, and share learn.adafruit.com and use it to help others.

learn 2012

Here are some stats about learn.adafruit.com and an early screenshot. The earliest instance archive.org got it is from July 20th, 2012. The first guide was one of the ladyada.net guides we moved over to learn.adafruit.com and it was the TTL Serial Camera, created at: “2012-06-12 16:12:29” The author with the most guides total for now is Ladyada at 333 guides. Noe & Pedro are at 252 guides, and John Park is at 144 guides. Over the last 60 days, it looks like we average over 1 newly published guide a day. There are 266 authors who can create guides at this time. There are over 14,000 published pages across the 2,000 guides. There are 140,680 individual elements across all guides. There are 77,870 images uploaded.

Top guides!

Adafruit is loan-free, VC-free, ad-free, and is supported by your purchases at Adafruit.com. Thank you to all the customers who have fueled learn.adafruit.com with us together! By the time this newsletter goes out there will be over 2,010 guides. https://learn.adafruit.com/guides/latest

MONSTER M4SK 10 out of 10 – HACKSPACE

10)

10)

MONSTER M4SK — HackSpace magazine by Ben Everard … 10 out of 10!

“The quality of the screen and animation is stunningly good. The original name for this eye animation (when it was first coded by Phil Burgess to work on the Teensy) was Uncanny Eyes, and they really are uncanny. For us, it’s the animation rather than the realism of the image (though this is also impressive) that gives real personality.”

Read more pages 126 to 127, download PDF, buy now, subscribe.

There are over 28,000,000+ Raspberry Pi units

28M Pi

Farnell has now sold 15 MILLION Raspberry Pi units, total Pi units out there? 28+ million as of September, 2019. 28 million reasons Adafruit has made BLINKA for Linux.

A full recap – Adafruit.

CircuitPython slithers its way to Pimoroni

Pimoroni

We are very excited to see all the CircuitPython and Feather related products, projects, and code over at Pimoroni! – GitHub.

CircuitPython and Bluefruit snakes its way to … TIES!

TIE

PythonSmartTie, CircuitPython code to use a Bluefruit app to control a NeoPixel strand. Used in a wearable “smart tie” project – GitHub & YouTube.

GLIDER updates and video

GLIDER

Glider – an app for editing Python on mobile devices wirelessly, some code updates and demo video! – YouTube.

Feather takes flight with the Particle Squared at GroupGets

Particle Squared

Particle Squared @ GroupGets

“Particle squared is an all-in-one air quality sensor for Particle and Feather based development boards (development board not included). It brings together a trio of sensors to give you as many data points as possible. That way, there won’t be anything missing when you go to measure the air inside your home or workplace.”

Coding CircuitPython on iOS

iOS

iOS

We’ve been posting about how it’s now possible to code on the go with iOS and CircuitPython, Andy has a great set up and great example – Twitter.

Interview with the co-creator of BOGLINS, Tim Clarke

Tim Clarke

Check out our interview with Tim Clarke Master Toy Designer “King of Gross” – YouTube.

““For over 30 years Tim has been Inventing, Designing and Sculpting some of the most unusual toys to ever be marketed in the US and abroad. Once known as the “King of Gross” after co-creating in the 80’s Sectaurs (Coleco) and Boglins (Mattel). Tim now launches his new line of horribleness the “TOTIMS”. I love creating my own mythology. The world is filled with modern day mythological creatures you can find them in every nook and cranny of your bedroom closet. Tim Started his career designing and building puppets for the Muppets. Most notable were the Mystics and the Slaves that he sculpted and designed for the movie the Dark Crystal guided by the incredible drawings of Brian Froud. He also worked on puppets for Sesame Street , Muppet Show and Fraggle Rock for which he created Traveling Matt. After Dark Crystal was launched, he garnered his first toy sculpting gig with Hasbro creating the Garthim, Mystics and Lanstrider toys. He has also created toys for Melissa and Doug toys, EK Success, Hasbro, Mattel, Coleco, Kenner, Ideal Lossirs, to mention just a few.”

Check out Tim’s site, totims.com, and Instagram @timclarketoys.

Tim Clarke

We met Tim after putting some cool eyes on the CircuitPython powered MONSTER M4SK and the community tagged each of us on Instagram. The internet can work out sometimes!

Boglins were a series of toy puppets distributed by Mattel. They were created by Tim Clarke, Maureen Trotto, and Larry Mass, and licensed by Seven Towns. The original run of Boglins was released in 1987, coinciding with a “creatures” craze that included Ghoulies, Critters, and Gremlins. Boglins were goblin-themed hand puppets made of flexible rubber and could be manipulated to represent speech and facial expressions. Several series of large and small Boglins were released until 1994, with additional aquatic, Halloween, and baby themed Boglins released later into the line. Small solid ‘Mini-Boglins’ were also produced, akin to the M.U.S.C.L.E. figures also from the 1980s.”

Hacker & Restomodder – Gear Patrol

gear patrol

gear patrol

gear patrol

Our Layada was in Gear Patrol Magazine, check out the previews above and pick up an issue – gearpatrol.

Learning IoT with Python and Raspberry Pi by E.I. Horvath, E.A. Horvath

learning iot

Learning IoT with Python and Raspberry Pi by E.I. Horvath, E.A. Horvath

Developing applications that operate in the realm of the Internet of Things requires, in addition to the mastery of a programming language, an understanding of networking, an understanding of how to use different platforms, an understanding of basic electronic circuits, and a familiarity with databases. Owing to its built-in WiFi capability and its forty general-purpose input/output pins, the Raspberry Pi computer is the ideal device for teaching students how to write code that controls electronic circuits whether the code is executed from a keyboard attached directly to the Raspberry Pi or executed from a smart phone. One of the most popular programming languages in the world, Python, is installed with the Raspbian operating system. Several Python packages enable the programmer to write code that turns an LED or a buzzer, gets data from a sensor, controls motors, and so on.

  • Code tested on the Raspberry Pi 3 and the new Raspberry Pi 4
  • Color photographs and circuit diagrams
  • 300+ code listings illustrate Python programming concepts
  • 250+ homework problems ranging from short Python scripts to web site configuration projects
  • Circuit examples
  • Labs on measuring voltage, current, and resistance using a multimeter
  • Send a text message if the light level detected by an LDR circuit falls below a threshold
  • Send an email if motion is detected using a PIR sensor circuit
  • Use an ultrasonic sensor in a proximity alert circuit and make a phone call if an intruder gets too close
  • Use a GPS HAT to get waypoints and store them in a file
  • Use an analog to digital converter to read in data from sensors
  • Control a servo using classes
  • Upload data to the cloud
  • Learn how to access a database using SQL statements
  • Deploy a home monitor system that uses the Raspberry Pi Camera and a PIR sensor circuit. Upload pictures to a web server in the cloud and access the pictures on a web page.
  • Control a robot using a multi-threaded application

Learn more, video, and the site https://learningiot.net/

There are over 79+ CircuitPython boards

circuitpython

There are now over 79+ CircuitPython boards, here are some of the latest ones! We’re always updating CircuitPython and the libraries. We’ve had CircuitPython 4.0.1 stable out for a while, and recently released 5 alpha which means it’s time for a new CircuitPython Library Bundle! The 4.x and 5.x bundles are now available for download at circuitpython.org/libraries. We’ve stopped supporting the 2.x and 3.x bundles, but you can always get access to the final builds here – GitHub.

ALL A BOARD!

pyboard

Pyboard by Damien George.

Serpente

Serpente by arturo182.

STM32F405

Feather STM32F405 Express by Adafruit.

BLINKA Updates

Blinka

There are now 23 boards that support Blinka. Blinka is the CircuitPython APIs for non-CircuitPython versions of Python such as CPython on Linux and MicroPython. Check all of them out – circuitpython.org/blinka

Open source stories, all month long

OH Month

October is open-source hardware month! Every single day in October we’ll be posting up some open-source stories from the last decade (and more!) about open-source hardware, open-source software, and beyond! Have an open-source hardware (or software) success story? A person, company, or project to celebrate? An open-source challenge? Post up here in the comments or email opensource@adafruit.com, we’ll be looking for, and using the tag #OHM2019 online as well! Check out all the events going on!

MicroPython trademark

MP TM

MP TM

MP TM

Looks like there is a company in China that is trying to “own” the MicroPython trademark – MicroPython forums. We contacted the Python foundation and Damien, creator of MicroPython, and have offered our assistance to figure out the next steps on this issue.

News from around the web!

PyOven

Dan’s work in progress, a reflow oven controller using CircuitPython on a PyPortal. It is using the I2C port for thermocouple and a digital pin to control toaster oven power – Twitter.

StringCar

CircuitPython is running on the StringCar M0 Express board! – Twitter.

Stickers

Parent sticker, daughter sticker – Instagram.

JPCP Book

More great art from the CircuitPython & Mu book in Japan – Twitter.

Easy

“Thanks to CircuitPython, it just took a couple of minutes to program”shred.zone Premium Wall Bias Lighting project.

CircuitPython-BLEAcceleration is a simple UART acceleration monitor working with the CircuitPython Circuit Playground Bluefruit – ALPHA – Bluetooth Low Energy device which echos the data in the UART terminal – GitHub.

Fox eyes

Fun with Monster M4sk LCD eyes. Added custom textures and twitchier eye movement to bring papier mâché coyote to life – Twitter.

Feyes

Feyes

Feyes

Nice fursuits with LCD eyes from Adafruit – Twitter.

Tilting Arpeggios

Tilting Arpeggios, a project with CircuitPython Circuit Playground Express – YouTube.

Free

What do ya get when ya go CircuitPython? A lot for free – Twitter.

Operation

Operation game from Caitlin’s Dad – Twitter.

Makerkids

Sandy wanted a new badge for Buffalo Makers, so Sandy made a fun faceplate for the CircuitPython powered HalloWing and loaded it up with a slideshow of pictures of some Makercamp kids – Twitter.

Microcontroller Monday – Serpente – bigl.es

Nina

Nina has one of the best badges for events! – Twitter.

PyBadge

Anthony’s PyBadge! – Instagram.

Clean central

The cleanest build! It’s totally OK to wash the Adafruit Grand Central – Adafruit.

io

Setable icons and decimal controls are now available for Gauge and Text elements! Now live – io.adafruit.com

TinyPICO

TinyPICO – an ESP32 Development Board – is at the Adafruit store! The smallest, most feature-rich ESP32 dev board is here! TinyPICO has incredible processing power for a board that’s shorter than an alkaline battery. Thanks to creator-maker Seon Rozenblum, you can tinker with a tiny, mighty, uncompromising board with 4MB extra RAM, on-board RGB LED, and a 700 mAh 3.3V regulator. MicroPython firmware is pre-loaded, and with support for Arduino IDE and Espressif IDF, you get the flexibility to code your way – Adafruit.

NRF52SPI and NRF52840 might be coming to MakeCode – GitHub.

MP IoT

MicroPython and the Internet of Things, Part VI: Working with a Screen by Miguel Grinberg .

Airbit

How to fly the Air:bit using another micro:bit as remote – YouTube.

BBC basic bot

A virtual BBC Micro hooked up to Twitter – @bbcbasicbot.

ESP NEWS

ESP NEWS, Sept. 2019 – Espressif.

This is the code, instruction, description, how to guides, wiki and project planning for the multimode sensor talk and workshop given at PyConDe 2019 – GitHub.

Michael Welling has a start on a MicroPython port for the SparkFun Artemis – GitHub.

The second SiFive quarterly engineering release has arrived, and includes some great new Trace & Debug features. Static source code analysis may not offer a complete view of real world operation. Real time analysis enabled via tracing permits a deeper insight into the interactions of software and hardware to accelerate development, debug, validation of modern, configurable SoC designs – SiFive.

Streaming backpack

DIY: The IRL Streaming Backpack using Raspberry Pi uses a Circuit Playground Express – hackaday.io

TEK-TILES

TEK-TILES via Sketching in Hardware Tweets.

evo is a Python package for the evaluation of odometry and SLAM – evo.

bluebird

Bluebird a plug-and-play, Bluetooth programmable device – teknikio.

12 Pythons for every programming need. Whether its speed, memory safety, portability, a micro footprint, data tools, or something else, one of these Python distros probably has it – Inforworld.

A repository of templates for GitHub Actions CI configurations – GitHub.

A patent lawsuit against GNOME – LWN.net.

Do we need to rethink what free software is? – Matthew Garrett.

New Resource Repository for teaching computing launches, blog post and resources – techcomputing.org

ipwndfu is an open-source jailbreaking tool for many iOS devices – GitHub.

Here’s How Amazon Alexa Will Recognize When You’re Frustrated – OneZero, and discussion.

Alibaba unveils new AI chip aimed at speeding up e-commerce and cloud computing tasks – South China Morning Post.

Pytorch – Deep learning w/ Python – YouTube.

Web REPL

Web based REPL, had this here before but worth adding again – repl.it

Facemoji Camera – facemoji.co/formac

Mark Garrison Co-founder and Chief Technical Officer Saleae – YouTube.

Newton Connection

Newton Connection for Mac OS X (NCX) allows you to backup information from a Newton device to your Mac desktop, import and export Dates, Names, Notes and NewtonWorks, install packages and use your Mac desktop keyboard to enter text on your Newton device. In fact, the functions provided by Apple’s Newton Connection Utilities (NCU), but on macOS – Newton Connection 3.0

Is the era of the $100+ graphing calculator coming to an end? Texas Instruments has enjoyed a near-monopoly on graphing calculators for nearly three decades. But new technology may be threatening the company’s empire – The Hustle.

2019 MacArthur Fellows – MacArthur Foundation.

Atari

Joe Decuir Atari Engineering Notebook 1978 – archive.org

MITERS Journal – PDF.

The Python Community Code of Conduct has been updated – python.org

A MicroPython Code of Conduct pull request – GitHub.

Hippocratic License – firstdonoharm.dev

PyCon

Latest PyCon newsletter is here! PyCon 2020. If you would like to receive PyCon 2020 News via your email, create an account on us.pycon.org/2020 and opt in.

Doc Holliday

intro to soldering

intro to soldering

#ICYDNCI What was the most popular, most clicked link, in last week’s newsletter? Intro to Soldering by Max Holliday.

CircuitPython Weekly for September 30th, 2019 on YouTube and on diode.zone

Made with Mu – Improving Programming Education and the Alchemist’s Tower

Improving Programming Education

Test & Code – Python Testing & Development 89: Improving Programming Education – Nicholas Tollervey. Nicholas Tollervey is working toward better ways of teaching programming. His projects include the Mu Editor, PyperCard, and CodeGrades. Many of us talk about problems with software education. Nicholas is doing something about it.

  • Code With Mu — a simple Python editor for beginner programmers.
  • Made With Mu — A blog to celebrate projects that use the Mu Python code editor to create cool stuff.
  • PyperCard — Easy GUIs for All.
  • CodeGrades.

Listen in, and MP3.

Tower

The Alchemist’s Tower (video) –

“A “play through” of my PyWeek 28 entry. Apologies for the sound quality. My aim was simple: to create an experience reminiscent of the mysterious explorations found similar games of the past, such as Myst. It’s also an opportunity for me to try to exercise my PyperCard library (a simple shim around Kivy, that works like HyperCard).”

Watch more – YouTube.

Why Mu? Mu tries to make it as easy as possible to get started with programming but aims to help you graduate to “real” development tools soon after. Everything in Mu is the “real thing” but presented in as simple and obvious way possible. It’s like the toddling stage in learning to walk: you’re finding your feet and once you’re confident, you should move on and explore! Put simply, Mu aims to foster autonomy. Try out Mu today! – codewith.mu

TEAM CIRCUITPYTHON

What’s the team up to this week? Let’s see!

Bryan

Bryan

“This week I wrote the Arduino driver for the MPU-6050 6-axis gyro and accelerometer and I’ll be writing the CircuitPython driver very soon. I also managed to get the APDS-9500 doing some basic gesture detection though the code is only a very rough initial prototype in CircuitPython. Interestingly, I did this testing on my laptop in CPython using the FT232H support that was recently added to Blinka. The guide for the PCT2075 temperature sensor is out and it’s in the shop!”

Dan

“I have started to work on the persistent-storage part of bonding, adding an unfinished MicroPython PR to CircuitPython which adds LittleFS as a supported filesystem. But the current filesystem code for both FAT and LittleFS does not does not use CircuitPython’s shared-bindings / shared-module style of splitting the Python interface from the implementation. This is technical debt and I will fix it. It will then be easier to call filesystem operations from core CircuitPython. I am still debugging issues with HID gamepad support. Something has changed recently which caused it to stop working.”

Kattni

Kattni

The HalloWing M4 guide is now live! Check it out for everything you need to get started with your HalloWing M4. Nicholas Tollervey has written a lovely tool called CircUp that checks and updates the CircuitPython libraries on your board. It uses the version info in each library to verify whether they’re up to date. There were a number libraries that did not have this version info available as they were created before our current setup was in place. I updated those libraries to get them working with CircUp. The guide for the MONSTER M4SK is no longer missing a Downloads page – now available are links to the datasheet, PCB files, and Fritzing object, as well as images of the schematics and fab print. Next up is the Circuit Playground Bluefruit Bluetooth examples – the code for the color picker is ready to go, so look for that guide page soon!”

Lucian

Lucian

“In the past week, we successfully added support for the STM32 F405, a popular MCU used on the Pyboard and on the new, upcoming Feather F405. This week, I’m working on completing SPI support for the STM32 port, which will allow for both expanded library use and superior flash memory on both the advanced Discovery boards and upcoming Feathers. I’ll also be working on some cleanup for the port structure, which should make it easier to configure the varied package types and feature differences of the STM32 lineup.”

Melissa

Melissa

“This week I worked on updating some of the Monochrome Display guides such as the Adafruit FeatherWing OLED guide and the Monochrome OLED Breakouts guide. This gave me the opportunity to familiarize myself with Pillow on the Raspberry Pi, which is the modern fork of the Python Imaging Library. You can see both of those guides here and here. I updated some of the learn guide examples that were originally written for the HalloWing M0 so that they would work with the HalloWing M4 and had a lot of fun doing that. It was especially meaningful because those were some of the examples I looked at when I started learning CircuitPython. I updated my Stream Deck Message Panel guide as well and added vertical centering of the message, fixed the colors, added a single body 3D printable model for printing on larger 3D printers, and updated the corresponding guide. I’m continuing to update some of the older guides since that is needed as we develop better systems and some code starts falling a bit behind. After I’m done updating display guides, I’ll be working with the TFT Gizmo and creating some example code for an upcoming guide.”

Coming soon

EDGE

EDGE BADGE!

STM32F405 Feather

The new STM32F405 Feather (video) that Adafruit designed runs CircuitPython at a blistering 168MHz – our fastest CircuitPython board ever! We put a STEMMA QT / Qwiic port on the end, so you can really easily plug and play I2C sensors. With CircuitPython basics running on this board, its fast to get all our drivers working, then use the built in plotter in Mu to instantly get sensor data displaying within 3 minutes of unboxing.

WHAT IS STEMMA? STEMMA is not an original idea, we’re working within an ecosystem of many other plug and play systems. We started STEMMA in 2014, and intended to be compatible with Grove only (cause that’s all that existed at the time) but then when Qwiic came around in 2017, added a smaller connector so we could work with those parts too! STEMMA attempts to be as cross-compatible as possible with both Grove and Gravity (compatible connectors & 3-5V power/logic). STEMMA QT is cross-compatible with Qwiic – STEMMA QT connector/cable is same as Qwiic. You can use STEMMA QT devices with Qwiic devices/controllers. Adafruit STEMMA & STEMMA QT: Plug & play connectivity – learn.adafruit.com If you’re lookin for the differences between each and what works (and what does not), skip to the comparison page.

More STEMMA & STEMMA QT – Adafruit.

New Learn Guides!

Erin

Glowing Scale Armor from Erin St. Blaine

LEGO Head Lamp with Audio from Noe and Pedro

Adafruit PCT2075 Temperature Sensor from Bryan Siepert

Program CircuitPython USB Devices with iPhone & iPad from Collin Cunningham

CircuitPython Libraries on any Computer with FT232H from Carter Nelson

Updated Guides – Now With More Python!

You can use CircuitPython libraries on Raspberry Pi! We’re updating all of our CircuitPython guides to show how to wire up sensors to your Raspberry Pi, and load the necessary CircuitPython libraries to get going using them with Python. We’ll be including the updates here so you can easily keep track of which sensors are ready to go. Check it out!

Keep checking back for more updated guides!

CircuitPython Libraries!

CircuitPython Libraries

CircuitPython support for hardware continues to grow. We are adding support for new sensors and breakouts all the time, as well as improving on the drivers we already have. As we add more libraries and update current ones, you can keep up with all the changes right here!

For the latest drivers, download the Adafruit CircuitPython Library Bundle.

If you’d like to contribute, CircuitPython libraries are a great place to start. Have an idea for a new driver? File an issue on CircuitPython! Interested in helping with current libraries? Check out this GitHub issue on CircuitPython for an overview of the State of the CircuitPython Libraries, updated each week. We’ve included open issues from the library issue lists, and details about repo-level issues that need to be addressed. We have a guide on contributing to CircuitPython with Git and Github if you need help getting started. You can also find us in the #circuitpython channel on the Adafruit Discord. Feel free to contact Kattni (@kattni) with any questions.

You can check out this list of all the CircuitPython libraries and drivers available.

The current number of CircuitPython libraries is 187!

Updated Libraries!

Here’s this week’s updated CircuitPython libraries:

PyPI Download Stats!

We’ve written a special library called Adafruit Blinka that makes it possible to use CircuitPython Libraries on Raspberry Pi and other compatible single-board computers. Adafruit Blinka and all the CircuitPython libraries have been deployed to PyPI for super simple installation on Linux! Here are the top 10 CircuitPython libraries downloaded from PyPI in the last week, including the total downloads for those libraries:

Library Last Week Total
Adafruit-Blinka 1454 44899
Adafruit_CircuitPython_BusDevice 880 22424
Adafruit_CircuitPython_MCP230xx 444 7353
Adafruit_CircuitPython_SSD1306 154 2141
Adafruit_CircuitPython_Register 147 6743
Adafruit_CircuitPython_ServoKit 105 3548
Adafruit_CircuitPython_PCA9685 100 4735
Adafruit_CircuitPython_NeoPixel 99 5962
Adafruit_CircuitPython_Motor 96 4983
Adafruit_CircuitPython_ESP32SPI 78 1905

Upcoming events!

IndieWebCamp NYC, October 5-6, 2019 – New York City, NY USA. IndieWebCamp NYC is an all-levels creatives collaboration hosted by Pace University in Manhattan for two days of keynotes, brainstorming, creating, teaching, and helping gain more control over our data and lives online! One of several 2019 IndieWebCamps and the seventh IndieWebCamp in NYC! – 2019.indieweb.org/nyc

Hacktoberfest

Hacktoberfest is open to everyone in the global community. Whether you’re a developer, student learning to code, event host, or company of any size, you can help drive growth of open source and make positive contributions to an ever-growing community. All backgrounds and skill levels are encouraged to complete the challenge – https://hacktoberfest.digitalocean.com

Open source hardware month

October is Open Hardware Month @ Open Source Hardware Association.

October is Open Hardware Month! Check out the Open Hardware Month website. Host an event, find a local event, or certify your hardware to support Open Source Hardware. We are providing resources and asking you, the community, to host small, local events in the name of open source hardware. Tell us about your October event by filling out the form below. Your event will be featured on OSHWA’s Open Hardware Month page (provided you have followed OSHWA’s rules listed on the “Do’s and Don’ts” page).

Read more, Tweet for speakers in 2020, and Open Hardware Month at http://ohm.oshwa.org/

Ada Lovelace Day

October 8th, 2019 is Ada Lovelace Day (ALD), an international celebration of the achievements of women in science, technology, engineering and math (STEM). It aims to increase the profile of women in STEM and, in doing so, create new role models who will encourage more girls into STEM careers and support women already working in STEM – findingada.com.

PyCon DE

PyCon DE & PyData Berlin, Germany // October 9 – 13 2019. Main conference, 3 days of talks and workshops. More than 100 sessions dedicated to PyData (artificial intelligence, machine learning, ethics…) and Python topics (programming, DevOps, Web, Django…) – de.pycon.org.

micro:bit Live 2019

micro:bit Live 2019 is coming to BBC MediaCityUK, Greater Manchester, England on October 4-5. This will be the very first annual gathering of the global micro:bit community of educators and partners – micro:bit.

Hackaday Superconference

Hackaday Superconference is November 15th, 16th, and 17th in Pasadena, California, USA. The Hackaday Superconference is returning for another 3 full days of technical talks, badge hacking, and hands-on workshops: Eventbrite & hackaday.io

Latest releases

CircuitPython’s stable release is 4.1.0 and its unstable release is 5.0.0-alpha.4. New to CircuitPython? Start with our Welcome to CircuitPython Guide.

20190930 is the latest CircuitPython library bundle.

v1.11 is the latest MicroPython release. Documentation for it is here.

3.7.4 is the latest Python release. The latest pre-release version is 3.8.0b4.

1408 Stars Like CircuitPython? Star it on GitHub!

Call for help – CircuitPython messaging to other languages!

Hello world

We recently posted on the Adafruit blog about bringing CircuitPython messaging to other languages, one of the exciting features of CircuitPython 4.x is translated control and error messages. Native language messages will help non-native English speakers understand what is happening in CircuitPython even though the Python keywords and APIs will still be in English. If you would like to help, please post to the main issue on GitHub and join us on Discord.

We made this graphic with translated text, we could use your help with that to make sure we got the text right, please check out the text in the image – if there is anything we did not get correct, please let us know. Dan sent me this handy site too.

jobs.adafruit.com – Find a dream job, find great candidates!

jobs.adafruit.com

jobs.adafruit.com has returned and folks are posting their skills (including CircuitPython) and companies are looking for talented makers to join their companies – from Digi-Key, to Hackaday, Microcenter, Raspberry Pi and more.

14,295 thanks!

NUMBER THANKS

Adafruit Discord

The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 14,295 humans, thank you! Join today! https://adafru.it/discord

ICYMI – In case you missed it

ICYMI

The wonderful world of Python on hardware! This is our first video-newsletter-podcast that we’ve started! The news comes from the Python community, Discord, Adafruit communities and more. It’s part of the weekly newsletter, then we have a segment on ASK an ENGINEER and this is the video slice from that! The complete Python on Hardware weekly videocast playlist is here.

This video podcast is on iTunes, YouTube, IGTV (Instagram TV), and XML.

Weekly community chat on Adafruit Discord server CircuitPython channel – Audio / Podcast edition – Audio from the Discord chat space for CircuitPython, meetings are usually Mondays at 2pm ET, this is the audio version on iTunes, Pocket Casts, Spotify, and XML feed.

And lastly, we are working up a one-spot destination for all things podcast-able here – podcasts.adafruit.com

MONSTER MASK! The musical!

MONSTER MASK MUSICAL

MONSTER MASK! The musical! – YouTube.

ADABOX 13

Check out the ADABOX 13 with JP – YouTube.

Codecademy “Learn Hardware Programming with CircuitPython”

Codecademy CircuitPython

Codecademy, an online interactive learning platform used by more than 45 million people, has teamed up with the leading manufacturer in STEAM electronics, Adafruit Industries, to create a coding course, “Learn Hardware Programming with CircuitPython”. The course is now available in the Codecademy catalog.

Python is a highly versatile, easy to learn programming language that a wide range of people, from visual effects artists in Hollywood to mission control at NASA, use to quickly solve problems. But you don’t need to be a rocket scientist to accomplish amazing things with it. This new course introduces programmers to Python by way of a microcontroller — CircuitPython — which is a Python-based programming language optimized for use on hardware.

CircuitPython’s hardware-ready design makes it easier than ever to program a variety of single-board computers, and this course gets you from no experience to working prototype faster than ever before. Codecademy’s interactive learning environment, combined with Adafruit’s highly rated Circuit Playground Express, present aspiring hardware hackers with a never-before-seen opportunity to learn hardware programming seamlessly online.

Whether for those who are new to programming, or for those who want to expand their skill set to include physical computing, this course will have students getting familiar with Python and creating incredible projects along the way. By the end, students will have built their own bike lights, drum machine, and even a moisture detector that can tell when it’s time to water a plant.

Visit Codecademy to access the Learn Hardware Programming with CircuitPython course and Adafruit to purchase a Circuit Playground Express.

Codecademy has helped more than 45 million people around the world upgrade their careers with technology skills. The company’s online interactive learning platform is widely recognized for providing an accessible, flexible, and engaging experience for beginners and experienced programmers alike. Codecademy has raised a total of $43 million from investors including Union Square Ventures, Kleiner Perkins, Index Ventures, Thrive Capital, Naspers, Yuri Milner and Richard Branson, most recently raising its $30 million Series C in July 2016.

Contribute!

The CircuitPython Weekly Newsletter is a CircuitPython community-run newsletter emailed every Tuesday. The complete archives are here. It highlights the latest CircuitPython related news from around the web including Python and MicroPython developments. To contribute, edit next week’s draft on GitHub and submit a pull request with the changes. Join our Discord or post to the forum for any further questions.

Python on hardware! 50 #PythonHardware #CircuitPython #Adafruit #Python @CircuitPython @Adafruit @micropython @ThePSF

$
0
0

The wonderful world of Python on hardware!

Episode 50 (yes, fifty!!) (October 2, 2019) This is our weekly video-newsletter-podcast!

Watch Ladyada and Phil discuss this week’s Python on hardware news and events.

The news comes from the Python community, Discord, Adafruit communities and more. It’s part of the weekly newsletter we do each week with more than 6,600 readers!

——————————————

Our entire playlist of Python on hardware videos:
https://www.youtube.com/playlist?list=PLjF7R1fz_OOXRMjM7Sm0J2Xt6H81TdDev

The current newsletter post and the archives, over 2 years worth! https://www.adafruitdaily.com/category/circuitpython/

Sign up for the newsletter here: https://www.adafruitdaily.com/

Find out more about CircuitPython at https://CircuitPython.org/

See all the information on CircuitPython on the curated Awesome CircuitPython List

Python fan? Like microcontrollers? Let us know in the comments below.

EuroPython 2019 Talks: Artificial Intelligence in Contemporary Art #creativeAI #AIart #Art #ArtificialIntelligence #MachineLearning #AI @europython @elluba

$
0
0
DullDream generator breakdown for Vin the cat.

 

New videos from the EuroPython 2019 conference were recently uploaded to YouTube. There are currently 133 videos with a wide range of Pythonic topics. The keynote on July 11, 2019, “AI in Contemporary Art” was delivered by Luba Elliott (@elluba). Elliott’s informative, entertaining and engaging delivery of a beautifully curated set of AI artworks is a must-see. Here are a few topics from the talk (with lots of links!):

  • Deep Dream – The talk starts with Deep Dream generators and Memo Atken. If you haven’t played with Deep Dream yet, here are a few recent posts to get up to speed. The images are surreal psychedelic fun (lots of eyes and slugs).
  • Style Transfer – Elliott hits on this method showing landscape images converted into Picaso, Monet or Contemporary art style images. If you’d like to play with some generative adversarial networks (GAN) and style transfer, GauGAN has a number of fun options. Gene Kogan is mentioned as taking the method of style transfer a bit further creating works like the Mona Lisa in the style of Google Maps.
  • GANs – GANs utilize two opposing models to create highly realistic results (images, translations, etc).  The artist Mario Klingemann is mentioned here as being prolific in the use of different GANs. Elliott muses that the Klingemann’s GAN images are [surreal] and remind the viewer of Francis Bacon.
  • Data Set Manipulation – Other artists have experimented with curating the data sets for models. In Roman Lipski’s case, images of LA at night. Lipski created several paintings of the scene, a model was trained on those paintings, and Lipski used the model’s results as inspiration for new paintings. This went on in a feedback loop to create the project ‘unfinished‘. Elliott comments that Lipski, “developed stylistically through the help of the algorithm”.
  • Sculpture – Ben Snell utilized machine learning to create plans for the sculpture, “Dio“. Snell then used the computer (also named Dio) as the material for the piece. “However, this sculpture possesses a secret: it is not only made by the computer, but materially made from the computer that dreamt it.”
  • Facial Recognition – This controversial technology has stirred a number of projects aimed at confusing or spoofing the AI. Constant Dullart created “DullDream” which dulls or reduces the features in an image (take a look at the photos above).
  • AI Art Robot – Last but not least, AIda the AI art Robot! AIda is a robot that can paint and sketch.

If you’d like to learn more about AI in art checkout Elliott’s website. If you are interested in attending an AI art workshop, checkout NeuroIPS: “The goal of this workshop is to bring together researchers interested in advancing art and music generation to present new work, foster collaborations and build networks.” The workshop will be held in Vancouver, Canada on Saturday, December 14th from 8:30 to 18:00.

Viewing all 1343 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>