E
Ed
Guest
I have a microcontroller which runs of 5V. I want to connect an ultrasonic
transmitter to one of its outputs. I would also like the transmitter to run
of 9V (rather than 5V). I guess I need a transistor to do this (I have a 9V
regulator with the microcontroller). I was thinking I could connect the
microcontrollers output to the base of the transistor and then connect the
transmitter to the collector (the other terminal of the transmitter is
connected to the 9V supply). The emitter would then be connected to ground.
How can I select the correct transistor to do the job (e.g. what properties
must the transistor have)? Also, I understand a resistor needs to be
connected to the base (for protection), but does a resistor need to be
connected to the collector (before or after the transmitter)?
Any advice or pointers (links to websites etc) will be gratefully recieved.
Thanks.
transmitter to one of its outputs. I would also like the transmitter to run
of 9V (rather than 5V). I guess I need a transistor to do this (I have a 9V
regulator with the microcontroller). I was thinking I could connect the
microcontrollers output to the base of the transistor and then connect the
transmitter to the collector (the other terminal of the transmitter is
connected to the 9V supply). The emitter would then be connected to ground.
How can I select the correct transistor to do the job (e.g. what properties
must the transistor have)? Also, I understand a resistor needs to be
connected to the base (for protection), but does a resistor need to be
connected to the collector (before or after the transmitter)?
Any advice or pointers (links to websites etc) will be gratefully recieved.
Thanks.