-->
Page 1 of 1

Light chaser with 74hc595 and individual led fading

PostPosted: Tue Feb 20, 2018 6:29 am
by weix
I would like to make a light chaser with the 74hc595 and let it run in a kind of wave. The first led is faded and getting brighter and brighter.
The whole thing should be realized with a shift register, because I want to drive many leds so.
I have found this program (including video) for Arduinocontroller like the Uno here -> timodenk.com/blog/shiftregister-pwm-library/

It is about synchronizing the interrupts of the timer with the frequency of the ESP. However, I am not so deep in the programming that I could realize this alone for the ESP8266, so I hope here in the forum are a few people who can help me with this program.

Re: Light chaser with 74hc595 and individual led fading

PostPosted: Wed Dec 12, 2018 7:45 pm
by theenggprojects
74HC595 is a shift register which is used to increase the output pins of any microcontroller such as Arduino PIC or Atmel etc. It works on Serial In Parallel Out Protocol and you should have a look at this Arduino 74HC595 Interfacing and download its Proteus simulation and Arduino Code. That will solve your issue.

Re: Light chaser with 74hc595 and individual led fading

PostPosted: Thu Dec 13, 2018 5:57 am
by btidey
Have you considered using WS2812B LEDs (neoPixels)?

You can drive hundreds of these from a single GPIO pin and control the RGB colour and brightness of each LED separately. They are also available in different forms (strips, circles, arrays, individual dots).

See for example
https://github.com/toblum/McLighting

Re: Light chaser with 74hc595 and individual led fading

PostPosted: Thu Dec 13, 2018 7:39 am
by QuickFix
btidey wrote:Have you considered using WS2812B LEDs (neoPixels)?

As an example, I've put a simple demo video on YouTube over a year ago using a string of NeoPixels: