Click here to Skip to main content
15,899,475 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: USB or Parallel Port Pin
meki_211825-Dec-07 5:55
meki_211825-Dec-07 5:55 
GeneralRe: USB or Parallel Port Pin
Luc Pattyn26-Dec-07 8:28
sitebuilderLuc Pattyn26-Dec-07 8:28 
GeneralRe: USB or Parallel Port Pin
meki_211827-Dec-07 19:22
meki_211827-Dec-07 19:22 
GeneralRe: USB or Parallel Port Pin
Luc Pattyn28-Dec-07 2:39
sitebuilderLuc Pattyn28-Dec-07 2:39 
GeneralRe: USB or Parallel Port Pin
meki_211828-Dec-07 7:05
meki_211828-Dec-07 7:05 
GeneralRe: USB or Parallel Port Pin
Luc Pattyn28-Dec-07 7:31
sitebuilderLuc Pattyn28-Dec-07 7:31 
GeneralRe: USB or Parallel Port Pin
meki_21183-Jan-08 17:18
meki_21183-Jan-08 17:18 
GeneralRe: USB or Parallel Port [modified] Pin
Luc Pattyn4-Jan-08 1:23
sitebuilderLuc Pattyn4-Jan-08 1:23 
Hi,

IIRC the pins DTR and RTS are output pins on the PC's serial port. They are controlled
by the properties SerialPort.DtrEnable and SerialPort.RtsEnable.

RS232C pins carry a DC voltage, anywhere in the range (-15V,+15V). They are capable
of sourcing/sinking some 10 mA and not suited for larger currents, larger voltages, or
direct connection to devices that are powered by the AC mains.

If your door lock is powered by 220V AC mains directly, you will need galvanic isolation
(you can't connect mains to your PC!); it also will need more than 10mA so you need
some switching device, either a transistor/thyristor/triac or a relay, and probably
both. It somewhat depends on the specs of the lock (see documentation!), and the distance
between PC and lock.

[ADDED] Instead of a transistor you could use an opto-coupler, which together with a
relay would be able to control almost anything; the transmitter side of the opto-coupler
would very much ressemble an LED, making your initial LED experiment much more
relevant.[/ADDED]

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Happy 2008!


modified on Friday, January 04, 2008 7:40:49 AM

Generalclient server Pin
ra_shieru17-Dec-07 11:20
ra_shieru17-Dec-07 11:20 
Questionmdb file with access to many user without SQL Server Pin
stephan060717-Dec-07 10:26
stephan060717-Dec-07 10:26 
GeneralRe: mdb file with access to many user without SQL Server Pin
Dave Kreskowiak17-Dec-07 14:56
mveDave Kreskowiak17-Dec-07 14:56 
GeneralPossible parameters in function Pin
helelark12317-Dec-07 5:38
helelark12317-Dec-07 5:38 
GeneralRe: Possible parameters in function Pin
Dave Kreskowiak17-Dec-07 14:53
mveDave Kreskowiak17-Dec-07 14:53 
AnswerRe: Possible parameters in function Pin
helelark12317-Dec-07 18:38
helelark12317-Dec-07 18:38 
GeneralRe: Possible parameters in function [modified] Pin
helelark12317-Dec-07 21:54
helelark12317-Dec-07 21:54 
GeneralSerialport using in VB.NET Pin
Robert Hsu17-Dec-07 4:05
Robert Hsu17-Dec-07 4:05 
GeneralRe: Serialport using in VB.NET Pin
Luc Pattyn17-Dec-07 6:59
sitebuilderLuc Pattyn17-Dec-07 6:59 
Generalhelp need for removing image from picturebox Pin
Senthil S17-Dec-07 1:11
Senthil S17-Dec-07 1:11 
GeneralRe: help need for removing image from picturebox Pin
ChandraRam17-Dec-07 1:43
ChandraRam17-Dec-07 1:43 
GeneralRe: help need for removing image from picturebox Pin
Christian Graus17-Dec-07 10:36
protectorChristian Graus17-Dec-07 10:36 
GeneralRe: help need for removing image from picturebox Pin
Luc Pattyn17-Dec-07 11:40
sitebuilderLuc Pattyn17-Dec-07 11:40 
Questionsecurity issue Pin
Tauseef A17-Dec-07 0:52
Tauseef A17-Dec-07 0:52 
GeneralRe: security issue Pin
Vimalsoft(Pty) Ltd17-Dec-07 21:00
professionalVimalsoft(Pty) Ltd17-Dec-07 21:00 
QuestionVisual Basic 6.0 Pin
Member 472059117-Dec-07 0:40
Member 472059117-Dec-07 0:40 
GeneralRe: Visual Basic 6.0 Pin
ChandraRam17-Dec-07 1:45
ChandraRam17-Dec-07 1:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.