CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-21-2004, 07:37 PM
scott m's Avatar  
Join Date: Nov 2004
Location: usa
Posts: 32
scott m is on a distinguished road
transistor question

Can someone suggest a relatively easy circuit or ic that can be used for switching 10 transistors on and then off, one after the other using one input? This may be hard or easy (or impossible), I don't know. I am new to electronics. TIA. Scott.
Reply With Quote

  #2   Ban this user!
Old 12-21-2004, 07:50 PM
Evodyne's Avatar  
Join Date: Dec 2004
Location: USA
Posts: 518
Evodyne is on a distinguished road

Scott,
What exactly are you wanting to do? Are you looking for a single "start" input that will then cause each transistor to sequence in turn, or do you want to advance from one transistor to the next each time you pulse or clock the input? Do you need each to be on for a defined period of time? Are you wanting any "off time" (no transistors on at all) as you switch from one to the next?
Reply With Quote

  #3   Ban this user!
Old 12-21-2004, 07:59 PM
scott m's Avatar  
Join Date: Nov 2004
Location: usa
Posts: 32
scott m is on a distinguished road

What I want to do is make a phone dialer for my computer that uses only one or two outputs from the lpt port. I thought I could use the transistors to make the connections on the keypad of a phone I tore apart today, and use one output from the computer for connecting the phone line (ie. "lifting it off the hook") all controlled with a input line from a sensor of some sort. Something like a 555 monostable circuit, just a momentary pulse to generate the tone of the key. I don't even know if this can be accomplished. Scott.
Reply With Quote

  #4   Ban this user!
Old 12-21-2004, 08:24 PM
Evodyne's Avatar  
Join Date: Dec 2004
Location: USA
Posts: 518
Evodyne is on a distinguished road

Hmmm, I don't know. I can see one output to take you off hook, but you are looking at four outputs to create the binary codes that represent the digits zero through nine.

Assuming you O.K. with this, there are simple integrated circuits called decimal decoders you could use. One of these puppies would have ten outputs (you can also get them with eight or sixteen) and four inputs. Put the binary code for a digit on the inputs (via wires from your lpt port) and the corresponding output goes high/turns on.

Example: I'll send out the binary code for "3" (0,0,1,1) and the third output will be "on", and all of the others "off". "6" (0,1,1,0) will turn on the sixth output. You get the idea.

You can see that a little programming would be involved.

But, without knowing more about how the phones keypad is wired to its electronics, it's hard to say if you could simply "short" across a button with a transistor or not. I'm guessing it's a row-column keypad matrix, in which case you are out of luck (at least in the keep-it-simple form).

Why not simply use a modem as a dialer? You don't have to build anything and it's cheap.
Reply With Quote

  #5   Ban this user!
Old 12-21-2004, 08:35 PM
scott m's Avatar  
Join Date: Nov 2004
Location: usa
Posts: 32
scott m is on a distinguished road

That's interesting, I didn't think of sending binary codes. I am ok with the software part. I will keep that in mind. Why I was thinking of transistors is I plugged the phone in after I tore it apart and it has two little bare copper "s" shapes on the ciruit board that do not touch, in a little circle where the keypad touches and makes the connection. Well, I cut out the little rubber pad on the underside of the keypad and touched it to this with the phone plugged in and it worked (made dially sound) so I tried making the connection with a small piece of wire and that worked so I instantly thought of using transistors. Hope I'm not too confusing.... BTW this is a junk computer with no modem that I got for 30 bucks. I don't even want to try to find one for it. Just seeing what makes it tick so to speak ;-). Scott.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-21-2004, 09:08 PM
Evodyne's Avatar  
Join Date: Dec 2004
Location: USA
Posts: 518
Evodyne is on a distinguished road

