Questions tagged [shift]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
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 ...
2
votes
2answers
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 & ...
2
votes
1answer
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 ...
2
votes
1answer
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 ...
1
vote
2answers
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. ...
1
vote
1answer
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 ...
1
vote
2answers
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 ...
1
vote
1answer
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 ...
1
vote
1answer
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 ...
0
votes
2answers
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
0
votes
1answer
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, ...
0
votes
1answer
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 ...
0
votes
1answer
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.
0
votes
2answers
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 ...
0
votes
0answers
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 ...
0
votes
0answers
41 views

Is using a capacitor to transfer a 0.1 V differential between voltage levels reasonable?

The temperature of a terminal at -600 V and 500 deg C needs to be measured. I am using a thermocouple for this, and to achieve the most accurate reading the couple must be physically connected to the -...
-1
votes
1answer
43 views

What are the limits to parallel shift registers in electronics (in comparison to optics)?

Brackenbury and Mason in 1988 (https://iopscience.iop.org/article/10.1088/0022-3727/21/10S/044) said, on comparing parallel shift registers in electronic and optical computing, 'When implementing such ...