27 KiB
CircuitPython Weekly October 14th, 2019
Video of the meeting is available on YouTube.
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 we’re missing some.
3:40 Community News
It's OPEN HARDWARE MONTH, we are doing a post a day! https://blog.adafruit.com/?s=%23OHM2019
MicroPython slithers its way to Feather! https://youtu.be/ssz5SNH0QDY
Scanning and advertising - BLE with CircuitPython update https://youtu.be/iHfd31qDTmw
Supercon – Supercharge Your Hardware (Old and New) with CircuitPython https://hackaday.com/2019/10/11/latest-dose-of-hardware-talks-headed-to-supercon/
PyConDE in Berlin photos / PyLadies at the event! https://twitter.com/PyLadiesHH/status/1183056425456680961
Interactive CircuitPython Poster from CodeNSolder https://twitter.com/iAyanPahwa/status/1183017937591947264
Sponsor arturo182 on GitHub https://github.com/users/arturo182/sponsorship
String car.. VID/PID, we have'em! https://github.com/adafruit/circuitpython/issues/2215
Thea Flowers made a CircuitPython driver for the Analog Devices AD5689 16-bit DAC - GitHub. https://github.com/theacodes/Winterbloom_AD5689
Does Mu work with Catalina? Yep! "...the update to OSX Catalina breaks Mu in dark and high-contrast modes (text remains black, so can't be seen). It's still fine for "day" mode, although code colouration might not work properly. I tested things this morning and it's down to the version of Qt packaged with the 1.0.2 version being old. I hope to release a new alpha version early next week that fixes the issue. BTW, the only reason it's called "alpha" is because the new features may not be finished or finalised. Alpha versions of Mu still have to pass all the tests and things we do for a regular release. Just letting you know in case you get folks on your forums or support channels asking." https://codewith.mu/
PyCon US 2020 is opening applications for Financial Aid, they are accepting them through January 31, 2020. To apply, first set up an account on the site, and then you will be able to fill out the application through your dashboard. The financial aid program aims to bring many folks to PyCon by limiting the maximum grant amount per person; this way PyCon can offer support to more people based on individual need. The financial aid program reimburses direct travel costs including transportation, hotel, and childcare, as well as offering discounted or waived registration tickets. For complete details, see our FAQ, and contact pycon-aid@python.org with further questions - PyCon blog. https://pycon.blogspot.com/2019/10/financial-aid-launches-for-pycon-us-2020.html
10:35 State of CircuitPython + Libraries
Overall
- 40 pull requests merged
- 17 authors - magnusvmt, dherrada, TheKitty, theacodes, devoh747, makermelissa, kattni, kamtom480, SecSuperN0va, brentru, cogliano, hierophect, jepler, dhalbert, caternuson, kickbutts, ladyada
- 11 reviewers - dherrada, siddacious, kattni, makermelissa, brentru, hierophect, dhalbert, tannewt, TheKitty, jerryneedell, ladyada
- 20 closed issues by 11 people, 14 opened by 11 people
Overall: Still chugging along with Bluetooth stuff, making progress. Libraries are involving more and more people, growing. Keep rolling, welcome to all the new folks!
12:30 Core
- 8 pull requests merged
- 5 authors - jepler, dhalbert, kickbutts, kamtom480, hierophect
- 4 reviewers - tannewt, dhalbert, ladyada, hierophect
- 11 open pull requests
- https://github.com/adafruit/circuitpython/pull/1274 (Open 363 days)
- https://github.com/adafruit/circuitpython/pull/1363 (Open 318 days)
- https://github.com/adafruit/circuitpython/pull/1858 (Open 159 days)
- https://github.com/adafruit/circuitpython/pull/2034 (Open 71 days)
- https://github.com/adafruit/circuitpython/pull/2044 (Open 67 days)
- https://github.com/adafruit/circuitpython/pull/2054 (Open 63 days)
- https://github.com/adafruit/circuitpython/pull/2148 (Open 31 days)
- https://github.com/adafruit/circuitpython/pull/2207 (Open 4 days)
- https://github.com/adafruit/circuitpython/pull/2211 (Open 1 days)
- https://github.com/adafruit/circuitpython/pull/2214 (Open 0 days)
- https://github.com/adafruit/circuitpython/pull/2213 (Open 0 days)
- 4 closed issues by 4 people, 5 opened by 5 people
- Assigned Hacktoberfest label to 0 issues.
- 194 open issues
- 7 active milestones
- 4.x.x - Bug fixes: 0 open issues
- 5.0.0: 5 open issues
- 5.x.0 - Features: 1 open issues
- 5.x.x - Bug Fixes: 9 open issues
- 6.0.0: 1 open issues
- Libraries: 9 open issues
- Long term: 153 open issues
- 16 issues not assigned a milestone
Download stats by board:
| Board | 4.1.0 | 5.0.0-alpha.4 |
|---|---|---|
| arduino_mkr1300 | 84 | 13 |
| arduino_mkrzero | 48 | 22 |
| arduino_zero | 123 | 24 |
| bast_pro_mini_m0 | 14 | 12 |
| capablerobot_usbhub | 12 | 12 |
| catwan_usbstick | 15 | 12 |
| circuitplayground_bluefruit | - | 437 |
| circuitplayground_express | 3716 | 142 |
| circuitplayground_express_4h | 29 | 14 |
| circuitplayground_express_crickit | 186 | 21 |
| circuitplayground_express_digikey_pycon2019 | 20 | 14 |
| cp32-m4 | - | 12 |
| datalore_ip_m4 | - | 12 |
| datum_distance | 12 | 12 |
| datum_imu | 15 | 12 |
| datum_light | 13 | 12 |
| datum_weather | 16 | 12 |
| electronut_labs_blip | 14 | 12 |
| electronut_labs_papyr | 13 | 12 |
| escornabot_makech | 14 | 12 |
| feather_m0_adalogger | 194 | 38 |
| feather_m0_basic | 155 | 35 |
| feather_m0_express | 471 | 44 |
| feather_m0_express_crickit | 29 | 15 |
| feather_m0_rfm69 | 81 | 26 |
| feather_m0_rfm9x | 160 | 43 |
| feather_m0_supersized | - | 13 |
| feather_m4_express | 737 | 51 |
| feather_nrf52840_express | 167 | 42 |
| feather_radiofruit_zigbee | 16 | 13 |
| gemma_m0 | 455 | 32 |
| gemma_m0_pycon2018 | 20 | 13 |
| grandcentral_m4_express | 175 | 18 |
| hallowing_m0_express | 221 | 36 |
| hallowing_m4_express | - | 54 |
| itsybitsy_m0_express | 261 | 20 |
| itsybitsy_m4_express | 546 | 77 |
| kicksat-sprite | 13 | 12 |
| makerdiary_nrf52840_mdk | 25 | 13 |
| makerdiary_nrf52840_mdk_usb_dongle | 57 | 15 |
| meowmeow | 14 | 12 |
| metro_m0_express | 484 | 29 |
| metro_m4_airlift_lite | 109 | 22 |
| metro_m4_express | 260 | 29 |
| metro_nrf52840_express | - | 13 |
| mini_sam_m4 | 22 | 12 |
| monster_m4sk | - | 597 |
| particle_argon | 26 | 14 |
| particle_boron | 17 | 12 |
| particle_xenon | 39 | 19 |
| pca10056 | 62 | 28 |
| pca10059 | 124 | 39 |
| pewpew10 | 40 | 14 |
| pewpew13 | 13 | 12 |
| pewpew_m4 | - | 15 |
| pirkey_m0 | 15 | 12 |
| pybadge | 234 | 20 |
| pybadge_airlift | 15 | 13 |
| pygamer | 423 | 27 |
| pygamer_advance | 33 | 13 |
| pyportal | 724 | 49 |
| pyportal_titano | - | 13 |
| pyruler | 156 | 21 |
| robohatmm1 | 15 | - |
| robohatmm1_m0 | - | 12 |
| robohatmm1_m4 | - | 17 |
| sam32 | 35 | - |
| snekboard | - | 12 |
| sparkfun_lumidrive | 17 | 12 |
| sparkfun_nrf52840_mini | 34 | 14 |
| sparkfun_redboard_turbo | 24 | 12 |
| sparkfun_samd21_dev | 24 | 16 |
| sparkfun_samd21_mini | 24 | 12 |
| stm32f411ve_discovery | - | 36 |
| stm32f412zg_discovery | - | 29 |
| trellis_m4_express | 230 | 21 |
| trinket_m0 | 1254 | 46 |
| trinket_m0_haxpress | - | 14 |
| uchip | 16 | 12 |
| ugame10 | 32 | 12 |
| ---------------------------------------------- | -------- | ---------------- |
| Total | 12642 | 2753 |
| ---------------------------------------------- | -------- | ---------------- |
Download stats by language:
| Board | 4.1.0 | 5.0.0-alpha.4 |
|---|---|---|
| ID | 5 | 2 |
| de_DE | 229 | 3 |
| en_US | 11804 | 2671 |
| en_x_pirate | 66 | 9 |
| es | 204 | 10 |
| fil | 10 | 5 |
| fr | 187 | 31 |
| it_IT | 38 | 3 |
| pl | 40 | 4 |
| pt_BR | 34 | 2 |
| zh_Latn_pinyin | 25 | 13 |
| ----------------- | -------- | ---------------- |
| Total | 12642 | 2753 |
| ----------------- | -------- | ---------------- |
14:33 Libraries
- 32 pull requests merged
- 12 authors - magnusvmt, dherrada, TheKitty, theacodes, devoh747, makermelissa, kattni, SecSuperN0va, brentru, cogliano, caternuson, ladyada
- 9 reviewers - dherrada, siddacious, kattni, makermelissa, brentru, tannewt, TheKitty, jerryneedell, ladyada
- 33 open pull requests
- https://github.com/adafruit/Adafruit_CircuitPython_GFX/pull/6 (Open 294 days)
- https://github.com/adafruit/Adafruit_CircuitPython_TLC59711/pull/5 (Open 279 days)
- https://github.com/adafruit/Adafruit_CircuitPython_LSM303/pull/11 (Open 274 days)
- https://github.com/adafruit/Adafruit_CircuitPython_BitbangIO/pull/1 (Open 253 days)
- https://github.com/adafruit/Adafruit_CircuitPython_Fingerprint/pull/11 (Open 243 days)
- https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font/pull/6 (Open 229 days)
- https://github.com/adafruit/Adafruit_CircuitPython_framebuf/pull/14 (Open 229 days)
- https://github.com/adafruit/Adafruit_CircuitPython_MAX31865/pull/9 (Open 214 days)
- https://github.com/adafruit/Adafruit_CircuitPython_PyPortal/pull/20 (Open 193 days)
- https://github.com/adafruit/Adafruit_CircuitPython_Debouncer/pull/8 (Open 180 days)
- https://github.com/adafruit/Adafruit_CircuitPython_Hue/pull/6 (Open 180 days)
- https://github.com/adafruit/Adafruit_CircuitPython_MIDI/pull/13 (Open 170 days)
- https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/pull/57 (Open 157 days)
- https://github.com/adafruit/Adafruit_CircuitPython_WS2801/pull/4 (Open 156 days)
- https://github.com/adafruit/Adafruit_CircuitPython_PyPortal/pull/34 (Open 154 days)
- https://github.com/adafruit/Adafruit_CircuitPython_BNO055/pull/30 (Open 153 days)
- https://github.com/adafruit/Adafruit_CircuitPython_DotStar/pull/36 (Open 152 days)
- https://github.com/adafruit/Adafruit_CircuitPython_BLE/pull/14 (Open 95 days)
- https://github.com/adafruit/Adafruit_CircuitPython_TCS34725/pull/20 (Open 85 days)
- https://github.com/adafruit/Adafruit_CircuitPython_BME680/pull/18 (Open 80 days)
- https://github.com/adafruit/Adafruit_CircuitPython_MotorKit/pull/19 (Open 79 days)
- https://github.com/adafruit/Adafruit_CircuitPython_Debouncer/pull/10 (Open 61 days)
- https://github.com/adafruit/Adafruit_CircuitPython_Debouncer/pull/11 (Open 59 days)
- https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI/pull/66 (Open 53 days)
- https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI/pull/69 (Open 50 days)
- https://github.com/adafruit/Adafruit_CircuitPython_HID/pull/40 (Open 16 days)
- https://github.com/adafruit/Adafruit_CircuitPython_MCP9808/pull/20 (Open 14 days)
- https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/pull/71 (Open 9 days)
- https://github.com/adafruit/Adafruit_CircuitPython_AM2320/pull/9 (Open 5 days)
- https://github.com/adafruit/Adafruit_CircuitPython_GFX/pull/9 (Open 4 days)
- https://github.com/adafruit/Adafruit_CircuitPython_BLE/pull/26 (Open 4 days)
- https://github.com/adafruit/Adafruit_CircuitPython_MCP3xxx/pull/17 (Open 3 days)
- https://github.com/adafruit/Adafruit_CircuitPython_ADS1x15/pull/41 (Open 1 days)
- 16 closed issues by 9 people, 9 opened by 7 people
- Assigned Hacktoberfest label to 1 issues.
- 145 open issues
- https://circuitpython.org/libraries/contributing Library updates in the last seven days: Updated Libraries
- Adafruit_CircuitPython_AdafruitIO
- Adafruit_CircuitPython_MiniMQTT
- Adafruit_CircuitPython_MCP3xxx
- Adafruit_CircuitPython_NeoPixel
- Adafruit_CircuitPython_ESP32SPI
- Adafruit_CircuitPython_FancyLED
- Adafruit_CircuitPython_RGB_Display
17:06 Hug Reports
20:31 @brentru
- @jerryn for testing new nina-fw binary on all the iot circuitpython platforms
- Moheeb Zara (@virgilvox on twitter) from Amazon AWS for assistance with getting my AWS IoT Policy setup and general helpful-ness regarding the platform.
- @tannewt for BT work, I’m enjoying the short twitter videos.
- @anecdata for slightly pushing me to build/ship nina-fw with the latest ESP-IDF version, we’re up-to-date.
- @adafruit for adding an #iot channel to the Adafruit Discord Topics :)
@cater (lurking)
@CGrover (lurking)
21:24 @charlesburnaford
- Group hug to everybody
21:39 @dakotah.redstone (will probably just be listening, as a couple things are “going on” here that I am juggling)
- To everyone for being the best example on the whole web of what a great community looks like! [ I “point” here… a lot… ;) ]
22:00 @danh
- @kamtom480 for work on USB endpoints and MSC, and Sprsense.
- @sommersoft and @jerryn for working on build issues on Ubuntu on RPi
@Dave Briccetti (lurking)
22:50 @devoh (lurking)
- To everyone for their patience and help in getting in some PR’s and just in general. I have bugged pretty much every one of you and I appreciate all the help and patience.
- Also a group hug for inviting me to the circuitpythonistas group. :)
23:30 @hierophect (can’t make meeting today)
- Deep in weeds so group hug
@jasonp (lurking)
23:40 @jepler (lurking)
- Hug reports to all, I’ve missed you
23:55 @jerryn
- @sommersoft for introducing me to Ubuntu on RPi - the fun never stops
- @brentr for the new nina-fw release for esp32spi
24:15 @kattni
- @sommersoft and Justin for getting circuitpython.org/libraries/contributing updating daily!
- Dan Cogliano for submitting the MCP9600 CircuitPython driver to go with our updated breakout
- Christine for submitting a PR to the Python on Microcontrollers newsletter
- @cater for testing a breakout on RasPi for me while I was waiting for mine to arrive, and for suggesting a couple of items to make RasPi testing easier
- Group hug to the Adafruit community and to the Discord community moderators - we had a discussion after someone had a bad experience in another community about how amazing this community is, and how much we appreciate that. Thank you to all of you for continuing to make this community a welcoming, inclusive, supportive and encouraging environment.
25:59 @krayola
- Group hug to the CircuitPython community!
26:15 @MakerMelsisa
- @tannewt for his excellent Bluetooth broadcasting demo
- Group Hug
26:33 @Mike B (lurking)
- Group hug
26:37 @ntoll (dad taxi!)
- Scott for upcoming work on radio things (which I hope to be able to play with).
28:50 @sommesoft
- @jerryn for testing and troubleshooting building CircuitPython on Ubuntu 19.04+Raspberry Pi (aarch64/arm64 kernel). And for the proposed fix to building mpy-cross (I'll look at it later today)!
- @kattni & @jwcooper for the PR-n-merges on circuitpython.org/libraries.
17:25 @tannewt
- Thea for helping with issues.
- Christine from MicroPython for the newsletter PR.
- Devoh for all of the testing of things and help on Discord
- Kattni
20:07 @thea
- Group hug for being an awesome community. :)
- @ladyada for giving me a USB PID ridiculously fast.
27:38 Status Updates
33:15 @brentru
- Wrapped nina-fw 1.4.0 last week.
- You can now authenticate with a server using a certificate/key pair
- Some minor bug-fixes, etc, within WiFiSSLClient
- Bunch of other fixes to nina-fw incl. Upgrading to the latest ESP-IDF version (lots of wifi stability/bugfixes) and an updated Makefile.
- PR’d relevant updates to ESP32SPI, etc.
- Ready to upgrade your Airlift to nina-fw 1.4.0? We have a guide: https://learn.adafruit.com/upgrading-esp32-firmware
- Built an AWS IoT library last week
- (requires 1.4.0 or above of nina-fw)
- https://github.com/adafruit/Adafruit_CircuitPython_AWS_IOT
- This week - AWS IoT Guide
@cater (lurking)
@CGrover (lurking)
35:00 @charlesburnaford
- Newest thing is setting up demos with Blinka, so younger STEM groups can be taught CircuitPython.
36:02 @dakota.redstone (text only)
- Just not keeping ahead of the chaos…
- I download one version and start updating archives and devices and before I “finish” updates! (which IS a good thing…) I just need to work faster.
36:24 @danh
- Added
microprocessor.cpu.voltageto report current chip voltage, to be able to detect when supplied voltage starts to sag below regulator ability - Deleting non-CircuitPython ports from repo
- Back to bonding filesystem work
- Anticipating big BLE PR from tannewt
@Dave Briccetti (lurking)
38:00 @devoh (lurking)
- Will be checking out the contributing page for things I can help with.
38:06 @hierophect (can’t make meeting today)
- Worked on UART, which has gotten a little complicated
- Took a break to do DAC real quick, which is now finished
- Working on UART more this week, hoping to finish quickly
- Cleanup and board support once that’s done
@jasonp (lurking)
38:35 @jepler (lurking)
- Last 3 weeks: travel in Japan
- This week: getting over jet lag, looking for some easy issues.
38:40 @jerryn
- Testing building and using nina-fw 1.4.0 on several boards -- no issues
- Found that CP now builds on a Raspberry Pi under Raspian Buster! Nice!
- Following lead by @sommersoft, experimented with putting Ubuntu on a Raspberry Pi and building CP
- Working with a minor tweak
- My not be overly useful since it now builds under Raspian Buster
- But there is a “cool factor” to running Ubuntu on the RPi ;-)
- Upgraded MacBook Air to Catalina to test impact.
- With some effort , CP build tools are working
- Also tested blinka and ft232h -- no problems
- This week - traveling for work (brief recall from retirement)
- Looking into gmtime implementation request/issue #1663 for CP
41:25 @kattni
- Last week:
- Guide updates: Trellis, TMP006, ADXL345(3), MAX31856, Circuit Playground Bluefruit
- Blog posts for guide updates
- Deprecated multiple guides
- Finished OLED watch guide
- Updated PyPI project spreadsheet
- Worked with Justin and @sommersoft to get circuitpython.org/libraries/contributing updating daily
- Helped with getting the MCP9600 library PR going
- Set up Raspberry Pi for testing
- Tested Pixie on RPi, started updating Pixie guide.
- This week:
- Test on Raspberry Pi: ADXL345, MAX31856, all boards moving forward as guides are updated
- Finish updating Pixie guide
- Blog currently complete guide updates
- Add MCP9600 driver to the bundle
- Go through old MCP9600 code, alerts, interrupts etc. Add alerts and interrupts.
- Continue updating guides with CircuitPython Blinka Linux usage - Raspberry Python!
45:45 @krayola
- Last week:
- My week vanished without me working on most of the things I wanted to work on (and the holiday weekend here in Canada ate my spare time).
- Continued to work on trying to finish subclassing of _pixelbuf, but ran into a possible blocker: calling a python subclass method from a native .subscr appears not to work, though calling subclasses in the same way from "regular" native properties works.
- This week:
- All the things I mentioned in my status update last week (_pixelbuf iterable, native fill, finish making the subclasses work, and slice step support, as well as more compatibility testing).
47:00 @MakerMelissa
- Last Week:
- Created three examples for using RGB_Display with Pillow and CPython
- Worked on updating guides to add pages about running displays with RGB_Display on CircuitPython
- Fixed an issue with the RA8875 on the Raspberry Pi
- This Week:
- Finish up RA8875 Guide CPython Pages
- Add new 240x135 display example to RGB_Display
- Start working on eInk guides and changing over to using displayio
- Update eInk Python pages to work with similar examples to the TFT pages
@Mike B (lurking)
48:15 @ntoll (dad taxi means I can’t make this meeting)
- Not CircuitPython related directly: but a large amount of fiddly work on Mu to fix a problem with installing/using third-party PyPI modules in Python3 mode. I’ve had to transition Mu’s Python3 mode to working entirely in virtualenvs. This has a knock on effect with the iPython based console (it needs to run in such a way that the packages installed in the virtualenv are available within the REPL -- easier said than done). End result -- a new alpha very soon once all the wrinkles are ironed out.
48:59 @sommersoft
- Last Week:
- circuitpython.org via adabot:
- Added the assigned labels for each issue listed. Will allow for filtering of issues on the libraries/contributing page.
- RosiePi:
- Finally finished the Ansible playbooks, with success.
- Discovered that at least part of my initial structure was not going to work. Started an altered structure.
- Installed the RosiePi GitHub App on my CircuitPython fork and ran a test PR. It works! The Raspberry Pi "processed" all of the requests (every single one, to include the GitHub Actions).
- Started a status landing page. Its local-net only for now, but will help with checking the status of the RPi without having to ssh in.
- Next Week:
- RosiePi:
- Fight through current pip & $PYTHONPATH shenanigans.
shis giving me fits with how I have to fold in the different parts. - Start working on properly handling GitHub App requests (its a basic shell at this point).
- Investigate incorporating ccache for building firmware. Builds take about 9 minutes on my RPi3B+ setup.
- Whatever comes up, is suggested, or I stumble upon.
28:26 @tannewt
- Last week:
- Added active scanning/scan response support.
- Add bytes support.
- Added prefix filtering to advertisements to reduce the Python memory churn.
- Two broadcasting demos.
- This week:
- Advertising services and then
32:19 @thea
- Last week:
- Looking at some old issues in CircuitPython and seeing if they’re still relevant.
- Released a library that’s a basic driver for the Analog Devices AD5689 16-bit dac, KiCAD files for the breakout board are coming soon. :)
- This week:
- Working on PR to add board support for my Eurorack module.
52:45 In the Weeds
52:50 @kattni - I have a friend (@chickenfinga#1193 on Discord) who is looking for advice on Bluetooth beacons, w.r.t needing to find a cheap beacon he can flash, but is struggling to find any information about flashing any of them. Multi-part question: Has anyone successfully flashed a bluetooth beacon, if so, which one, and either way, does anyone understand flashing random chips well enough to help him through flashing a beacon without documentation on the beacon to help? He put together a gallery and description of what he’s trying to do here. He’s happy to buy whatever is necessary, but if there’s a particular chip that someone would be able to help with, he’s absolutely happy to go with that specific chip.
1:04:05 @krayola - I'd like to discuss how to call a non-native from a native subscr - if it's even possible . I'd also like to know if anyone knows of an example of making a native iterable (I haven't even tried looking, I've been stuck on the subscr issue).