HexaBit is a compact Raspberry Pi Pico project utilizing 6 LEDs (bits) to run various minimal yet functional applications. Designed to be simple, hackable, and educational, HexaBit demonstrates how much you can achieve with just a few GPIO pins and some clever coding.
Whether you're learning embedded systems or just want a cool multi-functional LED device, HexaBit is for you!
- Built on Raspberry Pi Pico
- Uses 6 LEDs for binary output
- Expandable with buttons, buzzers, etc.
- Written in MicroPython
- Modular app system for different use cases
- Raspberry Pi Pico
- 6 LEDs (any color)
- 6 Resistors (e.g., 1000Ω)
- Breadboard or PCB
- Push buttons for user input
- You can found this file in the diagrams folders📁.
| App # | Name | Description |
|---|---|---|
| 1️⃣ | Stopwatch | Binary stopwatch that counts seconds |
| 2️⃣ | Counter | Increment/decrement using input buttons |
| 3️⃣ | 1-Minute Timer | Countdown from 60 seconds (binary format) |
| 4️⃣ | 1-Hour Timer | Countdown from 3600 seconds |
| 5️⃣ | Clock | Real-time binary clock (HH:MM approx.) |
- Each app is loaded separately via MicroPython script.
- Keep in mind apps 3 and 4 are in one file, so one of the two has to be deleted.
- I have videos explaining the apps (Recomandation: see the videos in the order mentioned above)
- Connect your Raspberry Pi Pico to your PC.
- Flash it with MicroPython (if not already done).
- Clone this repo and upload files using Thonny.
- Modify
main.pyto choose the app you want to run. - Power up and enjoy your blinking bits!
- Add buzzer feedback for timers
- Add rotary encoder for input
- Use RGB LEDs for extra state feedback
- Add app switcher via long-press button logic
Experience HexaBit in action! Watch the videos below to see each app and feature demonstrated on real hardware.
| Title | Description | Watch |
|---|---|---|
| 🧭 Introduction | Overview of the HexaBit project and its capabilities. | Watch Video |
| ⏱️ Stopwatch | See the binary stopwatch counting seconds. | Watch Video |
| 🔢 Counter with Buttons | Increment/decrement the counter using button input. | Watch Video |
| ⏲️ Timers (Part 1) | Demonstrates the 1-minute and 1-hour timer logic. | Watch Video |
| ⏲️ Timers (Part 2) | Continuation of timer apps and extra behavior. | Watch Video |
| 🕒 Clock | Real-time binary clock display using LEDs. | Watch Video |
| 💡 Ideas for Expansion | Explore creative future possibilities with HexaBit. | Watch Video |
This readme file is a product of AI use.
