Hi, I'm doing NG Tutorial 7 which uses RS232, using USB to RS 232 converter cable and wants to know, which PC program can I use to read/manipulate the RS232 I/Os ?
I don't remember putting it on!!! I use it to debug my C# projects via "com0com" I link hyper terminal to both ISIS and visual studio....very strange....
I don't remember putting it on!!! I use it to debug my C# projects via "com0com" I link hyper terminal to both ISIS and visual studio....very strange....
You can also use e.g. the python programming language with the pyserial or pyvisa libraries to talk to RS-232 devices. Get portmon from sysinternals to look at the stuff that goes on during RS-232 transactions, as it can help debug things sometimes.
Thnks for all, Ive found several alternatives, used them and have no response, only getting "0x00" which indicates no data recived. I've used N.G. first circuit in . Is that fine or shall I use the second circuit in the same page? Thanks
I was much worried about the MAX 232 connection because I've read some where that it has two converters, one software and the other hardware, so that I thought I'm using the wrong one.
One step on the right way achieved, My PIC (16F628A) got connected into my PC (windows7), using very light software called Terminalthe attachment shows a screen shot of sent and received data using the underneath code found in Mikro C help for USART.
unsigned short i;
void main() {
// Initialize USART module (8 bit, 9600 baud rate, no parity bit..)
Usart_Init(9600);
do {
if (Usart_Data_Ready()) { // If data is received
i = Usart_Read(); // Read the received data
Usart_Write(i); // Send data via USART
}
} while (1);
}//~