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
3 votes
3 answers
465 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
44 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
0 votes
1 answer
47 views

Connecting Raspberry Pi UART to Arduino Uno

AFAIK the RPi uses 3.3 V logic and the Uno uses 5 V logic. So I need a level shifter to convert the logic levels. I have purchased a bi-directional level shifter. I want to check if I have wired it ...
Ageis's user avatar
  • 3,313
1 vote
2 answers
81 views

Level shifting to lower voltage: logic-gate vs voltage divider

In my design I need to level shift 5V signals to 1.8V, for now I'm planning to use AND gates with the same 5V signal on both inputs and 1.8V as the power source. I got the idea from this document. ...
StefanoN's user avatar
  • 480
0 votes
2 answers
47 views

Connection Raspberry Pi GPIO to a 5v signal that isn't powered by the Pi

I have a HBaseT Matrix (EL-4KPM-V88-A2416) that has 3.5mm mono (signal+ground) plugs that is used to send IR codes to HDMI devices (it would usually be connected to an IR emitting diode placed in ...
foxy82's user avatar
  • 1
0 votes
1 answer
35 views

I2C Level Translation secondary device battery powered

I'm running a PCF8523 RTC directly on the battery supply that can vary from 3-4.28 V. The RTC must communicate over fast mode I2C with a microcontroller running at 3 V IO. The RTC VIH is 0.7xVDD = 2....
robsrick's user avatar
0 votes
1 answer
96 views

How to scale down 12 VDC to 5 VDC gradually for Attiny85 ADC

In my project I'd like to check the 20 contacts of a particular relay type. A simulator power every contact with 12 VDC (max) and this goes to LMxxx comparator logic that drive some BJT transitors ...
philfs's user avatar
  • 63
2 votes
2 answers
332 views

3V oscillator to 5V µC with an 74HCT inverter (12.8 MHz) - bad idea?

I'd like to use an AVR (ATmega328P-AU to be precise) in combination with a fairly accurate oscillator for timing purposes. I stumbled upon the fact that oscillators which have greater accuracy mostly ...
Korbinian's user avatar
0 votes
2 answers
68 views

How to read the SN74LVC245A datasheet

I'm looking for help with how to read datasheets. For the below application, specifically what in the datasheets is it that would help me choose between these components? (datasheet for SN74LVC245A.) ...
mozboz's user avatar
  • 101
0 votes
2 answers
53 views

Voltage Divider as Input to Level Shifter

I need to shift a 3.3V PWM signal to 5V to power a strip of LEDs. We are using a set of JSTs to connect from an Arduino to an LED strip and so only have access to the 5V power. I am having trouble ...
Zoltana Maximus 's user avatar
1 vote
1 answer
42 views

CD40109 level shifter is not working

I've designed a hardware using CD40109 level shifter. The following shows schematics. I designed PCB and built PCBA prototype. However, it is not working as expected. When I am giving 3.3V to ...
PCBCrew Engineer's user avatar
1 vote
1 answer
81 views

Level shifter 3.3V to 5V

I want to translate a signal from 3.3V mcu to 5V to use it on WS2812B led. I don't want to use a BSS1338 because I have seen flickering issues with high frequencies. I have found 74LVC1G125 but it ...
John's user avatar
  • 13
1 vote
3 answers
94 views

Level shifting through diodes and resistors

I just watched Adrian (of Adrian's Digital Basement channel) demonstrate a level shifter for an 80s computer using only diodes and resistors. I attach a frame with the schematic below; can someone ...
ttsiodras's user avatar
  • 427
2 votes
0 answers
70 views

Genesis ROM + Level Shifter Circuit: Game Fails Without O'scope Probe

Problem: In an effort to learn digital electronics, I've designed and had fabricated a modern Sega Genesis cartridge. But I'm having a problem getting the cartridge to work without the help of an ...
Nifty255's user avatar
0 votes
0 answers
60 views

Level shifting 2.4V to 3.3V

What design can I follow to make a level shifter? I have used SN75LBC. Its RE/DE has an output of 2-2.4V and I want it to connect to the receive pin of my ESP. The ESP WROOM-02 operates at 3.3V so I ...
yessi's user avatar
  • 11
0 votes
2 answers
37 views

Need clarification on pulling the OE pin high on TXB0104PWR level shifter

I am currently working on a project that involves using the TXB0104PWR level shifter for signal conversion. In the diagram provided, the OE pin of the level shifter is connected to a resistor going to ...
Ashton Scott's user avatar
0 votes
1 answer
108 views

How can I find the maximum data rate of a voltage level translator IC?

I am planning to use the NVT2010 in my board for voltage level translation of the Ethernet RMII interface. We know that the speed of RMII interface is 10/100Mbps. After checking the datasheet, I am ...
Hari's user avatar
  • 1,580
1 vote
1 answer
94 views

TXS0102 level translator, problem connecting to external lines outside

I have a TXS0102 bidirectional level shifter connected to some external lines (RJ45 connector with cat 3 cable). The external lines have too much capacitance and it prevents the level translator from ...
Voltage Spike's user avatar
  • 76.4k
0 votes
0 answers
78 views

Op amp gain circuit causing unwanted level shift

I'm new to op-amp (and circuits in general) and I'm trying to amplify a voltage signal with a simple op-amp circuit such as this one. However, as I increase the gain (increase R2 and/or decrease R1), ...
yuki's user avatar
  • 1
0 votes
1 answer
66 views

Adjusting signal voltage range for ADC [closed]

Can anyone please help me design a system using an LM324 op-amp to amplify a small voltage signal (from -20 mV to 31.1 mV) to a larger voltage range (0 to 5 V) so that it can be read by an Arduino's ...
SANJAYA LAKAJU's user avatar
0 votes
1 answer
38 views

Current increase for IO Expander/Level Shifter

I’ve been designing a project recently that uses a level shifter/io expander. I’m trying to figure out the best way to go about increasing output current while still allowing the io to be ...
Niv's user avatar
  • 13
0 votes
3 answers
154 views

How to shift/offset a AC signal

I have made the following circuit, that amplifies a 50mV RMS signal to 0 to 5V. The circuit has 2 2nd order LPF at unity gain and a 30dB (30 V/V) gain amplifier. Below is a circuit diagram: Input ...
JoeyB's user avatar
  • 1,865
5 votes
6 answers
1k views

Switching line between 5 V and ground using a 3.3 V signal

I am working with a PCB which looks like shown below. Switching the central line between 5 V and ground toggles the LEDs. I had this PCB connected to a 5 V Arduino dev board where the switch line was ...
Warren's user avatar
  • 53
0 votes
0 answers
70 views

Do I need to level shift the PWM signal from a Raspberry Pi Pico for regular RC servo?

I am trying to control regular SG90 servo with a Raspberry Pi Pico. My problem is that those servos produce maximum torque while powered by voltage between 4.8V to 6V (5V is optimal for me.) I powered ...
Papouc's user avatar
  • 29
0 votes
0 answers
38 views

How to shift level up voltage signal?

I am looking for a circuit to do a level shift for a signal from RL for a DAC0808LCN. From what I see in the image, this signal has three levels (-100, -200 and -300 mV) and a 10 kHz frequency, but I ...
Phongpit Sribua's user avatar
0 votes
2 answers
63 views

Connecting APA102 LED and BSS138 level shifter (Raspberry-Pi 4)

I am having trouble getting my APA102 LED to work with a BSS138 level shifter. The APA102 LED has four wires (5V, GND, DI, and CI) and the BSS138 level shifter has ten wires (Hv, B1, B2, B3, B4, GND, ...
Dragon's user avatar
  • 11
1 vote
1 answer
79 views

Sharing clock pulse between different devices

I have an application where i want to use the external clock signal (around 1kHz) with my microcontroller. I am interested in positive edge of the clock which will be detected by microcontroller. I ...
eaterbugs's user avatar
1 vote
1 answer
94 views

How to choose pull-up resistor values for level shifting circuitry for serial communications

I recently joined a new project where two ESP32-WROOM-32UE modules on separate circuit boards talk to each other via the UART pins. The distance between the two boards is roughly 1 meter of cable ...
user2218339's user avatar
3 votes
2 answers
215 views

Analog voltage level shifter

I am looking for a way to shift a low analog voltage level to a higher analog voltage level. For example, input 0.53 V and output 1.53 V (increase by 1 V) or input 1.38 V and output 3.38 V (increase ...
Aurora7979's user avatar
0 votes
2 answers
44 views

Can I pull down with 5V logic a not-level shifted (which is at 2.8V logic pulled-up) input? How to pull it up to 2.8V again, with no level-shifters?

I have a Distance sensor which has an enable pin (XSHUT pin in the diagram) which is pulled high in its own PCB module at 2.8V, to enable it to work. My Attiny85 MCU, which controls the sensor, is at ...
Rodrigo's user avatar
  • 467
0 votes
0 answers
59 views

Level shifter breaks down (repeatedly)

I created a Dometic Airco thermostat using esphome on an esp chip. The Dometic is expecting 5V on the serial control line, not the 3.3V coming from the esp. So I implemented a simple circuit using a ...
marcvl's user avatar
  • 1
-1 votes
1 answer
119 views

Op-amp level shifter to shift 0.33-3.3 V to 0-10 V

I have an input signal ranging from 0.326 V to 3.3 V and I need to amplify and shift it so that the output will swing between 0-10 V. How can I achieve that using an op-amp? I know I could do that ...
Fed's user avatar
  • 1
0 votes
2 answers
56 views

IC for translating 5V to 1.8V I2C signals [closed]

Looking for an IC to translate between 5V and 1.8V I2C. I need to connect an I2C sensor with MCU. MCU I2C pins are pulled-up to 5V while the maximum voltage on the sensor's I2C pins is 1.8V.
user14665305's user avatar
0 votes
0 answers
232 views

Level shifter circuit max current output

I want to use the BSs138 as level shifter between 3.3v and 5v as shown below. With this setup one can get max 0.33mA on 3.3V side when level high is applied to right side. My question is if the ...
Ijaz Ahmad's user avatar
1 vote
2 answers
83 views

RPM sensor signal level shifting

I have an RPM sensor that outputs a square wave. The voltage level of the output signal varies between 3.3V and 8.4V depending on which supply voltage the user has chosen for the sensor. I need a ...
Ahmad KASSEM's user avatar
1 vote
0 answers
85 views

Voltage Level Shifter Sustained Overvoltage Protection

Situation We have a board that accepts 3.3V signals for SPI, JTAG, UART and similar protocols. We want to connect to interfaces on other boards that operate in the 1.8V to 5V voltage range and hence ...
Haini's user avatar
  • 111
0 votes
1 answer
58 views

Level shifting/LED driving without lower voltage rail

What's the best way to drive 3 LEDs (2 mA each) with 1.8 V signals (500 µA max) when I have only the 5 V rail (1.8 V and 3.3 V rails might not yet be available). (For context: the LEDs are for showing ...
Sandro's user avatar
  • 5,816
1 vote
0 answers
140 views

BLDC Motor Controller Failure

I am developing a robotic vehicle that has four BLDC scooter-style motors that are controlled by off-the-shelf, dual-motor controllers. I have had several of the controllers fail and am trying to ...
tranzallos'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
-3 votes
1 answer
65 views

How do I convert an input of -1 V ... +1 V to an output of 0 V ... +3.5 V using an MCP6022? [closed]

In the simulator I get the expected result: input: 1 V output: 2.10 V But when I use hardware I don't get the correct output voltage. Can anyone give me answer with best example?
Techno's user avatar
  • 1
0 votes
2 answers
45 views

Translate voltage between line/neutral potential and ground potential (between primary and secondary side of PSU)

I would like to know how to translate a voltage difference between two independent reference potentials, as accurately as possible. backstory: We are building a active power measurement station for ...
drzecki's user avatar
0 votes
2 answers
38 views

Why PCA9306 2.9V coming at lower side even after removing the pullup

Below is my schematic for PC9306. The high side is connected to 5V and it is going to an Arduino Nano. SDA from our ASIC is coming to J113 (SMA connector marked in RED). The voltage at this side is 2....
Hari's user avatar
  • 1,580
0 votes
0 answers
48 views

Common-output WS2812 LED strip alternative control

I try to build an RPi controlled LED strip, however, while the Linux is booting, I still want a minimal effect on the LED strip. So my idea is that once the device gets voltage, a cheap ...
samsmith94's user avatar
1 vote
1 answer
123 views

8-channel logic level shifter: how to get 3.3 V output voltage?

When I apply 4.8 V (Arduino 5 V) to the B side of my level shifter TXB0108, I always get 1.2 V (which is the minimum) on the A side. Is it possible to get something like 3.3 V or at least 1.8 V (it's ...
Unicorn's user avatar
  • 161
2 votes
2 answers
365 views

Can I use a 3.3 V / 5 V level shifter to convert between 5 V and 12 V?

I need to interface few Arduino GPIOs to a 12 V device. The direction of GPIOs is not fixed and can be programmed using a different set of control pins, so I need a bi-directional level shifter. Is it ...
across's user avatar
  • 1,120
1 vote
1 answer
144 views

Can a 74HC4067 multiplexer be operated with 3.3 V while routing a 5 V signal?

I have a 3.3 V MCU and I'd like to read 16 different digital 5 V signals with a multiplexer whilst minimizing the amount of level-shifting circuitry I need. Given that the 74HC4067 is an 'analog' ...
Toms Jensen's user avatar
0 votes
0 answers
129 views

Does an SD card over SPI need a level shifter?

I want to implement an SD card on my PCB. As I'm lacking a bit of experience. I bought a breakout board, which I could not get to work. https://www.az-delivery.de/products/micro-sd-card-adapter-shield ...
Yann's user avatar
  • 71
0 votes
0 answers
119 views

How does a logic level converter with a N-channel MOSFET work?

I am trying to convert a 3.3 V digital signal to a 5 V digital signal. One way to do this is to use a logic level converter with a N-channel MOSFET and 2 resistors. I found the following schematic: ...
DGBMenno's user avatar
0 votes
1 answer
115 views

I2C level shifter with only one reference

I need to translate a I2C SCL and SDA signal coming from another board with 3.3V to VDD (1.8V) on my board. So I don't have the possibility to use the 3,3V as a reference voltage. Only the 1.8V. How ...
Ensiferum23's user avatar
0 votes
1 answer
56 views

Understanding N-MOSFET-based 5 V->3 V level shifter

Is there a simple way to know if a transistor is open or closed that doesn't involve writing equations and assuming that the transistor is open (passing current) and then by math finding out if it's ...
Firas Abd El Gani's user avatar

1
2 3 4 5
13