ESP32 Input/Output Test

Agung Ahsary
2 min readFeb 13, 2022

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:

  1. ESP32 microcontroller board
  2. Micro-USB to USB cable
  3. A PC or laptop
  4. Arduino IDE software
  5. 1x 800 dots breadboard
  6. 4x male-female jumper wire
  7. 1x male-male jumper wire
  8. 1x 330 Ohm resistor
  9. 1x 10k Ohm resistor
  10. 1x LED
  11. 1x push button

Steps:

  1. 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!

--

--