Questions tagged [level-shifting]
Level shifting is the process of converting between different voltage ranges or logic levels, e.g. from [-1 - 1 V] to [0 - 3 V], or 3.3 V logic to 5 V logic.
726 questions
3
votes
1
answer
85
views
Overvoltage tolerant buffer inputs driven during power-up
I am using a 74AHC541 buffer powered at 3.3V, which also acts as a level translator having overvoltage tolerant inputs. A 5V power rail supplies a LDO Voltage Regulator, TLV773, which provides the 3....
0
votes
5
answers
307
views
How to do 24V to 3.3V logic level shifting? [closed]
I'm getting into electrical circuits. I have a RGB LED strip with a 24 V common. I want to input the RGB signals into a microcontroller that has a 3.3V logic. What I have found online is to either use ...
1
vote
2
answers
165
views
How to design a circuit to level-shift a 3.3V MCU output to selectable push-pull or open-drain outputs (3.3V / 5V / 12V / 24V)?
I need to design a circuit that can take a digital output from an MCU (3.3V) and amplify it to a selectable output voltage. The output voltage should be configurable between 3.3V, 5V, 12V, and 24V.
...
3
votes
1
answer
336
views
WS2811 strip (kinda) works with diode level shifter but not MOSFET
I have a 24V LED strip with WS2811 chips data line. I hooked it up on an ESP32-C6 with a relay. I tested different ways of level shifting the 3V3 signal from the ESP: (A) Diodes and (B) Mosfet(s).
Why ...
3
votes
4
answers
794
views
Why are current limiting resistors enough for interfacing this PS/2 port to this FPGA?
On this Digilent/Xilinx Spartan 3e 1600 FPGA board, they use 270 ohm resistors as current limiting resistors.
In their guide they state:
The PS/2 port on the MicroBlaze Development Kit board is ...
4
votes
4
answers
352
views
Voltage level adaptation
I have a sensor powered by a single-ended 12 V DC supply (i.e., GND and +12 V). However, its output ranges from −5 V to +5 V relative to ground. I need to connect this output to a buffer/attenuator ...
0
votes
2
answers
116
views
Level shifting transistor
Is there any reason this sort of circuit wouldnt work as a level shifter? Assuming the high of 0.8V was enough to turn on the NPN transistor, it looks like it would have 5V at a high and be pulled to ...
2
votes
1
answer
105
views
Low Power Level Shift
Im trying to design a level shifter from (2.5-5V) to (1.8V).
Other requirements:
Power loss (when 5v signal high, bellow 40 uA)
Quick switching (560 us pulses)
My current design, seems good in the ...
1
vote
1
answer
61
views
Level shifing 12V either HIGH or Floating to 3.3V
I have a 12V wire that is either HIGH or Floating (car ignition). I'd like to level shift this to 3.3V to a GPIO (IGN) on my microcontroller. Would this circuit work ? It differs from the usual BSS138 ...
3
votes
3
answers
466
views
What is the best way to build a level shifter?
I want to convert 24 V from industrial sensors to 5 V to process it with an Arduino without damaging it. I thought of a voltage divider with a buffer in this constellation:
Is this overkill or is ...
3
votes
1
answer
201
views
Why does LTSpice ADA4177 model or any non-ideal opamp cause 0.7V drop
I am constructing an analog voltage measurement device that accepts signals up to +/- 10V as input, applies amplification and shifting (to condition either +/-1V range or +/-10V range to 0.5V -> 4....
1
vote
1
answer
130
views
I2C level shifter voltage issue
We use a level translator to shift 1.8 V (using 1.8 V bank FPGA) to 3.3 V between a master in A board and slave in B board with I2C with board to wire connection (see figure 1 attached). But I found ...
2
votes
2
answers
160
views
Follow-up: Revised RS232 to 1.8V–5V TTL level shifter
I'm following up on this previous question, where I received useful feedback from the community. Based on that, I've revised the schematic and would like to ask for help verifying if my updated design ...
0
votes
0
answers
117
views
Follow-up: Revised FT232RNL USB/UART Interface Design – VCCIO and LED Drive Questions
I’m following up on this previous question, where I received useful feedback from the community. Based on that, I’ve revised the schematic and would like to ask for help verifying if my updated design ...
1
vote
2
answers
181
views
Problem with TXS0108 using two devices in cascade
Good morning everyone, I have tried several times to contact TI directly in the forum but there is no way to post a request, I thank in advance anyone who can give me a hand.
I am not an electronics ...
0
votes
0
answers
55
views
EV Temp control unit using Nucleo32 Board
First post here and just putting it out there from the start, I am no expert in electronics. Looking for some guidance on putting together a small temperature controller for an EV vehicle conversion. ...
3
votes
4
answers
268
views
Level shifting 12V DC solenoid valve supply for 5V MCU input
In a project I have an MCU fill up a tank through a high-side controlled solenoid valve. As a security measure there's a float switch in series that cuts off the solenoid valve supply when an absolute ...
0
votes
2
answers
138
views
Simplest 24 V I/O to 3.3 V digital level shifter [closed]
I would like to know which would be the best and easiest way to level shift 5 digital signals coming from 5 sensors and convert them to 3.3 V signals.
I've read about using MOSFETs or optocouplers but ...
4
votes
7
answers
952
views
Indicator LED driver with minimal components
Can I use logic inverter to drive low power indicator LEDs?
I want to use minimal amount of components.
Idea is to get 2V for LEDs with a regulator and then directly drive the LEDs with a logic ...
2
votes
2
answers
866
views
3v<>24v Bidirectional Voltage-Level Translator
Generallay I saw on market 3.3 to 5v level shifter but this time I need for STM32 (3v3) to PLC (24v) voltage level shifter (translator). in textile machine there is lots of PLC controller and we can ...
1
vote
2
answers
269
views
MOSFET selection help - 24VDC to 3.3VDC level shifter
I am designing a simple 24VDC to 3.3VDC level shifter to allow 24VDC process inputs (low frequency, <1Hz) to be read by Raspberry PI GPIO pins.
Similar to this schematic for an IO RPI Hat, I am ...
0
votes
1
answer
105
views
Supply voltage measured on unrelated traces
I have designed a PCB for a small project I am working on, the goal is to have a Raspberry Pi to talk to a PLC, since the Pi and PLC do not use the same logic levels (3.3 volts vs a whopping 24 volts ...
4
votes
3
answers
589
views
Frequency compensated voltage divider - Stepping down 2.2V to 0.4V at 500kHz
Let me start by saying I do not have a good grounding in analog electronics, I'm very much a beginner. There is a specific problem I'm trying to solve however, which I've been stuck on for the last ...
3
votes
4
answers
369
views
How to build a voltage level shifter that shift 3.3V to 6.6V and vice versa
I need to communicate a microcontroller (Btm, Arduino Uno) that it reads 3.3 V as (1) and 0 V as (0), with another microcontroller (Top, Arduino Uno) that reads voltage 3.3 V as (0) and 6.6V as (1) ...
0
votes
1
answer
107
views
USB powered board using the FT230X
I am designing my first board using an STM32G0B0 MCU and want to use the FT230X for serial USB communication. In the data sheet ...
1
vote
1
answer
116
views
Will this SPI level shifting schematic work?
I have an IMU that is controlled through SPI from a MCU, however some slaves on the SPI bus are 5V logic but this IMU is 3V3 only, so I need to level shift.
A1 = CLK
A2 = MOSI
A3 = CS
A4 = MISO
The ...
0
votes
2
answers
100
views
reduce 12V to 1.5V for voltage analysis
I need to analyze the state of a 12-volt voltage rail with a microcontroller. The test will be done on the voltage rail without load. The microcontroller operates at 3.3 volts. How can I do this?
I ...
-1
votes
1
answer
90
views
How does this voltage level shifter work
I’m using a level shifter (NXS0108-Q100) to adapt voltage level between my microcontroller (1.8v) and a component that works on 3.6v. I’m a bit confused on how each I/O cell of the level shifter works....
0
votes
0
answers
101
views
G3MB-202P driven by BSS138 driven by ESP8266 barely moves 40 W fan
I use BSS138 to shift the output voltage of ESP8266 up to 5 V. Then the output is sent to the input pins of G3MB-202P.
When I turn on D4/D7/D8 pin, voltage appears on screw connectors, but it barely ...
-1
votes
4
answers
1k
views
What is the best way to level shift 50kHz 3.3V PWM signal to 5V PWM signal output
I’m working on an STM32F103 microcontroller (3.3V logic) and need to drive 5V PWM signals for BLDC fans at 50kHz. I’m looking for a reliable and cost-effective solution to level shift the 3.3V PWM to ...
8
votes
3
answers
841
views
BSS138 level shifter - blocking current flow when high-side supply is not connected?
I've got a board designed which has 5 BSS138 MOSFETs used as level shifters between 3.3 V and 5 V logic. There are various other components on both the 3.3 V and 5 V sides of the boards, and the two ...
2
votes
2
answers
167
views
Do I need a level shifter in between if I want to connect 3.3 V output signals to TTL-compatible inputs?
Concrete case: The AM26LS31 is a TTL-compatible differential line driver.
It has the following recommended input conditions:
Is it OK to supply it with a 3.3 V powered logic device whose output has ...
0
votes
1
answer
97
views
MOSFET for level shifting - Gate to GND?
I am looking at the bottom left of page 13 of this schematics. It has a level shifter on a UART interface from 1.8V to 3.3V. For some reason they connected the Gate to GND though, which seems weird to ...
0
votes
1
answer
148
views
Buffering Arduino SPI bus using 74AHCT125
My SPI bus has 2 slaves, one is 5V tolerant and is connected normally to the bus, however the second one is only 3V3 tolerant and so I have to level shift it. I have decided to use the 74AHCT125 ...
3
votes
1
answer
128
views
Level shift a digital 1.8V signal to split supply rail, using BJT
I have designed a DC/DC converter (based on Zeta technology) that will generate a split supply with a single buck controller and coupled inductor.
The controller's GND pin is the negative output. ...
0
votes
1
answer
163
views
Level shifter (floating shifting ?)
I'm currently studying level shifters, and I have a question: Is it possible to design a level shifter that translates 0 and 5 volts to VSS (e.g., VSS = 5V) and VDD (e.g., VDD = 8V)? If so, could you ...
2
votes
2
answers
408
views
How long is it okay for pin to be floating during MCU startup?
I’m using an ESP32-S3 to communicate with a 5V-only LCD module with an i8080 parallel bus interface. To shift the levels, I’m using the SN74LVC8T245 bidirectional level shifter. This means I can both ...
4
votes
3
answers
241
views
Might this tri-state level shifter work?
I just thought of this idea for a one-directional tri-state level shifter that does not need an output-enable pin:
The idea is that if the input A driven hard (high or low) then it just behaves as a ...
0
votes
2
answers
133
views
I2C Level Shifting (Adafruit breakouts)
I have programmed an I2C slave on an Arduino Nano and an I2C master was on an Arduino Mega. I'm now working on upgrading the master to a Teensy 4.1.
The new master is a 3.3v microcontroller, where as ...
0
votes
2
answers
155
views
Is it possible to design a circuit with an op-amp that always keeps the output voltage 1 volt higher than the input voltage?
Is it possible to design a circuit with an op-amp that always keeps the output voltage 1 volt higher than the input voltage? For example, if the input is 1V, the output should be 2V; if the input is ...
1
vote
2
answers
131
views
Level shifting 7.5-15V range to 0-3.3V range to read on a microcontroller
I have a microcontroller that is meant to read a voltage between 7.5-15 V range. The ADC for the microcontroller is 3.3 V max so I came up with the circuit shown below. It takes in 7.5-15 V input and ...
0
votes
1
answer
160
views
Issue controlling MOSFET with PCF8575
I'm currently trying to control an array of MOSFETS so I can drive several solenoids. I'm using the Boron from particle.io as my main board, the PCF8575 as my I/O expander, the MAX3004 as a level ...
0
votes
1
answer
131
views
PMOS PWM Negative Level Shifting
I'm working on two PMOS PWM circuits and need some help understanding the differences and functionalities of each. The goal is to achieve better wave transients for a PWM signal generated by a 3.3V ...
0
votes
0
answers
66
views
running digital io across multiple power grounds
My circuit has a few ground references and I'm unsure how best to connect them.
I have a solar battery charging module: GV-5-MOD (datasheet) and it has a several relevant terminals:
PANEL-
BATTERY+/...
0
votes
1
answer
232
views
Level shifting 0-5V signal to +-2.5V Signal
Part of the data sheet of the ANS1115:
Hey guys, I am new to electronics and hope that you could help me. I got a 49E linear hall effect sensor (data sheet) which outputs a 0-5V signal. I am feeding ...
0
votes
1
answer
113
views
Analog level shifter
I have a user-adjustable supply Vcc_user (at minimum 3.3 V, 5 V, 12 V or 24 V). Adding 48 V would be a nice to have but not required. I might also use a continuously adjustable voltage.
I would like ...
5
votes
4
answers
750
views
Ground in differential opamp situation
I have a setup like such in the provided schematic.
The idea is that I do have a -2.5 to 2.5V signal which I'd like to convert to a signal between 0 and 5V.
How should I connect my opamp? Should the ...
3
votes
5
answers
1k
views
Level shift a 0-20 V pulse to +,-10 V without deteriorating the rise time
I need a fast +,-10 V pulse. I thought I could trigger the base of a switching transistor with my fast rise time digital I/O and get a 0-20 V at the collector and then shift the DC to 0 volt and have ...
0
votes
2
answers
108
views
Will the frequency change when converting the ESP32 3.3 V logic to 5 V logic using a TXS0108E?
The GPIO on ESP32 (S3) are all 3.3 V logic. I want to control an ESC for a drone. The manufacturer says:
The ESC will use a standard 5 V PWM signal at 50 Hz between 1100 µs and 1950 µs. 3.3 V output ...
2
votes
2
answers
998
views
How can I shift analog voltages ranging from -5V...+5V to 0V...5V without an op amp?
How can I shift analog voltages ranging from -5V...+5V to 0V...5V without using an op amp?
I was thinking about some kind of current mirror?