Difference between revisions of "Programming with MicroPython"
From Miscellany
(Created page with " =Book on Kindle= :* [https://www.amazon.com/gp/product/B075X49VVH Purchased] 21 Aug 2022 :* [https://bit.ly/programming-with-micropython Book website] :** errata, examples,...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | =Book on Kindle= | + | =[https://www.amazon.com/gp/product/B075X49VVH Book on Kindle]= |
− | |||
:* [https://bit.ly/programming-with-micropython Book website] | :* [https://bit.ly/programming-with-micropython Book website] | ||
:** errata, examples, updates, etc. | :** errata, examples, updates, etc. | ||
Line 40: | Line 39: | ||
:* PyBoard | :* PyBoard | ||
:** currently unavailable | :** currently unavailable | ||
− | :* BBC micro:bit | + | :* [[BBC micro:bit]] |
− | + | :* Adafruit [[Circuit Playground Express]] | |
− | + | :* [[ESP32 & ESP8266|ESP8266/ESP32]] | |
− | :* Adafruit Circuit Playground Express | ||
− | |||
− | :* | ||
− | |||
− | |||
===Other Books & References=== | ===Other Books & References=== |
Latest revision as of 04:57, 30 August 2022
Contents
Book on Kindle
- Book website
- errata, examples, updates, etc.
- Book website
Contents
- What is MicroPython?
- Pyboard
- BBC micro:bit
- Adafruit Circuit Playground Express
- ESP8266/ESP32
- Thinking Embedded
- Visual Feedback
- Input and Sensing
- GPIO
- Networking
- Sound and Music
- Robots
- Idiomatic MicroPython
- Next Steps
Resources
Code
- GitHub for code samples
- MicroPython GitHub
- dfu-util updating utility
- BBC micro:bit Python editor on GitHub
- Web-based BBC micro:bit Python editor
- Mu Editor for Python cross-platform, beginner level but very capable opensource code editor
- ESP tool on GitHub for ESP8266/ESP32
- WebREPL tool for ESP8266/ESP32 on MicroPython's website
- download WebREPL for offline use
- IoT Development Framework for ESP8266/ESP32
Devices
- PyBoard
- currently unavailable
- BBC micro:bit
- Adafruit Circuit Playground Express
- ESP8266/ESP32
- PyBoard
Other Books & References
- Python Language
- MicroPython Project
- MicroPython documentation & tutorials
- BBC micro:bit Project
- BBC micro:bit MicroPython tutorial
- First Steps with BBC Micro:bit
- Calliope Project
- Adafruit Learn
- Adafruit Circuit Playground Express
- Adafruit CircuitPython docs & tutorial
- Getting Started with Circuit Playground
- ESP32 datasheet
- Think Python shareware ebook
- Whirlwind Tour of Python in 10-day free trial of O'Reilly learning platform]
Community
Common Acronyms & terms used in Python & MicroPython
- REPL
- Read, Evaluate, Print, Loop
- "It's what you get when you type
python
from the command line and see three chevrons (>>>) prompting you to do some interactive Python programming."
- WebREPL
- Browser-based REPL used to communicate with ESP8266/ESP32 boards via local Wifi
- microfs
- tool that uses the USB serial connection for working with the filesystem in MicroPython
- PWM
- Pulse Width Modulation
- a way to make digital signals emulate analog, by rapidly turning on and off while also controlling the time the voltage is on or off
- duty cycle ratio
- Because power is only applied [to digital devices] when the duty cycle is on, the average power delivered to the device is the duty cycle ratio multiplied by the "on" time.
- REPL