adafruit-circuitpython-week.../2020/2020-01-13.md
2020-01-13 16:14:23 -05:00

32 KiB
Raw Blame History

CircuitPython Weekly for 13 January 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.

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.

6:10 Community News

6:16 CircuitPython 2020, where do we want to go together? https://blog.adafruit.com/?s=%23circuitpython2020

7:31 98 boards! https://circuitpython.org/downloads

8:31 CircuitPython snakes its way to the Teensy 4.0 https://blog.adafruit.com/2020/01/10/testing-circuitpython-on-teensy-4-0-iot-made-easy-ioteensy-adafruit-circuitpython-arturo182-tannewt-nxp-paulstoffregen/ https://forum.pjrc.com/threads/59040-CircuitPython-on-Teensy-4!

10:18 CircuitPython i.MX Feather progress https://twitter.com/arturo182/status/1216033357940895744 https://twitter.com/arturo182/status/1215036958956806144?s=12

10:35 Joey is working on the CircuitPython version of the OpenBook https://twitter.com/josecastillo/status/1215388022692372480 https://github.com/joeycastillo/circuitpython/tree/openbook/ports/atmel-samd/boards/openbook

11:06 Save the World with Code: 20 Fun Projects for All Ages Using Raspberry Pi, micro:bit, and Circuit Playground Express by Lorraine Underwood https://www.amazon.com/Save-World-Code-Raspberry-Playground/dp/1260457591

11:31 PyCascades 2020 in Portland is just a month away, Scott is speaking and Nina made a PyPortal countdown! https://twitter.com/nnja/status/1215414459964878848

11:51 Top 10s of 2019, and decade, lots of CircuitPython https://blog.adafruit.com/?s=%23AdafruitTopTen

13:04 DRAFT is here: https://github.com/adafruit/circuitpython-weekly-newsletter/blob/gh-pages/_drafts/2020-01-14-draft.md

Thanks folks!

13:42 State of CircuitPython + Libraries + Blinka

13:53 Overall

  • 58 pull requests merged
    • 19 authors - dhalbert, kattni, tannewt, dherrada, osterwood, razinc, signalmeister, rhooper, makermelissa, jerryneedell, dglaude, TG-Techie, ladyada, brentru, philippkeller, jepler, kamtom480, siddacious, basil-huber
    • 10 reviewers - ladyada, kattni, brentru, dherrada, tannewt, jepler, siddacious, makermelissa, jerryneedell, dhalbert
  • 12 closed issues by 9 people, 28 opened by 9 people

16:49 Core

Number of supported boards: 101

Download stats by board:

Board 4.1.2 5.0.0-beta.3
arduino_mkr1300 20 1
arduino_mkrzero 15 0
arduino_nano_33_ble - 5
arduino_zero 32 2
bast_pro_mini_m0 11 0
capablerobot_usbhub 11 0
catwan_usbstick 11 0
circuitplayground_bluefruit - 88
circuitplayground_express 1138 20
circuitplayground_express_4h 22 0
circuitplayground_express_crickit 84 3
circuitplayground_express_digikey_pycon2019 29 0
circuitplayground_express_displayio - 2
clue_nrf52840_express - 1
cp32-m4 - 0
datalore_ip_m4 - 0
datum_distance 11 0
datum_imu 11 0
datum_light 12 0
datum_weather 14 0
edgebadge - 5
electronut_labs_blip 14 0
electronut_labs_papyr 21 0
escornabot_makech 22 0
feather_m0_adalogger 81 2
feather_m0_basic 97 0
feather_m0_express 139 5
feather_m0_express_crickit 27 0
feather_m0_rfm69 61 0
feather_m0_rfm9x 86 0
feather_m0_supersized - 0
feather_m4_express 292 22
feather_mimxrt1011 - 1
feather_mimxrt1062 - 1
feather_nrf52840_express 91 14
feather_radiofruit_zigbee 22 0
feather_stm32f405_express - 8
gemma_m0 126 3
gemma_m0_pycon2018 23 0
grandcentral_m4_express 83 6
hallowing_m0_express 63 0
hallowing_m4_express 37 1
imxrt1010_evk - 1
itsybitsy_m0_express 106 0
itsybitsy_m4_express 132 4
itsybitsy_nrf52840_express - 3
kicksat-sprite 23 0
makerdiary_nrf52840_mdk 24 0
makerdiary_nrf52840_mdk_usb_dongle 29 1
meowmeow 24 0
metro_m0_express 142 3
metro_m4_airlift_lite 73 4
metro_m4_express 83 3
metro_nrf52840_express - 0
mini_sam_m4 24 0
monster_m4sk - 3
particle_argon 26 0
particle_boron 22 0
particle_xenon 25 1
pca10056 60 0
pca10059 76 4
pewpew10 35 0
pewpew13 23 0
pewpew_m4 - 2
pirkey_m0 22 0
pyb_nano_v2 - 0
pybadge 110 4
pybadge_airlift 25 0
pyboard_v11 - 2
pygamer 100 4
pygamer_advance 26 0
pyportal 335 12
pyportal_pynt - 4
pyportal_titano - 4
pyruler 46 2
robohatmm1 25 -
robohatmm1_m4 - 0
sam32 26 1
serpente - 8
shirtty - 0
snekboard - 0
sparkfun_lumidrive 23 0
sparkfun_nrf52840_mini 26 0
sparkfun_qwiic_micro_no_flash - 0
sparkfun_qwiic_micro_with_flash - 0
sparkfun_redboard_turbo 32 1
sparkfun_samd21_dev 27 0
sparkfun_samd21_mini 28 0
stm32f411ce_blackpill - 1
stm32f411ve_discovery - 0
stm32f412zg_discovery - 0
stringcar_m0_express - 1
teknikio_bluebird - 0
trellis_m4_express 105 6
trinket_m0 446 12
trinket_m0_haxpress - 0
uchip 22 1
ugame10 25 1
winterbloom_sol - 0
xinabox_cc03 - 0
xinabox_cs11 - 0
---------------------------------------------- -------- ---------------
Total 5082 283
---------------------------------------------- -------- ---------------

