Professional Documents
Culture Documents
6
There is a relationship between current, voltage and
resistance, which is represented by Ohm’s Law.
7
the voltage drop on a resistive component is
proportional to its resistance and the current flowing
through it.
= ×
Where:
Electric Power
= ×
Where:
8
voltage source of 9V
extra 7V
9
10
11
12
CircuitPython and MicroPython
What is MicroPython?
MicroPython is a tiny open source Python programming language
interpretor that runs on small embedded development boards. With
MicroPython you can write clean and simple Python code to control
hardware instead of having to use complex low-level languages like C
or C++ (what Arduino uses for programming).
Beyond its ease of use MicroPython has some unique features that set
it apart from other embedded systems:
13
Extensive software library. Like the normal Python
programming langauge MicroPython is 'batteries included' and
has libraries built in to support many tasks. For example parsing
JSON data from a web service, searching text with a regular
expression, or even doing network socket programming is easy
with built-in libraries for MicroPython.
Extensibility. For advanced users MicroPython is extensible
with low-level C/C++ functions so you can mix expressive high-
level MicroPython code with faster low-level code when you
need it.
14