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
1
vote
2answers
313 views

Issues using an Ultrasonic Sensor with Raspberry Pi

I am conducting a project which needs to use a precise ultrasonic sensor but I am having trouble working it with the raspberry pi. The sensor I’m using is the Senscomp 600 series; the manual isn’t ...
2
votes
2answers
2k views

How to scale and shift voltage signal?

I want to scale and shift my voltage signal by below relation: $$ V_{out} = \frac {10} {12} \cdot V_{in} - 10 $$ Indeed my primary voltage is from 0v to 24v and I want to put it from -10v to +10v. ...
1
vote
0answers
48 views

ST232 unexpected failure [closed]

We are experiencing a series of unexpected failures on control cards with a standard MAX232 configuration, which translates signal levels from 5V TTL logic to a printer using RS232 protocol. The ...
2
votes
0answers
39 views

Buffer-cum-Level shifter using dual MOSFET

I am putting together a Buffer-cum-Level shifter using dual MOSFET to deal with PWM signal for display backlight control. This 3.3V PWM signal is driven by MSP430G2452 and would be reaching the ...
0
votes
2answers
63 views

Need to map 0-5V DAC output to 0-10V output

I am using a TLV5618 to take a 16 bit SPI package to produce a voltage between 0-5V with 12 bits of resolution (4 control bits). Now I need to shift this signals from 0-5v to a 0-10v signal. I do ...
5
votes
2answers
2k views

Odroid XU4 and Olimex MOD-IO by I2C via level converter

Long version Like some of you, I do electronics as a hobby and I'm relatively now to this, so I have a few questions regarding the communication between my Odroid XU4 and a nice I2C module from ...
0
votes
2answers
138 views

Low frequency level shifting using single supply opamp

Referring to this discussion, I want to ask whether this can be done using single supply? I have a similar problem where my input is a triangular wave swinging between 130mV and 500mV at 250Hz ...
0
votes
3answers
94 views

Shifting level voltage of a signal

I have a signal, which can vary from 400 to 7000 Hz approximately. It is a kind of pwm signal and has the time of high level, Ton, 30 times longer than the time of low level, Toff. The shape of the ...
0
votes
2answers
44 views

Replace an inverter and a MOSFET with an IC for 3v3 to 5v level shifting?

First, I'll go through what I think is going on in this circuit. If I understand it correctly it's basically a logic converter. The 3v input comes from STM32 GPIO and the output goes to a floppy disc ...
0
votes
1answer
487 views

How does a level shifter shift the DC level of a multi-stage amplifier output to the ground (or zero)?

As we can see that input fed to this amplifier is the output of final stage of a multistage amplifier and if we apply KVL to base-emitter loop then Vbb is the DC level acquired from the previous ...
0
votes
1answer
160 views

SPI readings always high (1) when connected via bi-directional level shifter

I am trying to read two gas sensors (MQ4 for methane and MQ7 for carbon monoxide) with my NodeMCU ESP8266. Both sensors require 5v (for the heaters) and have 4 pins (GND, VCC, DO, AO). Digital outputs ...
1
vote
3answers
86 views

How does an auto bidirectional voltage translator work?

I'm trying to understand how the auto bi-directional voltage translators work. Background: I have to choose a part that can translate signals in both ...
0
votes
2answers
106 views

74AS TTL to CMOS pull up resistor and maximum speed (or lowest delay)

