-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Check out Siteplayer. Ethernet, TCP/IP, Web interface, UDP > packets, and you don't have to deal with any of the details from > teh PIC. I think the module is $29 in singles, and they also offer > an RJ45 connector with all the magnetics built in for $5. It's > small, about 1" square or so, and the dev kit is relatively cheap. > For interfacing a PIC project to Ethernet I haven't seen anything > easier yet. Not perfect, but a pretty cool little widget. If it hadn't been for this post, I would have suggested using a FPGA. > Works fine for a web server, but in my > case I wanted to be able to send a UDP packet to a known IP > address. There is a way to do it but it requires that you know the > IP *and MAC* address of the target host. As this was going to be a > commercial product, making the user enter the MAC address of the > gateway or host was really not acceptable. I needed ARP at least, > so it wouldn't work for my particular application. For many remote > control/status applications, though, it would be fine. For anyone who hasn't already sold their module, or intends to use something similar to this in the future, there's an easy solution to this problem: send a PING to the server with a specific command in the body of the packet (which is usually not used in a PING) that tells the server to log that IP and MAC and use it to transmit whatever. The chances of someone sending that specific packet erroneously are unlikely, especially if you use a strange data length such as 9 bytes, whereas the normal is 32. You'd need a special program or script to do this, but I don't think it would really be too tough. Just a thought. - --Brendan -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use iQA/AwUBPUrvSgVk8xtQuK+BEQLmyQCgy10MxPWWfTeqphA5a+rCfevJrmAAniJp e3oywHItKPctGsrr4NBDqLnr =vcs+ -----END PGP SIGNATURE----- -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.