A simple toy demonstrating how an RGB LED works. By adjusting potentiometers, users can mix red, green, and blue light to create any color in the RGB spectrum.
- Overview
- Features
- Hardware Components
- Enclosure Design
- Getting Started
- Assembly Instructions
- Usage
- Contributing
- License
- Acknowledgments
This project consists of a PCB board designed in KiCad and an enclosure designed in OpenSCAD, which can be 3D printed. The circuit allows users to adjust the intensity of red, green, and blue channels of an RGB LED using potentiometers, creating a full range of colors.
- RGB Color Mixing: Adjust potentiometers to mix red, green, and blue light.
- Custom PCB Design: PCB board designed using KiCad.
- 3D Printable Enclosure: Box designed in OpenSCAD for housing the PCB.
- Electronics:
- 1 x Common Cathode RGB LED
- 3 x Potentiometers (e.g., 10kΩ linear taper)
- 3 x Current-limiting resistors for the RGB LED (calculate based on your LED specs)
- 3 x Rocker switches
- 1 x PCB (design files included)
- 3 x AAA battery
- Wires and connectors as needed
- Some M2 screws
- Tools Required:
- Soldering iron and solder
- Wire cutters/strippers
- Multimeter (optional for testing)
Components examples:
- Software: OpenSCAD
- Files: Enclosure design files are located in the
/openscad_src
directory. - Printing: Compatible with most FDM 3D printers; designed for easy assembly.
- Software: KiCad
- Files: PCB board design files are located in the
/kicad_src
directory. - Ordering: I ordered mine from PcbWay using quick setup feature and default settings.
- Software:
- Hardware:
- Access to a 3D printer for printing the enclosure
- PCB fabrication service or equipment
-
Clone the Repository
git clone https://github.com/KubaTaba1uga/electronics_rgb_led_toy.git
-
Install Required Software [Optional]
- Download and install KiCad and OpenSCAD if you plan to modify the designs.
-
**Access
This project is licensed under the MIT License.