High Output sensors but a low input device.

I have a few sensors which I am trying to use as switches. However, they all output a high when activated and the device I'm using works on an active low trigger.

I was thinking of using a transistor but I'm not sure if that's the best idea.

I need the high output to be seen as a low on the device and when the sensor is low then I need it to be seen as high on the device.

Any help is greatly appreciated.

If there is an Arduino somewhere in this, just change what level you are looking for. Or change the output to the opposite value.

Paul

johndoe72:
I have a few sensors which I am trying to use as switches. However, they all output a high when activated and the device I'm using works on an active low trigger.

I was thinking of using a transistor but I'm not sure if that's the best idea.

google "common-emitter inverter circuit"

I need the high output to be seen as a low on the device and when the sensor is low then I need it to be seen as high on the device.

Any help is greatly appreciated.