Pages: [1] 2   Go Down
Author Topic: Running high power objects  (Read 4231 times)
0 Members and 1 Guest are viewing this topic.
Minnesota!
Offline Offline
Sr. Member
****
Karma: 0
Posts: 388
My nickname on the forum used to be Soapy29.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi. This is my first time experimenting with transisters, so I thought this project was pretty fun. Basically I'm controlling a dc motor (The speed,) through a transister and a pwm pin. I made a page on my website the shows you how to do it. https://sites.google.com/site/arduinosoapy29/motor-speed-controller You can also run relays to! smiley-grin
Logged

Andrew K.

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5594
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah - its always fun to see your first motor control program work (back in my day, I used an Amiga's parallel port and 68000 assembler). Something else to try is to use that 2n2222 to control a 2n3055, then use that to control a much larger motor or device (with an appropriate heatsink, of course).
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

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

Nice start. You should however reconsider your choice of words 'high power' when utilizing a 2N2222A transitor.  ;D

Lefty
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5594
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Nice start. You should however reconsider your choice of words 'high power' when utilizing a 2N2222A transitor.

I wonder if you can still find a TO-18 package 2N2222? If so, you could thermal glue a TO-18 heatsink on it, perhaps force cool it, and "overclock" that sucker...!

 ;D
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Minnesota!
Offline Offline
Sr. Member
****
Karma: 0
Posts: 388
My nickname on the forum used to be Soapy29.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe. But how do I get the motor to run backwards?
Logged

Andrew K.

Tacoma, WA
Offline Offline
Full Member
***
Karma: 4
Posts: 192
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ahh, I've been doing the same kinds of experiments myself lately. To go backwards as well as forwards, you need to build an "H-Bridge". I've built 3 or 4 different designs of H-bridges in the past week. I recommend this one:
http://www.bobblick.com/techref/projects/hbridge/hbridge.html
I've got a couple of those built now. I'd recommend building it on a breadboard first, because I know I sure had a lot of trouble keeping my Bases, Collectors, and Emitters straight on perfboard until I had the circuit built on a breadboard and could just clone it onto perfboard. That H-Bridge uses maybe $5 worth of parts, and is good to something like 8amps. Point the backs of the darlington's outward, so you can put heatsinks on them if they start to produce heat, that will allow you to get a couple more amps out of them. smiley
Good luck.
Logged

Brian from Tacoma, WA
Arduino evangelist - since Dec, 2010.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, like UnaClocker said, there are several designs for H bridges, even with electromechanical relays.

But I believe there's a simpler "H bridge" with transistors, have you tried this one UnaClocker: (on my next post)

There's no much science behind it, and it only takes 2 transistors. If you're playing with motors up to 2Amps, I would recommend both the TIP122 NPN and the TIP127 PNP.

Regards,

Ulysses L.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here's the "H bridge" with only 2 transistors:

Logged

Tacoma, WA
Offline Offline
Full Member
***
Karma: 4
Posts: 192
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That's an interesting design. Looks like you're using a pot to control the two transistors? It says Q2 is a TIP32A, what's Q1? Since it uses a pot, how would you control that with an Arduino?
I actually did use TIP122's and TIP127's because that's what I had laying around from past MegaSquirt projects.. smiley-wink Here are a couple pictures of what I built..



Logged

Brian from Tacoma, WA
Arduino evangelist - since Dec, 2010.

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5594
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Here's the "H bridge" with only 2 transistors:

That's not an "h-bridge" - its more like a "half h-bridge" (half-bridge?) like I was describing (note the dual-ended power-supply). Its advantage is in the fewer number of parts required. Its disadvantage is in the need for a dual-ended power supply, which can lead to issues of its own - especially if doing a battery powered design. This was a problem with the Milton Bradley Big Trak - since most of the time, the motors were being driven in the forward direction, you would end up with one half of the battery bank having a lower voltage than the other half, leading to issues of the other half trying to back-charge the lower half, causing you to have to change the batteries constantly in that toy!

 ;D
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

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

Well it's performing the same function as a H-bridge, variable speed and bidirectional rotation of the DC motor. It's simper with fewer output transistors because it relies on utilizing a bipolar DC power supply. Also not really able to interface with an Arduino using PWM and direction control output pins without some additonal external interface circuitry.

Lefty

Logged

Ontario
Offline Offline
God Member
*****
Karma: 25
Posts: 888
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
performing the same function as a H-bridge

No, it's not.  An H-bridge does not require a split supply.  This is a half bridge and does good stuff for sure, but an H-bridge is a very specific circuit topology that is different to what you have.
Logged

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

Quote
No, it's not.  An H-bridge does not require a split supply.  This is a half bridge and does good stuff for sure, but an H-bridge is a very specific circuit topology that is different to what you have.

I think you misread what I wrote. I didn't say it was an H-drive circuit (Reply #7), nor can it replace an H-drive circuit.

I said because this posted circuit uses a bipolar DC supply it can perform the same motor functions as a H-drive (using just two transistors), in that it can vary the speed and rotation just like an H-drive can. It's certainly dissimilar with an H-drive in that it isn't designed to be PWM modulated, nor any other digital interface to a microcontroller.

 It's a cute little analog circuit but not something that is very applicable to a Arduino project. Those output transistors are going to dissapate a lot of heat working as linear amps at reduced speeds, rather then using a switching mode that H-drive circuits use.

Lefty
« Last Edit: January 21, 2011, 02:20:18 pm by retrolefty » Logged

Georgia, US
Offline Offline
Sr. Member
****
Karma: 5
Posts: 371
Arduino makes my head hurt :(
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I too read his High Power as either mains or 480 voltage..
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5594
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
It's certainly dissimilar with an H-drive in that it isn't designed to be PWM modulated, nor any other digital interface to a microcontroller.

Well, that particular circuit can't, but it could be modified so it would - like I noted, a very similar circuit was used in the Milton Bradley Big Trak...
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Pages: [1] 2   Go Up
Jump to: