adafruit-circuitpython-week.../2022/2022-03-28.md
2022-03-28 14:25:57 -05:00

23 KiB
Raw Blame History

CircuitPython Weekly for March 28, 2022

Here is the notes document for next Mondays CircuitPython Weekly meeting. It is at the normal time of 11am Pacific / 2pm Eastern here on Discord. Everyone is encouraged to attend! Please add your hug reports and status updates even if youll be attending the meeting - its super helpful! If you are unable to attend but would still like to include updates, feel free to include them in the notes and well read them off during the meeting. Hope to see you there! @circuitpythonistas

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!

Tim is hosting.

Video is available on YouTube.

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.

03:27 Community News

It's a Boy!

Scott Shawcroft, lead CircuitPython developer, along with his partner have a new baby as of 8:14 a.m. March 25th! Baby and mother are doing well! Scott will be on paternity leave for the next six weeks and the whole Adafruit staff and the Python + Maker communities wish the family well.

New Python Twitter Communities

Twitter Communities is a new feature being rolled out on Twitter to aggregate people with common interests. And there are now two communities related to Python on Microcontrollers: Micropython Community CircuitPython Community

04:32 A New Major Thonny Update is in Beta

The Thonny Python editor had received a version 4.0.0 beta 1 release. They are looking for help in reporting bugs and bug fixes. Github Release Page

04:55 The MicroPython Wiki Returns

Per Matt, the MicroPython WIki is once again up and running. The MediaWiki-based site collects knowledge, resources and links for anything and everything related to MicroPython, for both users and developers Micropython wiki

05:29 New CircleBar features

@digitalMakerCIC Added featured to the Pico CircuitPython CircleBar object: a method to draw dial lines around the circle (variable amount, length, offset & colour) and a "danger zone" value (changes circle to red) Twitter

06:24 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.

07:08 State of CircuitPython, Libraries and Blinka

Overall

  • 46 pull requests merged
    • 22 authors - tekktrik, ladyada, weblate, tannewt, gamblor21, UnicycleDumpTruck, jerryneedell, PaintYourDragon, ZodiusInfuser, evaherrada, FoamyGuy, makermelissa, dhalbert, jepler, ajiekurniawansaputra, Neradoc, askpatrickw, bergdahl, wtuemura, kattni, caternuson, anecdata
    • 15 reviewers - evaherrada, tekktrik, ladyada, gamblor21, FoamyGuy, tannewt, jepler, makermelissa, dhalbert, brentru, jerryneedell, askpatrickw, kattni, caternuson, anecdata
  • 28 closed issues by 14 people, 25 opened by 18 people

08:55 Core (@jepler)

11:23 Libraries

13:52 Blinka

Hug reports

@foamyguy

  • @JohnPark for the wonderful “bite sized” CircuitPython Parsec segments to teach basic concepts of circuitpython. Especially the last few which have centered around displayio and related concepts.
  • @dexter for trying out and reviewing my PR for a new PageLayout
  • @tannewt for their baby being born. Wishing the best for him and their family.
  • Group Hug

16:08 @anecdata (lurking)

  • @Neradoc for helping me reason through a data structure question …and in general for providing a lot of support on Discord

16:23 @danh

  • @tannewt for last minute fixes before the baby arrived, and congratulations!
  • @jepler for SAMD51 tick counter overflow fix: great detective work.
  • @gamblor21 for continuing work on zlib functionality, in process.
  • @kattni for guidance on library version issues and renaming of pixelbuf.

17:24 @jepler

  • Congratulations to Scott & Family

17:38 @jerryn

  • Congratulations to @tannewt!
  • @neradoc for the PR adding MDK dongle status light
    • And for making it trivial to add same to pca10059
  • Group Hug!

18:05 @kattni

  • Super huge hug to @foamyguy for hosting the meeting for me today.
  • @tammymakesthings for a lovely conversation
  • @blitzcityDIY for learning how to do new product guides, and STEMMA QT revision guide updates, AND for putting together her first STEMMA QT rev update on her own!
  • @jepler for helping me figure out how to fix my MicroPython PR to pass CI
  • Group hug!

