Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
45 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 ...
zoghii's user avatar
  • 177
3 votes
1 answer
82 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. ...
PhM's user avatar
  • 33
0 votes
1 answer
43 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 ...
Nedou's user avatar
  • 316
2 votes
2 answers
344 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 ...
Emil Eriksson's user avatar
4 votes
3 answers
120 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 ...
Tom V's user avatar
  • 162
0 votes
2 answers
42 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 ...
Hubert B's user avatar
0 votes
1 answer
115 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 ...
SUHAS DADABHAU KASUTE's user avatar
1 vote
2 answers
58 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 ...
kefecik's user avatar
  • 11
0 votes
1 answer
36 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 ...
David O's user avatar
0 votes
1 answer
45 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 ...
Fatihy's user avatar
  • 45
0 votes
0 answers
46 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+/...
davegravy's user avatar
  • 439
0 votes
1 answer
84 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 ...
Daniel's user avatar
  • 3
0 votes
1 answer
54 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 ...
Sandro's user avatar
  • 7,697
5 votes
4 answers
469 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 ...
Mart's user avatar
  • 376
3 votes
5 answers
651 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 ...
Fateme's user avatar
  • 338
0 votes
2 answers
49 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 ...
ferer's user avatar
  • 1
2 votes
2 answers
969 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?
huababua's user avatar
  • 115
0 votes
2 answers
89 views

Level translation from +5V (square wave at 200 kHz) to +12V using IRF540N

I want to translate +5V HIGH, 0V LOW logic from Arduino Uno to +12V HIGH, 0.5V LOW logic using IRF540N enhancement type n-channel MOSFET. The circuit I have referred is from https://circuitdigest.com/...
Technaut's user avatar
0 votes
2 answers
95 views

Low drive strength of level shifter

What part of a level shifter datasheet indicates drive strength? I have an MCU and sensor connected over UART (115200 baud). The MCU is 3.3V and the sensor is 1.8 V, so I'm using a level shifter in ...
Alexander Ohm's user avatar
0 votes
1 answer
48 views

How to translate 0V pulldown switch to negative voltage?

I have a circuit with a momentary switch connected between GND and a net with a pullup resistor (switch output is 0V while pressed). This switch signal is then buffered by a flip-flop before feeding ...
jlam98's user avatar
  • 38
1 vote
3 answers
106 views

Level-Shifting not working in Instrumentation Amplifier

I want to shift the measured EMG input signal to the positive side to use ADC. I used the REF input of AD8421 to add an offset of 2.5V. I simulated the circuit below from the AD8421 datasheet on ...
Keestu's user avatar
  • 25
1 vote
1 answer
101 views

Practical solution for level-shifting high-signal-count synchronous parallel bus between 5 V TTL CPU and 3.3 V LVTTL FPGA?

I'm looking for a solution for 5 V<->3.3 V bidirectional level shifting between a CPU with a 5 V TTL-compatible interface (Motorola 88110 bus: ~144 signals with 40-50 MHz clock) and an FPGA with ...
E000R's user avatar
  • 11
3 votes
3 answers
208 views

How can I shift a low logic voltage to a higher one in the simplest way?

Suppose I want to enable an IC by pulling EN pin high with an Arduino. Suppose that the IC works on 12V and accepts a minimum 8V as high but the Arduino only outputs 3.3V. What is the simplest way to ...
CaveScientist's user avatar
2 votes
1 answer
74 views

Pulling 5V logic low using 3.3V microcontroller

I have a shop-bought, small, portable dehumidifier that is controlled by a 5V logic chip internally. I'd like to be able to control it remotely using an ESP8266 or ESP32 (i.e. 3.3V logic). I only need ...
Thinqer77's user avatar
1 vote
0 answers
124 views

Using NPN transistors for I2C level shifting

Background: I'm familiar with the method of level shifting an I2C signal using NMOS FETs and pull-up resistors. The Philips application note AN97055 documents the method and explains how it works here:...
nehfan's user avatar
  • 21
