Shop OBEX P1 Docs P2 Docs Learn Events
needing help running a transistor off basic stamp 2 to activate a dc motor — Parallax Forums

needing help running a transistor off basic stamp 2 to activate a dc motor

ArchiverArchiver Posts: 46,084
edited 2003-01-06 11:38 in General Discussion
Hello there,

im new to all this electronics and basic stamp stuff, so please excuse me if
this sounds like a stupid question...

ive been trying to activate a dc motor from my basic stamp 2 using a transistor
but have had no results. ive connected pin 0 on the stamp to the base pin of
the transistor, and have a seperate power suply running through the C & E parts
of the transistor where it connects to a dc motor. and another wire running
from the power supply for the motor to the other side of the motor. ive tried
using the VDD ground pin on the stamp to try and get it to work, but that doesnt
make any difference either (i may be putting it in the wrong spot).

ive attached a diagram that shows what im doing. could someone take a look and
tell me what im doing wrong please?



Yahoo! Movies
- What's on at your local cinema?

[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-01-06 11:38
    Read this:
    http://www.faq-pro.com/faq/index.php?qframe=1&faq=1&article=12

    In particular, you need to make sure the emitter is at ground and that
    all grounds are connected (that is, your 5V ground and the other power
    supply's ground). You also need a base resistor. The load should go from
    the + supply to the collector of the transistor. You may need a diode
    across the load if it is inductive (as it almost surely is). The band on
    the diode would point to the + supply.

    Al Williams
    AWC
    * 8 channels of PWM
    http://www.al-williams.com/awce/pak5.htm



    >
    Original Message
    > From: sdfgsgdh asfgsdf [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=vmaIBm-815aNSye7KQIf_3ro-7AVLK-fAloUJxKwQJFwIlDT1xLkZVdskRJcq07fXQlHuOF6pNUYz9gFttpn]vbbaska2002@y...[/url
    > Sent: Monday, January 06, 2003 3:02 AM
    > To: basicstamps@yahoogroups.com;
    > stampsinclass@yahoogroups.com; tabrobotkit@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] needing help running a
    > transistor off basic stamp 2 to activate a dc motor
    >
    >
    >
    > Hello there,
    >
    > im new to all this electronics and basic stamp stuff, so
    > please excuse me if this sounds like a stupid question...
    >
    > ive been trying to activate a dc motor from my basic stamp 2
    > using a transistor but have had no results. ive connected
    > pin 0 on the stamp to the base pin of the transistor, and
    > have a seperate power suply running through the C & E parts
    > of the transistor where it connects to a dc motor. and
    > another wire running from the power supply for the motor to
    > the other side of the motor. ive tried using the VDD ground
    > pin on the stamp to try and get it to work, but that doesnt
    > make any difference either (i may be putting it in the wrong spot).
    >
    > ive attached a diagram that shows what im doing. could
    > someone take a look and tell me what im doing wrong please?
    >
    >
    >
    >
    > Yahoo! Movies
    > - What's on at your local cinema?
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the
    > Subject and Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
Sign In or Register to comment.