Sorry I took a while to reply-got called away. Your absolutely right-shorting the two connections together for a particular button activates it. So, anything that does this shorting will dial a number-almost. A transistor can be used as a switch, but one side will need to be referenced to ground (if it's an NPN transistor) or the positive supply (if it is a PNP variety). For this to work, each digit on your keypad would need one of the copper "s" shapes grounded-and this is probably not the case.

A small relay, whose contact is a true switch, would work regardless of the keypad setup. Another possibility is an optically isolated transistor or FET (field-effect transistor). The previously mentioned decoder chip can drive the input with its logic-level input even if the output (transistor or FET) is not referenced to ground or power.

I'd still go for the freaking modem!
Reply With Quote

  #7   Ban this user!
Old 12-21-2004, 11:46 PM
 
Join Date: Sep 2004
Location: USA
Posts: 44
Zippi is on a distinguished road

I built a "dialer" card for an Apple ][e some years ago, slot fingers and all. I used some DTMF chip (can't remember which, it was a LONG time ago), and a relay to couple an isolation transformer to the line. It could grab the line, wait for the dial tone, then dial and hold the line open while a receiver was picked up on an extension. It could also detect ring. Man, I barely remember it! Hadn't thought about it for years until this post of yours....

First off, you want to isolate the line in some way, electrically, from your dialer (you want to do this for a number of reasons - some phone device on your line might be referencing ground in an unusual way, not to mention the lightning factor, or that your phone system might be referenced to your house ground by installation, etc). The phone may have a coupling transformer in it (probably not, who knows)- if it does, then no coupling transformer needed in your circuit. Personally, I'd scrap the notion of using the phone. But, if you want to go "ultra dinosaur", use some electromagnets driven by something like a digital Mux (74LS138 comes to mind, you'd need two) into your transistors to manually push the buttons (two 74LS138's, 3 control lines, add a fourth by using an inverted and a non-inverted chip select for each chip to select between the two with a high or low).

More elegant, optocouple the connection to the line. I've got a book around somewhere w/ the threshold specs for "pickup", tone levels, etc, but not at hand- though, for some reason, I'm wanting to say 300mA to trigger "on hook". Use one optocoupler (that can handle the line current) to couple the line, and another to transmit the DTMF signal (add some bias- also, be aware of audio response limitations of your opto..). Use some sort of DTMF chip to generate your signals (the one I had would also DETECT DTMF signals, even for a 4x4 keypad - anyone remember those? LOL). From here, you can pick up the line and dial. All needed I/O is within the capability of an LPT port.

But, I must say, using a modem would be a heck of a lot less work.... Open comm, send "ATDT XXXXX" where x represents whatever number you want to dial. Depending on the modem, there may be S settings you can manipulate to make it hold the line indefinitely. Not to mention, this would leave the LPT port open for "more important" things like running CNC machine driver boards..... Hmmmm... NC codes dialed in over the phone line and into your machine, perhaps? LOL

Take Care,
Paul
Reply With Quote

  #8  
Old 12-22-2004, 10:20 AM
Gold Member
 
Join Date: Dec 2004
Location: Newtown, CT, USA
Age: 68
Posts: 517
lerman is on a distinguished road
Why Not Use Pulse Dialing?

It will take more time to dial, but by connecting an opto-isolator to the parallel port with the other side across the phone line, you can just generate the pulses in software.

Ken
__________________
Kenneth Lerman
55 Main Street
Newtown, CT 06470
Reply With Quote

  #9   Ban this user!
Old 12-22-2004, 08:40 PM
scott m's Avatar  
Join Date: Nov 2004
Location: usa
Posts: 32
scott m is on a distinguished road

Hmmmm... NC codes dialed in over the phone line and into your machine, perhaps? LOL
Interesting............. Maybe I could make a robot arm that would load a pizza in the oven and turn the bake knobb on and call from work so my carboard is ready when I get home . Thanks you guys for all the help (most of it flew over my head). I will have to do a lot of learning, I think I have too many hobbies. I can just see a mechanical dialer! Tracking down a modem might be easier but it's all in the learning I think. Scott.
Reply With Quote

  #10   Ban this user!
Old 07-22-2005, 06:38 AM
 
Join Date: Jul 2005
Location: UK, London
Posts: 78
Mat-C is on a distinguished road

Assuming that you want to use your parallel port, and don't want to use a modem, and don't want to generate the DTMF frequencies from your soundcard....
The easy/hacky way is to use good old pulse dialling. You've already got the lift off/on bit... just make the LPT port do the pulses. You can practive by hitting the hangup button repeatedly to dial people. Make the clicks at about 5 Hz and you're all set. Tip: use 10 clicks for 0
Disclaimer: be aware of what is legal to fasten to a phone line in your area!
Reply With Quote

Sponsored Links
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 11:11 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361