2 votes
3 answers
1k views

Need to drive several 5 V LEDs from 3.3 V logic

I have done similar level shifting several times using discrete components. This time, due to a need of driving some number of 5 V LEDs from a 3.3 V microcontroller, I prefer to use some level shifter ...
Sener's user avatar
  • 273
0 votes
3 answers
100 views

Logic translator between different ground references

I need to translate a 1.8 V digital signal ("power good" from a DC-DC converter) from a "floating" voltage domain to a 3.3 V signal referenced to a fixed system ground. The source ...
mattmunee's user avatar
0 votes
3 answers
74 views

Level shifting with the TXS0104B and pull-up / down resistors

I have a PCB that has a 3.3V MCU working with a 5V CPU. I am using the TXS0104B to level shift certain signals coming out of the MCU going to the CPU. I would also like my board to function properly ...
Kevin McQuown's user avatar
0 votes
4 answers
338 views

Level shifting from 3.3V to 5V not working: voltage drops when attaching load

I am trying to trigger a laser using an Arduino. I used a power supply to determine that the laser needs a 3.5V (or higher) signal, at which point it draws around 2.2mA from the power supply. When ...
Timeverdrive's user avatar
2 votes
0 answers
94 views

Adding level shifter circuit conflicts with other microcontroller peripherals

I'm working on a synthesizer with multiple functionalities (OLED I2C screen, encoder, audio, midi input, several keys input) on a Xiao RP2040. I wanted to add a PS2 keyboard input. RP2040 GPIO are 3....
Sercurio's user avatar
0 votes
1 answer
217 views

Can't get SH1106 1.3 oled to work (SPI)

It's my first project this big - an arduino (Pro Micro) based midi controller. After all the research, schematics and pcb designing I got to assembly and wanted to try out the display, but then I can'...
jasioloza's user avatar
2 votes
4 answers
188 views

Interfacing Delta PLC and Arduino (Logic Signals)

I am trying to connect a Delta PLC (DVP-10SX) to an Arduino UNO. What I'm trying to achieve here is to be able to exchange Logic signals between both the PLC which has a logic level of 0-24V and ...
ENG_MOH's user avatar
  • 21
0 votes
3 answers
85 views

Level-shifter IC connected to microcontroller

