ESP32 Input/Output Test
This time we are going to make an input/output (I/O) test on our ESP32 board
Enough chit-chat, let’s get straight into it.
What you need:
- ESP32 microcontroller board
- Micro-USB to USB cable
- A PC or laptop
- Arduino IDE software
- 1x 800 dots breadboard
- 4x male-female jumper wire
- 1x male-male jumper wire
- 1x 330 Ohm resistor
- 1x 10k Ohm resistor
- 1x LED
- 1x push button
Steps:
- Connect cables, resistors, LED etc. as shown as the picture below.
2. Connect your ESP32 to your computer using Micro-USB to USB cable.
3. Do an initial setup for your ESP32 board like in this article https://agungahsary255.medium.com/how-to-make-esp32-built-in-led-blink-b16b7cb4c6fa (step 3 and step 4).
4. Write this code on your Arduino IDE.
5. Upload your code.
6. If succeed and nothing’s broken, if you push the button on your breadboard, the LED should be turned on. But there is something wrong with mine so the LED won’t turn on like shown on the GIF below.
This has been my tutorial, hope yours works and have a good day! Cheers!