Questions tagged [level-shifting]

Level shifting is the process of converting between different logic levels. E.g. from 0-3.3 V logic to 0-5 V logic

Filter by
Sorted by
Tagged with
2 votes
0 answers
65 views

Reading 2 digit 7 segments with ESP32 using TM1650 maybe?

I have been trying to contact a forum member that has done a modification to his pool equipment in order to control it remotely instead of having to go to the box every time and check on the codes. ...
user avatar
  • 645
1 vote
4 answers
77 views

How to regulate 5V 3A to 3.3V for ESP32 and level up 3.3V to 5V on a PCB?

I'm making my first custom PCB with an ESP32-WROOM-32E. I am following this tutorial for the ESP32 part. My project requires a 5V 3A power supply but the ESP32 only takes 3.3V. The tutorial uses an ...
user avatar
  • 113
0 votes
0 answers
30 views

5v ALDL 8192 Baud to esp32

I've been working on a diagnostics program for my old diesel, I need the TX/RX pins of my esp32 to connect to the 1 wire ALDL port. I believe I've found a suitable way using the following circuit Im ...
user avatar
3 votes
0 answers
30 views

Controlling device with Raspberry PI with different power supply

I want to control USB switch selector with Raspberry PI(RPi). The switch (amazon) have an external wired remote with micro button and couple of LEDs. I need to emulate a button press and ideally ...
user avatar
0 votes
0 answers
107 views

Deserializing NRZ-encoded high-speed serial data

