Re: com port power supply
Enable RTS/CTS handshaking and enable DTR/DSR.
VB Code:
MSComm1.Handshaking = comRTS
MSComm1.DTREnable = True
MSComm1.RTSEnable = True
Remember it only works with desktop PC's and no more then ca 5mA per pin.
Re: com port power supply
I don't know how much current the Com Port can source but I know it is very small, I would not rely on the com port to supply power to your circuit unless you know the requirement draw is less than the source can safely supply.
Re: com port power supply
Most COM ports can supply enough current for most PIC microcontrollers. In fact, it's common practice to design microcontroller programmers using the COM port as a power supply.
Re: com port power supply
Thanks a lot, i will try this out today
Re: com port power supply
hi, it doesnt work
VB Code:
MSComm1.Handshaking = comRTS
MSComm1.DTREnable = True
MSComm1.RTSEnable = True
but i try a diferent handshaking and try with comNone and the code was like this
VB Code:
MSComm1.Handshaking = comNone
MSComm1.DTREnable = True
MSComm1.RTSEnable = True
and with this works allright.
Re: com port power supply