adafruit-circuitpython-week.../2020/2020-11-30.md
2020-11-30 12:17:27 -08:00

20 KiB
Raw Permalink Blame History

CircuitPython Weekly for November 30, 2020

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 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.

4:55 Community News

5:05 Deep Sleep support coming to ESP32-S2 CircuitPython

Deep Sleep support coming to ESP32-S2 CircuitPython - Adafruit Blog The Adafruit MagTag was made for “deep sleep”, thanks to the always-on eInk display. Thanks to a new pull request, were getting the beginnings of light and deep sleep support. We can get down to 250uA on the MagTag when in deep sleep which will let the board run for weeks at a time. Check it out and subscribe to the PR to get notifications when it gets merged into main! We are testing it with data from https://covidtracking.com. Hackster.io also has a current article summarizing the latest on CircuitPython's deep sleep support on the ESP32-S2 - Hackster.io.

5:47 guizero and circuitpyui - a lightweight graphical user interface libraries for Python and CircuitPython

guizero is a Python 3 library for creating simple graphical user interfaces (GUIs) on Linux/Windows/Mac/Raspberry Pi - GitHub.io

If you are looking for a similar concept framework for microcontrollers, see circuitpyui - GitHub.

6:16 Developing the NAU7802 24-bit ADC FeatherWing

Testing with a custom NAU7802 24-bit ADC FeatherWing and Stemma-QT connected Clue. Using a device library developed in CircuitPython, it measures up to two load cells connected to the custom FeatherWing. - Twitter. Developing a CircuitPython 6.0.0 library for the NAU7802 24-bit ADC FeatherWing was a worthwhile educational experience.

6:48 A Stock Ticker with CircuitPython Stock ticker

A stock ticker with an Adafruit MatrixPortal. A possible Christmas gift idea in a beautiful wooden case - Twitter and code - Adafruit Forums. 7:09 CircuitPython Monday: Big sale today on CircuitPython Hardware TODAY, Nov 30: It's CIRCUITPYTHON MONDAY at Adafruit! Use the code ADATHX to get 20% off CircuitPython boards and 15% off items storewide!

7:28 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 @anne_engineer on Twitter, or email anneb@adafruit.com.

8:37 State of CircuitPython, Libraries and Blinka

9:01 Overall

  • 28 pull requests merged
    • 27 authors - begeistert, dhalbert, DougBurke, tannewt, jepler, aoyamaprod, siddacious, ehershey, Anton-2, SaintGimp, arturo182, hierophect, makermelissa, anecdata, danybd, sporeball, FoamyGuy, weblate, wtuemura, sgzmd, kattni, ladyada, skerr92, hathach, jerryneedell, jamesbowman, Gadgetoid
    • 9 reviewers - gamblor21, dhalbert, tannewt, jepler, siddacious, kattni, ladyada, brentru, makermelissa
  • 14 closed issues by 8 people, 13 opened by 13 people

10:28 Core

Overall: Doing pretty good at addressing issues. We have 6.1 beta 1 out which is good and I expect to do beta 2 with deep sleep soon. After that well see a lot of related pieces come in to the picture too. The 6.0 stable release is pretty good but there are a few issues that have come in. We should recommend people to use 6.0 or 6.1 beta, and anyone on esp32s2 should use the 6.1 releases, not 6.0.

13:49 Libraries

17:06 Blinka

17:49 Hug reports

@anecdata (lurking)

@anneb (lurking)

18:59 @brentru.

  • Group hug
  • @danh deep sleep API work, will be useful for lots of iot projects

@cater (lurking)

19:17 @danh

  • @hathach for quick work on a new status API call and for continuing work on ESP32-S2 USB disconnect support.
  • @tannewt and @ladyada for continuing sleep API discussions, and @Mark (Gamblor) for comments.
  • @jepler for continued size pruning and for trying out gcc10 with the previous release.

@DaveP (lurking)

21:00 @David.Glaude (lurking)

  • @fivesixzero (Erik Hess) completely rewritten PM25 UART
  • @n0mn0m (Alexander Hagerman) for CircuitRoomba library
  • @foamyguy for the MagTag progress displays

@dherrada (lurking)

21:28 @foamyguy

  • @krittick for figuring out and sharing how to set up circuitpython stubs in PyCharm
  • Github user @lila work making a PR adding a mask parameter for the sparkle led_animation
  • @KevinThomas teaming up on the IoT Trivia app and publishing it over this past weekend.

22:21 @hierophect

  • Group hug

@jasonp (lurking)

22:34 @jepler

  • Group hug

22:50 @jerryn

  • Group Hug

22:57 @kattni

  • Thanks to all of the *helpers on the Adafruit Discord for all the assistance and positivity they provide to any member of the server - new and current alike.
  • @foamyguy for more library work.
  • @LewsTherinTelemon on Discord for helping out all over the server, including the CircuitPython channels
  • @danh for all the work on deep sleep in CircuitPython
  • New folks who are putting in library PRs and reviewing PRs.

24:05 @Kevin Thomas - lurking - text only

  • Group hugs
  • Hugs to FoamyGuy for working with me to release the ESP32-S2 IoT Trivia App yesterday.

24:20 @MakerMelissa:

  • Hugs to the folks who submitted boards on circuitpython.org
  • Group Hug

24:30 @Mark(Gamblor) [lurking]

  • Group hug
  • @danh for the deep sleep API that I got to test on the weekend

24:44 @microDev (lurking)

  • @hathatch for TinyUF2
  • @danh for continued work on deep sleep api
  • @tannewt and @heirophect for PR reviews

@Mr. Certainly [lurking]

18:24 @tannewt

  • Dan for the hard work and thought on deep sleep. PR!!
  • New folks: Krittick, and Dondo Yonderboy for helping on Discord

25:08 Status Updates

@anecdata (lurking)

@anneb (lurking)

27:12 @brentru.

  • MiniMQTT
    • Still in-progress
      • Whats left: bug with esp32s2 ping, esp32s2 timeout bug, test ethernet socket, fully test everything again oh hardware, unit tests
      • Ill be off for a week to wrap up my semester, will release when I get it back
  • Non-CP:
    • Got a new lorawan hotspot in the mail and want to test it out.
      • Need a way to organize my networking hardware at this point. If anyone has any small server rack suggestions, let me know!

@cater (lurking)

28:30 @danh

  • Submitted PR for initial deep sleep implementation on ESP32-S2 port. API evolved further. Pin alarms not yet implemented. Tested by me and @ladyada: deep sleep current is about 250-300uA, as expected. A lot of this is quiescent board current, not the ESP32-S2 itself.
  • Submitted PR to make SAMD21 builds fit by turning off complex arithmetic.

31:19 @David.Glaude (lurking)

@dherrada (lurking)

32:02 @foamyguy

  • Last week
    • Getting used to Kinesis Advantage: an ortho linear keyboard, very different from what Im used to.
    • Test led_animation PR
    • Learned the basics of boto3 for fetching data from S3, used it to add --commit-hash arg to blinka-cli. Hope to finish up this week.
    • Made MagTag tag progress displays example scripts and project guide
    • Learned about weblate API for pulling stats down to MagTag
    • Finished up the IoT Trivia app that Kevin Thomas and I created.
  • Next week
    • Come up with some “scheduling” system that gives an easy way to set up MatrixPortal to loop through a list of things to show, some static, and others dynamic. It will follow a schedule for the day and week.
    • Attempt to package the stubs for PyPi so they can be easily integrated with PyCharm.

