adafruit-circuitpython-week.../2019/2019-08-26.md
2019-08-26 15:44:07 -04:00

28 KiB
Raw Permalink Blame History

CircuitPython Weekly for 26 August 2019

NEXT WEEK: Meeting is on Tuesday 3 September 2019.

Welcome to the CircuitPython Weekly meeting notes! Feel free to add your notes for 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!

Thank you to @siddacious for taking notes!

Video is available here on YouTube.

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

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

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:09 Community News

CircuitPython snakes its way to Micro Center! https://www.microcenter.com/search/search_results.aspx?N=4294819101+4294910344&Ntt=M0+Not+Espressif+Not+Si7021+Not+NRF51822+OR+M4+OR+CircuitPython&Ntx=mode+matchboolean?circuit_python&utm_source=20190824_eNews_SE_DIY_R5434&utm_medium=email&utm_campaign=R5434&MccGuid=97cd62a4-f4be-4392-925e-4f874e065c88

https://blog.adafruit.com/2019/08/24/circuitpython-snakes-its-way-to-micro-center-microcenter-adafruitcircuitpython-circuitpython/

Test & Code Python Testing & Development 84: CircuitPython Scott Shawcroft https://testandcode.com/84

PewPew game consoles - Christian Walther and Radomir Dopieralski https://wiki.sgmk-ssam.ch/wiki/Flick_the_World_2019#PewPew_game_consoles_-Christian_Walther_and_Radomir_Dopieralski.28Sa_31.08_.26_So_01.09.29

CircuitPython snakes it way on HackSpace Magazine! Graphical output for (almost) any board Control a screen with CircuitPython https://hackspace.raspberrypi.org/issues/22

CircuitPython stickers in every order https://www.adafruit.com/free

PyCon 2020 will be in Pittsburgh, PA https://us.pycon.org/2020/

7:00 State of CircuitPython + Libraries

7:21 Overall

  • 52 pull requests merged
    • 11 authors - fionawhim, makermelissa, brentru, mscosti, dhalbert, jepler, dcbriccetti, aaronaverill, bmeisels, tannewt, caternuson
    • 8 reviewers - makermelissa, brentru, ladyada, jerryneedell, dhalbert, kattni, tannewt, caternuson
  • 21 closed issues by 9 people, 8 opened by 7 people

9:02 Core

Download stats by board:

Board 4.1.0 4.1.0-rc.1
arduino_mkr1300 25 1
arduino_mkrzero 15 3
arduino_zero 24 5
bast_pro_mini_m0 0 0
capablerobot_usbhub 0 0
catwan_usbstick 0 1
circuitplayground_express 921 55
circuitplayground_express_4h 5 0
circuitplayground_express_crickit 53 6
circuitplayground_express_digikey_pycon2019 4 1
datum_distance 0 2
datum_imu 0 0
datum_light 1 0
datum_weather 1 0
electronut_labs_blip 2 1
electronut_labs_papyr 0 0
escornabot_makech 1 1
feather_m0_adalogger 45 1
feather_m0_basic 51 16
feather_m0_express 186 10
feather_m0_express_crickit 10 0
feather_m0_rfm69 34 0
feather_m0_rfm9x 45 3
feather_m4_express 233 24
feather_nrf52840_express 64 10
feather_radiofruit_zigbee 2 2
gemma_m0 113 7
gemma_m0_pycon2018 2 1
grandcentral_m4_express 70 6
hallowing_m0_express 53 4
itsybitsy_m0_express 104 8
itsybitsy_m4_express 161 26
kicksat-sprite 0 0
makerdiary_nrf52840_mdk 9 3
makerdiary_nrf52840_mdk_usb_dongle 13 4
meowmeow 1 0
metro_m0_express 86 10
metro_m4_airlift_lite 29 11
metro_m4_express 101 16
mini_sam_m4 3 1
particle_argon 4 1
particle_boron 2 0
particle_xenon 10 1
pca10056 17 10
pca10059 47 9
pewpew10 6 5
pewpew13 0 0
pirkey_m0 1 0
pybadge 83 18
pybadge_airlift 0 1
pygamer 153 17
pygamer_advance 2 2
pyportal 273 57
pyruler 80 13
robohatmm1 0 0
sam32 7 1
sparkfun_lumidrive 2 0
sparkfun_nrf52840_mini 7 0
sparkfun_redboard_turbo 7 0
sparkfun_samd21_dev 3 0
sparkfun_samd21_mini 4 3
trellis_m4_express 86 5
trinket_m0 442 50
uchip 2 0
ugame10 17 3
---------------------------------------------- -------- -------------
Total 3722 435
---------------------------------------------- -------- -------------

