Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions notebooks/12-MicroPython/12.01-What-is-MicroPython.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Why should problem solvers learn MircoPython?"
"### Why should problem solvers learn MicroPython?"
]
},
{
Expand Down Expand Up @@ -88,4 +88,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
2 changes: 1 addition & 1 deletion website/docs/12-MicroPython/12.01-What-is-MicroPython.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can try using MicroPython online with a browser-based [MicroPython online em
MicroPython can be installed on small, cheap microcontrollers like the [ESP8266](https://learn.adafruit.com/adafruit-feather-huzzah-esp8266). Anything these small microcontrollers can do, MicroPython can do. A microcontroller running MicroPython can read a remote sensor to measure things like temperature, humidity and light level. MicroPython can also be used to blink LED's, control arrays of LED's, or run small displays. MicroPython can control servo motors, stepper motors, and solenoids. Civil Engineers could use MicroPython to monitor water levels. Mechanical Engineers could use MicroPython to drive robots. Electrical Engineers could use MicroPython to measure voltage levels in embedded systems.

By the end of this chapter, you will learn how to use MicroPython, running on a small cheap ESP8266 board, to turn on and off a light and read a sensor.
### Why should problem solvers learn MircoPython?
### Why should problem solvers learn MicroPython?
Python is used to solve problems such as calculations, statistics, modeling, and visualization. But Python on its own is relatively limited in controlling devices outside the computer it's running on. You don't want to leave a laptop in a remote estuary to measure water temperature, but you could leave a little microcontroller and low-cost temperature sensor in a remote location. A small robot can't carry around a heavy laptop, but a small, light, low-power board could run a simple robot. You don't want to use a computer for every small electrical measurement or embedded system control, but a $2 WiFi module would work.

Besides, learning how to use MicroPython on small, cheap microcontroller can help problem solvers understand how programming works. Seeing and controlling a motor whirl is a different kind of feedback and excitement compared to seeing text on a screen that shows how fast a motor spins. Seeing an array of LED's light up produces a different kind of wonder compared to seeing a 2-D plot on a computer screen. Plus MicroPython is fun! It's as easy to program MicroPython as it is to program regular Python. The little projects you can do with MicroPython running on a small, low-cost board are almost unlimited. We could send MicroPython to space in a micro-satellite, or bury MicroPython underground in a boring machine, or launch MicroPython into the sky on a weather balloon.
Expand Down