adafruit-circuitpython-week.../2021/2021-08-30.md
2021-08-30 12:03:58 -07:00

19 KiB
Raw Permalink Blame History

CircuitPython Weekly for August 30, 2021

Welcome to the CircuitPython Weekly meeting notes! Feel free to add your Hug Reports and Status Updates early. During the meeting, we go through them as a round robin sorted by username. If you cant make the meeting and would still like to participate, add your notes with a “(missing meeting)” after your username and well read them off for you.

Add any longer-form discussion topics or general questions you have to the “In the weeds” section.

Thanks! We hope to see you in the meeting!

Scott is hosting

Video is available here on YouTube.

NEXT WEEK IS ON TUESDAY, 7 September 2021!

Join here for the chat all week: http://adafru.it/discord

The CircuitPython Weekly happens normally at 2pm ET/11am PT on Mondays. Check the #circuitpython channel on Discord for notices of change in time and links to past meetings. Meeting times are also available in iCal format for use with standard calendar applications and can also be viewed in your browser

If you want to be able to participate in the meeting by speaking, you will need to be added to the @circuitpythonistas role on Discord. Please ask any one of the moderators or admins to add you if youd like to join.

CircuitPython development is sponsored by Adafruit. Please support them by purchasing hardware from https://adafruit.com.

Reminders: Podcast available on most services. Let us know if were missing some.

3:21 Community News

3:30 Building With CircuitPython Podcast

The Real Python Podcast presents Building With CircuitPython & Constraints of Python for Microcontrollers with the lead developer of CircuitPython with Scott Shawcroft at Adafruit - Real Python Podcast.

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

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

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

4:37 Linux Turns 30

On August 25th, Linux, the ubiquitous operating system, turned thirty years old, dated from a post graduate student Linus Torvalds posted on the comp.os.minix newsgroup. - Adafruit Blog.

Linux turns 30: Linus Torvalds on his "just a hobby" operating system, an interview with Linus Torvalds - ZDNet.

5:12 Arduino Embraces Python

Power of Python for Arduino Nano RP2040 Connect and Nano 33 BLE - Arduino Blog and the Adafruit Blog.

Python support for three of the hottest Arduino boards out there is now yours. Through our partnership with OpenMV, the Nano RP2040 Connect, Nano 33 BLE and Nano 33 BLE Sense can now be programmed with the popular MicroPython language.

5:50 Halloween Hackfest

Join Hackaday, Digi-Key, and Adafruit for a Halloween-themed contest! They want to see your crazy, creepy, ghostly, spooky, and awesome projects.

If costumes are your favorite part of Halloween, then why not dress up your outfit with some hacked upgrades? You could even design a ghoulish prop to add to your homes Halloween decor or light up a Jack-o-lantern with LEDs. Whether its technical, artistic, or just plain terrifying, Hackaday wants to see your projects!

Check out the Halloween Show & Tell with Hackaday, Friday, October 29th at 1pm PT, to show off your awesome projects entered in the contest. Don't forget to also share your projects on social media and use the #HalloweenHackfest!

Hackaday and Digi-Key have partnered on this Halloween-themed contest to offer three winners an online shopping spree to the Digi-Key warehouse! - Hackaday and hackaday.io.

6:48 Ten beginning CircuitPython education courses

Professor John Gallaugher has released 10 new CircuitPython School videos for his Fall course. They are tutorials for beginners. The first videos use the Adafruit Circuit Playground Bluefruit/Express. He states the videos are free to share with educators and newbies. Check out the first video which describes the series and see the whole playlist.

7:30 Newsletter Details

The CircuitPython Weekly Newsletter is a CircuitPython community-run newsletter emailed every Tuesday. The complete archives are here. It highlights the latest Python on hardware related news from around the web including CircuitPython, Python and MicroPython developments. To contribute your own news or project, edit next week's draft on GitHub and submit a pull request with the changes. You may also tag a tweet with #CircuitPython on Twitter, or email cpnews@adafruit.com.

8:19 State of CircuitPython, Libraries and Blinka

8:32 Overall

  • 54 pull requests merged
    • 19 authors - FoamyGuy, capellini, caternuson, dhalbert, warmbit, bergdahl, DavePutz, Neradoc, enosh, tannewt, jepler, kattni, weblate, ladyada, wtuemura, lesamouraipourpre, amit-sides, jpconstantineau, microDev1
    • 12 reviewers - FoamyGuy, jepler, kattni, caternuson, deshipu, KeithTheEE, gamblor21, dhalbert, ladyada, microDev1, hathach, tannewt
  • 42 closed issues by 11 people, 21 opened by 16 people

9:25 Core

Overall: Very close to a release candidate! Will do it this week barring any catastrophic bugs.

10:55 Libraries

Overall: Were continuing to see new libraries and updates to libraries being added every week. With Hacktoberfest being imminent, Id like to put a call out to folks who are interested in helping us go through the library issues list and labeling Good First Issues as such as we head into October, when Adabot automatically adds the HacktoberFest tag to Good First Issue labeled issues. As stated earlier, as of this meeting, there are 340 issues to go through. Three are currently labeled as Good First Issue, but if I remember correctly, theyre not really well labeled, so we should consider updating those as well. Further, for those that are familiar with the libraries, it would be greatly appreciated if we could identify issues that havent been filed that fit the Good First Issue label (docs updates, etc). While this is ostensibly being done under the blanket of Hacktoberfest, its something that Ive been trying to get to for a long time, so its worth doing regardless of the reason.

14:38 Blinka

16:19 Hug reports

16:40 @tannewt

  • @jepler for co-debugging with me last week.
  • @igrr for letting us snag em to talk about a hanging read

17:21 @AnneB (lurking)

  • Group Hug

@DaveP (lurking)

17:30 @foamyguy

  • Jeff and Scott for collaborating to debug a particularly obscure bug
  • Github user @rsbohn for creating a test script that tries various sizes of the gauge widget to find which if any suffer from a bug with the way that they fill in
  • Group hug

18:08 @jerryn

  • @brentru and anyone else involved for all the work on whippersnapper.

18:30 @kattni

  • @jepler for a lovely chat last week
  • @davep for helping me with cleaning up an image in Photoshop
  • @foamyguy for adding divider lines to GridLayout in DisplayIO_Layout
  • @Neradoc for helping me improve my audio pin script (and therefore, once I update the rest of them, all of my pin-finding scripts) to better exclude unexposed pin names
  • @KeithTheEE for joining the CircuitPython Helpers, and working towards joining the CircuitPythonLibrarians review team

19:25 @KeithTheEE (text only)

  • @Kattni for helping me figure out the CircuitPython Helpers role, as well as the other helpers for answering my questions
  • Jeff and Scott for figuring out the esp32-s2 bug, the fix works on my metro esp32-s2
  • Everyone for being awesome and helping me with random questions

19:50 @MakerMelissa

  • Group Hug

20:04 @Neradoc (no mic)

  • @askpatrickw for digging into and merging circup PRs.
  • @dgriswo on github for circup PRs.
  • Everyone fixing bugs as 7.0 is approaching.

20:27 Status Updates

20:50 @tannewt

  • Spent most of last week bug hunting including the MagTag WDT crash.
  • Also tweaked BLE API to recursively delete and not reload immediately after a write.
  • Bug hunting if anything came up over the weekend.
  • Release candidate this week hopefully.
  • Looking at BLE UART examples/code that break with the NUS for CP
  • BLE stuff w/Antonio
  • Maybe RPi TinyUSB support

22:14 @AnneB (lurking)

  • Besides the Python on Microcontrollers newsletter, Im using the new Adafruit MacroPad to make a random digit generator keypad, similar to the Hirsch Scramblepad high security system. I demonstrated the project on Show & Tell and I should have a guide finished by Wednesday.