18:58 @kmatch

  • @jepler and friends for the FrameBufferDisplay code, and @tannewt for pointing me to this module

19:21 @makermelissa

  • @kattni for helping me with some Eagle-related stuff that I had forgotten
  • Congratulation to Scott and his family
  • Group Hug

19:42 @tammymakesthings

  • @kattni for a great conversation last Wednesday, and for hosting the meeting today
  • Group hug!

20:07 @tekktrik (text-only)

  • @foamyguy for helping me debug some PRs where I lacked the hardware
  • @neradoc and @anecdata for always answering questions about CircuitPython - both in and out of the #help-with-circuitpython channel
  • @danh for helping fix some ReadTheDocs build errors I noticed
  • @jepler for the fantastic inspiration for my stepper motor based instrument with their CNC machine video
  • Group Hug!

Status Updates

21:43 @foamyguy

  • Last Week
    • Worked on vectorio helper library, specifically a RotatedPolygon class that allows easily manipulating polygons to arbitrary rotation angles. Created some neat animated / kaleidoscope effects.
    • Created a PageLayout class to make it easy to build interfaces with multiple pages and switch between them, ultimately its destined to get used for a TabbedLayout and an updated version of the Pyportal Interface example project from learn system
  • This Week
    • Try to make vectorio shapes support the hidden functionality that TileGrids and Groups currently use
    • Finish the refactoring and changes within the displayio slider widget and publish a first version to CircuitPython Org
    • Look into some possibilities for “Outline only” vectorio shapes that have a border line but no fill.

24:13 @danh

  • Reviewing and testing PRs.
  • Did some cleanup on adafruit_requests, and I have further cleanup I would like to do.
  • Testing async requests code by modifying cheerlights demo. It uses the MagTag library, so thinking a bit about whether to add to add async capability to PortalBase.
  • Will do a 7.2.4 release with some fixes we want in a stable release, and also a 7.3.0-beta.0 release.

26:16 @jepler

  • Last week: Added A2R (apple flux format) to fluxengine, but it needs more work
  • Worked on rare timekeeping bug on samd51, fix is set to be merged if it wasnt already
  • Today: Working on making cookiecutter work on windows
  • This week: Python stuff, check my assignments

27:14 @jerryn

  • Submitted PR to add status LED to pca10059 (nrf52840 dongle)
    • Helpful for BLE workflow
  • Verified that ESP_ATControl library is still working OK in response to Discord question
    • Tested with ESP-01 and ESP8266 Breakout with RP2040-Pico
    • Work with older v1.6.2 firmware from guide and new 2.2.0 Firmware from Cytron - there may be some pin changes in Espressiff builds > 2.0
    • The guide is “deprecated” but the Library does not mention deprecation
      • What is the library status? There have been recent PRs
  • Was reminded in a forum post that there are issues with non-default spreading factor settings on the RFM9x issue already open - change title to be easier to find. * Needs some careful study of the datasheet.

30:46 @kattni

  • Last week:
    • Finished up my MicroPython PR (thanks again to Jeff for figuring out what Damien was suggesting in the PR as the fix), and Damien merged it
    • Updated the CircuitPython Internet Test page for ESP32-S* to be standalone using the Project Bundler, and deleted the CircuitPython Internet Libraries page which was rendered unnecessary by the Test page update.
    • Helped Liz with her first STEMMA QT revision guide update
    • Updated the WiFi example on the Adafruit IO template to not crash when WiFi/AIO connections are lost, and updated code walkthrough in template to reflect changes to code.
    • Updated the AIO template to refer to the CircuitPython Internet Test page for creating secrets.py, instead of using a code snippet in the template
    • Proofed Lizs first self-completed STEMMA QT rev guide update
    • Started the Feather ESP32 V2 MicroPython page
  • This week:
    • Add new lib to bundle etc.
    • Update the CircuitPython nRF52840 guide to include something from the forums
    • Update PCB files on GitHub, and schematic/fab print in guide for QT Py ESP32-S2
    • Update Adafruit I2C QT Rotary Encoder guide Pinouts page to have an alert suggesting hardwiring Vin to a power supply if any unusual behavior is noticed
    • Update NeoSlider Arduino page to add code to seesaw repo instead of being a code snippet in the guide page
    • Upload updated PCB files for PID2269 (Bluefruit LE Sniffer)
    • Finish Feather ESP32 V2 MicroPython page
    • Either run myself or get Eva to run two Adabot patches:
      • Update Black version in pre-commit to latest
      • Update the chat badge to be the new Adafruit Discord badge.
    • Update cookiecutter to include the above changes.
    • Essentials template for asyncio
    • Think about more PyLeap project ideas, or more existing projects to port to PyLeap. Beta test PyLeap when our dev is ready.
    • Whatever else comes up.

