adafruit-circuitpython-week.../2019/2019-03-04.md
2019-03-04 15:58:37 -05:00

26 KiB
Raw Permalink Blame History

CircuitPython Weekly for 4 March 2019

Video is on YouTube.

1:52 Community News

Latest HackSpace magazine (issue 16) has 3 or so articles which include CircuitPython and some familiar community members! Check it out the latest issue on their site, free PDF download: https://hackspace.raspberrypi.org/issues/16

Jobs.adafruit.com - CircuitPython help wanted: https://jobs.adafruit.com/job/help-with-circuitpython-project/

CircuitPython related events coming up PyCon 2019 returns May 19, 2019 to Cleveland, Ohio. Adafruit + Digi-Key is a swag bag sponsor (Special edition red CPX), well also be doing open sessions and more, stay tuned for the blog / Discord for more.

March 11th, London, UK. Meet, learn and share ideas about MicroPython. Nicholas Tollervey will be telling us about the latest features of Mu - a free code editor for Python, MicroPython and CircuitPython devices.

KiCon is a KiCad user focused conference. Held for the first time ever, April 26th and 27th 2019 in Chicago IL. Adafruit is a sponsor - kicad-kicon.com

Send in yours! - @adafruit (pt)

Good PyPortals projects already, thanks yall!

5:02 State of CircuitPython + Libraries

Overall (Core only due to statistics bug)

  • 6 pull requests merged
  • 3 authors - siddacious, deshipu, dhalbert
  • 2 reviewers - tannewt, dhalbert
  • 6 closed issues by 6 people, 11 opened by 9 people

6:21 Core

Download stats by board:

Board 3.1.2 4.0.0-beta.2
arduino_mkr1300 - 51
arduino_mkrzero - 14
arduino_zero 317 7
catwan_usbstick - 2
circuitplayground_express 2103 64
circuitplayground_express_crickit 369 13
feather52832 68 -
feather_huzzah 548 -
feather_m0_adalogger 177 14
feather_m0_basic 233 27
feather_m0_express 521 43
feather_m0_express_crickit 45 3
feather_m0_rfm69 55 8
feather_m0_rfm9x 76 16
feather_m4_express 465 57
feather_nrf52840_express - 41
feather_radiofruit_zigbee - 3
gemma_m0 349 11
grandcentral_m4_express - 19
hallowing_m0_express 161 18
itsybitsy_m0_express 256 20
itsybitsy_m4_express 230 31
makerdiary_nrf52840_mdk - 2
makerdiary_nrf52840_mdk_usb_dongle - 3
meowmeow - 1
metro_m0_express 275 11
metro_m4_express 274 34
mini_sam_m4 - 3
particle_argon - 4
particle_boron - 1
particle_xenon - 1
pca10056 - 4
pca10059 - 18
pirkey_m0 22 0
pyportal - 10
sparkfun_lumidrive - 3
sparkfun_nrf52840_mini - 5
sparkfun_redboard_turbo - 5
sparkfun_samd21_dev - 3
sparkfun_samd21_mini - 8
trellis_m4_express - 20
trinket_m0 967 34
------------------------------------- -------- ---------------
Total 7511 632
------------------------------------- -------- ---------------

Download stats by language:

Board 3.1.2 4.0.0-beta.2
ID - 7
de_DE - 63
en_US 7511 504
es - 9
fil - 3
fr - 38
it_IT - 5
pt_BR - 3
-------- -------- ---------------
Total 7511 632
-------- -------- ---------------

8:22 Libraries

CircuitPython drivers page missing driver - 7

Example file(s) missing sensor/library name. - 34

For pypi compatibility, missing Adafruit-Blinka in requirements.txt - 9

For pypi compatibility, missing pypi provider in .travis.yml - 8

For pypi compatibility, missing setup.py - 9

Library has new commits since last release over a month ago. - 2

Library has new commits since last release within the last month. - 2

Library repository has no releases. - 4

Missing simpletest example. - 13

New repo(s) currently in work, and unreleased. - 5

Not in bundle. - 5

Not listed on PyPi for CPython use - 10

PyLint version not fixed - 1

PyLint version very out of date - 120

ReadTheDocs latest build has warnings and/or errors - 4

ReadTheDocs missing as a subproject on CircuitPython - 7

ReadTheDocs missing the latest release. (Ignore me! RTD doesn't update when a new version is released. Only on pushes.) - 69

Unable to find or create (no auth) GITHUB_TOKEN env variable - 4

10:23 Hug reports

@adafruit (lurking)

21:30 @brentru

  • @makermelissa for work on ESP/PyPortal work
  • @ladyada and @martym for work on the PyPortal. Marty helped with a few tweaks for the PyPortal library that will be super handy for image display.
  • @jerryn for continued testing on PyPortal and WiFi related issues
  • @siddacious for suggesting the Aseprite tool to me - Ive been playing with the trial on my free time and will hopefully end up using it in a guide)
  • Bonus @makermelissa for youtube video about home automation before smart homes were cool!

@cater - lurking

