Skip to content

Latest commit

 

History

History
479 lines (361 loc) · 24 KB

File metadata and controls

479 lines (361 loc) · 24 KB

CircuitPython Weekly for 1 February 2021

Video is available here 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 using the following link: https://raw.githubusercontent.com/adafruit/adafruit-circuitpython-weekly-meeting/master/meeting.ical for use with standard calendar applications or in your browser: https://open-web-calendar.herokuapp.com/calendar.html?url=https://raw.githubusercontent.com/adafruit/adafruit-circuitpython-weekly-meeting/master/meeting.ical

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 you’d 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 we’re missing some.

4:37 Community News

4:42 LCA 2021 Online Keynote: The Story Behind Blinka by Limor Fried

Limor Fried, founder of Adafruit, gave a keynote talk on the "The Story Behind Blinka" discussing CircuitPython at Linux Conference Australia 2021. The video is now available - YouTAMC stockube

5:24 Die shots of the Raspberry Pi RP2040 chip

An informative thread on Twitter, starting with x-rays of the new Raspberry Pi Pico board and subsequently going layer by layer through the board’s RP2040 chip. The die shots are both beautiful and informative in understanding this new chip. The thread indicates the chip is made in 40nm and at the TSMC fab - Adafruit Blog and Twitter with zoomable image.

6:12 27,000 thanks!

The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 27,000 humans, thank you! Adafruit believes Discord offers a unique way for CircuitPython folks to connect. Join today at https://adafru.it/discord.

6:40 pip updates

pip is the package installer for Python. pip installs packages from the Python Package Index. A late January update introduced two important changes: Support for Python 2 has been removed. Also support for Python 3.5 has been removed. More - pip.pypa.io

7:07 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 nosubmit a pull request with the changes. You may also tag @anne_engineer on Twitter, or email anneb@adafruit.com.

8:04 State of CircuitPython, Libraries and Blinka

8:26 Overall

  • 48 pull requests merged
    • 29 authors - hierophect, kattni, tannewt, caternuson, mw46d, brentru, rpavlik, rodrigoargumedo, ryang14, makermelissa, ladyada, askpatrickw, luxarf, alexwhittemore, FoamyGuy, AdamLeyshon, dherrada, rsbohn, jamesbowman, LuminousOwl, kschmelzer, 2bndy5, jfurcean, bluesquall, TG-Techie, imgrant, microDev1, netroy, xorbit
    • 12 reviewers - hierophect, caternuson, tannewt, kattni, brentru, jepler, dhalbert, makermelissa, ladyada, askpatrickw, jerryneedell, FoamyGuy
  • 29 closed issues by 12 people, 31 opened by 24 people

9:55 Core

Overall: Next stable release will be 6.2.0. We’re making good progress with the RP2040 Pico, finding issues with that and trying to rapidly add more features. ESP32S2 still being worked on. 6.2 looks pretty good, we’re in beta. Should be a solid release.

12:02 Libraries

14:56 Blinka

15:50 Hug reports

17:02 @tannewt

  • @dcd for taking notes and time codes during my streams.
  • @kilograham for the RP2040 tips.
  • @mark Gamblor, @microdev and @Dave P for help with the RP2040
  • @ladyada and katie bell for their Linux Conf Australia talks. https://www.youtube.com/watch?v=UH0A2iujtY8

18:18 @TG-Techie

  • @kattni for taking time out of her week to discuss documentation
  • @foamyguy for their tips on streaming. (I should hopefully be able to implement them better next stream)
  • @mango for running the live stream
  • @anyone who tuned in to watch the live stream like especially hugo, hacks1r, foamguy who put up with the audio and visual quality

@anecdata (lurking)

19:22 @brentru (lurking)

  • @makermelissa for testing esp32s2 MiniMQTT
  • @hierophect for ESP32S2 socket fixes
  • @stargirl for awesome embedded.fm interview! Learned a lot about synths

@cater (lurking)

@CGrover (just listening)

19:50 @charlesburnaford (lurking)

  • Group Hug

19:57 @danh

  • Group hug for everybody trying out the betas and the RP2040 port and finding issues.

@DaveP (lurking)

20:18 @David.Glaude (lurking)

  • @kattni for the code for the Pico guide
  • @tannewt for the Pico stream and developpement

@deshipu(lurking)

20:33 @foamyguy

  • @paintyourdragon and @jeff e for their work to make tiling RGB Matrices easier to do in CircuitPython.
  • @jposada202020 for testing my PRs the last few weekends.
  • @neradoc for helping folks in Discord and joining CircuitPython Helpers
  • @tgtechie for interesting stream covering their GUI framework
  • @kmatch98 for writing out some proposals and discussion for the new Layouts library and creating some great graphics to illustrate parts of the mechanics.

