Skip to main content

Questions tagged [shift-register]

A shift register is a cascade of flip flops, sharing the same clock, in which the output of each flip-flop is connected to the "data" input of the next flip-flop in the chain, resulting in a circuit that shifts by one position the "bit array" stored in it

Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

Counting up/shifting right, counting down/shifting left 4164 DRAM addresses using TTL/CMOS

I'm working on a design that uses 4164 (64kb x 1 bit) DRAM with 8 addresses (0-7), and I would like to be able to utilize a TTL/CMOS counter or shift register to make the data output count down/go in ...
paraparabolic's user avatar
1 vote
0 answers
68 views

Use WS2811 as shift register [closed]

Has anyone used a WS2811 LED driver as a 3 bit shift register? It's an IC for connecting ordinary LEDs to make them addressable with same protocol as the popular WS2812b LEDs. I just realized I can ...
ISbit's user avatar
  • 23
0 votes
1 answer
60 views

Is this a correct bidirectional shift register

Is this a correct circuit for bidirectional shift register.
Hilbert's user avatar
0 votes
2 answers
41 views

Determining the supply current of the shift register

I need to choose a voltage regulator, and therefore I need to know the maximum load current in the system. My system has an ATmega32u4-AU microcontroller, a multiplexer for selecting a shift register, ...
Marl0s's user avatar
  • 15
0 votes
1 answer
67 views

Shift Register 4021 Scheme

out of pure interest and a month of free time, I decided to re-create the schematics of some things I had. One of them was the NES controller. I found the schematic on the Internet and decided to make ...
Retro Enjoyer's user avatar
1 vote
1 answer
43 views

Can a shift register be used to drive LEDs that need to be pulled down to light up?

In my limited experience I have only used RGB LEDs that have a common anode connected to ground and then are lit up by pulling up on the pin connected to the LED colour pins. I currently have 3 ...
EwneoN's user avatar
  • 13
2 votes
2 answers
555 views

Can I cascade two different shift register?

I would like to drive multiple nixie tubes using shift register. I wonder that can I cascade two different shift registers to control them using arduino or another MCU? My plan is to connect DATA OUT ...
enis's user avatar
  • 73
0 votes
2 answers
79 views

How to read switch matrix with 74HC595

I would like to control the columns of a keypad with shift register. The working prototype, using direct connection is here: https://www.tinkercad.com/things/gRSmEPcnCXZ-3x3-switches-matrix I wanted ...
vilmarci's user avatar
  • 103
0 votes
1 answer
98 views

SN74HC165 shift register not communicating properly with a Wemos D1 Mini

I have a simple circuit with two daisy chained SN74HC165 shift register to collect the input of 9 (for now, for thesting purposes, there are only 2) TRCT5000 infrared sensors. Problems: I'm ...
user3161330's user avatar
1 vote
6 answers
102 views

Driving N-bit display with two wires and ~N+1 bits?

Say I have an N-bit display driven with a series of interlinked HC595-type shift registers. I'd like to drive this using only two wires (Data/Clock; assume power and ground are otherwise present). In ...
Matthew's user avatar
  • 572
1 vote
1 answer
99 views

Problem using two 74HC595 to create a 16-bit output

I'm migrating a code made in Bascom from a fully functional hardware to a C language (XC8) Through two 74HC595. They increase to 16 digital outputs. The way they do it is like this I have made my ...
Fabián Romo's user avatar
1 vote
4 answers
180 views

What is the fewest number of GPIOs to read 5 push-buttons?

This answer gives a good explanation of how to use a keypad matrix to minimize GPIO usage by scanning rows and columns to find a button press when an interrupt triggers. This scales very nicely for ...
KJ7LNW's user avatar
  • 2,056
1 vote
5 answers
180 views

Is it worth adding a transistor on shift register output to drive a LED?

I want to light some LEDs (from 1 to 5 at the same time) using a shift register. I read that the shift register is supposed to output 6mA per pin: ...
aherve's user avatar
  • 225
0 votes
2 answers
67 views

Relay board design issues with the relay driver

I have followed the post and tried to control multiple relays using Arduino. Instead of using the original relay, I used NA-5W-K. However, the relay on my designed PCB doesn't work. The original ...
Dar15's user avatar
  • 21
0 votes
0 answers
65 views

Unable to drive 7 segment 6 digits multiplexed display using 74HC595 and arduino

I have reverse engineered some existing circuit that was given to me which consists of a multiplexed 6 digits 7 segments displays driven by 2 darligton arrays and BD227 transistors. The original ...
floxia's user avatar
  • 109
1 vote
2 answers
85 views

Using two supply rails (on supply and output pins) with 74HC595

I have a 74HC595 connected to an STM32 to drive a bunch of LEDs using fewer GPIO pins. I want to reduce the current flowing through the 3.3V regulator IC which supplies the controller, and want the ...
nottherealfaraday's user avatar
2 votes
2 answers
99 views

SIPO Shift register compatible with SPI bus? [closed]

