The 74HC595 shift register
A quick demo on how to hook up a shift register, and how to daisy-chain it. I realize there is some information missing, so look below.
Models: 74HC595 54HC595
Pin information
QA - QH: Data pins with resistor and LED
QH' : Bit to fall off
VCC, SRCLR: +5V
GND, OE: 0V
SER: Data pin
RCLK: Latch pin
SRCLK: Clock pin
Arduino code:
#define DATA_PIN 11
#define LATCH_PIN 12
#define CLOCK_PIN 13
void setup() {
pinMode(DATA_PIN, OUTPUT);
pinMode(LATCH_PIN, OUTPUT);
pinMode(CLOCK_PIN, OUTPUT);
}
// To push a byte (8bits) out
digitalWrite(LATCH_PIN, LOW);
shiftOut(DATA_PIN, CLOCK_PIN, MSBFIRST, value);
digitalWrite(LATCH_PIN, HIGH);
Видео The 74HC595 shift register канала krakkus
Models: 74HC595 54HC595
Pin information
QA - QH: Data pins with resistor and LED
QH' : Bit to fall off
VCC, SRCLR: +5V
GND, OE: 0V
SER: Data pin
RCLK: Latch pin
SRCLK: Clock pin
Arduino code:
#define DATA_PIN 11
#define LATCH_PIN 12
#define CLOCK_PIN 13
void setup() {
pinMode(DATA_PIN, OUTPUT);
pinMode(LATCH_PIN, OUTPUT);
pinMode(CLOCK_PIN, OUTPUT);
}
// To push a byte (8bits) out
digitalWrite(LATCH_PIN, LOW);
shiftOut(DATA_PIN, CLOCK_PIN, MSBFIRST, value);
digitalWrite(LATCH_PIN, HIGH);
Видео The 74HC595 shift register канала krakkus
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
PyDuino add IO to a PCDIY Ideal-diode circuit using transistors and MOSFET, schematic at the end :)eBay converter controllerToday I learned nothing :) - Inverter repair failed - Part 1ATTINY84 for dual PWM signalMotorized Zoom Lens #2 - Motors working, IR filter installedHow to make tflite-model-maker work again in 2024 - for WindowsMake a 12V car light go 24V - two filaments in seriesHow to use the IR2125 MOSFET gate driverOp-amp as comparator & voltage followerResistor simulator - v0.3aHacking a DC-to-DC converter from eBayProgramming an ATTINY from an ArduinoMOSFET gate driver using transistors - sorta worksDC converter hack #4 - Boost converterHow to add dead-time to PWM9 ways to drive a MOSFET, with examples8 bit 8 resistor digital to analog converterBootstrap circuit for high side MOSFET drivingBuild your own digital-to-analog-converter in under 10 minutes.