PDA

View Full Version : PIC sending UDP packets



RFsolution
- 15th May 2010, 12:22
Hi all

I have a project where I have several ADC's and I/O which I now control by RS232
just a string send out with all ADC values.

I was wondering if it will be possible to send UDP packets with all ADC value's to a fix IP and GW
no further intelligence is needed as the router after it will take care

Ofcourse a suitable PIC with ethernet interface is needed

Anyone who did this and want to share a part of the code ?

Tnx

Ioannis
- 15th May 2010, 16:06
Have done something like that yet. But I am in researching stage for a similar project.

Why not use a Tibbo or Lantronix module and connect it serially to a PIC? All Network job will be handled by the module

Ioannis

eggman
- 15th May 2010, 16:07
have a look at http://www.ezweblynx.com/ their little webserver can do UDP and has inbuilt adc capabilities

RFsolution
- 15th May 2010, 18:54
Yes i the past I used and use siteplayer

but as it is only UDP i think it might be possible in an MCU directly