adafruit-circuitpython-week.../2019/2019-11-11.md
2019-11-11 14:10:51 -08:00

29 KiB
Raw Permalink Blame History

CircuitPython Weekly November 11th, 2019

Video of the meeting is available on YouTube and diode.zone.

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

The weekly happens normally at 2pm ET/11am PT on Mondays except when US holidays occur on Monday. Check the #circuitpython channel for notices of change in time and links to past episodes.

CircuitPython development is sponsored by Adafruit. Please support them by purchasing hardware from adafruit.com.

Reminders: Podcast available on most services. Let us know if were missing some.

4:43 Community News

(i'm on a train at the moment, so text only for me this week -pt)

Python powered badges at Hackaday Supercon. Bryan, JP, Melissa, and Scott will be there - if you are attending see the team to get the ML demos on your device! https://hackaday.io/project/167255-2019-hackaday-superconference-badge

Winterbloom Sol by Alethea Flowers https://circuitpython.org/board/winterbloom_sol/ Winterbloom Sol is a modular synthesizer (Eurorack) module, and CircuitPython powered! It is a multi-purpose, scriptable USB MIDI to CV/gate converter. Its code can be modified while in use to change how it processes MIDI data into CV and gate outputs. Sol is not yet available for purchase, however, you may contact the creator for more details. https://thea.codes/

Python #2 language on GitHub, read all about it: https://octoverse.github.com/

Sponsoring Bunnie on GitHub, we did, and if you want to support bunnie's work, please do so! https://github.com/bunnie

There are now 13 entries for the Take Flight with Feather contests! Design a board to fit in the Feather ecosystem and well manufacture it. https://hackaday.io/contest/168107-take-flight-with-feather

As always, please open an issue, a PR, email, tweet, send an owl, whatever works, contribute to the newsletter: https://github.com/adafruit/circuitpython-weekly-newsletter/blob/gh-pages/_drafts/2019-11-12-draft.md

Special thanks to Matt for adding a bunch of MicroPython news and links.

7:50 State of CircuitPython + Libraries

Overall

  • 28 pull requests merged
    • 7 authors - makermelissa, chrisbartley, hierophect, tannewt, kattni, theacodes, dhalbert
    • 8 reviewers - makermelissa, jepler, hierophect, siddacious, tannewt, kattni, ladyada, dhalbert
  • 9 closed issues by 4 people, 9 opened by 9 people
  • Removed Hacktoberfest label from 0 issues.

Overall: Just got Alpha5 released thanks to @DanH, had about 2 months of changes to 5.0 stuff including a bunch of boards. Please test it. Expect Alpha6 or beta0 with BLE changes. Library-wise, we are about to hit 200 libraries, surpassed Arduino lib count. Thanks everyone working on Libraries, great ecosystem.

10:40 Core

Download stats by board:

Board 4.1.0 5.0.0-alpha.5
arduino_mkr1300 110 0
arduino_mkrzero 68 0
arduino_nano_33_ble - 5
arduino_zero 157 0
bast_pro_mini_m0 16 0
capablerobot_usbhub 14 0
catwan_usbstick 16 0
circuitplayground_bluefruit - 63
circuitplayground_express 5337 17
circuitplayground_express_4h 39 2
circuitplayground_express_crickit 262 2
circuitplayground_express_digikey_pycon2019 22 1
circuitplayground_express_displayio - 4
cp32-m4 - 0
datalore_ip_m4 - 0
datum_distance 13 0
datum_imu 19 0
datum_light 14 0
datum_weather 18 0
electronut_labs_blip 18 0
electronut_labs_papyr 14 0
escornabot_makech 16 0
feather_m0_adalogger 296 2
feather_m0_basic 206 2
feather_m0_express 645 6
feather_m0_express_crickit 34 0
feather_m0_rfm69 114 1
feather_m0_rfm9x 229 1
feather_m0_supersized - 0
feather_m4_express 1034 38
feather_nrf52840_express 223 13
feather_radiofruit_zigbee 16 0
feather_stm32f405_express - 20
gemma_m0 618 2
gemma_m0_pycon2018 20 0
grandcentral_m4_express 232 4
hallowing_m0_express 322 1
hallowing_m4_express - 2
itsybitsy_m0_express 337 4
itsybitsy_m4_express 698 11
itsybitsy_nrf52840_express - 0
kicksat-sprite 13 0
makerdiary_nrf52840_mdk 28 0
makerdiary_nrf52840_mdk_usb_dongle 64 1
meowmeow 16 0
metro_m0_express 610 0
metro_m4_airlift_lite 142 3
metro_m4_express 346 2
metro_nrf52840_express - 0
mini_sam_m4 33 0
monster_m4sk - 23
particle_argon 36 0
particle_boron 24 0
particle_xenon 45 0
pca10056 69 1
pca10059 161 5
pewpew10 44 0
pewpew13 13 0
pewpew_m4 - 0
pirkey_m0 15 0
pybadge 321 10
pybadge_airlift 16 0
pyboard_v11 - 5
pygamer 526 3
pygamer_advance 35 0
pyportal 999 7
pyportal_titano - 0
pyruler 192 1
robohatmm1 15 -
robohatmm1_m0 - 0
robohatmm1_m4 - 0
sam32 41 0
serpente - 6
snekboard - 1
sparkfun_lumidrive 17 0
sparkfun_nrf52840_mini 44 0
sparkfun_qwiic_micro_no_flash - 0
sparkfun_qwiic_micro_with_flash - 0
sparkfun_redboard_turbo 43 0
sparkfun_samd21_dev 33 0
sparkfun_samd21_mini 28 2
stm32f411ve_discovery - 1
stm32f412zg_discovery - 0
stringcar_m0_express - 0
trellis_m4_express 288 1
trinket_m0 1727 12
trinket_m0_haxpress - 0
uchip 17 0
ugame10 34 0
---------------------------------------------- -------- ----------------
Total 17212 285
---------------------------------------------- -------- ----------------

Download stats by language:

Board 4.1.0 5.0.0-alpha.5
ID 11 0
de_DE 382 5
en_US 16005 270
en_x_pirate 93 4
es 247 0
fil 14 1
fr 254 5
it_IT 52 0
pl 44 0
pt_BR 61 0
zh_Latn_pinyin 49 0
----------------- -------- ----------------
Total 17212 285
----------------- -------- ----------------

12:34 Libraries

14:26 Hug Reports

17:18 @brentru - notes only this week

  • Welcome to Adafruit, @jepler! Looking fwd to seeing more of your work on the core!
  • Group hug!

@cater (lurking)

17:37 @CGrover (lurking)

  • Hugs to the CircuitPython team and community.
  • A hug to @JohnPark for helpful design comments on the Classic MIDI interface and encouragement to enter a Hackaday project contest.
  • A hug (and great respect) to @theacodes (Stargirl) for sharing her CircuitPython code. I had no suggestions, but benefited greatly from reviewing her techniques. Ive already applied some of the new knowledge gained from the review.

18:25 @charlesburnaford

  • Group hug to everybody doing this wonderful work that I keep twiddling with occasionally

19:00 @danh

  • @hathach for doing a lot of work on specifications of BLE services for CPB.
  • @theacodes for getting @micropython.native to work and testing it and related decorators. Also thanks to @gpshead for comments and testing on this.
  • @tannewt for the BLE services API. Got a few strawman services going with very little code needed.

@devoh (lurking)

22:01 @Drew Fustini

  • Thanks for the comments last week in the weeds on how to address the differences in pins between different Linux boards, working on change to not have separate file for Beagle bone

22:40 @hierophect

  • Thanks to @danh and @ladyada for their help testing new module code

@jasonp (lurking)

23:33 @jepler

  • A big hug to Brent for spilling the beans :)
  • A huge hug report to @ladyada @adafruit @tannewt @kattni and others for bringing me on board as a member of the CircuitPython “core” team. It has been in the works for several months, but on Friday I had my last day at my old employer and starting on the week of the 18th I have 20 hours a week to work on the core.
  • A group hug for all of you in the community. I look forward to chatting with you frequently, and you dont have to take care to ping me only outside of US business hours anymore.
  • Everyone who will be representing circuitpython and our values at supercon