Download stats by language:

Board 4.1.0 4.1.0-rc.1
ID 4 0
de_DE 92 8
en_US 3419 395
en_x_pirate 24 2
es 71 6
fil 8 1
fr 47 7
it_IT 11 3
pl 22 3
pt_BR 16 5
zh_Latn_pinyin 8 5
----------------- -------- -------------
Total 3722 435
----------------- -------- -------------

10:54 Libraries

12:44 Hug reports

@anecdata (Lurking)

21:17 @brentru

  • Group hug!

21:30 @CGrover

  • Group hug to team and community
  • @siddacious for help with digipot driver help and Register lib pointers

21:57 @danh

  • @bmeisels for finding nRF clock crystal bug before I did; I should have read the PR.
  • @hathach for BLE help
  • @tannewt for big ePaper support PR and for revising all those I2C calls in the libraries
  • @jerryn for continued BLE testing
  • @sommersoft for Mixer work
  • @jepler for nRF PDMIn and other PRs

23:25 @Dave Briccetti (Lurking)

  • @ladyada for being an excellent role model for the girls and boys in my classes

@DaveP (Lurking)

23:41 @deshipu (text only)

  • Group hug!

23:50 @jepler

  • Group hug x 100

24:14 @jerryn

  • @tannewt for all the library updates for I2C
    • @kattni for putting out an easy to follow request for help testing.
  • Group hug -- so many new libraries guides and things to play with - hard to keep up.

13:59 @kattni

  • HUGE hugs to @cater and @jerryn for jamming through library PRs
  • @siddacious for tons of help designing a new breakout
  • @jepler for picking up all kinds of issues and getting so much work done

15:? @KingerNorth

  • @siddacious helping someone else with PyRuler for mac on the forum
  • Group hug to everyone else working on new features, and staying on top of getting the word out on new stuff

15:57 @MakerMelissa

  • Group Hug

Mike B (lurking)

16:15 @siddacious

  • @mscosti for taking the time to help another contributor through designing and submitting their first PR, and for soliciting feedback for how he could do even better?!
  • @mytechnotalent/ kevin for persisting and getting in their first PR. Awesome!
  • @mikeB, @kattni, @adafruit/pt, @ladyada for each helping me write my first two blog posts
  • @makermelissa for pointers on displayio
  • @tannewt for nrf displayio guidance

18:12 @sommersoft (text-only)

  • @tannewt, @jerryn, @cater, @kattni, and anyone else that I didn't catch in the email procession for helping update libraries to handle the removal of the I2C stop kwarg.
  • @danh & @tannewt for Mixer PR reviews

18:36 @tammymakesthings

  • Kattni, whose PyOhio talk has inspired me to take on some things I want to do, even though I dont feel totally ready to actually do them
  • Group hugs to everyone

19:05 @tannewt

  • Danh and deshipu for PR reviews
  • Kattni, Jerry and Carter for reviews and testing of stop= driver changes.
  • @ladyada for help closing issues
  • Lucian for meeting up for breakfast and chatting all things CircuitPython
  • Chris Patterson for answering my GitHub Action questions
  • Brian Okken for having me on Test & Code. Available here: https://testandcode.com/84

24:47 Status Updates

@anecdata (Lurking)