Download stats by language:

Board 4.1.2 5.0.0-beta.3
ID 138 0
de_DE 251 5
en_US 3498 273
en_x_pirate 149 0
es 159 0
fil 133 0
fr 188 5
it_IT 149 0
ko - 0
pl 135 0
pt_BR 144 0
zh_Latn_pinyin 138 0
----------------- -------- ---------------
Total 5082 283
----------------- -------- ---------------

19:38 Libraries

22:31 Blinka

23:55 Hug reports

@andon (lurking)

@anecdata (lurking)

@anne b (lurking?)

@arturo182 (lurking)

25:12 @kattni

  • @foamyguy for all the continued effort on the Android Bluefruit Playground app
  • @AnneB for dealing with the newsletter on Friday for me when weather shifted my travel plans
  • @DanH for showing me how to increase the stack size in a CircuitPython build so I can test some changes to the Circuit Playground library that bumped into a stack size issue again
  • @hukuzatuna for incredible patience with providing Discord support

@kingernorth (lurking)

27:02 @MakerMelissa

  • @yeyeto2788 for all your hard work on the Blinka PRs for the Onion and Pine 64 boards and the push to add lots more boards
  • @fig1010 for looking into the Binho Nova I2C issues so quickly
  • Carter for jumping in and fixing the Binho Nova I2C issue
  • @TG-Techie for successfully fixing his first merge conflict
  • Group Hug

27:47 @siddacious

  • @dylan and @sommersoft for getting the last few repos updated and ready to push the (hopefully) last change to the CP repos before releasing them all and putting a bow on the actions migration.
  • @arturo182 for getting the ball rolling with the PR to add iMX RT support to circuitpython
  • @tannewt, @ladyada for burning the midnight oil adding to arturo's work to add a Teensy bit of feature and board support ;)
  • @cgrover for his grideye & pygamer based thermal camera code; after finding a suitable font, it pretty much just worked!
  • Group hug to everyone whos written a CP2020 post, tweet, comment, etc. I look forward to reading the ones I havent yet.

29:47 @sommersoft (text only)

  • @siddacious & @dherrada for the continued push on getting the GitHub Migrations done. Also thanks to all the reviewers; I haven't watched reviews closely so I'm not sure who they all are.
  • @foamyguy for the Android BLE app development. Nice to see that capability become available.
  • Folks who provided their #CircuitPython2020 posts.
  • Group Hug.

30:16 @stargirl (text only)

  • Everyone over in #pcb -design for giving very helpful suggestions on my board.