24:52 @jerryn

  • @danh and @tannewt for the new bleio and BLE code.
  • @cater for the CPB/Gizmo snow_globe — very nice!
  • Group hug - fun to watch the expansion (explosion) of people involved.
  • Veterans - thank you!

25:34 @kattni

  • @jepler for joining Adafruit! Welcome!
  • @DanH for keeping up with everything while @tannewt was gone, and for the new release of 5.0alpha.
  • @cater for an excellent discussion about Bluefruit.

25:59 @krayola

  • @jepler for choosing CircuitPython and @adafruit for his next big thing!

26:22 @MakerMelissa

  • @jepler for joining Adafruit
  • @kattni for helping with the api-key issue on a couple of repos
  • @siddacious from help with the SSD1305 driver
  • @ladyada for helping me figure out the SSD1305 I2C reset issue
  • @jerryn for noticing a library I added to the bundle wasnt actually being included
  • @tannewt for merging my bundle fix

28:22 @nis

  • @danh Was a big help to me, in getting ARM STM32F405 Arduino IDE-based programming working.
  • Dan steered me to dfu-util which proved instrumental in understanding the programming of this new Adafruit target board.
  • Similarly, @jerryn linked to the unpublished STM32F405 Guide, in the channel, which made SPI flashROM access possible for me. Thanks so much!