I'm trying to drive LEDs from a shift register that shares a bus with several other components. It seems like most options for SIPO shift registers don't have the equivalent of a chip select line, ...
harmon cleary's user avatar
0 votes
0 answers
52 views

Switching potentiometers with shift register and transistors / darlington array in microcontroller-based music sequencer

First some background on my project: I am working on an electronic music sequencer for use in my modular system using an RP2040 microprocessor. There are 16 steps in the sequence. The RP2040 cycles ...
Steven's user avatar
  • 101
0 votes
1 answer
37 views

STP08DP05 Truth table clarification

Can someone explain exactly when the STP08DP05 clocks data into the shift register and when data appears on the output? In the datasheet (p. 10) the truth table is more confusing than helpful for me. ...
Maximilian's user avatar
0 votes
2 answers
221 views

74HC373 Shift Register?

This is my first attempt at designing a discrete digital circuit. Basically I'm looking to count the number of times a button is pressed. Each button press will trigger a new output. And the final ...
Aaron Butkovich's user avatar
0 votes
0 answers
72 views

Shift Register in Top Design for PSoC 6

How can I implement a Shift Register in the top design of PSoC Creator for a PSoC 6? In the Component Catalog in PSoC Creator I cannot find the component for a shift register. My goal is to be able to ...
Alinik's user avatar
  • 179
0 votes
1 answer
65 views

74HC595 used with Arduino gives high value only on first pin

I am using a 74HC595 shift register IC connected to my Arduino board as described in this tutorial to drive 8 RGB LEDs. The code is given below and is similar to the one in the tutorial: ...
Pratyush Kumar's user avatar
0 votes
1 answer
135 views

Shift register outputting data on two pins, although only one bit is set

I've build a daisy chain of 3 x 74HC595 shift registers with LEDs on their outputs. They are fed by an Arduino that is pushing a single bit through all the registers and will finally clear the ...
flomei's user avatar
  • 101
2 votes
1 answer
87 views

A circuit for polynomial multiplication

I first want to say that I have absolutely no knowledge in circuit theory or any sort of electrical engineering stuff. I am a math major studying coding theory, and I am currently reading Error ...
Joshua Woo's user avatar
0 votes
0 answers
34 views

Multiplexing in computer screens

How are the wires in computer screens connected? I keep searching up "multiplexing LED" and the only result I find is small led matrices with less than 300 LEDs. This can easily be done with ...
qkasriel's user avatar
1 vote
1 answer
82 views

How different clock signals can be made

I am not a electronics student. While using shift resistor to save data we need to give it a signal such as 1101 which we need to store in it 1101 signal is synchronous to clock pulse 101010. I want ...
Naman's user avatar
  • 23
0 votes
1 answer
140 views

74HC595N Shift Register clocking twice

I am trying to control a 74HC595N Shift Register for the first time. If I manually remove move jumpers from high to low etc to cycle the clock, then it appears that I clocked it multiple times. I ...
Zeno's user avatar
  • 99
0 votes
2 answers
46 views

Name and generator for no-repeating-substring bit strings

While solving a different problem I stumbled across an interesting class of bit patterns: a 2n-bit cyclic sequence, all of whose n-bit subsequences are unique. With n=3, for example, the bits ...
jonathanjo's user avatar
0 votes
0 answers
86 views

How can I add a shift register to Ben Eater's 65(C)02 computer?

I made Ben Eater's 65C02 computer recently, and I wanted to know how to add a shift register to it for handling multiple inputs without taking up too much of the 65C22's pins. The shift register I ...
Mars the Limit's user avatar
1 vote
3 answers
362 views

I want to obtain 30 relay outputs using an optocoupler and ULN2803 [closed]

I am designing a PLC board using ESP32. This board will contain 30 relays. I want to design the protection circuit for these relays as shown in the upper left corner of the photo. Due to the high ...
Mehmet Emin ARSLAN's user avatar
0 votes
0 answers
926 views

4-Bit Barrel-Shifter with 4x1 Multiplexers

I have a question regarding an exercise I have to do. I am supposed to build a 4-bit barrel-shifter using 4x1-multiplexers. I have 4 inputs and 4 outputs. The position shift should be n=(2*B)+A. I ...
Topsy's user avatar
  • 1
0 votes
1 answer
102 views

Circuit design using Arduino / SN74HC595 / A4988 / NEMA17

I am working or a project to drive clusters of 8 Nema17 stepper motors with Arduino using A4988 drivers and some 8 bit shift registers. Each cluster consist of: power 12V 11A supply DCDC stepdown ...
Mariusz's user avatar
1 vote
1 answer
285 views

SN74HC595 shift registers, cascade connection, SRCLK and RCLK pins shirted

I'm working on project, where we have sn74hc595 shift registers included. Because I got this project without any documentation, it was necessary to understand this connection of shift registers, so I ...
douce's user avatar
  • 71
1 vote
2 answers
171 views

How how can I read serial data at a lower frequency than the device transmits it?

