Page 1 of 1

Whats best for 2-way communication over Serial

Posted: Wed Nov 21, 2007 1:35 pm
by roconnell
I want to have a PIC talking to a PC over a serial port sending and receiving info.
Can I use SPI for this or do I need UART or something else?

Posted: Wed Nov 21, 2007 2:11 pm
by Benj
Hello

For this you will need a PICmicro with a UART and you will also need some extra components to do the voltage level shifting. We use a MAX232 chip on our RS232 E-Block. However if you google some PIC serial projects you will find versions that get away with using resistors to do the 12V to 5V conversion.

Re: Whats best for 2-way communication over Serial

Posted: Fri Apr 11, 2008 12:02 am
by ncc1502
I am new to flowcode (have V3)

I need the same function (sending and receiving characters),

Is there a sample for this routine for download?

Best regards

NCC

Re: Whats best for 2-way communication over Serial

Posted: Fri Apr 11, 2008 10:09 am
by Benj
Hello

Yes there is an example available.

Simply goto our main home page, click on downloads and then click on Flowcode examples.