30:30 @tannewt

  • PaulStoffregen, ladyada and pt for Teensy 4 excitement.
  • Everyone for their CircuitPython2020 posts
  • Uwe from Sigrok for merging my fix for slow two finger drag in PulseView.
  • Arturo182 again for iMX RT port. Its awesome.
  • @kattni for going through the PR backlog

32:55 @brentru

  • Hugs to @cgrover for unit conversion work
  • @jerryn for pushing ahead with RFM9x reliable datagram work, will make our lora libraries better (no more dropping packets!)
  • Hugs to @tannewt and @arturo182 for the imx rt port
  • Group hug

33:45 @cater

  • First time back in 2020, so happy new year group hug
  • @melissa and @siddacious about the issue with the binho nova
  • To fig1010 on github for PRing the fix

34:41 @CGrover (text only, in a noisy environment)

  • Hugs to @tannewt, @brentru, and @cater for helpful ideas and coaching. Im on a steep learning curve (as usual, it seems) and appreciate their experience, insight, and patience.
  • @dglaude for the lively discussion and new knowledge regarding thermal arrays and displaBMT Myrtle Avenueyio.

35:03 @danh

  • @hathach, whose Arduino BLE bonding code was very helpful to me while implementing bonding in CircuitPython
  • @arturo182 for the bulk of the iMX port, and @tannewt and @ladyada for bringing it up on the Teensy 4.0.
  • @jepler for continuing to work on audio issues

36:08 @devoh (lurking)

  • Hug for Teensy 4 support!!
  • Very excited about playing with the new led animations

36:20 @dglaude (likely sleeping)

  • @tannewt for accepting the idea to sort this report by chronological order
  • @tannewt for a few answers@ and putting me in touch with @phil and @ladyada
  • @phil [lip.torrone] for providing Blinka Sticker for my Fosdem20 presentation
  • @arturo182 for iMX RT port and those that tested it like @ladyada and @tannewt
  • @jepler for accepting my PyGamer example in the MLX90640 library
  • @hydronics2 for the nrf52840-LED-hat BLE code, works on my new hat
  • @danh figuring there is an issue for my Mu problem and contacting @ntoll
  • @CGrover for discussion on displayio for Thermal Camera and showing me map_range
  • Everyone for their CircuitPython2020 posts

@Drew Fustini

  • Group hug