@garyz (lurking)

21:39 @hierophect

  • @anecdata and @jerryneedell for helping to identify Socket bugs
  • @danh for his help pinning down a tricky hash issue in Socket/Requests
  • @tannewt for reviews

@Hugo (lurking)

@Jayguitar (lurking)

22:18 @jepler (out this week)

  • Group hug
  • @askpatrickw for big circup improvements

22:31 @jerryn

  • @AshtonLeyshon for PR adding SNR to RFM9x properties
  • @tannewt for help getting started with PIO on the RP2040
  • @2bndy5 for the recent updates to nrf24l01 library
  • All involved for the extensive set of displayio guides.

23:10 @kattni

  • @tg-techie for a lovely conversation about documentation, projects and more!
  • @foamyguy for getting a PR into the new DisplayIO Layout library and replying on the suggestions issue I filed
  • @Neradoc for joining the CircuitPython Helpers on Discord
  • @jepler for being my first sponsor on GitHub!
  • @tannewt @stargirl @Mr. Certainly @krayola for sponsoring me on GitHub!
  • My friend Craig and @krayola for helping me with getting a website going using Pelican which runs on Python, and theming it which involves Jinja templates.

24:19 @kevin_thomas (lurking, text only)

  • @foamyguy for taking the time to make a detailed video to create stubs for CircuitPython within the power PyCharm editor.
  • Group hugs!

24:38 @kmatch98

  • @foamyguy, @TG-Techie and @MakerMelissa for feedback, guidance and encouragement on widgets
  • @kattni and @foamyguy for initiating the DisplayIO_Layout library
  • @DavidGlaude for 2021 visions for the future
  • @jepler and @foamyguy for text label improvements

25:17 @MakerMelissa

  • @foamyguy, @kmatch98, and @TG-Techie for the great discussion on a common control interface.
  • @brentru for your work on MiniMQTT
  • Group Hug

@Mark(Gamblor) [lurking, may be text only)

@minoraxis (lurking)

@Mr. Certainly [lurking]

25:39 Status Updates

26:08 @tannewt

  • Upgrading my computer!
  • Wrote a lot of audio code last week. Need to regroup on it and get it going.
  • Graham pointed me to the interpolator which could be very useful for the sample conversion to the output formats.

28:16 @TG-Techie

  • Last Week:
    • Started on docs, almost finished (set a micro goal). The docs inspired the live-stream content
    • Got an app launcher for the TG-Watch working, having some memory “leaks” after de-imports
    • Live streamed a small project with the TG-Gui making a n RGB hex miser on the pyportal
      • Possibly too simple? Need to find a good level of complexity
      • Open to feedback
  • Next Week:
    • Finish Docs, mirror video
    • Make and pr a more ram conservatice version of Display Shapes
    • Start on a universal CircuitPython driver
    • Try out kmatch98’s toggle if there is time

@anecdata (lurking)

30:22 @brentru (lurking)

  • CircuitPython_Datetime library released
    • Subset of CPython datetime library
  • Updated MiniMQTT
    • ESP32SPI, ESP32S2, CPython compatibility
    • Releasing this week
  • Back to school - less time to work on CP but I’ll be around and helping in any capacity i can!

@cater (lurking)

@CGrover (just listening)

@charlesburnaford (lurking)

31:06 @danh

  • Released 6.2.0-beta.1
  • Did a lot of reviewing and troubleshooting.
  • Puzzled out a confusing problem with @hierophect having to do with hash(Socket).
  • Started on secondary USB CDC channel implementation.

@dave P (lurking)

33:18 @David.Glaude (lurking)

  • PIO/Pico/RP2040:
    • Killing my first Pico (either DoA or it’s my soldering)
    • Testing “traditional” Neopixel & PIO Neopixel on Pico
    • Trying to implement blink or similar in PIO
  • Non CP: A lot of Shenzhen I/O playing

@deshipu(lurking)

34:01 @foamyguy

  • Last week
    • Moved a few enhancements that Jeff created into the display_text library. Ascent/Descent use in bitmap_label and wrapping by pixels.
    • Created initial repo code for DisplayIO_Layouts library
    • Made a video covering the process of making stubs and using them with PyCharm.
  • This week
    • Finalize code and make PR for a new statically sized label class. It will be made to work nicely with the new wrapping function, and GridLayout, and other layouts in the new DisplayIO_Layout library.
    • Followup on feedback for the initial Layouts code and add at least one more example for GridLayout

@garyz (lurking)

