ESP32
3V
ESP32
34
ESP32
GND
LED
to GND
Follow along on your ESP32
For Example
# analog in to pwm...
Analog to Digital Conversion
(ADC
) is the process of converting a varying voltage
(analog
) to a sequence of discrete voltages
(digital
). MicroPython
provides a convenient interface for this via ADC
, which can be used on any pin whose number is prep...
for
loops allow one to iterate (repeat) over a collection or sequence. Abstractly all for
loops share this structure:
for item in collection:
do something
But its often easier to understand them in action.
For Example
x = "Mary had a little lamb"
x = x.split(' ')
for i in x...
A voltage divider is a circuit that produces an output that is smaller than its input (where the output is voltage or current).
The above schematic represents the most basic way to use two resistors (labeled as Z1
and Z2
) to take some voltage (Vin
) and output a fraction of it (Vout
). The...
(Note: image sourced from here)
The ESP32
has a variety of pins, each of which perform different functions. For example, last week we looked at 3V
and GND
, pins which give us access to the power and ground on the device respectively.
The photo above highlights a number of pins t...