44:03 @brentru

  • Built/released a good number of CircuitPython libs last week: binascii, hashlib, rsa (encryption), ntp (network time), json web token (authentication)
    • Took a while since most of these libraries work with each other, small bugfixes to RSA.
  • Small updates to MiniMQTT for stability
  • Finished google cloud iot core module
    • Building a project and a guide today, possibly into tomorrow
  • Going to be online a bit less, resuming classes next Thursday.

46:07 @CGrover

  • Added digipot to synth to wave generator synth to make an ADSR envelope
  • Driver work on the above
  • Ran into playability issues, fixed with a keypress stack
  • Going to re-introduce portamento for Star Trek theme playability
  • Want to take a look at CP MIDI code

49:30 @danh

  • Got BLE working on Circuit Playground Bluefruit after fixing a clock bug (bmeisels had independently discovered this bug earlier on a different board)
  • Considerable work on BLE HID, adding features to bleio for its support and debugging. Now works on MacOS, Android, Windows, and Chromebook. Still debugging on iOS
  • To do: Implement BLE bonding (its now faked); finish BLE HID

51:25 @DaveBriccetti (text only)

  • I have started the grades 68 students at a school where I teach on Circuit Playground Express. They love it! Once theyre comfortable with the hardware and its features, using MakeCode, I will introduce CircuitPython. Our class web page.

@DaveP (Lurking)

51:49 @deshipu (Text only)

  • No progress, waiting for PCBs.

52:16 @jepler

  • Last week feels like a blur. I didnt have much CP time.
    • Helped diagnose a problem with variable-frequency PWM, was able to offer the user a workaround but it needs a fix (#2086)
  • Im on hand to help @sommersoft out with whatevers left to get AudioMixer merged
    • @sommersoft, sorry I steered you wrong about the intrinsics vs portable code question
  • Hope to tackle some or all of the following issues:
    • #1992 audioio does not maintain synchonisation of A0/A1 looping some audioio.RawSample data
    • #2005 CircuitPython 4.x hang on PyGamer after about 10 minutes of while loop playing stereo audio
    • #2058 Track DMA channel in use, don't rely on dma_channel_enabled (on atmel-samd)
    • #2078 nrf: pwmaudioout: RawSample always loops
  • Past that, @ladyada has suggested I tackle nRF I2S Audio. I will get the hardware ordered this week
  • I have been learning gitlab-ci.yml for another project Im working on. Why cant all the CI systems agree on a standard?!
  • Need to figure out why I didnt show up as a reviewer; I thought I reviewed this week! But maybe Im doing something wrong.
  • Fun project: Making a PCB to hook a Feather board to a Commodore 64

54:54 @jerryn

  • Helped with testing and releasing updates to many libraries for a minor I2C change.
    • It went amazingly smoothly
  • Tried some BLE stuff on my shiny new Circuit Playground Bluefruit - all good!
  • This week Update my ble_rover -- I started doing this with an nrf52840 express/crickit, but also want to do it on the CPB/crickit.
    • Also getting back to receiving data streams from iPhone (accel/gyro) to control servos on pan/tilt or robotic arm

25:38 @kattni

  • Last week:
    • Finished OLED watch guide - it wont be rereleased until 5.0 is released
    • Finished Pylint guide - live
    • Started in on stop= kwarg PRs
  • This week:
    • Finish the last of the stop= PRs.
    • Product guides - PDM, ATECC608, CPB
    • Remove support for 2.x and 3.x bundles
      • File issue on bundle
      • Remove 3.x backwards compatibility from libs
    • Sort out lib issues/PRs
      • Discuss with @sommersoft
    • Add note to CP Essentials AnalogIn page about getting pin values (Requested by Dylan with regards to the joystick values on PyGamer)
    • Add note to original CP libs tracking issue to see cp.org for further info, and unpin

@KingerNorth (HRs only, no status)

35:49 @MakerMelissa

  • Last Week:
    • Finished up guide for Stream Deck controlled Message Panel
    • Created my first Fusion 360 design for the Message Panel project
    • Worked on setting up TensorFlow Lite on the Raspberry Pi 4 which involved a bunch of research.
    • Tested a couple of forum issues such as the eInk text not displaying correctly on a users display
    • Started getting setup for testing eInk PRs for Scott
  • This Week:
    • Working on continuing TensorFlow Lite setup and learning about COCO models
    • Start writing guide for how to get TensorFlow Lite setup on Raspberry Pi
    • Testing eInk Pull Requests
    • Rewrite Display Button CircuitPython library to work like a Group
    • Anything else that comes up

@MikeB (Lurking)

32:29 @siddacious

  • Did some finishing polish on the MSA301 drivers, and shipped the guide
  • Assembled @kattnis TLV493 protos for testing, made a pyportal into an i2c scanner
  • Made progress on my keypad project
  • TOURED PIXAR with the wife :)
  • This week: More TLV testing and arduino driver
  • Working through a literal pile of STEMMA QT protos
  • Finishing Rev A of my keypad! For reals!
  • Halloween costume brainstorming and initial prototyping

