Skip to content

A simple project 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.

License

Notifications You must be signed in to change notification settings

KubaTaba1uga/electronics_rgb_led_toy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RGB LED toy

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.

Project Image

Table of Contents

Overview

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.

Features

  • 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.

Hardware Components

  • 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:

Enclosure Design

  • Software: OpenSCAD
  • Files: Enclosure design files are located in the /openscad_src directory.
  • Printing: Compatible with most FDM 3D printers; designed for easy assembly.

PCB Design

  • 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.

Getting Started

Prerequisites

  • Software:
    • KiCad for viewing/modifying PCB files
    • OpenSCAD for viewing/modifying the enclosure
  • Hardware:
    • Access to a 3D printer for printing the enclosure
    • PCB fabrication service or equipment

Usage

  1. Clone the Repository

    git clone https://github.com/KubaTaba1uga/electronics_rgb_led_toy.git
  2. Install Required Software [Optional]

    • Download and install KiCad and OpenSCAD if you plan to modify the designs.
  3. **Access

License

This project is licensed under the MIT License.

Acknowledgments

  • Inspired by basic electronics and the desire to make learning interactive.
  • Thanks to the communities of KiCad and OpenSCAD for their amazing tools.
  • Thanks to Charles platt (Make: Electronics) and Paul Sherz, Simon Monk (Practical Electronics for Inventors) for their awesome books.

About

A simple project 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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published