37:38 @foamyguy - Text only, still no microphone :(

  • @jerryn, @KittenCanaveral, and @dglaude (and anyone else who did!) for Android testing and feedback of the Bluefruit app.
  • @tannewt and @arturo182 and anyone else involved with the Teensy 4 effort. Im excited to pick up a board and try out Circuit Python on it.

38:04 @hierophect

  • @jepler for the style reviews on my submissions this week
  • @tannewt for his help figuring out some interrupt stuff on the Meowbit
  • @arturo182 for the iMX RT port which I am very excited to try

39:13 @hukuzatuna

  • Group hug - you all do amazing work
  • Shout out to the #smallsats channel. Great resources listed. I very much want to orbit a CircuitPython satellite.

@jasonp (lurking)

@jkd (lurking)

39:35 @jepler

  • Group hug
  • @sommersoft for AudioMixer work, which I am appreciating more as I work in it
  • Hugs for everyone focusing on community in their CircuitPython2020 posts

40:36 @jerryn

  • @foamyguy for the continued development of the Android Bluefruit Playground App
  • @danh for pointing me to the source codes for some Arduino BLE demos I had been searching for.
  • Noe and Pedro for the “retro” cases for the PyPortals -- had one printed for me and it works great with my Titano.

41:31 Status Updates

@andon (lurking)

@anecdata (lurking)

@anne b (lurking)

@arturo182 (lurking)

42:51 @kattni

  • Last week:
    • Blogging new/updated guides
    • Added redirects to CP Made Easy on CPX and CPB to the CPX and CPB guides
    • Updated the CPB NeoPixel Animator code to have prints optional for Gizmo purposes
    • Went through all the library PRs
    • Started adding NotImplementedError to Circuit Playground lib Express module
  • This week:
    • Possibly sort the Circuit Playground lib NotImplementedError
    • Update README on Circuit Playground lib
      • Use new import
      • Explain requirements for latest update
      • Explain how library works
    • PR update to sound_meter code to work with update
    • Itsy nRF52840 fritzing
    • Itsy nRF52840 guide

@kingernorth (lurking)

49:00 @siddacious

  • Near done with actions, should be wrapped up this week with any luck
  • Working on libraries for the new 9-dof sensor for circuitpython and refactoring the arduino library
  • A bit more work on the Arduino actions migration
  • Testing the ICM 20649 rev b
  • Continuing my attempts to tame my 3D printer
  • Hopefully brainstorming with like-minded folks about CP2020 related ideas. @ me in #circuitpython if youd like to jam

51:08 @MakerMelissa

  • Last Week:
    • Finished writing the guide for the Animated Gif Player
    • Lots of Blinka work
      • I got the Sifive PR ready, but it is untested due to being a rare board
      • I tested an outstanding PR from @sommersoft for PlatformDetect on RPi Ubuntu
      • We have Blinka fully working and tested on the Pine A64 board
    • Lots of reviewing and testing:
      • Tested a PR for the Arduino SSD1306 library
      • Reviewed CircuitPython GFX PR
      • Reviewed a new CircuitPython RGB Display PR
    • Added more boards to Downloads and Blinka in circuitpython.org
  • This week:
    • Resume working on the HT16K33 Driver and Guide updates
    • Start on a Pine 64 Blinka Guide
    • Likely review additional Blinka PRs

52:40 @sommersoft (text only)

  • Last Week:
    • Adabot:
      • Made a change to the common function that grabs library repos so that it now ignores archived repos.
      • Created, tested, and PR'd a patchfile to amend the pylint command for examples in each librarys build.yml. Will likely run it tonight; though I want to allow someone else the opportunity to gain the experience of working with the patches capability.
    • RosiePi:
      • Made some decisions on my security considerations. Started setting up things to test those out, to include user setup, authentication & authorization scheme, and how to safely queue jobs that require escalation of privileges (sudo).
  • This Week:
    • RosiePi/physaCI:
      • I really need to clean up the GitHub presence. I've started looking at moving them to a new account/org. Will likely pursue that more this week.
      • Keep moving forward on the node integration with physaCI.

53:46 @stargirl (text only)

  • Deep in the PCB layout rabbit hole for Winterbloom Sol.

54:00 @tannewt

  • Fully swept up into iMX RT vortex. Reworking linker scripts to make varying flash sizes easier to work with. Will have PR with Teensy 4 support along with other EVK boards.
  • Did #CircuitPython2020 post: https://blog.adafruit.com/2020/01/10/tannewts-focus-for-circuitpython2020/
  • Have been posting community ones to the blog as well.
  • “Launched” CircuitPython on Teensy: https://forum.pjrc.com/threads/59040-CircuitPython-on-Teensy-4!
  • Spent weekend on Tiny Logic Friend. Goal is to enable low speed logic analysis with the SAMD51 on all existing boards, not just something new. Fixed a PulseView Mac bug that was driving a spike into my head.
  • Still need to sort out BLE lib deps for the sphinx builds. It is blocking AMS library release. Itd be helpful if someone could get the BLE library on pypi and a stub for _bleio into Blinka.
  • JP is doing BLE HID this week which should be good to go.

58:25 @brentru

  • LW:
    • 2 factor authenticator for PyPortal - guide out by Wed.
    • Progressbar library
    • Doxygening Adafruit IO Arduino (older library, lots of files, good to look at for some inspiration with Adafruit IO CircuitPython)
    • Buncha internal Adafruit tasks
  • TW:
    • Will be AFK from tomorrow til next week, moving and setting up a new office!
      • Ill be in the notes and listening on Spotify, I have a lecture this semester during the CP Weekly
        • Ive enjoyed being a part of the meeting this past Fall

@cater (lurking for status)

59:49 @CGrover (text only, in a noisy environment)

  • Yesterday and before:
    • Wrapped up most of the in-studio recording work, so was able to make progress on the trying-to-keep-it-a-secret project (restoring a lost family heirloom using CircuitPython). Since the project involves noisy physical and electronic audio components, hiding it while working on it has been a challenge.
    • The secret project tossed me into a mixing bowl of data/unit conversion and physical constants (see the resulting in-progress CedarGrove Converters). Had fun with the Ohms Law calculator and musical note/frequency/notation converter. Was profoundly humbled by the automatic Daylight Saving Time converter, but have a working version now.
    • Worked on transforming the Thermal Camera documentation to be more guide-like.
  • Tomorrow and beyond:
    • The remainder of this week will be focused on the secret project and Thermal Camera documentation.
    • Those lovely purple un-populated PCBs are still staring at me. Is there a YouTube channel for entertaining bored PCBs?

1:00:57 @danh

  • BLE Bonding works! PR really soon.
  • Im behind on PR reviews and some bug fixes and will get back to that this week.

1:02:13 @Dave Briccetti (away)

  • Have made Circuit Playground Express and Raspberry Pi versions of a smart thermostat. https://github.com/dcbriccetti/smart-thermostat. I actually trust it to operate when I leave the house for several hours now. :-)
  • Will soon modify advanced CircuitPython Circuit Playground Express examples for Bluefruit.

1:02:54 @davidglaude (likely sleeping)

@devoh (lurking)

1:03:54@Drew Fustini

  • Still working through some issues with PWMOut on beaglebone and pocket beagle

1:04:25 @foamyguy - Text only, still no microphone :(

  • Bluefruit Playground App, Past Week:
    • Updated the image assets to fit nicer on a wider range of screen sizes
    • Fixed a few of the remaining minor differences between the iOS app and the Android one
    • Got touch dragging to change the camera view in the Accelerometer Module working.
  • Next Week
    • Switch neopixel animations to use “fast as it can” approach instead of hardcoded frame durations
    • Make the app exit the background service a bit more aggressively when it is not in use.
    • Testing around disconnecting/reconnecting to different Android devices to ensure everything is working smoothly.

1:05:09 @hierophect

  • This past week I worked primarily on cleanup work and issue resolution for 5.0. Dealt with:
    • CPython compatibility,
    • Simplex SPI
    • Cleanups to the entirety of DisplayIO for formatting and consistency
    • Fixed a PWM issue related to optimization
    • Continuing work on the Meowbit
    • Some preliminary work on the Espruinos and Discovery F405.
    • Circuitpython 2020 writing, which was fun to talk and think about.
  • This week Im hoping to resolve some interrupt related issues with the Meowbit, and Ill be taking a look at why flash and DisplayIO arent playing well with each other on that board. Id also like to start work on some of the new boards Im adding to the port. A less pleasant task will be getting all my toolchains up and running on my new computer, since Im really starting to feel the 4G of flash memory on my current machine.

1:08:08 @hukuzatuna (Phil M)

  • Progress on Sphero control library. Detects all BLE robots (SPRK+ and later).
  • Working on solving “user selection of robots” problem in a generic way. I.e., if there are four robots turned on, how does the user select one given CPB or other Bluefruit devices?
  • Next: write command library.

@jasonp (lurking)

1:08:42 @jepler

  • Last week:
    • AudioMixer testing (conclusion: works OK for WaveFIles, just not quite fast enough for MP3 playback from SD). Investigated some performance improvements, but still may not quite make it fast enough
    • Also looking into problems with RawSample + AudioMixer where Im still confused
    • Fixed hard faults on os.urandom, allow >64 bytes os.urandom on nRF
    • Some PR reviews
    • Found a problem where on SAMD AudioOut, the left and right channels of an mp3 are badly desynced (by one mp3 frame, I think) -- its specific to MP3s
  • This week:
    • Address mp3 desync problem
    • PR AudioMixer performance improvements if they seem solid
    • Investigate switching AudioMixer to saturating arithmetic
    • Hopefully get back to JEplayer feature development
    • Hopefully more PR reviews
  • Ongoing fun projects:
    • Building custom raspberry pi images with pi-gen
    • Should get access to a formlabs printer at the bigger local maker space this week

1:10:36 @jerryn

  • Last week
    • Still struggling with making “reliable datagram mode” for RFM9x/69 reliable…
    • Also trying to improve the use of interrupts on Raspberry Pi for RFM9x/69
    • Got some valuable experience testing Bluefruit Android App. Learned a bunch of new tricks!
  • Next week
    • Continue RFM9x/69 work.
    • Whatever else I feel like working on .. Im getting used to being retired ;-)

1:12:17 In The Weeds

  • 1:13:12 @jepler: Why does every change in circuitplayground lib need a stack size bump?
  • 1:19:25 @siddacious:
    • CP office hours?
    • 1:26:25 Commits since last release on Arduino vs. CP release pages
  • 1:27:38 @danh: MLK holiday next Monday: delay meeting one day?
    • Tuesday next week
  • 1:28:28 CircuitPython2020!

1:29:38 Wrap-Up