Hello I have to pilot a CMOS input 5V chip device with a 7474 flip flop with the lowest possible delay to minimize clock jitter. Signal is about 11.3 Mhz I have two options: 1) 74HC74 (CMOS ...
0
votes
1answer
42 views

Level shifting between SD Card and Lipo-powered microcontroller

I have an ATtiny861 microcontroller powered directly from a Lipo battery. My circuit is designed to operate on supply voltages from 3V - 4.2V (bonus if it tolerates up to 4.6V). I need to interface ...
0
votes
3answers
104 views

Changing output voltage of a buck converter by electronically swapping the feedback resistors

I am going to design a circuit which is going to output some digital signals. The output stage of the circuit will have some level shifters. The level shifters will give flexibility to the user to ...
0
votes
1answer
51 views

LEDs flicker when I move my circuit

I'm building an LED driver circuit, CD4504B and TLC5916 controlled by a Raspberry Pi: simulate this circuit – Schematic created using CircuitLab I'm finding that sometimes when I move the ...
0
votes
2answers
100 views

1.8v to 3.3v level shifter logic family [closed]

I have been looking for a level shifter capable of doing 1.8v to 3.3v. For whatever reason it seems almost everyone carries 2v to 3.3v shifter but 1.8v to 3.3v are few and far between. For practical ...
0
votes
1answer
252 views

5v clock feeding 3.3v microcontroller - resistor+zener acceptable?

So I've used a resistor and diode to level-shift from 5v to 3.3v, but that's been for general logic - the fastest thing I've done with that is 9600 bps serial. I now have a need to feed a 3.3v ...
0
votes
3answers
128 views

Positive Level Shift a Clock Output using Diode?

I need to level shift a 26mhz 1.8v clock output by .7v on both the high and low side (so clock swings from .7v to 2.5v on output). Would a simple diode/resistor setup like below work for this? ...
0
votes
3answers
95 views

Level shifter for WS2811 led strip

I'm trying to control a WS2811 Led strip with an ESP32. I'm using a logic level shifter to convert the 3.3V output of the ESP32 to 5V. I bought this level shifter (txs0108e) https://fr.aliexpress.com/...
2
votes
2answers
117 views

Can I, Bi-Directional Level Shifter as Motor(3V) controller with Arduino Lilypad (3.3V)?

Basically this could be easily done by using a BJT NPN, but since I want to control two motors(3 V, 45-60mA) and 5 LEDs was thinking of using a Bi directional level shifter instead of using ...
5
votes
1answer
120 views

How to speed up level shifter?

I have a level shifter that uses a transistor to control the gate of a high voltage P-channel MOSFET, like this: simulate this circuit – Schematic created using CircuitLab This is designed to ...
0
votes
2answers
63 views

10-30v to 3.3v Level Shifting [closed]

Could someone point me towards a level shifter IC or circuit that can handle 10-30v to 3.3v shifting? It doesn't need to be fast or bidirectional just want to data log the state of some 12v and 24v ...
0
votes
1answer
77 views

How does a LSF level-shifter work?

I'm trying to interface an Arduino with an eMMC chip to bit-bang it. eMMC uses bidirectional lines, and one of them (CMD) is first used in open-drain mode (for identifying devices on the bus) and then ...
0
votes
3answers
187 views

Driving capacitance with a high voltage level shifter

I am having issues with a 'high' voltage level shifter I am creating. I need to drive a 28Vpp waveform with specific timings ( <.1us rise time, 1us pulse width), converting from the 3.3V logic that ...
0
votes
1answer
46 views

The simplest “adaptive” downward level shift solution?

I want to build a level shifter circuit for the RX pin of my ESP-12S. The goal is to convert any level between 3.3V and 5V to 3.3V as I might use many USB to UART breakout boards with different output ...
1
vote
2answers
5k views

What can I replace a BSS138 N-Channel MOSFET with?

I'm replicating this level shifter by Sparkfun but they use a transistor that I don't have. Frankly, I know next to nothing about transistors so reading the specs is way over my head at this point. ...
1
vote
0answers
47 views

How do I wire a Rasberry Pi 3B+ to a WS2812b RGB strip?

I am working on a project where I need to use a WS2812b RGB strip. I am really worried because I have already burnt 2 Raspberry Pis with my wiring. I just want to show my schematics, and be assured as ...
5
votes
2answers
6k views

How does a bidirectional level shifter work?

I have the following circuit with an NPN HEXFET Q1 (BS170) Correct me if I'm wrong: When the TX-3V3 microcontroller is 3.3V i.e. logical 1, the TX-5V is a ...
0
votes
1answer
100 views

Pulldown for zener voltage shifter

I would like to know whether R24 has been correctly applied to pulldown the EN pin when none of the diodes are switched on. The idea here is that voltages higher than 3.3V may be applied from any of ...
0
votes
3answers
58 views

How should I drive a chip where I need to pull pins low in order to enable

I am wanting to use a FSTD16211 in my circuit. It's datasheet says that pins OE1 and OE2 should be high to disconnect the 2 channels of the bus, and both should be low to connect the 2 channels of the ...
0
votes
0answers
49 views

Noise filtering circuit on a pulled-up 1-wire bus

The 1-wire bus data line is connected to a microcontroller pin (through a level shifter) with open drain configuration. The bus is pulled up to 5 Volts (DVDD) with a 4.7k resistor. The communication ...
0
votes
1answer
65 views

Multiple ground planes, single point ground, and a level shifter

I'm using a level shifter to go from 3.3V to 5V (digital/analog). According to the datasheet, if I put 1 ground on the left side of the IC and the other on the right, it would tie the grounds together ...
1
vote
2answers
48 views

High level present in a pin of a non-powered IC can damage it?

I'm using a TXS0108E to convert from 5V to 3.3V and vice versa. The schematic is below: In the datasheet, in section 6, I read the following: Voltage applied to any output in the high-impedance or ...
1
vote
1answer
48 views

Can I leave it unconnected pins in the level shifter?

My concern is that pins are connected between DB25 and TXS0108E, but are not connected between TXS0108E and the Header 5x2. There is only the tracks between TXS0108 and the Header 5x2, but there is no ...
0
votes
1answer
79 views

Both sides of a voltage level shifter connected

The TXS 0108E is a level shifter circuit, performing, in my project, a shift level voltage from 3.3V to 5V . Because of a design error in the wiring diagram, I left some pins with the same name on the ...
2
votes
1answer
72 views

Voltage shifter 0-30VDC

I am required to generate and measure squared signal (PWM like). I should cover a 0-30VDC amplitude. High level of the signal is 30 VDC, low level is 0VDC. The bandwith to be covered is 0-20kHz. I ...
3
votes
4answers
967 views

Purpose of level-shifter with same in and out voltages

I am looking at a schematic for the Pixhawk 2 board (page 3). The UART ports on the microcontroller are sent through a level-shifter chip (TXS0108) where the input voltage is the same as the output ...
0
votes
1answer
208 views

UART RX in VHDL

I have to set up a UART transmitter and receiver using a Spartan 3 board. I've got the transmitter set up already and verified it with the arduino terminal using this FTDI breakout.The receiver is ...
1
vote
1answer
235 views

Understanding 5V to 1.8V UART level-shifting circuit

Hopefully it's OK to ask very basic electronics questions here. I had a TTL 5V UART cable, however the board I had only accepts 1.8V max. So I found some online schematics that uses resistors and a ...
0
votes
4answers
89 views

4.5 V on gate of Mosfet while switch open

I have a strange behavior with the circuit below. (the bidirectional logica level should be read as: VL = Voltage Low GNDL = GND Low VH = Voltage High GNDH = GND High L1 = Low channel 1 (I did only ...
1
vote
2answers
68 views

Level shifting: from 0-3.5V range to -2/1.5 range

I have a signal (digital) which has output levels of 0V (logic 0) and 3.5V (logic 1). I would like to know if it is possible to shift it between -2V (logic 0) and 1.5V (logic 1). I found here on ...
1
vote
1answer
680 views

What's wrong with this single-transistor level-shifter?

I was trying to step up the output of a 3.3V microcontroller pin to 5V for communication with another device. I wanted to do it with a single bjt, and found a good design for doing that here Single ...
0
votes
2answers
561 views

Analyzing 24V fast PWM signal in Arduino

I am currently trying to fit a 3d printer head on a cheap chinese CNC mill. So far I have successfully been able to control the fan, heating element (including reading a thermistor) and the feeder ...
2
votes
2answers
292 views

Is this a reasonable design for a high-speed level shifter?

I wanted to try designing a device that will use an RS-232 interface. RS-232 works at +12/-12V - I know I can use a MAX232 as a level converter, but I wanted to try designing my own (this is a ...
1
vote
2answers
186 views

How to find a truly bi-directional level shifter?

I'm trying to create an interface PCB to a 32 channel USB GPIO device which has 3.3v IO, and I want the flexibility to use 1.8, 3.3 or 5v - across all pins, or at most in 2x banks of 16 - I don't need ...
8
votes
2answers
575 views

Level shifter using BJT schematic

I was reading the book Analogue electronic circuits and systems, by Amitava Basak, when I stumbled in this level shifter circuit that uses BJTs instead of the usual mosfets. See the below picture. ...
3
votes
3answers
3k views

Replace BSS138 with AO3400A in level shifter circuit

I have to use level shifter circuit to interface MAX31855 with Arduino running on 5V. I found easy to build level shifter circuit at SparkFun website. It is using BSS138 (datasheet) which I don't ...
1
vote
3answers
222 views

Protecting a 3.3V circuit from 5V power supply

I'm designing a dev board for 3.3V parts. On the dev board, I will have a header for an "FTDI Friend" USB-to-Serial converter. The FTDI part can supply Vcc to the target board. However, FTDI parts ...
0
votes
1answer
128 views

Using a Dual Bidirectional I2C Bus Voltage-Level Translator

I have a module that uses this ADC powered with 3.3V (MCP3422): Datasheet Now I would like to communicate with it over I2C using an Arduino Mega. The problem is that the Arduino's I2C is operating on ...