'level shifting' is a nuisance as there are too many cases of needing to interface 3.3v to 5v and vice versa.
while looking around for 'solutions' I found this little rather interesting logic gate
74lvc1g17
https://www.ti.com/lit/ds/symlink/sn74lvc1g17.pdf
https://assets.nexperia.com/documents/d ... VC1G17.pdf
https://www.diodes.com/assets/Datasheets/74LVC1G17.pdf
apparently, both TI and Nexperia (and Diodes) probably more makes them, and aliexpress vendors seemed to stock both part numbers quite commonly.
this apparently can be used for translating between 3.3v - 5v upwards.
but do note that the upwards trip point is close to 3v when running off 5v vcc.
I'd think shifting down is similar in a sense that it can take 5v inputs and run off 3.3v VDD
so the output would be 3.3v.
quite a handy chip
(note: the 'old' way of interfacing 3.3 - 5v on the output is 74HC*T* series, the HC series won't do it, 74HCT can translate 3.3v output to 5v
but that I think quite a few datasheets for 74HCT states a min VDD of 4.5v, hence translating down is an issue)
these chips matter are they are practically 5v logic level mosfets 'drivers', and many '(stepper) motor drivers' chips has a 5v specs, so do WS2812B Neopixels etc.
3.3v - 5v level shifter - 74lvc1g17
Anything not related to STM32
Jump to
- Announcements
- New users start here
- ↳ Forum rules, FAQs and HowTo's
- ↳ Let us know a bit about you and your projects
- Arduino for STM32
- ↳ General discussion
- ↳ Ideas & suggestions
- ↳ Cores
- ↳ STM32 Core
- ↳ Builds and Announcements
- ↳ Code snippets
- ↳ Ideas & suggestions
- ↳ General discussion
- ↳ Installation and OS related
- ↳ Libraries & Hardware
- ↳ PR's bugs and enhancements
- ↳ LibMaple
- ↳ Builds and Announcements
- ↳ Code snippets
- ↳ General discussion
- ↳ Ideas & suggestions
- ↳ Installation and OS related
- ↳ Libraries & Hardware
- ↳ PR's bugs and enhancements
- ↳ Steve's LibMaple core
- ↳ General discussion
- ↳ PR's bugs and enhancements
- ↳ Projects
- ↳ IDE's
- ↳ Off topic
- Arduino for STM8
- ↳ General discussion
- ↳ Cores
- ↳ STM8 Core
- ↳ Other
- Boards
- ↳ Custom design boards
- ↳ Maple & Maple mini etc
- ↳ STM boards (Discovery, Eval, Nucleo, ...)
- ↳ All other boards
- ↳ STM32F0 based boards
- ↳ STM32F1 based boards
- ↳ STM32F2 based boards
- ↳ STM32F3 based boards
- ↳ STM32F4 based boards
- ↳ STM32F7 based boards
- ↳ STM32G0 based boards
- ↳ STM32G4 based boards
- ↳ STM32H7 based boards
- ↳ STM32L0 based boards
- ↳ STM32L1 based boards
- ↳ STM32L4 based boards
- ↳ STM32L5 based boards
- ↳ STM32MP1 based boards
- ↳ STM32WB based boards
- Bootloaders
- ↳ STM32 HID bootloader
- ↳ USB bootloader
- ↳ STM32 SD-Bootloader
- ↳ STM32 USB CDC bootloader
- Uploaders and debuggers
- ↳ STLink
- ↳ USB to Serial adaptors
- ↳ Black Magic Probe & other
- Dead Thread Graveyard
- ↳ Dead Thread Graveyard