@Railo (lurking)

27:20 @siddacious Jepler for joining Adafruit, remember how great it was when I joined and imagine youre feeling the same thing, looking forward to working with you

  • Ladyada and Dan for looking into a better way to deal with CV in CP drivers
  • Dan again for covering the core while Scott was out
  • Future looking hug report to all Adafruit peeps joining me at Supercon

29:07 @sommersoft

  • Group hug!
  • @jepler for joining the core team!

29:22 @stargirl (lurking)

  • @danh for reviewing the micropython.native PR.
  • @JohnPark for being a beta tester for Sol and just being incredibly enthusiastic and helpful.

15:20 @tannewt

  • Danh for helping review PRs while I was out and for the new release.
  • @kattni for running the last few meetings.
  • @ladyada for all of the reviewing!
  • @thea for adding her Winterbloom board

16:54 @TG-Techie

  • a hug to LuminescentSimian for helping me with some module scope differences in circuitpython vs cpython.
  • A hug to Lady Ada for her work on the free touch library
  • a hug to the Community as always for being so awesome

30:04 Status Updates

33:20 @brentru

  • Last Week
    • Mostly AFK for research/mid-term exam season
      • Been programming in Julia a bunch - interesting language!
  • This Week:
    • Catching up with Adafruit IO support channels.
    • Hoping to finalize a project Ive been working on for Adafruit.
    • Have some interesting CPY IoT projects/etc in the hopper for after this wraps.

@cater (lurking)

33:50 @CGrover (lurking)

  • Past Week:
    • Wrapped up the Stemma 10V Dual 12-bit Eurorack module. Its a 3HP panel thats powered by 3.3V Stemma but capable of producing two independent +10V full-scale outputs. https://github.com/CedarGroveStudios/EURO_10V_Dual_12-bit_DAC
    • Completed testing of the standalone Stemma-powered UART adapter for the Classic MIDI FeatherWing so that the wing can be connected to non-Feather devices such as the PyPortal and NeoTrellis M4 via a 3V/5V Stemma or Stemma-QT jack. https://github.com/CedarGroveStudios/UART-STEMMA_MIDI_Backpack
    • Worked on three submittals for the Hackaday Take Flight With Feather project contest. The Waveform Generator FeatherWing was submitted last week; more to come this week. CircuitPython was used in all three projects.
  • This Week:
    • Finish the remaining contest entries then get back to testing the next version of the StringCar M0 Express, the AD9833+ADSR FeatherWing, and the Stemma/Eurorack dual 16-bit DAC boards. Also need to populate a half-dozen more Classic MIDI FeatherWing PCBs for some on-going synth projects. If theres time, Ill put the final touches on the StringCar M4 board.
  • When it Snows:
    • Need to hack into the LiPo-powered brushless snowthrower to get a better handle on predicting battery usage for various snow depths and wetness. Spare batteries are expensive — dont want to have more than +1 on hand if possible.

