MicroPython tutorial at SciPy 2020 conference

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
User avatar
rcolistete
Posts: 184
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil

MicroPython tutorial at SciPy 2020 conference

Post by rcolistete » Mon Feb 10, 2020 4:57 pm

I'm planning to submit a MicroPython tutorial to the SciPy 2020 Conferece @ Austin-TX, USA, July 6-12th 2020.

See the :
- SciPy 2020 Tutorial page, where we see that the submission deadline is February 15th (next Saturday), there is a stipend of US$1000 for the team of instructors, the tutorial takes half-day (4h with some 15-20 minutes break), etc;
- the SciPy 2018 Tutorials, when the "Scientific MicroPython on Microcontrollers" tutorial was presented using live hardware (Pycom LoPy boards with sensors) :
* MicroPython tutorial at SciPy 2018 @ GitHub, with documentation and MicroPython code;
* YouTube video - Scientific MicroPython on Microcontrollers | SciPy 2018 Tutorial | Roberto Colistete Jr

I call the help from the MicroPython community :
- as it is better to have 2-4 instructors instead of only one, so I need 1-3 other MicroPython instructors other than me;
- to have suggestions about the choice of MicroPython board and other hardware. In 2018 it was LoPy4 + Expansion Board + LoRa antenna + sensors (BME280, MPU6050);
- to have suggestions about the tutorial content, like dealing with sensors (reading and processing data), using WiFi and/or LoRa, publishing sensor data on local web server and/or IoT Cloud, etc.

In MicroPython tutorial @ SciPy 2018 :
- I was the only instructor and due to the interactive aspect of the MicroPython tutorial I've spent a lot of time dealing with USB connection bugs on Windows/Mac OS/Linux of attendees computers, explaining how to use the IDE softwares and tools, connect the sensors, etc;
- so the last 3 topics, "Reading and scientific data processing of an accelerometer sensor", Publishing sensor data on a local web server" and "Publishing sensor data on IoT (Internet of Things) Cloud" were not covered due to lack of time;
- there were 30 kits of LoPy4 + Expansion Board + LoRa antenna + sensors + cables for 30 attendees, plus 3 for the instructor (1 main and 2 as backups). 12 kits of LoPy4 + Expansion Board + LoRa antenna were lent by Pycom. The logistics were not simple at all...
- for 2/3 of the attendees, it was the first time they used a microcontroller, almost nobody has used MicroPython before, the same for any sensor board.

From the lessons learned from 2018, the goal is to organize a better MicroPython tutorial at SciPy 2020 :
* with more instructors (1 talking and the others helping the attendees);
* including new scientific MicroPython modules, like ulab ("micro" NumPy), etc;
* maybe with new hardware;
* etc.

User avatar
rcolistete
Posts: 184
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil

Re: MicroPython tutorial at SciPy 2020 conference

Post by rcolistete » Mon Feb 10, 2020 5:10 pm

Besides the MicroPython tutorial, the SciPy conference is a great place and oportunity to meet the (scientific) Python community, keep in touch with the trends, etc.

Like the MicroPython Sprint @ SciPy 2018, I'm also submitting a MicroPython Sprint at SciPy 2020, in the last 2 days (Saturday and Sunday), where more MicroPython instructors/advanced users are welcome to help boost the sprint activities : "live demonstrate MicroPython to SciPy conference users and attract new developers to contribute to scientific MicroPython modules, for example, by porting/adapting scientific Python 3 modules".

User avatar
rcolistete
Posts: 184
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil

Re: MicroPython tutorial at SciPy 2020 conference

Post by rcolistete » Mon Feb 10, 2020 6:29 pm

Post about the MicroPython board options, there is a need of 21-31 units for the MicroPython tutorial :

1) LoPy4 + Expansion Board + LoRa antenna :
* each kit takes a lot space;
* expensive (LoPy4 + Expansion Board + LoRa antenna = EUR56.40 );
* lots of RAM (4MB PSRAM);
* WiFi, Bluetooth, LoRa, SigFox;
* Pycom MicroPython with excellent LoRa support;
I have 12 LoPy4 + 2 FiPy + 2 LoPy (old one, can be backup);

2) Pyboard D SF2W/SF3W/SF6W :
* small;
* expensive (SF2W = UKP36.50 excl VAT);
* it is the reference board for MicroPython;
* very easy to use (USB mass storage to copy files, rshell works 100%, etc), ;
* WiFi, Bluetooth;
I have 6 Pyboard D SF2W, 1 SF3W, 1 SF6W.

3) M5StickC :
* small;
* cheap (US$9.95);
* bultin colour LCD 0.96" 80x160 screen, MPU6886 acell/gyro, microphone, small battery;
* WiFi, Bluetooth;
I have 5 M5StickC.

Any other MicroPython board ?

One possibility is the the maker lend some boards, like Pycom did in 2018.
Last edited by rcolistete on Thu Feb 13, 2020 10:51 am, edited 1 time in total.


yamanoorsai
Posts: 2
Joined: Tue Feb 11, 2020 3:19 pm

Re: MicroPython tutorial at SciPy 2020 conference

Post by yamanoorsai » Tue Feb 11, 2020 4:45 pm

I would like to throw my hat in the ring for being a co-instructor. A couple of weeks ago, I conducted a workshop on Micropython Programming using the ESP32 at the AIoT devfest in Phoenix, AZ.

Also, have you considered the ESP32? For our workshop, we put together a couple of add-on sensors along with the ESP32.

User avatar
rcolistete
Posts: 184
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil

Re: MicroPython tutorial at SciPy 2020 conference

Post by rcolistete » Thu Feb 13, 2020 10:48 am

yamanoorsai wrote:
Tue Feb 11, 2020 4:45 pm
I would like to throw my hat in the ring for being a co-instructor. A couple of weeks ago, I conducted a workshop on Micropython Programming using the ESP32 at the AIoT devfest in Phoenix, AZ.
Thanks ! I'll send you a PM later today.
yamanoorsai wrote:
Tue Feb 11, 2020 4:45 pm
Also, have you considered the ESP32? For our workshop, we put together a couple of add-on sensors along with the ESP32.
LoPy4 and M5Stick are boards with ESP32.
Which ESP32 have you used ?

User avatar
rcolistete
Posts: 184
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil

Re: MicroPython tutorial at SciPy 2020 conference

Post by rcolistete » Thu Feb 13, 2020 10:50 am

jedie wrote:
Tue Feb 11, 2020 8:26 am
The whole M5 stuff is nice, but mainline micropython has no good support for periphery,isn't it?
Yes.
But UIFlow firmware is MicroPython v1.11 with some drivers, etc, from M5Stack. Just remove the bloated "main.py" and it is a good MicroPython option.

yamanoorsai
Posts: 2
Joined: Tue Feb 11, 2020 3:19 pm

Re: MicroPython tutorial at SciPy 2020 conference

Post by yamanoorsai » Thu Feb 13, 2020 12:50 pm

Which ESP32 have you used ?
I used a dev board clone I found on Amazon. They were about $7 a piece.

Post Reply