micropython_workshop's People
micropython_workshop's Issues
Clarify functionality of `.isconnected()`
It would be easy to think that if.isconnected()
will block until the network is connected, instead of the actual functionality of immediately returning with the current network status. This should be clarified, and potentially the necessary wait loop provided:
while not sta_if.isconnected(): pass
Emphasise de-powering board prior to shield (dis)connection
It should be noted that the board should be unplugged prior to connecting or disconnecting a shield. While it can be done while powered, it greatly increases the chances of something going wrong and getting damaged - far better to just unplug the USB, take your time ensuring the shield orientation is correct and the shield is sufficiently pushed in, before reconnecting.
Contain all MicroPython files in repository
All files that are to be loaded onto the device prior to the workshop should be available in this repository. This will likely mean submoduling in any necessary external files, such as the LED Matrix driver and the OLED display driver.
Make more obvious that `np.write()` actually "applies" the colours to the LEDs
It's easy to think that when you set a pixel, it should update (which is not the case). This could be clarified by putting a comment in the code example with the np.write()
line.
Do something with MQTT page
Either fill it out or delete it, something must be done.
Fix LED Basics to better reflect ESP32
In the LED Basics section (of the getting started page) it is expected that the LED is inverted (like the Wemos D1 Mini one is). This isn't the case on the TTGO ESP32 board, and so this should be rectified.
Provide better `random` module documentation
The random
/ urandom
documentation has seemingly no documentation in the official MicroPython documentation, and the functions available in ESP8266 vs ESP32 are different. ESP32 should be explicitly targeted most likely as it has more useful functions, and these functions should be specified better.
random
is mentioned in the Digital Dice RGB LED Shield exercise.
Add documentation for urequests
Probably fork micropython-lib
and add it there?
Resolve buzzer shield requiring reset
On the ESP32 board, the buzzer shield will only make noise once before having to be reset to do it again. The cause of this should be identified to ease the user experience when developing / testing.
Mention additional Linux install steps
In order for communications to work on Linux, the tty
must have the correct permissions set. This should be added to the Linux install instructions.
Complete Shield documentation
- PIR
- Button
- Ambient light sensor
- IR controller
Add slides to introduce MicroPython at the start of the workshop
Clarify that it's D1 not Dl
The d1_mini
(dee one) import could be confused for dl_mini
(dee ell) - a clarifying statement could help reduce this confusion.
Consider migrating tools (rshell and mpfshell) to using Mu
Mu looks more appropriate for beginners and ought to work consistently across the major platforms.
Note: Currently the beta is required for ESP8266/32 comms.
Fix OLED Shield page
- Update images
- Make first example a bit prettier
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.