---
url: https://mikrojs.dev/examples.md
description: Mikro.js example projects
---

# Examples

Each example is a standalone project you can use as a starting point.

| Example                                          | Difficulty   | Description                                     |
| ------------------------------------------------ | ------------ | ----------------------------------------------- |
| [Blinky](/examples/blinky)                       | Beginner     | Blink an LED on and off                         |
| [PWM LED](/examples/pwm-led)                     | Beginner     | Fade an LED in and out using PWM                |
| [Schema](/examples/schema)                       | Beginner     | Runtime data validation with typed schemas      |
| [WiFi + Fetch](/examples/wifi-fetch)             | Intermediate | Connect to WiFi and fetch JSON from an API      |
| [WiFi Access Point](/examples/wifi-access-point) | Intermediate | Turn the ESP32 into a WiFi hotspot              |
| [HTTP Server](/examples/http-server)             | Intermediate | Serve a JSON API and SSE stream on the LAN      |
| [Captive Portal](/examples/captive-portal)       | Advanced     | AP + DNS redirect + auto-opening sign-in page   |
| [UDP Discovery](/examples/udp-discovery)         | Intermediate | Find peer devices on the LAN via UDP multicast  |
| [SNTP](/examples/sntp)                           | Intermediate | Sync the device clock via NTP                   |
| [RTC Counter](/examples/rtc-counter)             | Intermediate | Count wake-ups from deep sleep using RTC memory |
| [NeoPixel](/examples/neopixel)                   | Intermediate | Animated RGB LED patterns                       |
| [UART](/examples/uart)                           | Intermediate | Serial communication with UART loopback         |
| [BLE Beacon](/examples/ble-beacon)               | Intermediate | Broadcast sensor readings over BLE              |
| [BLE GATT](/examples/ble-gatt)                   | Advanced     | Connectable GATT peripheral with notify         |

More examples are available in the [examples/](https://github.com/mikrojs/mikro/tree/main/examples) directory on GitHub.
