Page 1 of 1

Tcp/ip

Posted: Tue Feb 15, 2011 11:35 am
by o.fithcheallaigh
Hi
I'm a student currently working on my fourth year project, which involves controlling i/o of the PIC16F877A remotely using matrix's internet board. My problem is deciding the best option for sending messages to the board i.e. UDP, HTML, TCP etc? I realised that the memory on the 16F877A is restrictive and may limit the amount of applications I can use.

Any help or advice would be greatly appreciated.

Sean

Re: Tcp/ip

Posted: Tue Feb 15, 2011 2:06 pm
by Steve
I'd probably vote for UDP as it is a little easier to deal with than TCP.

Re: Tcp/ip

Posted: Mon Feb 21, 2011 2:25 pm
by o.fithcheallaigh
Hey,

Thanks Steve, is there any chance you've any code you have used to implement UDP to change i/o?

Sean

Re: Tcp/ip

Posted: Wed Feb 23, 2011 7:57 am
by Steve
Sorry, Sean. I don't have any examples to hand.

The TCP/IP component has information on how to set-up UDP comms and there is more info in this in the "Embedded Internet" manual which can be found here:
http://www.matrixmultimedia.com/lc_advanced_course.php

Re: Tcp/ip

Posted: Tue Mar 01, 2011 12:11 pm
by o.fithcheallaigh
Thanks again Steve,

Is it possible to send UDP packets to a remote PIC using the hyperterminal or Hercules (HW Group freeware, for communicating over tcp/ip)?

Sean

Re: Tcp/ip

Posted: Tue Mar 01, 2011 12:58 pm
by Steve
There are tools that you can use to send and receive data over the network. But be aware that when receiving or "snooping" on ethernet traffic that a hub will usually filter out messages that are not intended for the IP of your PC.