23:20@cgrover - text only

  • Group hug today to the community and team for the amazing work done on PyPortal! The abstraction provided by the pyportal class makes it sooo easy -- up and running in less than 10 minutes. Looking forward to the enhancements as I have plans…

@charlesburnaford - lurking

22:05 @danh

  • @siddacious, @sommersoft, @jerryn, @kevinjwalters, @ladyada for testing CircuitPython PRs, especially while @tannewt is out
  • @jerryn and @MakerMelissa for displayio/PyPortal testing and library work
  • @kattni and @sommersoft for library and meta-library work
  • @tannewt for displayio terminal, which is a wonder to behold
  • @deshipu for PewPew game board PR

24:03 @deshipu (text only)

  • @dhalbert for review and merging of PewPew 10 board
  • Everyone for continuing improvement of the world in general and CircuitPython in particular

24:30 @jasonp (lurking)

  • @madbodger, @danh, @ladyada, @jerryn and a few others who I am forgetting who helped me get displayio going on my Poor Man's PyPortal (Metro M4 Express + TFT )

24:45 @jerryn

  • Thank you to all involved with the release of the PyPortal. Lots of fun to be had!
  • @deshipu for getting pewpew into the CP repo.

@Josh (lurking)

10:30 @kattni

  • Everyone who has stepped up while Scotts been out to test/review/merge PRs on CircuitPython
  • @DanH for continuing to squash bugs on the road to 4.0
  • @Roy for helping me with code that had been blocking me for a week and a half.

@KingerNorth (lurking)

@ladyada

  • Hug to everyone who has been helping test ESP32SPI libs and code and PyPortal, very solid, lot of people testing, Bunch of people doing PyPortal projects
  • Siddacious for taking on the bitdepth project for bitmaps - for icons and so on, been working really solidly
  • Thanks to Melissa for helping out with issues, squashing bugs and testing stuff, awesome seeing you contribute to community
  • Tg-techie for Pyportal
  • UPDATE at same time (see in text below)

@MakerMelissa

  • @ladyada for giving people a heads up on the PyPortal release
  • @Siddacious for getting me a MetroWing to test with
  • Group Hug to everyone

16:30 @MikeBarela

  • Bug shout out to Ladyada and PT for PyPortal
  • To everyone helping out in the community

@Mr Certainly (lurking)

@petrofang (lurking)

@quantumobstruction (probably lurking)

18:25 @siddacious (text only)

  • @danh and @ladyada for testing and reviewing BMP codez
  • @sommersoft for a uge FrequencyIn PR

18:45 @sommersoft (text only)

  • @sajattack for getting their SAMD Rust work finished and merged. Been fun to watch the progress on that.
  • @kattni for the "kattni-on-the-spot" adabot merges over the weekend.
  • @adafruit for getting the PyPortals out to folks. Awesome device, and looks like people are enjoying it immensely.
  • Group Hug!

19:19 @tannewt

  • @kattni for running the meeting this week and last.
  • Group hug for everyone being awesome while Im gone.

20:00 @TG-Techie

  • Ladyada and PT for beta pyportal
  • Tannewt for helping with getting started with displayio
  • Kattni, Maker Melissa, Siddacious, Deshipu, DanH, for helping with mostly in general with a new chip or two and my git issues and PRs. Wonderful learning experience and grateful to all of you.

25:20 Status Updates

35:00 @brentru

  • Last Week:
  • This week:
    • Been working on a building a PyPortal IoT weather station
      • LOTS of i2c sensor breakouts - SGP30, BME280, VEML6075, and even an anemometer (using the analogin adc)
        • Hopefully will serve as an example/reference for using Adafruit IO CircuitPython and DisplayIO together.
    • Working on another guide, non-circuitpython related.

@cater - lurking

37:00 @cgrover - text only

  • Wrapped up the Range_Slicer CircuitPython library yesterday and am celebrating the successful completion of my first multiple-instance class today (with coffee and speculaas cookies). The class was derived from a synth project that needed to emulate a rotary switch with a potentiometer. It evolved into a general-purpose analog value converter that compresses or expands the input value then quantizes it into a collection of precise output slice values. The class detects input value changes and applies selectable hysteresis when slice edge thresholds are reached to eliminate noisy dead-zone issues, all without any internal delays in the code.
  • Applications include converting rotary knob position to MIDI control or note values, analog signal noise processing, as well as level detection and display. Have successfully tested up to 6 simultaneous instances with one of John Parks projects and will be using it as the primary processing algorithm for a new Eurorack module.
  • Next step is to test it with 16 simultaneous instances on the Grand Central M4 Express board. I also want to try replacing the linear algorithm with some non-linear processes that could be used for things like decibels, dew-point, and pH. I may get distracted by using it to create a NeoPixel strip/array color organ with multiple analog inputs and overlapping color zones. No Must. Finish. GitHub. Documentation. First.

39:20 @charlesburnaford

  • Finished MIDI ocarina. Going to build mouth organ

39:28 @danh

  • Fixed PWMOut TCC bug (thanks to @kevinjwalters for spotting it)
  • Fixed displayio refresh hang when trying to auto-reload
  • Reviewed lots of PRs
  • To do: finish cleaning up and fixing a few more issues for next 4.0 beta release

