10 Channel Level Shifter with Raspberry Pi Header
10 Channel Level Shifter with Pi Header
This is a very quick and easy solution to an ever-present problem in my electronics life: Some Microprocessors and Sensors/Devices work on different voltages, and their IO pins are not X volt tolerant... Of all of these, the dear Raspberry Pi, as well as the RP2040 and ESP32/ESP8266 is most guilty. On the sensor side, Ultrasonic sensors, infrared thermometers etc, all want either 5v logic, or 3v logic...
What follows then is usually an ugly resister/divider circuit on a breadboard, unstable connectors, unreliable data etc. This usually ends up costing a lot of time in debugging and getting it to work reliably. If you wanted to use this for something like SPI or I2C, it won't work either ...
You could buy a readymade PCB module from somewhere online., they work, and are quite cheap, but Where is the fun in doing that?
I decided to design my own, but with a bit of a twist added... I want it to be able to plug into the Raspberry Pi GPIO Port. I also wanted a lot of GPIO Channels, which had to be bidirectional. No sense in going only one -way!
I came up with this:
A BSS138 N-Channel Mosfet, with two 10k resistors, per channel.
The circuit is not new, and it is not unique either. But it works beautifully. Do I need to say more?
Assembly is easy, as all components are 0805 or bigger. Components are cheap as well. It finally makes working
with the Raspberry Pi a pleasure, as I do not have to rely on breadboards and other funny stuff, and my expensive
sensors will be safe, at least if I don't connect them wrong :)
How to Use:
Using this board is very easy. On the left-hand side, there are two headers, marked H1 and H2.
These are the power inputs, HV for the high voltage ( for example 5v ) and LV for the low voltage
( 3v in our example ). Not that you have to connect BOTH grounds, as the device requires a common ground.
Now, on the very right-hand side, is header H3. It is labelled as :
LV1 - HV1
down all the way to
LV10 - HV10
You can now easily connect the signals that you need to be converted.
As an example for the Raspberry Pi, you will connect the signal wire(s) from the Pi to the LV Channel,
and your 5v sensor or device to the HV Channel. You only need to make sure that the channel numbers match!
Bi-Directional signals like I2C and SPI also works very well.
10 Channel Level Shifter with Raspberry Pi Header
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(1)
- Engineer Sep 06,2021
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Jean Redelinghuys MakerIoT2020
- PCB_MCP23008_2023-10-08 MCP23008 BreakoutI designed this breakout to assist me during prototyping my next version of the “RP...
- PCB_XiaoRP2040-Mouse-REV2 Xiao RP2040 Joystick Mouse – revision 2.00Revision 1.0 of the ProjectOver the last few months, I hav...
- Multi Purpose IO Card Multi-Purpose IO CardWhen we are working on a prototype, we always need access to pushbuttons, encod...
- Variable Voltage Power Module Variable Voltage Power ModulePowering electronics projects are always challenging. This Variable vol...
- I2C Matrix Keypad An I2C Matrix KeypadThe completed I2C Matrix KeypadIn a previous post this month I introduced my 4×4...
- ESP32-S Development Board, in "Arduino Uno" form factor UPDATE 24/06/2023:This board now has a Hardware Revision 2.0 available. It is the same board but wit...
- W307186ASC94_Gerber_PCB_USB-Ports USB Power Supply ModuleUSB Ports are quite handy to power all our day-to-day electronic devices, but...
- Atmega 328P based PWM controller Card ATMega 328P Based PWM controller CardAs part of my recent ESP-12E I2C Base Board project, I designed...
- W307186ASC71_Gerber_PCB_ESP-Now Remote Today we will look at the remote control unit for the Robotic Toy Car – Part 6.The project is close ...
- W307186ASV69_Gerber_PCB_Robot-Car-MCU-Board Prototype In our last project, we started working on repurposing an old toy car. In this part, Robot Toy Car –...
- W307186ASV62_Gerber_PCB_DUAL-H-Bridge by makeriot2020 on May 27, 2022Many of us have old toys laying around the house, they belong to ou...
- CAN-BUS Breakout Breadboard Compatible CAN-BUS Breakout ModuleWhat is this:Some of us have already used the commonly ...
- RA-02 Breakout with Level converters Breadboard and beginner-friendly RA-02 Breakout ModuleMost Makers and electronics enthusiasts may al...
- ATMEGA328P Module with integrated LoRa and CAN Bus ATMEGA328P Module with integrated LoRa and CAN-BUSINTRODUCTIONIn my quest to perfect my LoRa telemet...
- Sx127x-Ra-02-Test-Module with ATMEGA328P-AU SX127x LoRa/FSK/OOK Prototype Radio BoardI recently had a requirement to do some automation/telemetr...
- USB-ASP Programmer ATMEGA8 Build your own USB-ASP Programmer CloneBymakeriot2020 FEB 21, 2022 Arduino, ASP programmerUsing mor...
- ATTiny1616-LIGHT-Controller-with-CAN_B_PCB_ATTiny1616-LIGHT-Controller-with-C_2024-09-11 Assembly of the ATTiny1616 Can bus controller PCBThe Assembly of the ATTiny1616 Can Bus Controller P...
- ATTiny1616QFN-CAN-Remote-Neopixel-Ligh_PCB_ATTiny1616QFN-CAN-Remote-Neopixel-2024-09-11_2024-09-11 NeoPixel CAN-Bus Module with local controlAs part of my current project to add NeoPixels to the cabi...
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
154 1 1 -
-