35:33 @kmatch

  • Received first PCB and verified backlight driver and connections between ESP32-S3 and a scavenged RGB LCD display.
  • Created template of dot clock LCD FrameBuffer display driver module in CircuitPython, compiles but not yet to “blink”.
  • This week: Get first pixels to draw on the display.

36:41 @makermelissa

  • Last Week:
    • Worked on creating template pages for St7789-based displays
    • Worked on 1.47” and 1.9” guides
    • Fixed an issue with the ESPTool where some boards didnt have the Mac Address showing correctly
    • Fixed an issue with Blinka Displayio where the rotation for 90 and 270 was opposite of CircuitPython Displayio
    • Fixed the Euler angles for the WebSerial 3D Model Viewer
    • Updated the PyBadge Conference Badge Learn guide with new Keyboard code
    • Updated Arduino ST7789 library with a ST7789 display specific example
    • Updated Arduino ImageReader library with some 1.47” and 1.9” display specific examples and images
  • This Week:
    • I should be able to finish up the 1.47” and 1.9” display guides today
    • Go through the Raspberry Pi TensorFlow guide with updated TensorFlow links
    • Take a look at libgpiod versioning issue in Blinka
    • Look into an issue with the ESP32-C3 QT Py not working with the WebSerial ESPTool
    • Possibly update some other display guides with new templates
    • Meet with Paul Cutler for Podcast Recording

39:25 @tammymakesthings

  • Last week
    • Started to work on fixing the piku tool to work properly with larger CPY boards, now that I understand the problem the flash size checks are trying to solve
    • Didnt do a whole lot else because Im transitioning to my new job in 2 weeks so last week was super hectic
  • This week:
    • Twitch streams this week: Tuesday at 6:00PM PT, Saturday at 11:00AM PT - finishing up the MacroPad MIDI project, working on my DisplayIO Card Deck library
    • Anticipating another hectic week work-wise

40:20 @tekktrik (text-only)

  • Last week:
    • Tested PR for adding multiple Wi-Fi settings to PortalBase-derived libraries
    • Type annotations for some larger libraries like FONA and RSA
    • Submitted PRs for adding adafruit_bus_device dependencies to a few libraries that could use it
    • Minor updates to a few libraries to make sure CI and documentation wasn;t building or passing
    • Created a community library for Pololus Tic stepper motor controller - my first ground-up CircuitPython driver library
    • Forked the adafruit_rtttl library into a one that can play RTTTL music on a stepper motor
  • This week:
    • Trying to get “Steppotron” built in a housing that will amplify the noise, and exploring the MIDI libraries to see about getting it working with a MIDI controller

In The Weeds

42:31 @jepler - cookiecutter compatibility with Windows systems. We use the vertical bar character (“|”) in filenames where the name of the file is the result of applying a template: {{ cookiecutter and 'tmp_repo' }}/examples/{{ cookiecutter.library_name | lower | replace(\" \", \"_\") }}_simpletest.py This character (and, incidentally, the double quote character) are not permitted in filenames on Windows, so cookiecutter fails. This is vexing to people who use that OS.

Theres an official fix but it requires use of cookiecutter 2.0.2. For various reasons, this is not directly installable from pypi as cookiecutter, and does have incompatible changes vs 1.x. Is the slight inconvenience of installing it from github worth fixing this for Windows users? Issue: https://github.com/adafruit/cookiecutter-adafruit-circuitpython/issues/123 Possible fix: https://github.com/adafruit/cookiecutter-adafruit-circuitpython/pull/177

53:46 Wrap-Up