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,...")
 
Line 1: Line 1:
  
=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.

Revision as of 23:01, 26 August 2022

Book on Kindle

Contents

  1. What is MicroPython?
  2. Pyboard
  3. BBC micro:bit
  4. Adafruit Circuit Playground Express
  5. ESP8266/ESP32
  6. Thinking Embedded
  7. Visual Feedback
  8. Input and Sensing
  9. GPIO
  10. Networking
  11. Sound and Music
  12. Robots
  13. Idiomatic MicroPython
  14. Next Steps

Resources

Code

Devices

  • PyBoard
    • currently unavailable
  • BBC micro:bit
    • ordered from Amazon on 22 Aug 2022
    • arrived on 23 Aug 2022
  • Adafruit Circuit Playground Express
    • ordered from ElectroMaker on 22 Aug 2022
    • in same order, 2 @ Pimoroni Tiny2040 boards (MicroPython capable)
  • ESP8266/ESP32
    • several already on hand

Other Books & References

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.