40:20 @dastels (text only)

  • PyPortal alarm clock project is done, guide is written. Just putting finishing touches on it and prototyping a case in cardboard. All CP. It turned out nicely, although faster/optimized screen update will make it nicer.

40:28 @deshipu

  • Cleaned up and merged the pewpew 10 code and board
  • Working on a version of PewPew for a large conference, secret for now
  • Got the PewPew working as a USB gamepad
  • I finally got the Hallowing going and will test displayio

@jasonp (lurking but may post text)

41:19 @jerryn

  • Spent lots of time trying guide examples on the PyPortal.
  • Found an issue concerning SPI conflict with displayio
    • Impacts use of SDCard on Py Portal
    • Impacted test of STMPE610 with displayio and tft featherwing.
  • Released updated ATControl with Wifimanager
  • Next week -- keep trying things

@Josh - lurking

26:17 @kattni

  • Last week:
    • Finished writing VEML7700 driver
    • Finished writing VCNL4040 driver
    • Finished PyPortal guide
    • Finished code for Noe and Pedros project
    • Completed driver for the MCP9600
  • This week:
    • Library Monday!
    • Potentially get hardware for MCP9600 and test driver
    • Make Fritzing objects for VEML7700 and VCNL4040
    • Update CharliePlex guide to work with breakout/FeatherWing/Bonnet
    • Write CharliePlex Bonnet guide
    • PyPortal project?

@KingerNorth (lurking)

@ladyada:

  • pyPortal and Graphics stuff. Created lib for shapes in ladyada repo - Display_Shapes
  • Display button UI element, text with different outines etc, basic UI elements, hypercard buttons - live with it!
  • PyPortal demos - soundboards
  • Update to Display Text in ladyada fork - to center text and create text bounding boxes - adjusted text entry point - right justified etc. - calculate width of string of font - Text Area and Display Bitmap Font - kind of breaking, needs testing!

28:00 @MakerMelissa

  • Last Week:
    • Didnt have much free time last week due to moving
    • Made some progress on my RA8875 Guide
    • Fixed some bugs in the RA8875 library and got those merged in
    • Did a few Code Reviews
    • Found a bug in CircuitPython that was crashing it into Safe Mode
    • Made some changes to the FeatherWing library to avoid I2C conflicts, but havent committed code yet.
    • Played around with PyPortal for a bit
  • This Week:
    • Still wont have much free time
    • Try to actually finish guide this week if time allows
    • Do finish up FeatherWing library changes and commit code
    • Work on some new FeatherWings as time allows

29:17 @MikeBarela

  • Not had as much Python time. If yall might know the Python on Hardware newsletter comes out Tuesdays, means Mondays are busy.
  • A little time with PyPortal - images from Star Trek (mainly ToS) - will be adding to FAQ that display cable came disconnected.
  • Guides!

@Mr Certainly (lurking)

@petrofang (lurking)

@quantumobstruction (lurking)

32:30 @siddacious

  • Last Week:
    • BMP bitdepths
    • Mushroom farm datalogger & AIO integration
  • This Week:
    • Driver work
    • More IOM (Internet of Mushrooms) work
    • Finally assembling the new board. Boooooo USPS

@sommersoft

  • Last Week:
    • adabot:
      • added import checks for renamed ure, ujson, and uerrno modules.
      • updated -v command arg to ensure validate_contents is always run [first], so that bundles that are in-work are not included in validator results. Does not run/output full results unless explicitly included as a validator.
    • FrequencyIn: PR is in!
  • This Week:
    • circuitpython-build-tools:
      • Work on folderizing example files
    • adabot:
      • Look into library insights results showing zeroes

33:24 @tannewt

  • Still very much on vacation so no work since before pycascades.
  • Folks in town for a couple more days

34:28 @TG-Techie

  • A lot of little things - tricorder is unofficially done, works, all the things are doing the things. In a functional state. Revision to MoBo want to make, but dont need to
  • Commit the GUI since it is from all testing stable - release as beta.
  • Another kid at school hooked on CP, been wonderful to see

43:10 In The Weeds

43:40 @jerryn -- only if time and if considered appropriate since this is not an Adafruit boards

  • Ran into issue with using EN pin on particle Xenon
    • 3.3 V only drops to 1V when EN grounded
    • Would appreciated if someone can reproduce/confirm
    • Seems to impact CP startup -- goes to Safe mode if EN used for power control
    • No problem if just using USB for power
    • Discovered when using xenon on tft-featherwing - on/off switch uses EN

50:50 @quantumobstruction - Jetson TX2 for Blinka support.

52:30 @tg-techie - porting new architecture, issue is IO vs code. FPGAs, would it be legal to implement the io register map from ATSAM to a core that runs RISC-V? Issue is that its complicated - start with IO thats been attached to RISC-V to begin with.

  • 55:10 Linux has a device tree driver for embedded systems to specify the peripherals, is that an idea?

58:30 Wrap-Up