Next Step - Basics

ESP32-XRPL Developer Kit: Getting Started Tutorials

Welcome to the exciting world of the ESP32-XRPL Developer Kit! This introductory phase is your launchpad into blending IoT with blockchain magic, using the powerful ESP32 microcontroller.

Dive into these fun, hands-on tutorials to bring your projects to life with lights, sounds, and displays. Follow along at your own pace, and tackle the optional challenges if you’re ready to level up.

Let’s spark your creativity and get you prepped for the advanced network monitoring adventures ahead!


Clone the Repository

You can use the following command, download a Zip file or Clone our repository from GitHub

https://github.com/Handy4ndy/ESP32-XRPL

git clone https://github.com/Handy4ndy/ESP32-XRPL.git

To access tutorials and code, Navigate to Little_Ledger/Developer_Kit. This open-source hub fuels your learning, start with the Basics then dive into Advanced network monitoring for XRPL and Xahau!

Happy coding! 🚀


Get Glowing! Kick off your journey by controlling an RGB LED with the ESP32. Watch it cycle through slow blinks of red, green, and blue, fade into random colors, or blink fast with a twist of randomness. Using millis() for smooth timing, this tutorial is your first step into coding magic. Hook up your LED, upload the code, and see the colors dance—debug with the Serial Monitor for extra fun!

  • What You Need: ESP32, RGB LED, breadboard, jumper wires.

  • Fun Highlight: Three dazzling modes to explore!

  • Challenge (Optional): Refactor with a switch case and add a button to toggle the LED.

https://github.com/Handy4ndy/ESP32-XRPL/tree/main/Little_Ledger/Developer_Kit/Basic/01-Blink


Tutorial 02: Button

Take Control! Level up by adding a button to switch your RGB LED modes. Press to cycle through slow blinks, fast fades, or rapid blinks, all while keeping things reliable with debouncing. This tutorial puts you in the driver’s seat of your creation. Connect your button, upload the code, and enjoy the interactive glow!

  • What You Need: ESP32, RGB LED, tactile button, breadboard, jumper wires.

  • Fun Highlight: Command the LED with every press!

  • Challenge (Optional): Add a new Rainbow Cycle mode or detect a long press to reset.

https://github.com/Handy4ndy/ESP32-XRPL/tree/main/Little_Ledger/Developer_Kit/Basic/02-Button


Tutorial 03: Alerts

Hear the Action! Add sound to the mix with a speaker or buzzer! This tutorial lets you cycle through RGB LED modes with a short alert sound per press, and a long 5-second press triggers a cool melody. It’s a symphony of lights and sounds waiting for you to conduct. Wire it up, upload, and let the alerts ring!

  • What You Need: ESP32, RGB LED, tactile button, speaker/buzzer, breadboard, jumper wires.

  • Fun Highlight: Audio alerts bring your project to life!

  • Challenge (Optional): Craft unique melodies for each mode or remix the long-press tune.

https://github.com/Handy4ndy/ESP32-XRPL/tree/main/Little_Ledger/Developer_Kit/Basic/03-Alerts


Tutorial 04: Display

See the Magic! Bring it all together with an OLED display showing off a loading XRPL logo at startup and updating with your current RGB mode. Press the button to switch modes, and hold for a melody display update. This tutorial turns your project into a visual masterpiece. Connect the display, upload, and watch it shine!

  • What You Need: ESP32, RGB LED, tactile button, speaker/buzzer, 0.96" OLED, breadboard, jumper wires.

  • Fun Highlight: A stunning display adds flair to your creation!

  • Challenge (Optional): Customize the display with color info or swap the logo with your own design.

https://github.com/Handy4ndy/ESP32-XRPL/tree/main/Little_Ledger/Developer_Kit/Basic/04-Display


Ready for More?

These tutorials are your foundation, perfect for beginners and tinkerers alike. Once you’ve mastered the basics, gear up for the Advanced section where we’ll dive into network monitoring sketches to connect your devices to the XRPL and Xahau ecosystems. Happy coding, and let’s build something amazing! 🚀

Last updated