Back to basics…the 74HC04

Posted by on Mar 27, 2011 in Blog, Etc | 4 Comments

I love blinky things and I love to think about how to design something a little differently.
Probably the most common way to control red-green-blue LEDs is with a pulse width modulation signal from a microcontroller. Many coding interfaces have built in PWM functions so that you can be up and running within a few minutes or hours.

But what if you don’t want to write software? Or you don’t want to deal with buying a whole other set of tools, programmer, microprocessor, cable… and then you have to download a compiler too. Instant gratification, NOT.

All this just to make a blinky.

I am making an RGB LED fader that can be controlled without software or a microprocessor.
When you use a hex inverter of the 74 series, a 74C04, you can make it oscillate simply by tying the output to the input.

Update: I couldn’t get the 74C04 to oscillate, but had great success with the 74HC14

There are 6 inverters on my 74C04 chip, but an RGB LED only has 3 distinct LEDs in it.
Here is what a “typical hex inverter oscillator” using 1 inverter looks like:
f
I’m going to run the 3 oscillators through an LED. Basically, I’m going to connect one end (the common anode) of the LED to the +Voltage and the other 3 pins (red, green, blue) through resistors to the outputs of the inverter.

A small word about 4-pin common anode vs. common cathode LEDs:
Be careful what you buy. If you buy the common cathode version, you need all of your control lines (red, green, blue) to be controlled by sourcing current. Since many LED drivers sink current it may be better to purchase a common anode RGB LED from which the control lines can be controlled from ground. I have 32 common cathode RGBs lying around. Sigh.



4 Comments

  1. tramadol
    April 16, 2011

    I bookmarked this link. Thank you for good job!

    Reply
  2. Wdf8OpWSGOj
    April 19, 2011

    I want to post quick hello and want to say appreciate for this good article.

    Reply
  3. source
    May 31, 2012

    I was wanting to know if you ever thought of switching the page layout of your web site? Its very well written; I really like what you have got to state. But maybe you could include a a bit more in the way of written content so people can connect with it better. Youve got an awful lot of text for only having one or two photographs. Maybe you could space it out better?

    Reply
  4. Sophi
    May 31, 2012

    Thanks for the layout feedback. I spaced it out a bit, is that what you meant?

    Reply

Leave a Reply