Skip to content
Miscellany

From Miscellany

Difference between revisions of Programming with MicroPython

Comparing revision 430 and revision 431.

−=Book on Kindle=
+=[https://www.amazon.com/gp/product/B075X49VVH Book on Kindle]=
−:* [https://www.amazon.com/gp/product/B075X49VVH Purchased] 21 Aug 2022
:* [https://bit.ly/programming-with-micropython Book website]:* [https://bit.ly/programming-with-micropython Book website]
:** errata, examples, updates, etc.:** errata, examples, updates, etc.
==Contents====Contents==
:# What is MicroPython?:# What is MicroPython?
:# Pyboard:# Pyboard
:# BBC micro:bit:# BBC micro:bit
:# Adafruit Circuit Playground Express:# Adafruit Circuit Playground Express
:# ESP8266/ESP32:# ESP8266/ESP32
:# Thinking Embedded:# Thinking Embedded
:# Visual Feedback:# Visual Feedback
:# Input and Sensing:# Input and Sensing
:# GPIO:# GPIO
:# Networking:# Networking
:# Sound and Music:# Sound and Music
:# Robots:# Robots
:# Idiomatic MicroPython:# Idiomatic MicroPython
:# Next Steps:# Next Steps
==Resources====Resources==
===Code======Code===
:* [https://github.com/ntoll/programming-with-micropython GitHub for code samples]:* [https://github.com/ntoll/programming-with-micropython GitHub for code samples]
:* [https://github.com/micropython MicroPython GitHub]:* [https://github.com/micropython MicroPython GitHub]
:* [http://dfu-util.sourceforge.net/ dfu-util updating utility]:* [http://dfu-util.sourceforge.net/ dfu-util updating utility]
:* [https://github.com/bbcmicrobit/PythonEditor BBC micro:bit Python editor on GitHub]:* [https://github.com/bbcmicrobit/PythonEditor BBC micro:bit Python editor on GitHub]
:* [https://python.microbit.org/v/2 Web-based BBC micro:bit Python editor]:* [https://python.microbit.org/v/2 Web-based BBC micro:bit Python editor]
:* [https://codewith.mu/ Mu Editor for Python] cross-platform, beginner level but very [[Mu Editor|capable opensource code editor]]:* [https://codewith.mu/ Mu Editor for Python] cross-platform, beginner level but very [[Mu Editor|capable opensource code editor]]
:* [https://github.com/espressif/esptool ESP tool on GitHub] for ESP8266/ESP32:* [https://github.com/espressif/esptool ESP tool on GitHub] for ESP8266/ESP32
:* [http://micropython.org/webrepl/ WebREPL tool] for ESP8266/ESP32 on MicroPython's website:* [http://micropython.org/webrepl/ WebREPL tool] for ESP8266/ESP32 on MicroPython's website
:* [https://github.com/micropython/webrepl download WebREPL] for offline use:* [https://github.com/micropython/webrepl download WebREPL] for offline use
:* [https://github.com/espressif/esp-idf IoT Development Framework] for ESP8266/ESP32:* [https://github.com/espressif/esp-idf IoT Development Framework] for ESP8266/ESP32
===Devices======Devices===
:* PyBoard:* PyBoard
:** currently unavailable:** currently unavailable
:* BBC micro:bit:* BBC micro:bit
:** ordered from Amazon on 22 Aug 2022:** ordered from Amazon on 22 Aug 2022
:** arrived on 23 Aug 2022:** arrived on 23 Aug 2022
:* Adafruit Circuit Playground Express:* Adafruit Circuit Playground Express
:** ordered from [https://electromaker.io ElectroMaker] on 22 Aug 2022:** ordered from [https://electromaker.io ElectroMaker] on 22 Aug 2022
:** in same order, 2 @ Pimoroni [[Tiny2040]] boards (MicroPython capable):** in same order, 2 @ Pimoroni [[Tiny2040]] boards (MicroPython capable)
:* ESP8266/ESP32:* ESP8266/ESP32
:** several already on hand:** several already on hand
===Other Books & References======Other Books & References===
:* [https://www.python.org/ Python Language]:* [https://www.python.org/ Python Language]
:* [http://micropython.org/ MicroPython Project]:* [http://micropython.org/ MicroPython Project]
:* [http://docs.micropython.org/en/latest/ MicroPython documentation & tutorials]:* [http://docs.micropython.org/en/latest/ MicroPython documentation & tutorials]
:* [https://microbit.org/ BBC micro:bit Project]:* [https://microbit.org/ BBC micro:bit Project]
:* [https://microbit-micropython.readthedocs.io/en/v2-docs/ BBC micro:bit MicroPython tutorial]:* [https://microbit-micropython.readthedocs.io/en/v2-docs/ BBC micro:bit MicroPython tutorial]
:* [https://microbit.org/get-started/first-steps/introduction/ First Steps with BBC Micro:bit]:* [https://microbit.org/get-started/first-steps/introduction/ First Steps with BBC Micro:bit]
:* [https://calliope.cc/en Calliope Project]:* [https://calliope.cc/en Calliope Project]
:* [https://learn.adafruit.com/ Adafruit Learn]:* [https://learn.adafruit.com/ Adafruit Learn]
:* [https://www.adafruit.com/product/3333 Adafruit Circuit Playground Express]:* [https://www.adafruit.com/product/3333 Adafruit Circuit Playground Express]
:* [https://docs.circuitpython.org/en/latest/README.html Adafruit CircuitPython docs & tutorial]:* [https://docs.circuitpython.org/en/latest/README.html Adafruit CircuitPython docs & tutorial]
:* [https://core-electronics.com.au/guides/getting-started-with-circuit-playground/ Getting Started with Circuit Playground]:* [https://core-electronics.com.au/guides/getting-started-with-circuit-playground/ Getting Started with Circuit Playground]
:* [https://espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf ESP32 datasheet]:* [https://espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf ESP32 datasheet]
:* [https://www.greenteapress.com//html/index.html Think Python] shareware ebook:* [https://www.greenteapress.com//html/index.html Think Python] shareware ebook
:* [https://www.oreilly.com/library/view/a-whirlwind-tour/9781492037859/ Whirlwind Tour of Python] in 10-day free trial of O'Reilly learning platform]:* [https://www.oreilly.com/library/view/a-whirlwind-tour/9781492037859/ Whirlwind Tour of Python] in 10-day free trial of O'Reilly learning platform]
===Community======Community===
:* [https://www.python.org/psf/ Python Software Foundation]:* [https://www.python.org/psf/ Python Software Foundation]
==Common Acronyms & terms used in Python & MicroPython====Common Acronyms & terms used in Python & MicroPython==
:* REPL:* REPL
:** Read, Evaluate, Print, Loop:** Read, Evaluate, Print, Loop
:** "It's what you get when you type <code>python</code> from the command line and see three chevrons (>>>) prompting you to do some interactive Python programming.":** "It's what you get when you type <code>python</code> from the command line and see three chevrons (>>>) prompting you to do some interactive Python programming."
:* WebREPL:* WebREPL
:** Browser-based REPL used to communicate with ESP8266/ESP32 boards via local Wifi:** Browser-based REPL used to communicate with ESP8266/ESP32 boards via local Wifi
:* microfs:* microfs
:** tool that uses the USB serial connection for working with the filesystem in MicroPython:** tool that uses the USB serial connection for working with the filesystem in MicroPython
:* PWM:* PWM
:** Pulse Width Modulation:** 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:** 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:* 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.:** 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.
--------
[[Category:Books]][[Category:Books]]
[[Category:CircuitPython]][[Category:CircuitPython]]
[[Category:Coding]][[Category:Coding]]
[[Category:Electronics]][[Category:Electronics]]
[[Category:Hardware]][[Category:Hardware]]
[[Category:Learning]][[Category:Learning]]
[[Category:MicroPython]][[Category:MicroPython]]
[[Category:Microcontrollers]][[Category:Microcontrollers]]

Retrieved from https://wiki.kats-sites.net/index.php?title=Programming_with_MicroPython