top of page

Dynamic Signal

157183844782521700 (2).png

NOOB Series

Dynamic Signal

157183844782521700 (1).png

Learn how to use 2x74hc595 shift register with

Circle Electronic NOOB Series Circuit

The

nooblogo.png

Series

BEST FRIEND FOR BEGINNERS

dynamiccats.jpg

We inspired by the Cars Rear Lights

dynamicsignal.gif
20200510_2147412_InPixio.png

What can you do?

You can learn to use 2x74hc595 Shift Register in single project.

shiftregister-crop.png

Schematic

dynamicsignalsch.jpg

Codes

#define CLOCK 10 
#define LATCH 9 
#define DATA 8 
#define DATA2 7 
#define LATCH2 6 
#define CLOCK2 5 
byte leds[]={0b00000000, 
0b00000001,
0b00000011,
0b00000111,
0b00001111,
0b00011111,
0b00111111,
0b01111111,
0b11111111,
};
 
void setup()
{
pinMode(CLOCK,OUTPUT);
pinMode(LATCH,OUTPUT);
pinMode(DATA,OUTPUT);
pinMode(CLOCK2,OUTPUT);
pinMode(LATCH2,OUTPUT);
pinMode(DATA2,OUTPUT);
}
void loop()
{
for (int led=0;led<=8;led++)  
 {
  digitalWrite(LATCH,LOW);
  shiftOut(DATA,CLOCK,MSBFIRST,leds[led]);
  digitalWrite(LATCH,HIGH); 
  delay(80);
  if(led == 8){
    for (int led=0;led<=9;led++)  
     {
        digitalWrite(LATCH2,LOW);
        shiftOut(DATA2,CLOCK2,MSBFIRST,leds[led]);
        digitalWrite(LATCH2,HIGH);
        delay(80);
     }
   }
 }
}

BUY NOW

Download Links

bottom of page