# The Learning Circuit 24: Diode Logic Light Box

Version 5
 element14 PresentsLearn basic electronics, explore STEM subjects, get what you need to know to get started on electronics projects, and more.Back to element14 Presents homepage The Learning Circuit sudo Sergeant The Ben Heck Show

 In today’s episode, we’re going to make a project using Diodes and Logic. Karen wants to build a skylight where there four LEDs, a white one for the moon and three colors (green, blue, and purple) for three different clusters of stars. It will have three switches.  If switch one is on, then the green stars and the moon will be on. Blue and purple would be off. If switch 2 is on then the blue stars and the moon will be on.  Green and purple would be off.   If switch 3 is on then the purple stars and the moon is on.  Green and Blue would be off.   To make this happen we’ll need some diodes and to draw out our circuits to see how we’ll have to wire it up, to make it work.

2238 -  Battery Holder, PP3 (9V) x 1, Strap, Wire Leads

KEYSTONE1

LED, Purple, Through Hole, T-1 3/4 (5mm), 30 mA, 3 V, 405 nmVCC 1Buy Now
LED, Blue, Through Hole, T-1 3/4 (5mm), 20 mA, 3.2 V, 480 nmCREE1Buy Now
LED, Green, Through Hole, 5mm, 20 mA, 3.2 V, 527 nmCREE1Buy Now
LED, Cool White, Through Hole, T-1 3/4 (5mm), 20 mA, 3.2 V, 46.1 cdCREE1Buy Now
Through Hole Resistor, 330 ohm, 250 mWMULTICOMP1Buy Now
Toggle Switch, SPDT, On-Off-On, Panel, 5 AMULTICOMP1Buy Now
Standard Recovery Diode, 1 kV, 1 A, Single, 750 mV, 30 ANTE ELECTRONICS1Buy Now