Difference: Switches (3 vs. 4)

Revision 42020-05-21 - UliRaich

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

Exercise 3: Switches

Introduction

Line: 31 to 31
 

Exercise 4:

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 allows to choose which GPIO to use and I selected D4 = GPIO 16

Added:
>
>

Exercise 5:

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

  • rolling ball switch
  • mercury switch
  • noise level detector (microphone)
  • hall sensor (detecting magnetic field)
  • reed relay (detecting magnetic field)
  • and many more...
Connect these sensors to the ESP32 and try them with the programs developed in exercise 1-3
  -- Uli Raich - 2020-05-06
 
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