I need to design a USB interface using an FX3 SuperSpeed Explorer Kit (CYUSB3KIT-003) to get a data stream to a PC. Coming in there is a high-speed serial data line with non-polar Non-return-to-zero (...
user avatar
1 vote
1 answer
60 views

5V or 3.3V supply voltage for rail-to-rail OpAmp with 0-3.3V output

I have a 0-5V signal that I want to quantize using an ADC with a 0-3.3V input range. I want to lower the signal maximum amplitude with the following arrangement: Is it better to power the second ...
user avatar
  • 553
0 votes
2 answers
69 views

Voltage Shift 0-5V to 0- (-300mV)?

Ive been hurting my brain a lot on this one and reading up on opamps, clamps, and level shifters, but still can't figure it out. I need to take a 0v to 5v signal (TTL) and convert it to 0v to (...
user avatar
0 votes
2 answers
74 views

VGA DDC voltage

While designing a pcb with a VGA output, I came across the DDC pins on the connector. I'd like to use that protocol to retrieve data from the monitor. After searching on the internet, I found that the ...
user avatar
3 votes
6 answers
1k views

Reduce 3.3 V-8.4 V signal to 3.3 V input

I have a digital input signal which can use anywhere between 3.3 V and 8.4 V to signal "1", and I need to make this safe for a 3.3 V input on a microcontroller (RP2040). I currently have a ...
user avatar
  • 131
1 vote
1 answer
83 views

MAX134 and MAX3001E Troubleshooting

This is going to be a long question because I plan to include a lot of context that I feel is important to grasp the full scope of my issue. I am currently a senior year university student hard at ...
user avatar
2 votes
2 answers
109 views

ESP32 - Level Shift - WS2811 LED Strip - Data Signal

We are working on a new project in which we have designed and prototyped a new custom PCB to include an ESP32 in which we are controlling a WS2811 12VDC LED strip via Bluetooth. I am the business ...
user avatar
  • 21
0 votes
0 answers
87 views

Why does a MOSFET level shift on the I2C bus break some I2C devices that operate on the same level as the MCU?

Background: I'm attempting to control a stepper driver (+5V logic) with an esp32 module (+3V3 logic). The A4988 datasheet claims to operate at +3V3. And indeed it did ... poorly. It works great at +5V....
user avatar
  • 1
3 votes
4 answers
433 views

How can I shift the output voltage of an encoder to an MCU-acceptable voltage range?

I am using an encoder in my circuit operating on 5 V and the maximum output voltage of my optical encoder is 5 V. I am using the TI CC1350 Launchpad MCU to read the encoder signal, but the problem is ...
user avatar
1 vote
3 answers
69 views

Spanning the voltage gap between microprocessor and P-MOSFET

I need to control a high-side FET from an STM-8, to enable solar charging of 2x18650. The only pins I have left are PD4 and PD5 which are true open drain outputs: that would be perfect if I could use ...
user avatar
  • 225
1 vote
4 answers
286 views

Level-shifting ± 15V to 0-1.2V

I have an ±15 V AC output that needs to be level-shifted to 0-1.2 V level to be read by a microcontroller ADC input. It needs a rather decent resolution so that the ADC can be quite accurate. My ...
user avatar
0 votes
0 answers
68 views

Help reverse engineering an RS485 adaptor

I'm trying to reverse engineer a RS485 shield for a Raspberry Pi 3 that was part of a consumer appliance; I'm trying to repurpose it for other projects, but I wonder if it has ever worked. I don't ...
user avatar
0 votes
1 answer
60 views

Non-inverting op-amp always on

I am trying to build an amplifier circuit for a showlaser that I am building. The amplifier circuit is used to convert the 3.3 V of the Teensy 4.1 to 5 V. I previously build an working version, but I ...
user avatar
0 votes
1 answer
47 views

SPI Level shifter direction

I have different SPI peripherals operating at 3.3 and 5 V logic levels, with the MCU operating at 3.3 V. Therefore I use level shifters (in my case I used 74LV1T32GWH with the two inputs tied together)...
user avatar
  • 133
0 votes
2 answers
59 views

Fixed-direction voltage translators (level shifters) input voltages

I have a circuit that outputs a digital signal to an FPGA on an XEM6310 board. To digitize the signal, a comparator is used with a reference/threshold voltage of +12 V, with its positive rail tied to +...
user avatar
0 votes
1 answer
77 views

Level shifter for interfacing SCD41 and Raspberry pi over I2C

I am connecting an SCD41 CO2 sensor to a Raspberry Pi Zero 2 W. To keep the 3.3V current draw low, I would like to power it at 5V (peak current is 205 mA at 3.3V vs. 137 mA at 5V). A TXS0108E module ...
user avatar
  • 101
2 votes
1 answer
107 views

3.3V to 5V logic converter

I'm looking to drive some NeoPixels off an 3.3V Arduino Nano. I've read that I need to use a logic shifter as the NeoPixels run off 5V. Adafruit recommends the chip 74AHCT125 but I want a surface ...
user avatar
0 votes
1 answer
59 views

Low-Voltage Unidirectional Ground-Level Shifter

Greetings, electronics Mavens! I'm trying to interface the status LEDs of a third-party device to the GPIO of my ESP32. I am using internal pull-ups on the ESP32 inputs, and trying to trigger on the ...
user avatar
1 vote
2 answers
134 views

I2S voltage shifters needed?

I am designing the schematics for my new PCB and I need to output some audio signals (totally new to this). I am using an ESP32-SOLO-1 as MCU and the TFA9879HN as audio driver. The TFA9879HN is ...
user avatar
0 votes
2 answers
82 views

Level shifting I2C with VREF1 = 2.8V and VREF2 = 3.3V

I'm trying to connect a few devices on an I2C bus - primarily a GNSS module and a microcontroller. The microcontroller is the bus controller and must run on 3.3V, while the GNSS module internally uses ...
user avatar
  • 161
0 votes
1 answer
68 views

Level shifter for Neopixel connection guidance

I want to use a Neopixel LED strip, with 20 LEDs. I am using an ESP32 chip. Hence I need a level shifter. I have decided to use the 74HCT04ADG because it is cheap and most importantly still in stock ...
user avatar
  • 1,261
0 votes
2 answers
114 views

Using a diode to clamp a 24V logic output to 5V

I have a controller board (the Teknic ClearCore) in which output signals are pulled up to 24VDC. I am trying to interface with a TLC5947 LED driver IC rated at 5V maximum control input voltage. The ...
user avatar
0 votes
2 answers
140 views

How are such ICs called ? (Level-shifter + CMOS push-pull driver)

A lot of times I need a circuit like below. Namely, a logic level signal should set a higher voltage (e.g. 12 V) and higher current (few 100 mA, but not Amps) push-pull stage to a hi/lo state at ...
user avatar
  • 10.2k
1 vote
2 answers
101 views

TXS0108E8 Specification in Mbps, what is the equivalent in MHz?

I am looking at a datasheet of a level converter (https://www.ti.com/lit/ds/symlink/txs0108e.pdf?ts=1634046719564&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FTXS0108E - TXS0108E8) and ...
user avatar
  • 115
1 vote
3 answers
323 views

Bi-directional level shifter for serial communications

I want to know if I need to use a bi-directional level converter to send data from an ESP32 to a 5V display, using serial communications (TX and RX). I understand the serial communication is uni-...
user avatar
  • 1,261
0 votes
1 answer
47 views

Level shifting a non-periodic signal

I have an RFID reader that sends a high 5V logic level when it is triggered (RFID tag is seen by the antenna). I want to then use this 5V output to trigger an ESP32 to turn on an LED and also send an ...
user avatar
  • 1,261
0 votes
1 answer
78 views

How to connect RS232 level shifter?

I'm trying to use this: https://www.sparkfun.com/products/449 to connect my RPi to my computer via a USB to serial device. (And eventually connect the RPi to other legacy serial devices) My questions: ...
user avatar
  • 413
2 votes
3 answers
620 views

Logic Level Shifter 24/12 V to 3.3 V

I have a ESP32 and Industrial Sensor with voltage output 0-12 V and 0-24 V. How can I interface 2 logic levels with my 3.3 V ESP32? Can I use a BSS138 or do I need another module?
user avatar
  • 21
3 votes
2 answers
98 views

Level shift 3 V digital signal to 5 V with fewest possible components

I'm trying to convert a digital signal which, when high, is a bit less than 3 V, to an equivalent signal where the high is 5 V. I have at my disposal the signal wire, a ground wire, and a 5 V wire. ...
user avatar
0 votes
3 answers
104 views

Floating/open input on summing amp

I was tasked with taking a signal that could be of ±2.5 and converting it to 0-5v so it could be read by an ADC. I managed that with a non-inverting summing amp like so: It worked pretty well but I ...
user avatar
0 votes
1 answer
77 views

Reproducing ST Design Gate Driver

I try to reproduce the buck-boost converter from the "STM32F334 Discovery" board. Therefore I have drawn a KiCad Schematic and assigned the appropriate spice models. But unfortunately, I'm ...
user avatar
  • 1
0 votes
2 answers
398 views

How to generate a -12V to +12V PWM signal from 0V to 3.3V (or 5V)

I want to build my own Type 2 electric vehicle (EV) charging wallbox. In order to communicate the maximum charging amperage of my wallbox to the EV, I have to generate a -12V to +12V PWM signal of 1 ...
user avatar
  • 1,572
0 votes
2 answers
132 views

How to scale (0-7V, 15-18V) to (0V, 3.3V) for OTGW project

Introduction There is an open source project for implementation of Opentherm protocol which defines the master and slave circuit for digital communication according to the protocol specification. ...
user avatar
0 votes
1 answer
61 views

Why is my level shifter outputting different voltages when connected to AC power

I'm using a level shifter (https://cdn-shop.adafruit.com/datasheets/txb0104.pdf) to interface with an LCD display (https://www.sparkfun.com/products/16398) that runs on 3.3V. When connected to a DC ...
user avatar
0 votes
1 answer
136 views

UART 1.8V logic level translator

In my circuit i need to make a possibility to connect 2.5, 3.3 and 5V UART interfaces to my 1.8V. Therefore i need to make logic level translation. I find this 1 channel chip SN74LVC1T45, that convert ...
user avatar
  • 3
2 votes
2 answers
184 views

level-shifting daisy-chained data line from 5V to 24V for long distance communication stability

I need to daisy chain several WS2811 chips with distances up to 20-30m in between. Every unit has a WS2811 chip that drives 3 DIO5151BCD10 LED drivers to control a high power RGB led. To account for ...
user avatar
  • 149
0 votes
0 answers
44 views

PCA9306 Level Translator Output is coming without providing Enable Signal

I am using PCA9306 board for level Translation .The schematic is given below.The board is purchased from third party not made by me.(https://www.sparkfun.com/products/15439) I need to control the ...
user avatar
  • 241
0 votes
1 answer
53 views

Hardware Design Question Related to IMU VDD, VDDIO and IO pins

I am working on a flight controller design using ICM-20789, an IMU from TDK. As most of the components are powered by 3V3 source, so I am thinking connect IMU_VDD to 3V3 and VDDIO to 1V8 source same ...
user avatar
  • 3
2 votes
1 answer
68 views

Level Translator Impedance Matching Termination Resistor For High Speed?

I want to connect level translators like 74LVC1T45 to a microcontroller to translate high speed signals from 3.3v to 5v. I want to make sure it works for frequencies up to 40 MHz. The traces on the ...
user avatar
  • 21
0 votes
2 answers
102 views

Communication between two microcontrollers with different operating voltages (5 V and 3.3 V)

I want to communicate between two microcontrollers - one is PIC18F2550 and the other is STM32F103VET. They operate at different voltages: 5 V (PIC) and 3.3 V (STM32). I would prefer to use SPI ...
user avatar
  • 103
1 vote
2 answers
57 views

What happens when level translator input and output are shorted?

I am using a level translator in my design to interface between two systems. I also want an option to bypass the level translator by shorting a jumper resistor placed across terminals A and B. What ...
user avatar
0 votes
0 answers
32 views

Level translator 3.3 V logic to -7 V logic [duplicate]

I am trying to replace a circuit on an old device. I need to translate from 3.3 V logic to 0 to -7 V logic. And vice-a-versa. Any suggestions would be greatly appreciated. Circuit INPUT: 0 to 3.3 V ...
user avatar
0 votes
1 answer
82 views

8-channel/octal equivalent of 74HC125

I have a 12v powered 16-channel relay board, that required 5v logic level signals to control the relays. However, I am using a Raspberry Pi to control this, which has 3.3v logic level outputs. I have ...
user avatar
3 votes
2 answers
741 views

Pull-Up Resistor to 5V on 3.3V Output

I'm using a 74LVC245 buffer, which is a 3.3V chip with 5V tolerant inputs. What will happen if one of the chip's outputs is enabled and is connected to an external device with a 2K pull-up resistor to ...
user avatar
  • 308
7 votes
3 answers
1k views

Converting 3V3 PWM to 5V analog

I want to convert a 3V3 PWM (10 kHz) signal to a 0-5V analog DC signal using transistors only (no DAC), if possible. The output logic should be non-inverted, i.e. 0V->0V and 3V3->5V. The time ...
user avatar
  • 689
0 votes
1 answer
69 views

Level Shifting - Signal Scaling - Scale Analog Signal Voltage

I have a variable voltage called Vreg (Voltage regulated) which is output of switching regulator (buck converter) and is less than 12v. Also there is ANALOG Signal ...
user avatar
  • 103

1
2 3 4 5
11