Communicating two PICs

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
isceglovs
Posts: 5
Joined: Fri Nov 20, 2009 7:52 pm

Communicating two PICs

Post by isceglovs »

Good day everyone. I am new to Flowcode and have only basic knowledge on PIC programming.

I would like to know, how can I make two PIC Microcontrollers to communicate effectively in two dirrections ( Both will send and receive information ).

I am using FlowCode V3 and plan to code both PIC18F4550 Microcontrollers with flowcode 3.6.11.53

Any .fcf examples are welcome and appreciated!

Thank you in advance!

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Communicating two PICs

Post by Benj »

Hello

You should be able to use the RS232 component to connect two devices via their UARTs. Eg the pins marked TX and RX on the chip diagram in Flowcode. The RS232 component is bi-directional as standard so you can send and receive data at the same time. There are also some RS232 examples located on the V3 Examples page.

isceglovs
Posts: 5
Joined: Fri Nov 20, 2009 7:52 pm

Re: Communicating two PICs

Post by isceglovs »

Thank you Ben!

I've made it work. I haven't thought that it would be so simple!

Post Reply