Uploaded December 2023 | Updated September 2026, 2 weeks ago
In this tutorial, we will be using the SunFounder ESP32 microcontroller to create a simple project that detects tilt using a tilt switch. When the tilt switch is activated, an LED will turn off, and when it is in its upright position, the LED will turn on. This project is not only a great introduction to working with tilt sensors but also serves as a foundation for various robotics applications. For a detailed visual guide, be sure to check the video linked above (in video at 00:00).
📚⬇️ Download and resource page robojax.com/RJT721
Use Chapters from timeline or click on the time
00:00 Start
1:44 Introduction Project
2:49 Documentation
6:43 Arduino Wiring explained
10:39 Arduino code explained
13:40 Selecting ESP32 board and COM port on Arduino IDE
15:22 Project Tilt demonstration
#robojax #SunFounder #ESP32
----------- Robojax.com -----------
Website: robojax.com
All tutorials: robojax.com/tutorial_categories.php?lang=en
Downloads files: robojax.com/files.php?lang=en
If you found this tutorial helpful, please support me so I can continue creating contents like this. (PayPal):
🔥paypal.me/robojaxTV
Follow me on Facebook fb.me/robojaxTV
Follow me on TikTok tiktok.com/@robojaxtv
Follow me on Twitter: twitter.com/robojaxTV
Follow me on Instagram: instagram.com/robojax
**** AFFILIATE PROGRAM ****
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.
In this tutorial, we will be using the SunFounder ESP32 microcontroller to create a simple project that detects tilt using a tilt switch. When the tilt switch is activated, an LED will turn off, and when it is in its upright position, the LED will turn on. This project is not only a great introduction to working with tilt sensors but also serves as a foundation for various robotics applications. For a detailed visual guide, be sure to check the video linked above (in video at 00:00).
📚⬇️ Download and resource page robojax.com/RJT721
Use Chapters from timeline or click on the time
00:00 Start
1:44 Introduction Project
2:49 Documentation
6:43 Arduino Wiring explained
10:39 Arduino code explained
13:40 Selecting ESP32 board and COM port on Arduino IDE
15:22 Project Tilt demonstration
#robojax #SunFounder #ESP32
----------- Robojax.com -----------
Website: robojax.com
All tutorials: robojax.com/tutorial_categories.php?lang=en
Downloads files: robojax.com/files.php?lang=en
If you found this tutorial helpful, please support me so I can continue creating contents like this. (PayPal):
🔥paypal.me/robojaxTV
Follow me on Facebook fb.me/robojaxTV
Follow me on TikTok tiktok.com/@robojaxtv
Follow me on Twitter: twitter.com/robojaxTV
Follow me on Instagram: instagram.com/robojax
**** AFFILIATE PROGRAM ****
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.



