[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself


View post   

File: 14 KB, 500x500, 1319624760145.png [View same] [iqdb] [saucenao] [google]
28300 No.28300 [Reply] [Original]

So anyway /diy/ I wanna switch 120v AC with around 5v using a transistor, what's a model of transistor that will handle this?

nb4 use a solid state relay

>> No.28309

>>28308

nope

>> No.28308

solid state realy

>> No.28310

>>28300
dude.

this is a terrible idea. why can't you use a relay?

>> No.28315

>>28310

What's a terrible idea?

They do make transistors that switch 120v.

I just can't think of the model names

>> No.28319

No transistor will do. Those are for DC. You need a triac and probably an optoisolator to isolate the ac from the signal.

>> No.28335

>>28315

You need a diode bridge around it.
You might want to consider triac instead of transistor.

Or that solid state relay. What's wrong with them?

Small fet: BSS131

>> No.28340

TIP31C

>> No.28348

>>28335

I want to do fading/pulsing effect on strings of lights that run on 120v AC without having to do something more complex like varying the duty cycle.

>> No.28355

>>28319
He didn't even state he was going for DC. XFMR? What the heck are you doing with this OP?

>> No.28364

BC177

>> No.28366

>>28364

trollface.jpg

>> No.28371

>>28348
You'll need something that will sink a lot of heat then. How many watts of lights? My bet is you'll have to use a triac and duty cycle based throttling.

>> No.28426

>>28371

I've built a box with an out let in it, so the number of lights will vary.

I already figured a heat sink would be needed.

Not really a problem I have so many old aluminum chunks from old computers that if I were to sell them for scrap metal I'd probably be a wealthy man.

>duty cycle

I knew you were going to say that.

well at any rate I'm going to try it with one of the high voltage models suggested above.

What's the worse than can happen?

>> No.28442

>>28300
>AC
>single transistor

Well trolled sir.

>> No.28450

>>28348

argh, you can control 120V AC, using very simple circuit, utilizing triac, diac and RC circuit, if you want to steer it using other analog signal you add one transistor :roll:

>> No.28452

>>28450
also it would be good to isolated it from 5V, so add linear optoisolator

>> No.28476

>>28450

I don't believe you

post schematic

>> No.28499

>>28476

I'm not here to prove anything, anyway use google images *sight*
Try searching even this "phrase": triac diac rc

>> No.28513

>>28499
so what your saying is you don't actually know what your talking about you're just speculating?

>> No.28519

>>28513

Was this modern-day "trolling" or are you possibly serious?

>> No.28527

>>28513
i don't speculate, i simple have enough experience to state some things.

>> No.28539

>>28527
But some how your alleged experience doesn't translate into a schematic?

forgive me if i'm skeptical bro

>> No.28546

>>28519

Whose's trolling?

he makes a claim without evidence then expects me to believe him?

>> No.28559

A triac.

>> No.28570

>>28539
>>28546
don't get me wrong, but; learn2electronics

You can make such easy schematic by your own, anyway google is fool of it.
You can modify it by placing transistor (with diode bridge), so you can (with steering signal) increase capacitor loading current, therefore lower loading time so the triac will start to conduct earlier -> lamp will shine brighter.
C'mon, you can come up with this logic yourself.

>> No.28584

>>28570

relax man I'm just trying to get you to do my google leg work

calm down

>> No.28600

>>28584
nah, i'm not angry or sth, just trying to give you fishing rod instead of fish.

>> No.28604

>>28300
You wouldn't use a transistor for switching AC, you'd use a triac. If you didn't know this then you probably shouldn't attempt a project using 120VAC house current, you'll either start a fire or kill yourself.

>> No.28620

>>28604
>wouldn't use a transistor for switching AC

stonedface.tiff

>> No.28622

>>28604

>derp

You can switch 120 with a transistor.

>> No.28640

>>28604
Fuck, you can, unless you exceed breakdown voltage
you'll will be switching only half of the signal - over or under the 0V

>> No.28660

>>28640

The other half cycle either goes through the body diode (mosfet) or comes out from base (bjt). Not good.

>> No.28657

OP I am working on a similar project (controlling a heating element (120V, 10A) with a 5V microcontroller output and I'm using a triac.

I based almost all of my circuit off this application note from Microchip:
http://ww1.microchip.com/downloads/en/AppNotes/00958A.pdf

Now I'm just waiting for my triac samples to arrive in the mail. . . .

>> No.28687

>>28660
Yeap, but sometimes you can live with that, or it's desired.
However my point was only proving that it's possible, not finding applications;)

>> No.28751 [DELETED] 
File: 11 KB, 441x450, diode.jpg [View same] [iqdb] [saucenao] [google]
28751

>>28620
>>28622
>>28640
ITT: One of two classes:
1. Idiots who know nothing about electronics, but are SURE they know what they're talking about
2. Trolls

And now, we get them to sort themselves into one of the two classes.

Refer to the picture. You are running 120VAC into the anode of this device. What voltage is at the cathode?

>> No.28786

>>28620
>>28622
>>28640
You're idiots who don't understand electronics.
Neither a bipolar transistor nor a MOSFET conducts current in BOTH directions, only in ONE direction, just like a diode. It has NOTHING to do with the voltage rating of the transistor, is has EVERYTHING to do with the fact that it IS a transistor. At best you'd get half-wave rectified DC. At worst you'd get a smoking hole in your PCB where the transistor was. Your lack of understanding of this identifies you as someone who should NOT be experimenting with house current, you'll start a fire and/or kill yourself. You must use a triac or an electromechanical relay to switch AC house current.

>>28687
You, I can't tell if you're a troll or just a worse idiot than the other idiots in this thread. It is not something you can "live with" nor is it "desirable", it's bad design and shows a lack of understanding of the basics. GTFO.

>> No.28792

>>28660
>>28657
..you two, on the other hand, understand what you're doing. Carry on.

>> No.29871
File: 30 KB, 614x422, 1319639380003.jpg [View same] [iqdb] [saucenao] [google]
29871

>> No.29875
File: 47 KB, 473x576, 1319639479478.jpg [View same] [iqdb] [saucenao] [google]
29875

>> No.29919

Op do you mean a Transformer?
Transformers change voltage and amperage from one level to another level. if the voltage goes up the amperage goes down and vice versa.

Transistors are logic gates where you ably a current to a wire to stop current from going through another wire.

>> No.29977

Transformers are easy to find or buy
second had stores, pawnshops, electronic parts store.

or you can make one yourself.
Iron Core either
double torus
single torus
U shape
Pole

Make sure to use single strand wire, with thin insulation. the thinner the insulation the better the magnetic field.
the thinner the wire the greater the chance of over heating, burning through the insulation and short-circuiting the coil.
120v to 5v
24:1 ratio
24 coils in the main coil for every coil in the secondary coil.
2400 and 240 would be good coils

>> No.30166

phone charger

>> No.30185

>>29919
>>29977
Pretty sure hes not converting the power, hes switching.