The “Hello World” of Electronics
If you are just starting your journey into IoT or robotics, there is no better first step than the classic “Blink LED” project. It’s the perfect way to make sure your board is set up correctly and your code is working.
Today, we are looking at the three most popular boards I use at GadgetGo: the Arduino Uno, the Arduino Nano, and the ESP32.
The Boards at a Glance
Not sure which one is right for your project? Here is a quick breakdown:
-
Arduino Uno: The classic. Best for learning and easy-to-use connections.
-
Arduino Nano: The compact king. Perfect for small projects where space is limited.
-
ESP32: The powerhouse. Includes built-in Wi-Fi and Bluetooth for when you are ready to take your project online.
Getting Started: What You Need
To follow along, you’ll need a few essentials. You can find all of these in our shop:
-
ESP32 WOOM-32 Type-C CH340C Development Board Dual Core WiFi Bluetooth
Microcontrollers & Development $ 5 -
Nano 3.0 ATmega328P Type-C USB CH340 Controller Board Compatible to Arduino Nano CH340 USB Driver Nano V3.0 ATmega328
Microcontrollers & Development $ 4 -
UNO R3 Board ATmega328P with USB Cable(Arduino-Compatible) for Arduino, Input Voltage 7-12V, 16MHZ,14 Digital 1/0 pins Support PWM, SRAW 2KB,
Microcontrollers & Development $ 10
The Wiring Guide
The wiring is consistent for all three boards:
-
Connect the long leg (Anode) of the LED to the Digital Pin (e.g., Pin 13 or D2).
-
Connect the short leg (Cathode) to the GND (Ground) pin through your 220Ω resistor.
The Code
The great thing is that the logic is the same! Just make sure to select the correct board in your Arduino IDE menu.
C++
// Simple Blink Code
int ledPin = 13; // Change to D2 for ESP32
void setup() {
pinMode(ledPin, OUTPUT);
}
void loop() {
digitalWrite(ledPin, HIGH);
delay(1000); // Wait for a second
digitalWrite(ledPin, LOW);
delay(1000); // Wait for a second
}
Need Help?
Building your first circuit is a big deal! If you run into any trouble, send me a message on the [GadgetGo Facebook Page] or stop by the shop. I’m always happy to help you debug your code or help you pick the right board for your next project.
Ready to start building? Grab your components above:



