Difference: Switches (7 vs. 8)

Revision 82021-11-26 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="Exercises"

Exercise 3: Switches

Introduction

Line: 36 to 36
 The ESP32 has an interface to read capacitive touch sensors (see https://docs.micropython.org/en/latest/esp32/quickref.html?highlight=touchpad). Write a program to read out the touch sensor and to find out if a wire is touched or not. You may use this again to switch on and off LEDs.

Exercise 6:

Changed:
<
<
Write a program scanning the PIR sensor, indicating if a person is close. The PIR sensor, just like the push button, uses a single GPIO line as input. The boards allow choosing which GPIO to use, and I selected D4 = GPIO 16
>
>
Write a program scanning the PIR sensor, indicating if a person is close. The PIR sensor, just like the push button, uses a single GPIO line as input. The boards allow choosing which GPIO to use, and I selected D1 = GPIO 22
 

Exercise 7:

The sensor kit in the lab contains a big number of sensors acting like switches:

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback