Home > Projects > LED Projects > Light Painters Palette aka Light Box

Light Painters Palette aka Light Box

Summary of Light Painters Palette aka Light Box


Summary: A DIY light painters palette (light box) using an Arduino controls a tri-color LED breakout with potentiometers, switches, and IR remote for color mixing. The builder describes drilling an enclosure, wiring potentiometers to analog inputs, switches to digital inputs with pulldown resistors, wiring an IR receiver and PWM LED data lines, flashing provided firmware, and powering from four AA batteries.

Parts used in the Light Painters Palette aka Light Box:

  • Arduino (Pro Mini used; Uno or Leonardo also compatible)
  • FTDI Basic (for programming Pro Mini, if using Pro Mini)
  • Tri Color LED Breakout Kit
  • Rocker Switch (power switch)
  • Battery holder for 4 AA batteries
  • 2 Toggle Switches (SPDT)
  • 2 10k Resistors (pulldown resistors)
  • 3 10k Potentiometers
  • 3 Knobs (Red, Green, Blue)
  • IR Receiver (38 kHz variety)
  • IR Remote (NEC compatible or other compatible remote)
  • Enclosure (project box)
  • Hookup wire
  • 4 nut and bolt combos to fit LED kit board
  • LED bevel
  • Protoboard (optional, used as power and ground rail)

Today I’m going to show you how I made my “light painters palette” aka light box. If your into electronics and photography than this is probably something you are going to like.

Light Painters Palette aka Light Box

Supplies:
-Arduino (I’m using a arduino pro mini which requires a ftdi basic to program, But an uno or leaonardo… would work just fine)
Tri Color LED Breakout Kit
Rocker Switch
-A Battery Holder for 4 AA‘s
-2 Toggle Switches
-2 10k Resistors
-3 10k Potentiometers
-3 Knobs (RedGreen, and Blue)
IR Receiver (Almost any 38 kHz variety will work)
-IR Remote, mine came from a LED strip that burnt out. But any NEC remote works with some software adjustments (You could just buy one of these, have to check the remote codes)
-Enclosure of some sort, I used this one
-Some hookup wire
-4 little nut and bolt combo’s that fit the Tri-Color LED Kit board
-LED bevel (doesn’t even really fit the IR receiver, but oh well)

Building Supplies:
Drill and an assortment of bits
Soldering Iron
Flux and Solder
Wire cutters and strippers
Dremmel tool or jewelers saw
Double sided tape

Step 1: Hardware

Hardware

To build it just drill a bunch of holes in the lid to your enclosure, mount the parts with their included hardware. Be careful not to space the potentiometers to close or they might not fit, my was too close for comfort. I mean that was totally planned. I’d suggest orienting the microcontroller so the analog inputs are on the side of the potentiometers, and the digital inputs are on the side of the switches. Use the double sided tape to secure the battery holder to the bottom of the enclosure. The power switch seemed to fit nice on the side. Give enough wire between the battery and power switch to the lid so you can open it easily. I also tried to make sure to wire the components through the bottom of the Arduino so if I needed to probe around I had some room. I used a spare piece of protoboard for a power and ground rail, however that’s not necessary. You could just solder a huge ball of wire ends together. Flash the microcontroller with the software I’ve got here, drop in some batteries, close up the lid and your done!

The Potentiometers have three solder points, one side to 5V, one side to Gnd, the center to an analog input. If the sides are backwards then just flip the last two values in the mapping function after the analogRead functions in the software. This will reverse the clockwise vs counter-clockwise brightening/dimming relationship. I’d suggest a clockwise turn makes the LED’s brighter.
The switches are SPDT, so one side goes to 5V, one side has a wire to the digital input and a 10K to Gnd. The 10k is a pulldown resistor which just makes sure the switch stays in determinate state all the time.
The IR Receiver has 5V, GND and Data lines from right to left (check your data sheet to be sure, I’ve burnt a couple of these for sure). The data line can connect to any digital input pin.
The LED’s breakout kit has a 5V, Gnd, and data lines for each of the three colors. Be sure to wire these to a PWM pin, maybe not pin 5 and or 6 because I think they mess with the delay function and you might not be able to turn that LED all the way off. What ever is closest to the mounting spot.
The batteries get wired to the Raw and Gnd inputs. Send the positive lead through the power switch first.
Make sure however you wire it that it matches the software parameters!!

For more detail:  Light Painters Palette aka Light Box

Quick Solutions to Questions related to Light Painters Palette aka Light Box:

  • What Arduino can I use for the project?
    The article uses an Arduino Pro Mini but states an Uno or Leonardo would work fine.
  • How are the potentiometers wired?
    Each potentiometer side goes to 5V and Gnd, and the center goes to an analog input; reverse the last two mapped values in software if direction is reversed.
  • How should the toggle switches be wired?
    Use SPDT wiring with one side to 5V, the middle to a digital input, and a 10k pulldown resistor to Gnd.
  • Where does the IR receiver connect?
    The IR receiver has 5V, GND, and Data lines (from right to left); the data line connects to any digital input pin.
  • Which pins should the LED data lines use?
    Wire LED data lines to PWM pins; avoid pins 5 and 6 if they interfere with delay and turning LEDs fully off.
  • How is the battery connected to the Arduino?
    Batteries are wired to Raw and Gnd inputs, with the positive lead routed through the power switch first.
  • Do I need a protoboard for power rails?
    No, protoboard was used optionally for power and ground rails; you can solder wires together instead.
  • What should I check before powering up?
    Ensure wiring matches the software parameters and correct pin assignments.
  • Can any IR remote be used?
    Any NEC remote can work with software adjustments; the article used a remote from an LED strip and suggests checking remote codes.
  • How should I orient components in the enclosure?
    Place potentiometers near analog inputs and digital inputs near switches; secure battery holder with double sided tape and leave enough wire slack to open the lid.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top