22:38 @foamyguy

  • Last week
    • Updated the relevant learn guide project code to use the new API for PulseOut
    • Made a repo in the circuitpython org for the new Gauge widget and started debugging an issue related to filling it
    • Finished implementing divider lines feature for the GridLayout
  • This week
    • Keep working on the Gauge fill issue
    • Work on an update for cookiecutter to add a 3rd bundle option for the circuitpython org bundle

23:45 @jerryn

  • Found a crude workaround for an issue Ive been having with ov2640 captures on the esp32s2 saola. The webcam is working very well now. Still trying to determine root cause of the issue (extra byte at the start of the capture … sometimes)
  • Experimenting with Braincraft Hat and Raspberry Pi Kernels. Found that it works with 20210527-1 but not after that.
  • A forum post https://github.com/adafruit/circuitpython/issues/5233 found a strange issue with using an RFM9x on an nrf52840 under battery power. The default SPIM fails, but forcing it to bypass it by creating a dummy SPI instance works….Should we discuss this “in the weeds?”

26:04 @kattni

  • Last week:
    • Published SCD-4x guide, tested SCD-41 thoroughly on CircuitPython and Pi
    • Tested SCD-30 on Raspberry Pi - stopped it after 60 hours of running smoothly
    • Put MP3 Playback on RP2040 guide in moderation - much noise was made in the process
    • CircuitPython Essentials MP3 template completed as part of this guide
    • Wrote a script to return a list of audio-capable pins, now with improved pin exclusion
    • Tested the IS31FL3741 LED Matrix breakout - happy rainbows abound.
  • This week:
    • Provide any reviews needed for getting 7.0 into RC and stable.
    • Test GridLayout PR with the project that sparked the feature request in the first place
    • Get video for MP3 guide
    • INA219 STEMMA QT rev guide update
    • Guide for IS31FL3741
    • Find out what might be required to port the OBS timestamp code from Linux to MacOS/Windows, to decide whether its worth it
    • Fritzing object requested for PID3309
    • Once MP3 guide is published, put together quickie guide for PAM8302 breakout (mirroring in Pico example from MP3 guide)
  • This past weekend:
    • Avoiding working on something I should have been doing (secret project, will explain when I can) led me to begin organising parts. I stopped after a bit because its work and I should be doing it during work, but still it was nice to get it started. Ive decided on an “If I touch it, it gets organised” approach to it in general, which if thats all I do, will take almost literally forever to get everything organised, but at the rate Ive been going, which is none, this approach will at least be a start. (Its also leading to slowly filling up my desk because if I dont have time to put it somewhere labeled, it stays on my desk… I swear Ill get to it soon!)
    • That said, for those of you who organise your microcontrollers and components, how do you organise them? Not so much what kind of containers you use, as much as how you categorise them.

30:50 @MakerMelissa

  • Last Week:
    • Worked on new CircuitPython Code Editor Interface
  • This Week:
    • Work on wrapping up the CP Code Editor
    • Look at Raspberry Pi Kernel pinning at some point
    • Afterwards start new TFT Product Guide

31:29 @Neradoc (no mic)

  • Last week(s)
    • PR to have the Board ID available in code and in boot_out.txt.
    • Progress made on generating keyboard layouts for adafruit_hid from platform layouts (windows using kbdlayout.info). Make your layout with https://www.neradoc.me/layouts/ and test it.
    • Discovered last week's @NetworkChuck video on "bad USBs" which explains why at least 5 people came asking for layouts for the "pico ducky" this week.
  • This week
    • PR circup to use the Board ID to link to the board's download page to update CP.
    • Add some of the generated layouts to the layout repo. For now I prefer adding them as they are requested, to have a minimum of testing for each.
    • Look into a way to somewhat automate the tests to layouts.
    • Looking for a good source of mac layout data and implement the generator.

32:47 In The Weeds

32:58 @jerryn - nRF52840 issue with RFM9x under battery power...something to do with SPIM...

39:41 Wrap-Up

Next weeks meeting is on Tuesday, 7 September 2021!