jeremyrutman
Newbie level 4

For implementing an hbridge, In the past I've connected an arduino to mosfets as in the fig.

One mostet is a lowside switch and the other pmos is controlled by another nmos allowing the arduino
to run it from 0-5V tho the power supply may be 20V for instance. (only one side of the hbridge is shown , other side is connected similarly)
But i was wondering if I cant dispense with the extra nmos running the pmos by running the arduino output as an input which has high impedance - when in that
state the pmos gate will go high , and when run as output at 0V the gate can be brought low.

So far so good
But the arduino input can only handle up to 5V, if connected as such the 20V will hit the arduino and cause trouble.
I have the feeling there is some way to pull this off, can any one figure it out??

One mostet is a lowside switch and the other pmos is controlled by another nmos allowing the arduino
to run it from 0-5V tho the power supply may be 20V for instance. (only one side of the hbridge is shown , other side is connected similarly)
But i was wondering if I cant dispense with the extra nmos running the pmos by running the arduino output as an input which has high impedance - when in that
state the pmos gate will go high , and when run as output at 0V the gate can be brought low.

So far so good
But the arduino input can only handle up to 5V, if connected as such the 20V will hit the arduino and cause trouble.
I have the feeling there is some way to pull this off, can any one figure it out??