Editing Tutorial Digital IO
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 11: | Line 11: | ||
== Related Components == | == Related Components == | ||
− | The components are related to the [[LMUBox]]. For more components, see the [[Hardware List | + | The components are related to the [[LMUBox]]. For more components, see the [[Hardware List]. Many of the pages on actuators and sensor include additional examples. |
=== Microcontroller === | === Microcontroller === | ||
− | |||
* [[ESP32 Web Kit]] with integrated OLED Display from Heltec | * [[ESP32 Web Kit]] with integrated OLED Display from Heltec | ||
− | * [[ESP8266 ESP-12F]] NodeMCU Module from AZDelivery | + | * [[ESP8266 ESP-12F]] NodeMCU Module from AZDelivery |
=== Actuators === | === Actuators === | ||
− | * [[LED]]s in different colors to connect externally | + | * [[LED]]s in different colors to connect externally, many in the |
− | * [[RGB LED]] multi-color LED | + | * [[RGB LED]] multi-color LED, 2x in the |
− | * [[LED Ring NeoPixel]] | + | * [[LED Ring NeoPixel]], |
− | * [[Piezo Speaker]] | + | * [[Piezo Speaker]], 2x in the |
− | * [[Speaker]] | + | * [[Speaker]], 2x in the |
− | * [[SG90 Servo]] Micro Servo Motor | + | * [[SG90 Servo]] Micro Servo Motor, 3x in the |
− | * [[Stepper Motor and ULN2003]] 28BYJ-48 ULN2003 5V Stepper Motor + ULN2003 Driver Board | + | * [[Stepper Motor and ULN2003]] 28BYJ-48 ULN2003 5V Stepper Motor + ULN2003 Driver Board; 2x in the |
* [[IRF520 Module]] Power MOSFET switching module ('electronic relay') | * [[IRF520 Module]] Power MOSFET switching module ('electronic relay') | ||
=== Sensors (and physical controllers) === | === Sensors (and physical controllers) === | ||
− | * [[push button]] | + | * [[push button]], several in the |
− | * [[Switch]] | + | * [[Switch]], |
* [[PIR Sensor]] passive infrared motion sensor | * [[PIR Sensor]] passive infrared motion sensor | ||
Line 36: | Line 35: | ||
The videos are a first test... the ones marked with ** will be replaced over the next months with new versions. | The videos are a first test... the ones marked with ** will be replaced over the next months with new versions. | ||
− | |||
− | |||
− | |||
== Digital Output: Adding an external LED to the controller == | == Digital Output: Adding an external LED to the controller == | ||
Line 45: | Line 41: | ||
<youtube>0KGgYsEZcZM</youtube> | <youtube>0KGgYsEZcZM</youtube> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Digital Output: Connectin an external LED (old version using WebREPL **) == | == Digital Output: Connectin an external LED (old version using WebREPL **) == | ||
Line 59: | Line 48: | ||
− | == PWM Output: connecting a servo | + | == PWM Output: connecting a servo (old version using WebREPL **) == |
− | In this video on youtube ( | + | In this video on youtube (14:40) we explain the concept of pulse width modulation (PWM) and how to program it in MicrpPython. We show how to use PWM to controll a servo: https://youtu.be/_4bXk8JjQSk |
− | |||
− | |||
− | |||
− | |||
− | |||
<youtube>_4bXk8JjQSk</youtube> | <youtube>_4bXk8JjQSk</youtube> | ||
Line 79: | Line 63: | ||
<youtube>va1beT6sxLs</youtube> | <youtube>va1beT6sxLs</youtube> | ||
− | |||
− | |||
− | |||
− | |||
− |