I am trying to do a power assessment of a microcontroller (TMS320F28379D, datasheet link: https://www.ti.com/lit/ds/sprs880o/sprs880o.pdf?ts=1702312460730). The output pins of the microcontroller is ...
curious_direwolf's user avatar
0 votes
2 answers
81 views

Current into level shifter IC from microcontroller

I am trying to do a power assessment of a microcontroller (TMS320F28379D, datasheet link: https://www.ti.com/lit/ds/sprs880o/sprs880o.pdf?ts=1702312460730) From the below datasheet, is \$ 4mA \$ the ...
curious_direwolf's user avatar
1 vote
0 answers
26 views

Voltage Offset and Scaling from DAC to current driver

I have a DAC with an output of 0-4.096V that I need to convert to 4-20mA. I am planning to use the XTR111 which converts 0-5VDC to 0-20mA. To use the full range of the DAC (ie 0-4.096V = 4-20mA), I ...
Pribusin's user avatar
1 vote
0 answers
47 views

How to scale a GPIO control line to mitigate system impedance

I'm trying to build a circuit for a GPIO control line. Each device tapped into the line operates at 1.80v; the line is held at 1.65v HIGH. The GPIO output pulse profile is 1.000s @ HIGH 1.65v + 40ns @ ...
torpedo51's user avatar
  • 111
0 votes
1 answer
101 views

Do I need pullup resistors for a voltage level shifter driven by a push-pull GPIO output?

I need to shift a 3.3V, push-pull SPI bus from my STM32F3 controller up to 5V to drive a MAX7219 LED controller. To do this, I aim to use an NVT2022 level shifter, datasheet here. The first paragraph ...
kiryakov's user avatar
0 votes
2 answers
343 views

May I connect the RO and DI pins of a MAX485 module directly to ESP32 pins?

I'm running my MAX485 module board with an external 5V power supply, with the R0 and DI pins from the module connected directly to the ESP32 pins, which running at 3.3V. Both grounds were not tied ...
Kenny Thum's user avatar
1 vote
1 answer
98 views

Controlling PWM Fan/Read Sensor from PIC16F18877

I am working on a controller based around the PIC16F18877 which will need to control a 4-wire 12V DC Fan, as well as read the signal from the sensor wire. The PWM signal needs to be somewhere between ...
Dominick's user avatar
  • 111
1 vote
1 answer
66 views

Detecting Bus Presence

I have a PCB that connects to an existing device through a simple parallel bus. I want a way to determine whether this device is connected or not. The data lines aren't of any help, as they are ...
Enrique Cortez's user avatar
0 votes
1 answer
46 views

Level shifter: clamping (input+VccA) when input and VccA are powered from same signal

I'm currently testing a PCB I designed, and found out the following circuit don't work properly: the SYS_EN signal is connected to a 1.8V rail through a 10k pull-up resistor. TXU0101DRYRU5 is a level ...
Sandro's user avatar
  • 7,697
4 votes
1 answer
160 views

Level shifting from 3.3 V to 1.8 V at 500 MHz

How can I translate a unidirectional signal from 3.3 V to 1.8 V with a bandwidth of 500 MHz? The signal I am interested in is the output of a high speed comparator (TLV3601) and I have to measure the ...
Alberto Perro's user avatar
0 votes
0 answers
86 views

LJ18A3-8-Z/BX Proximity sensor Connection with ESP32

I am using LJ18A3-8-Z/BX proximity sensor with ESP32 as Digital input. Issue is LJ18A3-8-Z/BX i dont know its esp32 compatible or not. I don't want to use resistor divider as it does not feel ...
Zunuran Nasrullah's user avatar
1 vote
1 answer
987 views

Method of Switching an External 5V Signal with a 3.3V Signal

I'm designing a system where I need to control the passage of a 5 V signal from one external device to another. This 5 V signal powers circuity but I am currently unable to verify what current this ...
Adam Smith's user avatar
1 vote
3 answers
127 views

Bidirectional level shifter (TXS0108E) randomly changing outputs

Circuit and video of weird behaviour. I am using a TXS0108E 8-channel logic level shifter to convert a 3V3 input (VA) to a 5V output (VB). According to the datasheet, when there are no inputs driving ...
Shookti's user avatar
  • 11
0 votes
1 answer
84 views

Amplify+level-shift sine signal

I am working on current sensing for three phase inverter outputs, wherein I plan to use a shunt resistor for getting a low voltage sinusoidal current waveform. Is there any way at all that could ...
Shishir Trivedi's user avatar
0 votes
1 answer
136 views

Unable to read data through a MAX485 module

I used arduino code in order to grab RS 485 data from a sensor. The middleman is a MAX485 module. However, I was unable to read the data, even with code that works from previous examples. I hooked up ...
user1584421's user avatar
  • 1,369
2 votes
2 answers
166 views

How to level shift bidirectionally with a high impedance output state?

I have communications bus I am trying to reverse engineer. It is based on a 9600 bps UART but inverted so it sits at 0V when idle, and pulses at 5V to send a binary 0. Unlike a normal UART the TX ...
Malvineous's user avatar
  • 1,795
3 votes
3 answers
1k views

How can I translate logic signals from 5 V to 3.3 V?

I have a range of data signals and clock signals that I want to translate down from approximately 5 V to the 3.3 V range. Is there an IC available to perform this task? The various signal frequencies ...
Rob Holmes's user avatar
0 votes
0 answers
89 views

Turn off level shifter

I'm designing an LED controller with ESP for SK6812 and there are many of them connected so I need an extra power supply. The ESP uses 3.3 V but the LED's 5 V so I need a level shifter. There is not ...
4Source's user avatar

1
2 3 4 5
14