# Questions tagged [shift]

The tag has no usage guidance.

17 questions
Filter by
Sorted by
Tagged with
172 views

### Can I use a photodiode as a switch for a shift register?

Let's say I have a photodiode, a shift register (74HC595) and a 5V source, and I connect these as: 5V source -- photodiode -- shift register data input. (And other voltages to feed the register ...
194 views

### SN74HC595N Shift register output bizare

simulate this circuit – Schematic created using CircuitLab I'm using an 8-bit shift register on a very basic application for learning purposes, I have three buttons connected to SER, RCLK & ...
248 views

### Why do four cascaded all-pass filters cause a 180° phase shift?

This op-amp all-pass filter is reported to introduce a 90° phase shift at the cutoff frequency of the RC network placed at the + input. (The FET is used as a controlled variable resistor to move the ...
53 views

### RISC-V Arithmetic Shift vs Operator “<<<”

I'm new at learning Verilog so some of my practices are based on already existing codes. I was reading the RISC-V implementation of arithmetic shift and didn't quite understand why it's that way when ...
75 views

### Arithmetic right shift: a paradox?

So I was asked to perform the simple task of doing a 3-bit arithmetic shift of the number 1101 (-3 in 2's complement notation). Now this is easy and it goes as 1101 -> 1110 -> 1111 -> 1111. ...
165 views

### Question about 74LS164 8-bit serial in parallel out shift register

With the 74LS164 8 bit parallel out serial shift registers, I'm confused about a few things. In the datasheet (page3) on the logic diagram why do they suggest using an active low inverter before the ...
164 views

### Phase shift a square wave

I have an application where I would like to derive a secondary square wave from a primary one but with a continuously variable phase shift. I would like to know if this is possible to achieve in a ...
189 views

### 74hc595 sinking, not sourcing

I'm trying to get a sn74hc595n working with an arduino Due, eventually I will be hooking up each output to an NPN to drive Nixie tubes (I am switching my design from a due to using a esp8266 so I need ...
108 views

### PISO shift register with first input

I have on my board two PISO shift registers in series, giving an output train of 16 bits. The problem is that the order of the bits is reversed compared to what I need. That means, the last input of ...
414 views

### Is (BC + AD)<<16 equivalent to (BC << 16) + (AD <<16)?

Is the expression (BC + AD)<<16 equivalent to (BC << 16) + (AD <<16)? From some examples which I tried it seems to be true but not sure at all
56 views

### Is it possible to chain Hall sensors? [closed]

I'm working on a hobby project that is to add sensors to a wooden chess board in order to detect if a piece is on a given square. I'm quite beginner at electronics, only experienced in programming, ...
103 views

### How is Phase Shift of an Op-Amp calculated using Polar Coordinates

I have a textbook (Op-Amp: Characteristics & Applications by Robert G. Irvine, 1981) and its Frequency response chapter started by discussing the Internal LP filters between the Input Differential ...
399 views

### Can't understand what multiplexers do in CPU datapath

I'm currently learning about data path in a CPU and having a hard time understanding the functionality of G,L, H parts in the following image. Why have those parts been used there?Thanks in advance.
321 views

### I2C pullups for level shifting

If I want a breakout with two sensors on it, one operating at my MCU's voltage (3.3V) and the other requires a drop to 1.8V, do I need two sets of pullup resistors for both voltage lines? Can I do ...
46 views

### Shifting a vector by a variable amount

Let's say I have a n level tree, where n starts from 0. Each level of the tree has 2^n elements. For the sake of an example, let's say n=4. Since we have 4 levels, we need 4 bits to hold the index of ...