xlogan
Aug 4th, 2006, 08:42 AM
hi there
I am developing an application that comunicates with a PIC microcontroller (pic16f88) and my aplication is recieving data from the PIC, everything works fine, i can recive the data from the PIC and viceversa, but... when i whant to power my circuit with the lines of the com port it doesnt work.
i try to power up the circuit by using the 7 -> RTS y 4 -> DTR pins and usin a pair of diodes (1N4148) i conect them to a voltage regulator (LM7805), i use the diodes because this lines dives voltage from -10 to +10, the thing is that this configuration diodes works, because i test the circuit with the HYPERTERMINAL program and works all right, but when i use my VB application y does not work, it is becaus one of the pins do not give me the +10 voltage instead it gives -10, but with HYPERTERMINAL both gives +10
any idea how to solve this problem?
I am developing an application that comunicates with a PIC microcontroller (pic16f88) and my aplication is recieving data from the PIC, everything works fine, i can recive the data from the PIC and viceversa, but... when i whant to power my circuit with the lines of the com port it doesnt work.
i try to power up the circuit by using the 7 -> RTS y 4 -> DTR pins and usin a pair of diodes (1N4148) i conect them to a voltage regulator (LM7805), i use the diodes because this lines dives voltage from -10 to +10, the thing is that this configuration diodes works, because i test the circuit with the HYPERTERMINAL program and works all right, but when i use my VB application y does not work, it is becaus one of the pins do not give me the +10 voltage instead it gives -10, but with HYPERTERMINAL both gives +10
any idea how to solve this problem?