Muhammad Darell Raindityo - 511575 - Logbook 1
Muhammad Darell Raindityo - 511575 - Logbook 1
Muhammad Darell Raindityo - 511575 - Logbook 1
This schematic connects the D2 Pin on the ESP32 to the resistor that connects to the LED.
The other side of the LED connects to GND on the ESP32
Code Listing
#define LED_PIN 4
void setup() {
pinMode(LED_PIN, OUTPUT);
}
void loop() {
digitalWrite(LED_PIN, HIGH);
delay(500);
digitalWrite(LED_PIN, LOW);
delay(500);
}
I completed the LED Blink experiment using the ESP32 DEVKIT V1 DOIT, an LED, a
220 Ohm resistor, a breadboard, and jumper wires. After meticulously connecting the
LED’s anode to GPIO 2, I configured the Arduino IDE for the ESP32 and programmed it
for the desired LED blinking sequence.
However, during program upload, the LED didn’t light up due to an unrecognized port. I
resolved this by installing the CP210X driver, which allowed successful port recognition as
COM7. Yet, a new error emerged: “A fatal esptool.py error occurred: Cannot configure
port. PermissionError(13, ‘A device attached to the system is not functioning.’, None, 31).”
This experience emphasized the importance of precise board and port configurations.
Despite setbacks, the experiment enhanced my troubleshooting skills in microcontroller
programming with the ESP32.
Kesimpulan
In summary, the LED Blink experiment using the ESP32 DEVKIT V1 DOIT provided
valuable insights into microcontroller programming and practical electronics. By
showcasing the ESP32’s capabilities in interfacing with external components via GPIO
pins, I deepened my understanding of its versatile functionalities. Beyond technical
aspects, the ESP32 plays a pivotal role in the broader Internet of Things (IoT) ecosystem.
Its features—such as WiFi and Bluetooth support, diverse I/O options, and compatibility
with popular development environments like Arduino IDE—make it a potent tool for
crafting sophisticated applications.
Despite encountering challenges during program execution, this experience enhanced my
problem-solving skills and underscored the practical significance of comprehending the
intricacies of the ESP32. As I continue my journey in microcontroller programming, I
recognize the crucial role the ESP32 plays in successfully implementing innovative
projects.
Praktikan
Muhammad Darell
Raindityo
(Nama)