Introduction
The ESP32 is a microcontroller development board that can control electronic components through its digital GPIO pins. In this project, PictoBlox is used to program the ESP32 to produce a repeating HIGH–LOW output. This output can control a compatible LED and introduces the fundamentals of hardware programming.
Prerequisites / Setting Up the Hardware
Setting Up the Hardware
- Open PictoBlox and create a new block project.

- Select ESP32 as the board.

- Connect the ESP32 board to the computer using a USB cable.

Step-by-Step Block Coding Guide
- Switch to upload mode

- Add the ESP32 Start Block

- Add a Forever Loop

- Add set digital pin [2] output as [HIGH]. The selected GPIO output becomes HIGH.

- Add wait [1] seconds to keep the output HIGH for one second.

- Add set digital pin [2] output as [LOW] to switch the output to LOW.

- Add another wait [1] seconds block before the loop repeats.

- Upload and Run the Program.
Output Video
ESP32 led blinking output video
Conclusion
You learned how to connect an ESP32 to PictoBlox and configure a digital output.
You created a repeating LED-blinking sequence using visual programming blocks.
You explored the relationship between GPIO states and electronic components.
This project builds a foundation for controlling sensors, LEDs, and other actuators with ESP32.


