Need to control 5v output with 3v propeller pin
wdfreemanjr
Posts: 9
Hello,
I am trying to control a small pager motor. I don't need direction or speed control (just on/off). I am making a pin an output and then setting it to high. This gives me 3.3 volts which works fine, but I really need 5 volts which is available on my PPDB. Do I need to use a PNP transistor or something and if so, which one. Any suggestions or a better solution would be greatly appreciated. Simple circuit design would be great if possible.
Thanks
Great product. With only a few hours of time I was able to:
Control an LED
Read a photoresister by measuring capacitor discharge time
Write to the debug window using Serial Terminal
Control a server motor both position and continuous
Read from the ColorPal module
I am trying to control a small pager motor. I don't need direction or speed control (just on/off). I am making a pin an output and then setting it to high. This gives me 3.3 volts which works fine, but I really need 5 volts which is available on my PPDB. Do I need to use a PNP transistor or something and if so, which one. Any suggestions or a better solution would be greatly appreciated. Simple circuit design would be great if possible.
Thanks
Great product. With only a few hours of time I was able to:
Control an LED
Read a photoresister by measuring capacitor discharge time
Write to the debug window using Serial Terminal
Control a server motor both position and continuous
Read from the ColorPal module
Comments
You may want to use a smaller resistor value than the 390 Ohms shown because the Prop puts out 3.3V rather than the 5V of the Stamps. 220 Ohms would provide 15mA base current, more than enough for pretty much any transistor.
That is just what I needed... Good advice and good circuit. I only need to figure out how to mark this thread as solved.
Bill
For possibility to change status You need open Yours first post as EDIT.