35:36 @charlesburnaford

  • Its interesting you mentioned MIDI, been trying to, dont know how to describe it, took a resistive touch panel, put an underlay on it with vertical stripes, trying to create a touch device to control MIDI volume and CCs. They have a software version built into sunbox, want to make a hardware version as a separate controller device.

36:42 @danh

  • @hathach and I have been specifying BLE services for the Circuit Playground Bluefruit. We will implement these services in both Arduino and CircuitPython. A new Bluefruit Connect app is under development that will use services instead of the Bluefruit Connect UART-based protocol. I did an existence proof for services, testing Scott's new BLE library in the process.
  • In the near future, @tannewt and I will review and update the new BLE library, release it, and then release a CircuitPython alpha.6 or beta.0 that is compatible with the new library. The current Learn Guide BLE examples will be updated to use the new API.
  • I have done a lot of PR reviewing in the past few days, especially additions to the STM32F4 port being done by @hierophect. Expect to see additional functionality added to the STM32 port in each upcoming CircuitPython release.

@devoh (lurking)

39:44 @Drew Fustini

  • Testing out PWMOut on the BBB, already have it merged in for Pocket Beagle, testing Black before creating PR

40:13 @hierophect

  • Last week: worked on a variety of bugfixes and minor issues/components now that PWM and UART are wrapping up. Had some interruptions due to local workspace stuff so Im doubling down this week on getting as many PRs out and wrapped up as possible.
  • This week: major items are any stm32 github issues marked for 5.0, starting with delays and neopixel support, followed by board support. Also need to get into the weeds on stm32 bootloader options to better assist stm32feather newcomers.

@jasonp (lurking)

41:51 @jepler

  • Last week: saying goodbye to coworkers, some of whom I worked with for 20 years
    • I gave out CPXes to anybody who seemed interested in CircuitPython/Adafruit
  • This week: taking a little R&R, and putting my home office back together after a carpet install upstairs

42:36 @jerryn

  • Last week
    • Back from a week plus of travel - trying to “catch-up” with the new releases.
    • Tested building CP on Raspberry Pi
      • Found that there is an issue building the spresense BSP
        • mkspk tool does not support ARM
          • Looks like it will need an upstream fix in the future
      • All other BSPs build fine on RPI 4 Buster or Ubuntu 19.04
      • Still slow even on Pi 4 - but certainly tolerable — ~ 200 seconds per build (typically 90 seconds on my other systems)
    • PSA - I found that I had to manually update BalenaEtcher on my Mac (Catalina)
      • Not sure when it started to fail, may have been with Catalina, but update fixed it.
    • Tested updated bleio and BLE library - new demos are working well
      • Updated some projects using the Uart Service to use new code.
      • Tried to implement CTS, close, but no cigar ;-)
  • This week
    • Continue exploring bleio/BLE

46:14 @kattni

  • Last week:
    • Things are running together and Im not entirely sure what was finished last week and what was the week before, so apologies for any duplicates.
    • Finished adding the USB-C Micro-LiPo charger to the Micro-LiPo guide, fritzing object created, PCBs on GitHub etc.
    • Tested the MPR121 HAT on Pi, works as-is with Blinka/CircuitPython, updated guide.
    • Updated the PM2.5 guide to include Python and Blinka usage
    • Started the US100/HC-SR04 guide, tested both on Feather
  • This week and beyond:
    • Blog the updated PM2.5 guide
    • Test US100/HC-SR04 on Pi
    • Finish US100/HC-SR04 guide.
    • New guide for mini GPS module
    • Go through PyPI spreadsheet, begin to close it out
    • Go through lingering RTD/PyPI assigned issues on GitHub
    • Circuit Playground Bluefruit library