35:45 @hierophect

  • Last week:
    • Dug into some problems in the Requests library, which were related to issues in Socket, including error reporting problems and funky hash-related issue.
    • Fixed an issue in Socket related to timeouts
    • Got set up for low power and tried out some basic tests with the Monsoon power monitor
    • Fixed various ongoing issues with the SSLSocket PR
  • This week:
    • Taking a break from Socket to fix STM32 I2C issues and low power, been saying I’ll do this for weeks and now I actually can
    • Unless I decide to go back and do more socket functions
    • Which I might
    • Also going to try some ESP-NOW stuff this week on personal time, will hopefully see if CPy implementation is practical.

38:14 @Hugo (lurking)

  • This week:
    • I’m having a go at making a vertical progressbar. I’ve started working on [breaking] changes for the “adafruit_circuitpython_progressbar” to allow for both horizontal and vertical progress bars from the same class. Open to suggestions whether it should be a major version update, or a new/separate library.
    • Part of the changes will include an example for the Matrix Portal for both the current version as well as the new one

@Jayguitar (lurking)

38:50 @jepler (out this week)

  • Last week:
    • Upgraded protomatter, now you can tile your screens
    • Responded to a number of issues in Adafruit_CicuitPython_SD
    • Made my first pull request (I think?) into Adafruit_Blinka
  • This week:
    • Taking the week off.
  • Fun stuff:
    • Made my first circuit sculpture

39:12 @jerryn

  • Began exploring the RP2040 pico - fun with PIO - lots to learn.
  • Determined to learn how to use displayio - spending time with the guides!
  • Stumbled across an issue with native busdevice -- see “In the Weeds”

40:19 @kattni

  • Last week:
    • Updated MPR121 guide for QT revision
    • Added better instructions to the Getting Started with Pico and CP
    • Added all the code files for the Getting Started guide to the Learn repo
    • Created the Adafruit CircuitPython DisplayIO Layout library for the new gridlayout feature.
    • Verified and merged a Circuit Playground PR
    • Cleaned out some deprecated code from CircuitPlayground lib
    • Started SPI Flash SD Card guide
  • This morning:
    • Embedded all the code files from the Learn repo for the Getting Started with Pico guide
    • Tested the rest of the code from the guide
    • Added Neradoc on Discord to the CircuitPython Helpers role
  • This week:
    • Finish SPI Flash SD Card guide - needs wiring diagrams for CP and Arduino and links to the SD card guides for each
    • Update Welcome to CircuitPython guide with CP filesystem use, and what happens when your code when you’re done
    • Add a page to the Essentials guide on using board and modules to figure out what your pins and available modules are in CircuitPython
    • Start the SHT40 guide - coming soon!
  • On a personal note:
    • My GitHub sponsorship profile is live: https://github.com/sponsors/kattni
    • Thank you again to all my sponsors!
    • I spun up a website using Pelican which runs on Python, and managed to figure out editing a theme, which is starting to look something like what I want.

@kevin_thomas (lurking, text only)

45:53 @kmatch98 Last week

  • Finished PR for ParallelBus on ESP32-S2 to support fast parallel displays (similar to the pyportal)
  • Built a demo widget (sliding switch)
  • Proposed draft list of standard parameters for widgets in new DisplayIO_Layout library (see https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout) This week
  • Better comprehend proposed “Control” and “Widget” class structure and ‘Class’ify my first widget Fun stuff:
  • Made a “sliceform” paper torus

47:27 @MakerMelissa

  • Last Week:
    • Wrote up a guide on using CircuitPython and Home Assistant
    • Converted a couple more Shell scripts over to Python
    • Added some deinit code for the External BitbangIO library
    • Tested some Pull Requests
  • This Week:
    • Catch up on some GitHub Issues such as a MatrixPortal update
    • Test out ESPHome with the ESP32-S2
    • Hopefully I can get to some Blinka Displayio stuff soon

48:16 @Mark(Gamblor) [lurking, may be text only]

  • Working to add displayio.ParallelBus support to RP2040. Waiting on a display to arrive Tuesday to test it.

@minoraxis (lurking)

@Mr. Certainly [lurking]

48:44 In The Weeds

49:16 @TG-Techie:

  • What happens the compiled byte-code after a file is parsed and compiled?
    • When importing and exporting module the first import takes up some space that cannot be freed but after that any re-import can be full cleared
      • [probably not the byte-code], may be the strings. Local var names will be “inturned” into the qstr tables. May be a PR that can help with this.
    • Are files being cached or is there just no mechanism for freeing compiled files?
    • Need for an app switcher / manager, or reference finder tool PR?

56:06 @jerryn

  • Issue with native busdevice
    • See adafruit/circuitpython#4109
      • Initially filed against LIS3DH library
    • The issue is resolved if native BusDevice is not used.
    • Can also resolve by building with LONGINT_IMPL = MPZ
      • But then it won’t fit in Flash unless something else is removed.

1:02:32 Wrap-Up