Projects · Arduino / ESP32 / Pico

Discover Arduino Projects

Hundreds of projects from beginner to advanced — schematics, code, and videos.

ESP8266 First Program with the Onboard LED: Slow Blink and Heartbeat on a NodeMCU
E8-1Beginner

ESP8266 First Program with the Onboard LED: Slow Blink and Heartbeat on a NodeMCU

Upload your first code to an ESP8266. All you need is a NodeMCU V3 and a USB cable, no other parts. The blue LED on the board first blinks slowly three times, then beats four times like a heart with a double flash, and starts over. This LED is inverted: writing LOW to the pin turns it on, HIGH turns it off. The Serial Monitor also shows which part is running.

ESP8266 Web Page LED Control: Turn an LED On and Off from Your Phone with a NodeMCU
E8-3Beginner

ESP8266 Web Page LED Control: Turn an LED On and Off from Your Phone with a NodeMCU

Switch an LED on and off from the browser of your phone. The NodeMCU V3 joins your home Wi-Fi and serves a small web page; open the board's IP address on a phone in the same network and you get one big button. Every tap turns the LED on the breadboard on or off, and the page shows the state of the LED. No app and no account needed; the IP address is printed to the Serial Monitor. The ESP8266 only joins 2.4 GHz networks.

ESP8266 Router-Free LED Control: the NodeMCU Opens Its Own Wi-Fi Network (Access Point)
E8-4Beginner

ESP8266 Router-Free LED Control: the NodeMCU Opens Its Own Wi-Fi Network (Access Point)

Control an LED from your phone with no router and no internet. The NodeMCU V3 opens its own Wi-Fi network (BlueGrays-LED); join it with your phone and open 192.168.4.1 in the browser. The big button switches the LED on and off, three small buttons set the brightness to low, medium or full, and the bottom line shows how many devices are joined. This network has no internet: while the phone is on it, only the board's page opens.

ESP8266 Web Traffic Light: Red, Yellow, Green and an Automatic Cycle from Your Phone with a NodeMCU
E8-5Beginner

ESP8266 Web Traffic Light: Red, Yellow, Green and an Automatic Cycle from Your Phone with a NodeMCU

Run a three-color traffic light from your phone's browser. The NodeMCU V3 joins your home Wi-Fi and its page shows three round lamps: tap one and the red, yellow or green LED turns on or off. The AUTO button starts the cycle of a real traffic light: red for 3 s, green for 3 s, yellow for 1.5 s. During the cycle the page reloads every second and the board keeps answering your taps. The ESP8266 only joins 2.4 GHz networks.

ESP8266 LED Brightness with a Web Slider: PWM Dimming from Your Phone with a NodeMCU
E8-6Beginner

ESP8266 LED Brightness with a Web Slider: PWM Dimming from Your Phone with a NodeMCU

Move a slider in your phone's browser and let the LED follow your finger. The NodeMCU V3 joins your home Wi-Fi and serves a page with a single slider: 0% is off, 100% is full brightness. The board sets the brightness with PWM: it switches the pin on and off very fast, and the longer the on share, the brighter the LED looks. Every move sends the board a small request and the page never reloads. The ESP8266 only joins 2.4 GHz networks.

ESP8266 RGB LED Color Picker on the Web: Pick a Color on Your Phone and a NodeMCU Shows It at Once
E8-7Beginner

ESP8266 RGB LED Color Picker on the Web: Pick a Color on Your Phone and a NodeMCU Shows It at Once

Pick a color in your phone's browser and the RGB LED shows it. The NodeMCU V3 joins your home Wi-Fi and serves a page with a color picker. Every color is a mix of red, green and blue; the board sets the brightness of three pins with PWM. Every new color sends the board a small request and the page never reloads. The code is written for a common cathode LED; a common anode one needs a single line changed. The ESP8266 only joins 2.4 GHz networks.

ESP8266 Wi-Fi Signal Strength Bar: Find the Best Wi-Fi Spot at Home with a NodeMCU and 5 LEDs
E8-8Beginner

ESP8266 Wi-Fi Signal Strength Bar: Find the Best Wi-Fi Spot at Home with a NodeMCU and 5 LEDs

See the signal strength of your router on a bar of five LEDs, like the Wi-Fi icon of a phone. The NodeMCU V3 joins your home Wi-Fi, measures the signal twice a second and lights one LED for every level reached: -90, -80, -70, -60 and -50 dBm. Run the board from a power bank and walk around the house: the more LEDs light up, the better the spot. The first LED blinks while the board is looking for the network. There is no web page. The ESP8266 only joins 2.4 GHz networks.