49:10 @krayola

  • Still recovering from a concussion, so minimal screen time. Would have loved to be spending the mandatory time off work working on circuitpython instead!
  • If I am able, I plan to resume working on _pixelbuf

49:42 @MakerMelissa

  • Last Week:
    • Finished updating the WS2801 Learn Guide
    • Wrote the SSD1305 displayio Driver
    • Fixed an issue in CircuitPython core displayio with I2C Displays needing reset first
    • Fixed some issues in the Framebuf SSD1305 Driver
    • Finished updating 128x64 SSD1305 Display Guide
    • Worked on sprucing up Gizmo Library Examples
    • Updated Snow Globe code to use Gizmo Library
  • Next 2 Weeks:
    • Finish up a TFT Gizmo Slideshow example
    • Work on the remaining SSD1305 guides
    • Hackaday SuperCon Prep which is mostly getting more familiar with the Edge Badge and packing
    • Will leave for SuperCon on Wednesday and arrive back on Tuesday next week
    • Wont be able to make the next CircuitPython Meeting

51:24 @nis

  • I was able complete an Arduino project for STM32F405, using ST's Cube (programmer) or, alternatively, (Debian's distributed) dfu-util (both from a Debian Linux host PC; both via the USB interface).
  • Needed to erase all (in Cube, only) to upload to the F405 target, properly.
  • (Cube-based) upload was done only outside of the Arduino IDE.
  • Used the unpublished F405 Guide to access SPI flashROM on the F405 board (thanks, @jerryn !)
  • Guide:
  • https://learn.adafruit.com/adafruit-stm32f405-feather-express
  • Cube, script stuff:
  • https://termbin.com/je13
  • dfu-util CLI syntax:
  • dfu-util -a 0 --dfuse-address 0x08000000 -D ./this.bin

@Railo (lurking)

52:11 @siddacious

  • Last Week: Got the LSM6DSOX gyro and accelerometer working in CP and Arduino
  • Finished off the LSM303AGR and MPU-6050 Guides
  • Did some circuit analysis of the droid main board and have a fair idea of how the responsibilities are split between the two modules.
  • Did some initial attempts at flashing blinky, haven't had success yet
  • This Week: more LSM6DSOX features
  • Prepping my laptop to help folks at supercon, testing demos, making sure I have all the dongles, etc.
  • trying to do some blinky level tests with my tinyfpga to get familiar with fpga workflows before supercon
  • Going to try and get BLE HID working with KMK so I can show off my keypad at supercon
  • maybe try to polish off some other projects

59:02 @sommersoft

  • Last Week:
    • RosiePi (and her new friend: physaCI [working title])
      • Spent the whole week researching cloud/hosting options to move RosiePi's server off of the RPi.
      • Decided on using Azure using serverless functions, after constructing an architecture that allows for handling a good number of requests per month for less than a dollar. At least I hope; time will tell.
      • Topology/plate-of-spaghetti visual: https://drive.google.com/open?id=1QnK2nmh2eCGIeX_8kLK8-s3RQkcZJII_
      • Allows for multiple RPi "test nodes", which will poll a queue for new jobs.
      • Got to flex my data modeling muscles. They hurt...
      • Skeleton is up; working through GitHub app authentication at the moment...
  • This Week:
    • Possibly get back to Actions migration.
      • Finish adabot
      • Start circuitpython-org
    • physaCI
      • Keep working on the Azure integration
      • Hopefully get that done, then start RosiePi code refactor

@stargirl (offline)

30:33 @tannewt

  • Last week of travel: this time for work to Supercon! Leave Wednesday and fly back Monday.
  • Catch up and presentation prep this week. Presenting at UW Bothell on Tuesday and then at Supercon on Sunday. Supercon will be livestreamed.
  • Need to revive GameBoy demos.
  • Also prep for FPGA and ViewSB (USB debugging) hacking at Supercon.

1:01:16 In the Weeds

1:01:38 @kattni - Circuit Playground Bluefruit library.

1:05:46 @jepler - “Office hours”?

1:12:20 Wrap-up