I'm trying to get serial data from a device that I do not have control over. It is transmitting data at ~250 kHz, which is just too much for my Arduino/Raspberry to read and react to. This data is ...
smplio's user avatar
  • 11
1 vote
1 answer
320 views

Using a potential divider to connect 12V input to 3.3V components

I'm planning a project which will involve converting an old pipe organ console into an electronic MIDI controller. I intend to use a Teensy 4.1 in conjunction with an array of shift registers to ...
jsbach's user avatar
  • 11
3 votes
3 answers
107 views

How can I control five hundred 250 mA electromagnets with shift registers and MOSFETs at the same time?

At the moment I control 16 electromagnets. I will later daisy chain the shift register control boards to control 500 electromagnets 250 mA each at 24 V (could be 12 V) with shift registers and MOSFETs ...
Mastalyn's user avatar
0 votes
0 answers
35 views

Regarding register configuration being constant across power cycles

Ethernet Switch - KSZ8775 Is there a way to make the chip register configuration persistent, across multiple power cycles, so that we don't have to reprogram the chip every time we turn it off and on? ...
user avatar
0 votes
1 answer
199 views

Multiple 10-bit, 500 Hz PWM outputs from a shift register (e.g. 74HC595) with a single 16-bit input (e.g. from an ATmega328P)

I would like to produce as many 10-bit PWM outputs at 500 Hz or less as possible using a single pin of a microcontroller, in this case an Arduino Uno, and a SIPO shift register. I found this question ...
eemoob's user avatar
  • 55
0 votes
1 answer
42 views

Max voltage applied to MT1 of a triac

I plan to use a SN74HC595 shift register in a low voltage logic circuit to activate a 240v mains circuit using optocoupler and triac. The idea is that with each HIGH output latched to output, we get ...
Malcolm's user avatar
1 vote
0 answers
86 views

Second shift register 74HC595 with wrong outputs

I have a controlling panel at my wall to control which electrical device is active (because I have only a single 10 A phase and running way to often to the breaker). The principle is easy: read Input ...
AngelOfEffekt's user avatar
0 votes
1 answer
79 views

Shift register (CD4021BE) 3.3 V on VCC and 5 V on inputs

I have a circuit with 8 sensors connected to a shift register (CD4021BE), The shift register is powered by 3.3 V and the sensors outputs 5 V on the signal wire when triggered. Is it allowed to connect ...
pat's user avatar
  • 11
0 votes
0 answers
69 views

74hc595 with not connected pin

I've bought some 74HC595 in SOP-16 without directly looking at their datasheet and now that I have looked at it for my project I saw that it is marked that the OE and MR pin are not connected. I ...
rappepi's user avatar
2 votes
2 answers
448 views

Why do shift registers (LFSR) use the initial state "all 1"?

In all books about information coding theory, scientists describe shift registers of various configurations, but they always use the initial state "all 1" in any configuration and any bit ...
Daniel's user avatar
  • 21
-1 votes
2 answers
978 views

Daisy-chaining two 74HC595 shift registers using an STM32

I'm trying to daisy-chain two shift register using a STM32F407 discovery kit, but I can't seem to get it right. I use the following function to send a byte to the shift register: ...
Mia's user avatar
  • 1
8 votes
5 answers
2k views

Why is my shift register latching in garbage data?

Circuit explanation: I'm trying to make a circuit which turns button pushes into binary data. The button push slowly discharges a capacitor which then triggers a 555 monostable stable circuit to ...
Turtleishly's user avatar
0 votes
2 answers
283 views

I2C addressable latch?

I am looking for a way to control several devices from a few meters away from each other, using a Raspberry Pi (wired!). (i.e. servos) I would like to use 1-3 signal lines to be able to control ...
drew wood's user avatar
  • 239
1 vote
2 answers
239 views

Problems with the CD4021 shift register on NES controller

I'm trying to use an ATmega328 to interface with a NES controller, but I'm running into some issues. The ATmega328 is programmed to pulse the latch pin, wired to the 4021's P/S pin, high for ~10 μs, ...
SomeGuy's user avatar
  • 11
0 votes
0 answers
83 views

Edge detection circuit causing multiple inputs

I am trying to build a shift register using only 2 inputs - a button to enter high, and a button to enter low. Since I'm not using a separate button for the clock, I need to make an edge detection ...
alejanndro's user avatar
-1 votes
1 answer
88 views

How do I make a shift register from flip-flops using only two inputs? [closed]

For a project I'm working on, I need to make a serial-in shift register out of only 74LS175N quad flip-flops, and two buttons (button for input 1 and button for input 0). I also can't use ...
alejanndro's user avatar
1 vote
2 answers
86 views

CMOS 4031 -- how was power-on initialization done in its intended applications?

I'm looking at using a CD4031 as a digital delay line in a project I'm working on. In this project, I'd much rather said digital delay line power up in an all-0 state, lest errant 1s clocked out of ...
ThreePhaseEel's user avatar

1
2 3 4 5
10