background image

SBRGB 

 7  

As shown, violet is created mostly by blue with some red. If you own a com-
puter, you can try these shades out by changing your display properties and 
custom selecting a color. It will allow you to enter color values in Red, Green, 
and Blue in a range of 0-255 just like the Super Blinky! 

The timing charts only show a small percentage of the overall PWM wave-
form. To keep the LEDs from appearing to blink, we have to keep them flash-
ing at a rate faster than our eye can see (at least 30 times a second). Right 
now we are flashing at a rate of 280 times a second so it’s more than fast 
enough.  

If we want to fade from white to blue, the trick is to fade at a reasonable rate of 
speed according to our 280 times a second flash rate. To fade from white to 
blue in one second, we need to start with 255 and then subtract one from both 
red and green value once per cycle (skip a few cycles in between to stretch 
the time a bit). At the end of 280 cycles, the red and green element drive rate 
is at zero and blue is left completely on. 

The Super Blinky actually gets a bit more complicated than this in order to 
achieve the eye pleasing color changes in uneven sinusoidal steps (versus 
the examples linear ones). This is accomplished with lookup data tables.

 

The rest of the circuit consists of the power supply and the LED itself. The 
power supply is a simple 5V regulator that is required to keep the supply volt-
age to the micro-controller at +5V (it cannot handle more than that). Unfortu-
nately the Super Blinky will not operate at +3V with a lithium button cell 
(though two cells will do) since the blue element of the LED requires at least 
4.0V before it will even turn on. The circuit will run, but no blue LED! 

Take a look at the following specification sheet on the provided LED. Notice 
the forward voltages required to turn on the individual elements in the Vf = V 
typ column and the relative intensity when looking straight into the LED in Iv = 
mcd typ column (mcd is intensity in mili-candelas). Mili-candelas are deceiving 
in that they only tell you how bright an LED is from a certain perspective. We 
are using a diffused lens

 

so the number is much lower than with a water-clear 

lens that would focus all the light in a narrower beam. Same LED, different 
lens, higher numbers! Lens selection all depends on your application. The dif-
fused style is used here to ensure a maximum viewing radius. 

Off

On

0

255

Time--->

Off

On

0

255

Time--->

Off

On

0

255

Time--->

0

255

Time--->

0

255

Time--->

0

255

Time--->

0

255

Time--->

0

255

Time--->

0

255

Time--->

0

255

Time--->

0

255

Time--->

0

255

Time--->

0

255

Time--->

0

255

Time--->

0

255

Time--->

0

255

Time--->

0

255

Time--->

0

255

Time--->

Summary of Contents for SBRGB

Page 1: ...in between Uses PWM methods to select any color with a simple 8 pin micro controller Switch able speed selection and transition mode as well Get your feet wet with surface mount technology on this fun...

Page 2: ...ometer LC1 Inductance Capacitance Meter RAMSEY AMATEUR RADIO KITS HR Series HF All Mode Receivers QRP Series HF CW Transmitters CW7 CW Keyer CPO3 Code Practice Oscillator QRP Power Amplifiers RAMSEY M...

Page 3: ...iption 5 Parts List 9 Assembly Steps 10 Using the SBRGB 16 Project Idea 16 Schematic Diagram 17 Parts Layout Diagram 17 Troubleshooting Guide 18 Specifications 18 Warranty 19 KIT ASSEMBLY AND INSTRUCT...

Page 4: ...at before I knew the time had come So how did I get around the Boss you may ask I turned this into a surface mount practice kit that met the requirements so many of you were asking for via the web It...

Page 5: ...is means we have a resolution of 256 256 256 16 777 216 colors We may not actually achieve this number due to limitations on switching speed but we ll still get more than your eye can discern Now let...

Page 6: ...ts in the LED at random you get the Super Blinky So how would you achieve an orange color with the SBRGB First you would figure out what percentage of each color needs to be on to produce orange From...

Page 7: ...ed with lookup data tables The rest of the circuit consists of the power supply and the LED itself The power supply is a simple 5V regulator that is required to keep the supply volt age to the micro c...

Page 8: ...Red Green and Blue elements respectively to get a good white when fully on After experimenting a bit we decided to change the scaling to 5 mA 60 mA and 10 mA to obtain a nice vivid green and a brighte...

Page 9: ...1 1 PIC12C509SN Micro controller in an SO 8 package U1 1 RGB Full Color LED DS 1024 105A D1 1 1N4148 Type switching Diodes 3 pin SOT 23 packages D3 Hardware Misc 1 9V Battery Clip 2 2 Pin header for m...

Page 10: ...s these steps Dab a small amount of solder on one pad of the PC board for the component you wish to install Usually choose pin 1 Locate the appropriate part from those packed in the kit Use tweezers t...

Page 11: ...solder joint The rosin core flux will clean the joint and insure stability If you have too much solder and wish to remove it use a solder sucker or solder wick to soak up the extra solder Solder brid...

Page 12: ...ll and down into the heat register Hence the extra parts If you are really careful this won t happen to you 1 We will begin with a few resistors first Locate and install R6 the 10K ohm resistor marked...

Page 13: ...board no silkscreen and allows lower voltage operation Clip off any excess wire after it is soldered in place Note the dashed line on the top silkscreen side indicates this optional configuration when...

Page 14: ...at side toward J1 J2 8B Install R1 a 51 ohm resistor Marked 510 9B Install R2 a 680 ohm resistor Marked 681 OPTIONAL JUMPER PLACEMENT 10 The mounting of J1 and J2 is another choice left to you They ar...

Page 15: ...you are excited to go and plug the battery right in but please don t do it yet We need to inspect our work to make sure we did everything correctly We don t want to destroy any of our parts after all...

Page 16: ...peed changes the LED will flash indicating a speed change command was received The mode selection Fade or Blink is chosen by simultaneously shorting both J1 and J2 The LED will turn a solid color Red...

Page 17: ...SBRGB 17 SBRGB PARTS LAYOUT DIAGRAM...

Page 18: ...s of solder that maybe short across two or more pins Correct battery installation and a good battery Replacement parts may be ordered directly from Ramsey Electronics Inc First read the warranty in th...

Page 19: ...h be assured that the 1K ohm resistors are actually the missing 10 K parts Hum m m I guess the red band really does look orange Ramsey Electronics project kits are packed with pride in the USA If you...

Page 20: ...ts Ramsey HH3 Desoldering Braid Ramsey RTS08 Digital Multimeter Ramsey M133 SUPER BLINKY SMT PRACTICE KIT Quick Reference Page Guide Introduction 4 Circuit Description 5 Parts List 9 Assembly Steps 10...

Reviews: