I want to switch a negative voltage with a microcontroller, the controller runs from 0 and 5v, and I need to switch -12v 100ma.
I got the thing to work with a opto isolator, but it doesnt seem very 'elegant', what would be a good way to do this with a transistor or 2.
I got the thing to work with a opto isolator, but it doesnt seem very 'elegant', what would be a good way to do this with a transistor or 2.