34:39 @hierophect

  • Last week
    • Fixed some pin claiming bugs on ESP32S2
    • Reviewed PRs and a new board, the Thunderpack
    • Replicated the I2C no repeated start issue
    • Closed the F1 port
    • All the PCBs I got back from fab dont work :(
  • This week:
    • Lots of reading:
    • figuring out the best solution for ESP32S2 pin resets
    • exploring better solutions for the I2C and SPI IT and DMA APIs on STM32
    • Implementing new modules on the i.MX
    • ESP32S2 TCP Server API

@jasonp (lurking)

41:10 @jepler

  • Last week:
    • Blinka BLE “Pedal for youtube” guide, went to moderation this morning
    • Signs of the ssl verification bug fix being incorporated upstream at esp-idf
    • Many smaller items not listed here
  • This week:
    • Another Blinka project
    • Taking another look at crashes with I2C (+wifi) on esp32s2
  • Fun stuff: building a usb footswitch (3d printed enclosure, trinket circuitpython), either as a mute button or as a youtube play-pause button not sure yet

42:38 @jerryn

  • Nothing CP related to report...sigh

42:58 @kattni

  • Last week:
    • Published the Beginner Boards page in the Which CP Board? Guide
    • Tested some PR code, merged a PR.
    • Started a holiday-themed MagTag LED guide
    • Dismantled a turkey and successfully cooked half of the important bits for dinner!
  • Today:
    • Created and shared a calendar to keep track of whom is running the CircuitPython Weekly meeting.
  • This week:
    • Finish up MagTag LED guide
      • Mostly photographing the build and videoing usage
    • Guide for Cheerlights on MagTag with an LED strip - except with LED Animations based on the Cheerlights colors
      • Code is mostly done.
    • Update SGP30 guide with STEMMA QT rev
    • Write guide for SGP40

46:52 @Kevin Thomas - lurking - text only

  • Last Week
    • FoamyGuy and I completed our CircuitPython IoT Trivia App which is an ESP32-S2 REST app which provides a number of helper libraries with attached Unittests to work with an OLED display and interact with an online open-source trivia API. This repo is designed to help others to use these libs to build their own extensive IoT apps with CircuitPython and the ESP32-S2.
  • This Week
    • I am presenting a talk at the micro:bit LIVE conference on Friday where I demo the Study Buddy framework which builds out a step-by-step instruction set for Educators to create talking educational databases and quizzes to build into their curriculum with the V2 micro:bit.

47:40 @microDev (lurking)

  • Last week:
    • Submitted draft PR for i2c-peripheral support on the esp32s2.
    • Updated microS2 GitHub repo. Added examples and guide.
  • This week:
    • Start tests on the new deep sleep api.
    • Figuring out OTA updates for esp32s2.
    • I will continue my work on i2c-peripheral.
    • Adding a guide for UF2 bootloader on microS2.

48:08 @MakerMelissa:

  • Last Week:
    • Worked on the Web Serial ESPTool and now have it communicating with the ESP32 and ESP32-S2 chipsets successfully.
    • Fixed some BrainCraft HAT issues by rolling back to older driver.
    • Fixed a few bugs that I discovered in the MagTag library
    • Fixed a sorting issue on the CircuitPython.org website
  • This Week:
    • Finish getting ESPTool download functionality working
    • Get started on Portal library unification

Mr. Certainly [lurking]

25:38 @tannewt

  • Last week was a short week.
  • Mainly did odds and ends around -S2 networking.
  • This week Ill get caught up on ESP32-S2 I2C issues and hopefully fix them.
  • Also hope to test deep sleep and help Dan w/it.
  • 2021 planning in January.

49:13 In The Weeds

49:32 @microDev

Support for OTA updates.

(Sorry I won't be available during the meeting today. Feel free to skip over this.) @tannewt add an esp32s2 specific library that can write to the “other” OTA area and then switch to the alternate. How to handle edge cases will require attention. We should add a github issue to track this as well.

51:37 @foamyguy

This device seems to have two variants that would both have the same contents in their boot_out.txt file:

SparkFun Qwiic Micro with samd21e18

https://circuitpython.org/board/sparkfun_qwiic_micro_with_flash/ https://circuitpython.org/board/sparkfun_qwiic_micro_no_flash/ Each variant has its own folder in the ports folder so there are two different system image files, one for each variant.

I am interested in adding something to one or the other (or both) in the text that shows up in their boot_out file so that automated tools could theoretically tell them apart. Am interested to see if anyone has thoughts about or any opposition to this?

Suggestion: You can change MICROPY_HW_BOARD_NAME in mpconfigboard.h.

58:40 Wrap-Up