Pages: [1]   Go Down
Author Topic: Switching on/off a 120VAC motor  (Read 582 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm pretty sure I understand how this needs to be done, but I want to make sure so I don't ruin my Arduino or anything else. I have a 120VAC geared motor that I want to be able to switch on and off using the Arduino. If I understand right, I'll need to use a relay. While relays that can be switched with 5V and less than 40mA and will switch 120VAC+ do exist, I don't have one...I have a relay that can be switched with 12V and will switch 120VAC+. What I believe I can do is use the Arduino and a transistor to switch a separate 12V source which will in turn switch the relay, which will power the motor.

Am I understanding this right? The Arduino switches the transistor, allowing the 12V source to switch the relay, which will enable power to the motor. Do I need a special transistor? Right now I have some TN4403's, TN2907's and TN3906. I read that I need a TIP120, I can only assume it's because the ones I have won't handle 12V or something.
Logged

Johannesburg. UTC+2
Online Online
Faraday Member
**
Karma: 105
Posts: 4677
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Or you could just buy one of these, de-rating as it says for a non-resistive load.
Logged

The Elders of the Internet know who I am
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm trying to avoid buying anything, especially for projects that are just whims, it probably won't actually turn into anything, but it's something I'd like to try.
Logged

Johannesburg. UTC+2
Online Online
Faraday Member
**
Karma: 105
Posts: 4677
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep I sensed that.... just be careful with that mains power  smiley-twist  Some kind of opto-isolation would be good once you get past the whim stage I guess..
Logged

The Elders of the Internet know who I am
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17301
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm pretty sure I understand how this needs to be done, but I want to make sure so I don't ruin my Arduino or anything else. I have a 120VAC geared motor that I want to be able to switch on and off using the Arduino. If I understand right, I'll need to use a relay. While relays that can be switched with 5V and less than 40mA and will switch 120VAC+ do exist, I don't have one...I have a relay that can be switched with 12V and will switch 120VAC+. What I believe I can do is use the Arduino and a transistor to switch a separate 12V source which will in turn switch the relay, which will power the motor.

Am I understanding this right? The Arduino switches the transistor, allowing the 12V source to switch the relay, which will enable power to the motor. Do I need a special transistor? Right now I have some TN4403's, TN2907's and TN3906. I read that I need a TIP120, I can only assume it's because the ones I have won't handle 12V or something.

Your basic understanding is correct on all counts. The transistor sizing thing is that the switching transistor must have both voltage and maximum current rating well above what the relay coils voltage and current draw are, so that is what drives selecting the best transistor. Bigger then needed transistor is fine but too small or operating right at it's limit is not. So you learn to read the datasheet for specific transistors to see if it's a good fit for what your circuit will use.

Lefty
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 227
Posts: 6637
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You don't need a TIP120 to drive a relay, a much smaller NPN transistor will suffice. Unfortunately, all 3 of those transistor types you list are PNP transistors, so not suitable for this application.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I take a lot of stuff apart and I almost always keep the PCBs, so I'm sure I've got something lying around that has a PNP transistor on it that I can salvage.

Thanks for the responses guys. I know this is just a whim project, but it's helping me to better understand some of these things, how they work and whatnot.
Logged

Pages: [1]   Go Up
Jump to: