Video 18: Detecting Tilt

This video tutorial demonstrates how to use an ESP32 microcontroller with a tilt switch to control an LED, showcasing the setup, wiring, coding, and testing phases of the project.

  • Project Overview: Introduction to using the SunFounder ESP32 for detecting tilt angles with a tilt switch and LED indication.

  • Component Details: Explanation of the tilt switch mechanism, and the list of components required for the project.

  • Wiring Setup: Step-by-step guide on connecting the tilt switch and LED to the ESP32, including a schematic overview.

  • Coding Tutorial: Detailed walkthrough of the Arduino code needed to read the tilt switch state and control the LED.

  • Practical Demonstration: Real-time testing to show how the LED’s state changes in response to the tilt switch’s position.

  • Board and Port Selection: Instructions on how to select the ESP32 board and correct port in the Arduino IDE before code upload.

Video

Related On-line Tutorials