element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Community Hub
Community Hub
Member's Forum Switching with transistor versus relay
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Community Hub to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 23 replies
  • Subscribers 616 subscribers
  • Views 2409 views
  • Users 0 members are here
  • halloween ideas
  • relays
  • transistors
  • halloween project
  • motion sensors
Related

Switching with transistor versus relay

jgrub
jgrub over 6 years ago

Element14 has a great YouTube vid on transistors, and I get that transistors are faster than relays and are better in low voltage situations. But I've been trying to custom build a motion sensor that remotely turns on the motor of an animatronic prop. It should be easy enough to activate that motor from the collector side of my transistor. 

 

But because the prop is a distance away (maybe 5-6 feet), it has it's own power supply and a separate ground. All I really need is something to close the circuit on the ground side of the prop motor. So it seems to me that two wires from the prop to a remote relay, NOT a transistor C/E connection, would make more sense. The activated motion sensor would send 3.3v to the relay. Then the relay connects the two wires together and that completes the motor circuit.

 

I've been trying to do this with a transistor switch for days and can not figure out what I should be connecting to the motor two wires.

 

Has anyone else tried to rig a simple remote switch like this? (Halloween props typically use foot pads that complete the circuit in a similar but highly mechanical way.)

  • Sign in to reply
  • Cancel
  • jgrub
    jgrub over 6 years ago in reply to jgrub

    I have a long video (28 minutes) that I made for my son, who is the recipient of my sharethescare  zombie lady, "Francesca". If anyone has a lot of time on their hands and is curious, this is a POST-construction user guide. https://youtu.be/N_I5-pm07PI

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • jgrub
    jgrub over 6 years ago in reply to 14rhb

    Thanks!!! I just sent "Francesca" to my son in Texas -- he's testing her now in his Hazmat House. But I've got sufficient documentation to share.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • 14rhb
    14rhb over 6 years ago

    Hi jgrub

     

    Thought you might like to see that ShareTheScare 2019 - Halloween Project Competition has just been published...top prize is a 3D printer !

     

    I suggest you tag all your ghostly content with "ShareTheScare" so it gets picked up by the organisers.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • 14rhb
    14rhb over 6 years ago in reply to jgrub

    Thank you image

     

    And if you need any help with the stepper/microcontroller - just ask.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • jgrub
    jgrub over 6 years ago in reply to 14rhb

    Your pumpkin is so cool! I look forward to adding a step motor and microcontroller to a future project.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • 14rhb
    14rhb over 6 years ago in reply to jgrub

    jgrub I'm going to have to say 'gross' but I mean that in a good way image

     

    The main #sharethescare can be found  https://www.element14.com/community/community/halloween#sharethescare

     

    My entry was Peter the Pumpkin (part 5 - final thoughts) ....who is currently living in the loft/attic.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • fmilburn
    fmilburn over 6 years ago in reply to jgrub

    Nice image

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • jgrub
    jgrub over 6 years ago

    So here is the final product after settling on a PIR circuit (i.e. full integrated components included with sensor) and relay circuit (ditto): hanging zombie lady

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • jgrub
    jgrub over 6 years ago in reply to 14rhb

    I was not aware of sharethescare. Will definitely look into it and will share with my son. Thanks!

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • genebren
    genebren over 6 years ago in reply to jgrub

    Joe,

     

    Good that you have a path forward (relay) and path for the future/knowledge (transistor).  I thinking more about your plans and the scale of the motor (small vibrator), another approach that you might want to consider is a small solid-state relay.  This is very similar to your transistor approach, but something that might eliminate some design variables.  Something like https://www.newark.com/clare/cpc1002n/relay-solid-state/dp/03M7309?st=CPC1002  would give you the ability to switch up to 700mA of load, with no mechanical contacts (less cost, wear, etc.).  This could be connected to the output of your PIR, with a current limiting resistor inline and the output side could be used to complete the current path (much like your relay), with no need to tie the ground together.

     

    Just a note, be careful that the PIR has sufficient current output to drive your relay.  If the relay requires a higher current than the PIR can provide, you might need a driver between the PIR and the relay.  Also, be sure to add a protection diode to avoid damaging you PIR with the high voltage spike associated with the magnetic field collapse as the relay is switched off.

     

    Good luck!

    Gene

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube