#1855

  Рет қаралды 6,242

IMSAI Guy

IMSAI Guy

18 күн бұрын

Episode 1855 chip of the day
don't use 2N7002 or BS170 for level translation
Be a Patron: / imsaiguy

Пікірлер: 58
@tedivester4947
@tedivester4947 15 күн бұрын
I'm confused - but that's good. Makes me do some head scratching. One thing though. In High School and the Air Force all of my instructors used electron flow! When back in college, some of the professors would use electron flow and the majority would use current flow. It was the same way with the text books. I graduated with PTSD- or something. There was hole flow but I don't want to get into that. To many memories. Well that's maybe why I'm confused. Thanks for the time spent on a great presentation!
@danielmantione
@danielmantione 16 күн бұрын
The 74CBT16211 bus switch is my favourite device for 5V3.3V logic level conversion. It has 24 lines, so you can level convert an entire chip at once, and the fact that it doesn't use pull-up resistors makes that it works at much higher speeds than a MOSFET solution. You should make a video about it!, Using the 16211 for logic level conversion ain't too obvious from the data sheet, so a video would be helpful for people.
@chilly058
@chilly058 16 күн бұрын
Thanks for the clear explanation. I would like to mention the TXS0104E device that I have been using. The TXS0104E contains 4 level translators similar to what you showed. Additionally it has internal 10k pull-up resistors, and edge detection on the input signal from either side. When a transition from low to high is detected, the internal circuitry actively pulls up the input to speed up the transition. After the transition the active pull up is again released. Very handy for long distance one-wire and two-wire applications.
@kisssys5414
@kisssys5414 15 күн бұрын
I was just going to post the same thing. I've had nothing but trouble with a board from Sparkfun with the described design.
@criznach
@criznach 14 күн бұрын
This is timely and awesome! I've been using the classic BSS138 circuit for several products for the last 5 years. I just adapted the same circuit as a cutoff switch for an i2c bus that was conflicting with our AVR programmer. Both sides are at 3v3, but the gate is tied to the programmer's separate 3v3 bus.
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 16 күн бұрын
You have to remember that a lot of logic fets, were designed when logic levels were 5v and not today's lower levels
@Manf-ft6zk
@Manf-ft6zk 16 күн бұрын
"That means you have 4 level converters on one board - That's what I have over here" - getting in on the high side and coming out at the low side." With five of them for a buck and a half I was sure to see the same signal converted from high to low and back 10 times in a row. But thank you for the perfect explanation. 😄
@TYGAMatt
@TYGAMatt 16 күн бұрын
I've used a 2N7000 to level shift 5V to 3.3V and it worked fine. Also used an A2SHB smt mosfet. The max threshold for the A2SHB is a Mere 0.85V
@RexxSchneider
@RexxSchneider 16 күн бұрын
A few points: there is a 2N7002 which is like the 2N7000 but with tightened spec (threshold voltage = 2.5V max) in an SOT-23 package. However the BSS138 is cheaper, so good catch. The body diode in these small signal MOSFETs isn't going to be dropping as much as 0.7V in conduction, more like 0.6V when loaded with 10K from a 3.3V rail, so Vgs is at least 2.7V. At 9:00 when the MOSFET starts conducting as the diode is turning on, the channel resistance becomes so low that the source is effectively dragged down to 0V. You now have 3.3V Vgs, not 2.6V. At 8:20 we really don't want the MOSFET to turn on "hard", just "hard enough", otherwise the increased gate charge reduces switching speed. Better not to in level-shifting applications.
@bachvaroff
@bachvaroff 14 күн бұрын
The NXB0101 chip (from Nexperia) is yet another dual supply transceiver, better suited for bus translation up to ~100MHz (3.3V↔5V, and it can also go high-Z). NXS0101 is the open drain cousin, though it's much slower.
@originalmianos
@originalmianos 16 күн бұрын
Keeping in mind these are only good for low speed like serial ports and slow spi etc. There is way too much capacitance in the junction to use for, say 10Mhz, and you have to resort to the proper chips with more stuff inside them. It can be easily seen on the oscilloscope at higher frequencies and can be confusing on the logic analyser.
@pol.kraine7890
@pol.kraine7890 15 күн бұрын
How fast can you get with two NPN BJT's connected together in reverse orientation (emitter to collector)? With the two bases pulled up to the respective voltages you want translated as well as pullups on the emitter/collectors. example: 1K |------/\/\/\------| 5V | 1K | |------/\/\/\------| 5V | ___|___ 1K | * |/ \ |------/\/\/\-----| 3.3V | __/ \__ | A o__|__| |__|__o B | __ __| \ /| *2N3904 _\___/_ | 1K |------/\/\/\-----| 3.3V
@originalmianos
@originalmianos 15 күн бұрын
@@pol.kraine7890 You would have to draw it up in spice. It would be faster as FETs have much more capacitance then ye olde BJTs. Then again, the dedicated translation devices have Schmidt triggers, giving them even less limitations at high bandwidth.
@Mr.Leeroy
@Mr.Leeroy 14 күн бұрын
4-ch PCBs from CN are Sparkfun module from 2013 clones btw. A lot of those exist thanks to Adafruit, Sparkfun and the like OSHW contributions cloned and mass-produced often using CN analog chips (which are statistically quite good) if such exists, with genuine brand parts too, but generally CN modules almost always work.
@olivierconet7995
@olivierconet7995 16 күн бұрын
This is always a strange transistor arrangement. Nicely explained, as usual !
@qzorn4440
@qzorn4440 16 күн бұрын
Excellent information. 🥳 Thank you.
@edgeeffect
@edgeeffect 15 күн бұрын
Anyone who likes to play with microcontrollers is probably all to familiar with this schematic.... but what we were lacking was a really good description of what's actually going on.... until now that is.
@k.chriscaldwell4141
@k.chriscaldwell4141 15 күн бұрын
Superb! Thanks.
@AnalogDude_
@AnalogDude_ 16 күн бұрын
interesting, You also got TXS0101 (single), TXB0108 (8 fold), but require 2 100nF capacitors on both supply sides. But the Sizklai also works pefectly, but requires 1 more transistor than your circuit, but not bi directional.
@robinbrowne5419
@robinbrowne5419 16 күн бұрын
It's wizardry I tell you. Wizardry. 🧙‍♂️👍
@iblesbosuok
@iblesbosuok 16 күн бұрын
Basically, it is a common-gate topology. The source & drain of the FET are generally interchangeable. Moreover, there is a unique EM mosfet which has a body diode.
@hanelyp1
@hanelyp1 16 күн бұрын
I've seen bipolar transistors used in the same topology. The only change needed is a base resistor. As with a mosfet the transistor will work backwards.
@saeedkizzy
@saeedkizzy 16 күн бұрын
Nice very useful, for better results TXS(0104) series from Texas Instruments for open drain applications like I2C or MDIO buses and TXD(0104) series for push-pull CMOS logic like data line of SRAM are also available.
@andymouse
@andymouse 16 күн бұрын
Awesome....cheers.
@PeetHobby
@PeetHobby 16 күн бұрын
There are indeed much better MOSFETs available nowadays than the BS170, and they are also much cheaper. The only advantage it has is that it cab be brought in through-hole package, making it easy to use on breadboards and experimental PCB's and so.
@perseverance8
@perseverance8 16 күн бұрын
I use 74LVC245 for level shifting. The 74LVC245 is great for higher speed signals vs discrete FET based level shifters & have 8 lines. Additionally TXB0108 is a great level shifter too though I have quite a few SN74LVC245AN’s around.
@stevenbliss989
@stevenbliss989 3 күн бұрын
A great low gate voltage mosfet is the Si2302, ultra cheap!
@misterhat5823
@misterhat5823 16 күн бұрын
There's several ICs available that work the same way. One is the SGM4553.
@uwezimmermann5427
@uwezimmermann5427 16 күн бұрын
nice introduction of this nice MOSFET and the use in level shifters. However, the real resistance is of minor importance for a level shifter. Even for I2C lines it only has to be significantly below the pull-up resistors' values, but 10s or even 100s of Ω should not matter much, unless you have long lines with high parasitic capacitance and high frequency signals.
@larrybud
@larrybud 16 күн бұрын
Thanks. Do you have a link to that digikey doc, or the "basics" series they have?
@IMSAIGuy
@IMSAIGuy 16 күн бұрын
www.digikey.com/en/blog/logic-level-shifting-basics
@rivaoliveira1256
@rivaoliveira1256 12 күн бұрын
How high in frequency can those little FET level translators boards go? Thanks.
@jspencerg
@jspencerg 16 күн бұрын
You create a wide variety of topical videos. The number of views sometimes vary wildly. Do you bother to look for correlations to number of views? Your database for analysis increases daily. :-)
@IMSAIGuy
@IMSAIGuy 16 күн бұрын
yes, I look at the statistics. If I only wanted views/subscribers, it would make my channel stupid. I just do what I want.
@chriswalford4161
@chriswalford4161 11 күн бұрын
@@IMSAIGuy……….and thanks !
@mansourmashaei2838
@mansourmashaei2838 16 күн бұрын
Hello Mr engineer I want to help me how to find circuit schematic all of the electronics appliance for repairing like this power switching & main board of the other circuits Thank you Mr Engineer
@IMSAIGuy
@IMSAIGuy 15 күн бұрын
kzfaq.info/get/bejne/f89dYMSFsNXHhHU.htmlsi=jtoMnPQBzQoGZu8K
@TheShawna1
@TheShawna1 10 күн бұрын
I'd like to convert TTL to 24 volts 60mA for FSK Radio teletype of Old.Bidirectional so i can get my 1950s Modem to think the computer is a Teletypewriter?
@IMSAIGuy
@IMSAIGuy 10 күн бұрын
forum.vcfed.org/index.php?threads/mek6800d1-output-interface-for-60ma-teletype-current-loop.47518/
@joseppuig925
@joseppuig925 16 күн бұрын
BSS214N is a little better in some aspects: 1.2V max threshold voltage and 0.25 ohm at 2.5V Vgs.
@ElangovanPalaniappan
@ElangovanPalaniappan 16 күн бұрын
Thanks. The datasheet shows maximum Vgs(th) is 1.5V. It means if the gate is 3.3V and 0V at source in the circuit, then this MOSFET will get damaged. So it cannot be used for 3.3V to 5V level shifting. Please correct me if i am wrong....
@tfrerich
@tfrerich 16 күн бұрын
The parameter you are listing is the threshold voltage, not a maximum voltage. There must be a voltage difference between the gate and the source for the MOSFET to turn on. That value in the datasheet is saying that for some devices that difference may be as low as 0.8 volts, for most it will be 1.3 volts, and for some the difference must be at least 1.5 volts before the device will turn on. The value you probably were thinking of is Vgss, which my datasheet lists as + or - 20V for the BSS138.
@ElangovanPalaniappan
@ElangovanPalaniappan 14 күн бұрын
@@tfrerich Heartly thanks for your clarification... Yes i got confused with Vgss & Vg(th)... Thank you...
@captainboing
@captainboing 13 күн бұрын
why do so many FET symbols show the body diode as a zener?
@petermoore5203
@petermoore5203 10 күн бұрын
I believe it’s a Schottky diode. If so the forward drop would be about 0.3V not 0.7V.
@luhanxmonat
@luhanxmonat 16 күн бұрын
Great explanation, love the detailed analysis. But 0.7 volts is (kinda) valid for 3.3 volt devices. Also given the light loading, the diode will (probably) be less than 0.7 volts. "Engineering is the art of what you can get away with".
@jspencerg
@jspencerg 16 күн бұрын
I doubt bridge building engineers embrace that saying.
@luhanxmonat
@luhanxmonat 16 күн бұрын
@@jspencerg One would hope, but I'm afraid some do.
@AttilaAsztalos
@AttilaAsztalos 16 күн бұрын
@@jspencerg Except yeah they do. There's a reason for the saying "Any idiot can build a bridge that stands, but it takes an engineer to build a bridge that barely stands."
@jspencerg
@jspencerg 16 күн бұрын
@@AttilaAsztalos "...with the correct safety factor thrown in" Some engineering fields permit or even encourage wanton cost saving, planned obsolescence or life till the end of warranty. Bridge building in the USA is not one of those. Neither are the probe building wizards at NASA.
@gorak9000
@gorak9000 16 күн бұрын
The 0.7V is only there before the fet turns on - once it's on, you get the 5 ohm (or less) path through the fet, and the diode is essentially out of the circuit. The diode just bootstraps the fet into the on condition, and then the fet takes over, and only in the direction of a low on the right driving the left side low. It's actually extremely clever how it works!
@tnamen1307
@tnamen1307 15 күн бұрын
Hi Sir please reply... this question is very very confusing... I have 2 identical 12V DC 7.5Ah batteries say X and Y. One side of a normal bulb is connected to postive terminal of X battery, and another side of the bulb is connected to the negative terminal of the Y battery. The negative terminal of X battery and the positive terminal of Y battery are not connected to anything. So, in this case, I want to know whether there will be a current flow to the bulb, and whether the bulb will glow??? Give reasons if bulb will glow, and reasons why bulb will not glow. Thanks in advance.
@IMSAIGuy
@IMSAIGuy 15 күн бұрын
sounds like a homework problem
@aduedc
@aduedc 16 күн бұрын
Thanks, I did not know about this topology for level shifting. @5:11 remember the source and drain of the normal MOSFET transistors are interchangeable. So when the output is low the source and drain are exchanged. Here the body diode does not get engaged until much higher currents( that is when I x Ron > 0.7 V) The advantage of this topology is its speed and it is bi-directional, the disadvantage is use of constant static current. Normally level shifters are made of cross coupled pmos transistors on top of nmos transistors. The disadvantage is that it slower than this topology. Also, if you have MOSFET transistor that you could connect to its body, it is better to connect the body to the lowest voltage( ie. in this case 0 V)
@hanelyp1
@hanelyp1 16 күн бұрын
The static current situation isn't as bad if you're already using a protocol, like I2C, that is designed to use open collector outputs, pullup resistors, and logic high idle state.
#1856 BS170 Measurement by Hand
12:42
IMSAI Guy
Рет қаралды 4,9 М.
ШЕЛБИЛАР | bayGUYS
24:45
bayGUYS
Рет қаралды 677 М.
The Noodle Stamp Secret 😱 #shorts
00:30
Mr DegrEE
Рет қаралды 64 МЛН
3 High Side MOSFET Drive Circuits
18:21
Mr.T's Design Graveyard
Рет қаралды 28 М.
Designing a simple vibration sensor
17:13
Nicholas Piegdon
Рет қаралды 74 М.
Measuring antenna return loss with RSPduo
8:08
AE5X
Рет қаралды 26 М.
#1686 74LS624 74624 Voltage Controlled Oscillator
8:27
IMSAI Guy
Рет қаралды 6 М.
It's a dirt-cheap Spectrometer - But is it any good?
37:23
Project326
Рет қаралды 31 М.
#1868 HP 6286A Power Supply Repair (part 1 of 3)
12:19
IMSAI Guy
Рет қаралды 4,6 М.
#1829 MAX338 Analog Switch Multiplexer
10:04
IMSAI Guy
Рет қаралды 4,8 М.
My Electronics Parts Kit Addiction
48:19
SmithBotics
Рет қаралды 40 М.
Вы поможете украсть ваш iPhone
0:56
Romancev768
Рет қаралды 663 М.
Обманет ли МЕНЯ компьютерный мастер?
20:48
Харчевников
Рет қаралды 176 М.
Airpods’un Gizli Özelliği mi var?
0:14
Safak Novruz
Рет қаралды 6 МЛН
Apple. 10 Интересных Фактов
24:26
Dameoz
Рет қаралды 114 М.