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
37 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
1 vote
0 answers
58 views

Bidirectional Shift Register, shifts in multiple directions? [closed]

Is it possible to have a bidirectional shift register as pictured below, add more flip flops below it, and improve this design to shift in total 4 directions? Additionally, shift in the diagonal ...
notaorb's user avatar
  • 113
0 votes
0 answers
27 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
88 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
29 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
  • 169
0 votes
1 answer
54 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
46 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
58 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
25 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
61 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
100 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
41 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
  • 12.5k
0 votes
0 answers
72 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
143 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
108 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
56 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
0 votes
1 answer
59 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
  • 31
1 vote
2 answers
141 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
160 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
104 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
30 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
102 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
38 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
63 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
68 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
54 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
205 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
0 votes
2 answers
523 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
143 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
  • 231
1 vote
2 answers
152 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
50 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
59 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
76 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
0 votes
1 answer
82 views

HEF4094B shift registers - unexpected outputs

I've recently started working on a custom spa pool controller, to allow WiFi control of temperatures, blowers, and automatic heating/filtration cycles using an Arduino. The bulk of the project is done ...
Connor Varney's user avatar
0 votes
2 answers
205 views

74HC595 shift register outputting data when it shouldn't

When I connect my Arduino with this 74HC595 shift register circuit, all the shift register's outputs go high, and any code I run doesn't seem to change this. Regardless of what I run, all outputs are ...
dispointmnt's user avatar
0 votes
1 answer
85 views

Problem with Arduino LED scroller

This is my Arduino code: ...
Reza's user avatar
  • 1
0 votes
1 answer
71 views

Simple 3.3 V to 12 V voltage level translator on data bus

I would like to build a nixie tube clock with a unique idea. The idea is that the clock queries the accurate time (it respects the DST too) from my home server. So the clock does not require any ...
Nabukudurriusur's user avatar
2 votes
2 answers
92 views

Connecting MCP2221 to a bidirectional shift register (e.g. 74LS198)

For my Z80 breadboard computer, I'd like to make a direct TTL to USB interface and I would like to avoid using the Z80 peripheral chips but tinker my own more direct ways of doing things. I figure I ...
Gunther Schadow's user avatar
1 vote
1 answer
78 views

How to set outputs on a Toshiba TC62D722CFNG shift register LED driver IC

I want to use the TC62D722CFNG shift-register LED driver IC to toggle some LEDs, however, I am having trouble getting the outputs to turn on at all. The IC is capable of controlling the LED current ...
Zciurus's user avatar
  • 331
3 votes
2 answers
240 views

PCB design noise issue: multimeter probing induces noise into PCB which causes noisy shift registers

Introduction I am developing a PCB which has a 12VDC unregulated power supply connected to an LVR L7805CV from which a couple of shift registers (74HCT595) are being powered. The problem I have is ...
Phill Donn's user avatar
0 votes
2 answers
216 views

How to read data from two shift registers in serial

I am dealing with an old circuit which has 2 shift registers in series and suppose to output 16 different values using SPI. The logic behind this circuit is a bit strange to me and I have a hard time ...
DEKKER's user avatar
  • 755
1 vote
1 answer
181 views

Parameter binding error in Icarus Verilog

I am trying to design a shift register that can have both serial and parallel outputs. My implementation is posted below: ...
temp1445's user avatar
0 votes
1 answer
115 views

How to increase digital input pins of Arduino using 74HC574

I've been working on a project with an Arduino. I need to use many TCRT5000 IR modules and I'm out of pins. I also used a DC motor driver shield and it also took a lot of pins. Now I need to increase ...
Ali Ata Hashemi's user avatar
2 votes
1 answer
451 views

Ethernet PHY MAC Address - DHCP Request not responding

I am working with this Ethernet PHY and little bit confused on the topic of MAC address. This is the - MAC Controller IC. I'm using RMII interface. One thing I want to understand is that what should I ...
user avatar
0 votes
1 answer
131 views

High current shift register source (mic5891 alternative) [closed]

I'm trying to control 60 loads (solenoid valve with integrated control circuit,12v dc) requiring high side 50mA source current control signal using an MCU (3.3v) I need to control them individually so ...
Giuseppe Maggio's user avatar
1 vote
1 answer
258 views

How do I detect a button press between MCU loop function calls?

Currently, I have a few buttons connected via an I2C shift register, hooked up to an MCU. Super simple, so not sure if it needs a schematic, but I can share one (and any other details) if needed. I'm ...
Nick Bolton's user avatar
  • 2,043
-1 votes
1 answer
74 views

Shift register does not output voltage [closed]

I am building a 8x8x8 LED cubic matrix based on an Arduino. My schematic and PCB design was based on the one posted by Tapendra Mandal on Youtube. When I finally connected everything and try to write ...
Jerry Gao's user avatar
0 votes
2 answers
98 views

74HCT4094 shift register not working

I am trying to drive 2 7-segment displays. I dont know why but one of the 7-segment displays is much dimmer than the other. I am using ESP32 module.Code that i am running : ...
Oliver's user avatar
  • 39
4 votes
3 answers
318 views

Help troubleshooting an unstable 595 shift register

Summary I am looking for help troubleshooting a couple of shift registers that seem to be unstable in a digital wall clock that I've built back when I was active in this stack, back in 2014. More than ...
Ricardo's user avatar
  • 6,134

1
2 3 4 5
10