37:07 @sommersoft (text-only)

  • Last Week:
    • MixerVoice
      • Addressed almost all of the review comments.
      • Moved Mixer & MixerVoice to a new 'audiomixer' module to allow more flexibility with builds.
  • This Week:
    • Look into making Mixer changes backwards-compatible with 4.x.

37:30 @tammymakesthings

  • Still not super available for CP stuff because Im getting ready to move in less than 2 weeks. Looking forward to more space in my schedule after my move.
  • Prototyping a script to help automatically update firmware and libraries on CP devices. I have a BUNCH of CPXs, ItsyBitsys, Feathers, etc, and would like a less manual way to update all of them when a new version of CircuitPython and/or the library bundle become available.
  • Got an old Surface Pro 3 from eBay (for under $200!) and put Linux on it so I have a dedicated system for Python/CP development. Also downloaded the appropriate toolchain so I can build CircuitPython and got all that stuff working.
  • Im going to be presenting an intro to CircuitPython at a yet-to-be-determined upcoming meeting of DesertPy (https://desertpy.com/). Though I do a lot of public speaking on other topics, I dont feel remotely enough of an expert to call myself a CircuitPython expert, but per Kattnis PyOhio talk, Im going to do this anyway!

39:30 @tannewt

  • Spent some time looking into clang-format and clang-tidy. Will be more work than Im willing to spend atm but pushed to my clang-tidy branch what I had.
  • Wrapping up stop= PR and ePaper PR.
  • Have to finish GitHub actions change. Got S3 upload working and now need to get release upload working along with website update.
  • Been GameBoy hacking. Got Color working on GBC
  • Catching up with Damien on Thursday.
  • Headed to PAX on Friday. Hoping to chat with Noel, who helped make Celeste, Panic, who is making the Playdate, Kinda Funny Games, and noclip, who makes neat docs.

56:25 In The Weeds

56:59 @danh

  • Circuit Playground Bluefruit - @jepler asked about CPX library compatibility, primarily necessary audio changes. How should we do this? Board checks in library? Multiple versions of library? It would be nice if no code changes are necessary.
    • @kattni: board checks will indeed bloat the lib and cause memory issues
    • Also need to figure out naming issues for imports with CPX vs CPB
    • Removing 3.x support will free up some space, maybe enough for board checks
    • @jepler has done some initial work refactoring the lib
    • @tannewt: want to make sure that the refactoring doesnt end up with a funky RTD page
    • @danh: We need to consider the tons of documentation that may have to change
    • @tannewt: prefers one file per board
    • Moving to adafruit_circuitplayground.express import cpx as cp for examples could make it easier to make code portable between boards
  • Really simple CPB BLE support in a library?

1:10:41 Wrap-Up

NEXT WEEK: Meeting is on Tuesday 3 September 2019.