Need info on PIC+Internet


Closed Thread
Results 1 to 5 of 5
  1. #1

    Default Need info on PIC+Internet

    I have never done this before so I need some help with hooking my PIC onto internet. I have bought this from eBay:

    http://www.ebay.com/itm/Mini-ENC28J6...ht_1428wt_1037

    I have some questions regarding this module:
    1) Is there anything else needed in terms of hardware apart from my PIC to connect my PIC to internet
    2) Has anyone attempted sending an e-mail using this module or received data from a server etc
    ___________________
    WHY things get boring when they work just fine?

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516

    Default Re: Need info on PIC+Internet

    Hi,
    1) No, as far as hardware goes you should be set.
    2) No, with that chip you'll have to implement the TCP and UDP protocol stacks in your PIC firmware. This is not an easy task but it can certainly be done. Fred Eady of EDTP has posted code here on the forum. I believe his code was targeting a PIC with built in ethernet but it shows the stack implementation and the details around that.

    An alternativ solution is to use a module with the Wiznet W5100 or W5200 chips, they implement the TCP and UDP protocol stacks in the chip which makes it a whole lot easier on the PIC side. Yet other alternative are one of the modules available from manufacturers like Tibbo, Lantronix, Netmedia and others.

    /Henrik.

  3. #3

    Default Re: Need info on PIC+Internet

    Would this be a good module to start with: http://www.hobbytronics.co.uk/wiznet-wiz820io
    This one has Wiznet5200

    I am trying to find some code for it currently and also trying to find some TCP/IP stack building code in the PIC itself as the module mentioned in my original post is much more cost effective than this one.
    ___________________
    WHY things get boring when they work just fine?

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: Need info on PIC+Internet

    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516

    Default Re: Need info on PIC+Internet

    Yes, mackrackit provided the link to the EDTP code I was thinking of.

    You can get the W820IO directly from Wiznet for $19.90 which is about half of what it costs at HobbyTronics. I haven't seen any PBP code specifically for the W5200 but I've written and published quite a bit of code for the W5100 which is simmilar so it shouldn't be too hard to get going on the W5200 (I intend to do that at some point). If you want to use the W5100 you could get the WIZ812MJ

    Yes, these are more expensive than a ENC28J60 module but it makes up for that by being easier to use if you're not a networking protocol expert. The other modules from Lantronix and Tibbo that I mentioned is likely even easier to use but costs even more. It's really up to you to decide where your sweetspot is.

    /Henrik.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts