Adding TCP/IP Ethernet to PIC - how?


Closed Thread
Results 1 to 40 of 65

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Location
    Paso Robles California
    Posts
    167

    Default Lan serial

    dhustion
    I just purchased one of the http://www.connectone.com/products.asp?did=73&pid=93
    37.00 not bad thanks for the tip been looking for one to play with

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107

    Default

    The LanReach looks like a good one.

    And no - the XPORT still doesn't have decent email support. But I have a TON of code that supports it. With the help of special firmware (from GridConnect), I do things that the standard XPORT can't.
    Charles Linquist

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073

    Default

    Quote Originally Posted by l_gaminde View Post
    I just purchased one of the http://www.connectone.com/products.asp?did=73&pid=93
    37.00 not bad thanks for the tip been looking for one to play with
    I probably should note a couple of gotchas.

    1. The spacing of the headers is not 0.100" but 2mm (0.079") so you cannot use the $37 model in a breadboard.

    2. These are 3.3V devices and the pins are not 5V tolerant. If you connect to 5V PIC input pins that have Schmitt Trigger buffers, you will need level shifters capable of handling both high and low logic levels which probably means a transistor or mosfet. 5V outputs from a PIC to the device's 3.3V inputs will also require level shifting. Here's a chart showing various logic levels.SparkFun has an inexpensive 4-channel level converter.You can, however, solder leads to the $38 model for testing. The pinout is given in the documentation for their evaluation board.
    Last edited by dhouston; - 8th October 2009 at 13:52. Reason: added Spark Fun link

  4. #4
    Join Date
    Aug 2009
    Location
    Paso Robles California
    Posts
    167

    Default 3.3

    I was thinking that there were some pics that I could run on 3.3 for testing

  5. #5
    Join Date
    Dec 2005
    Posts
    1,073

    Default WiFi

    Another option is...It lists SMTP among the protocols supported but that is incorrect. It does not support SMTP but is attractively priced for a WiFi to serial adapter.
    Last edited by dhouston; - 8th October 2009 at 16:22.

  6. #6
    Join Date
    Dec 2005
    Posts
    1,073

    Default

    Quote Originally Posted by l_gaminde View Post
    I was thinking that there were some pics that I could run on 3.3 for testing
    I did not have that option. I had nearly 100 partially assembled PCBs that were designed for the Tibbo EM202. I used the ZX-40a (ZBasic) as the CPU and, while my board is designed to use a wall transformer (switchmode) supply, the ZX-40a must run at 5V or the software UARTS (full duplex background operation) must be limited to 4800bps. I had to design a 5V to 3.3V adapter board so I could use the nano LanReach, instead of the Tibbo which was discontinued just as I ordered the first batch.

  7. #7
    Join Date
    Jul 2003
    Posts
    2,358

    Default

    > I was thinking that there were some pics that I could run on 3.3 for testing

    Lots of PICs run at 3.3v... even the 10F series, go ahead and play...

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

    Default

    Quote Originally Posted by l_gaminde View Post
    I was thinking that there were some pics that I could run on 3.3 for testing
    Look at the electrical spec part of the data sheet and it tells you there how fast the PIC can be run at what voltage. Slower the speed the lower the voltage.

    But...

    If you need the speed and low voltage go with an 18Fer. For example: I run 18F4550 with an external 4 Mhz resonator at 3.~ volts. Using the PLL option it is cranked up to 48Mhz.
    Works great when you need to connect to something like a SD card. The whole system can then run at the 3.~ volts at a speed fast enough to get something done.
    Dave
    Always wear safety glasses while programming.

  9. #9
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563

    Default EZWebLynx from CCS

    Hi,

    CCS makes one product called EZWeblynx : http://www.ezweblynx.com

    Available as :

    1. 5V Rev1 -- PIC18F2685
    2. 5V Rev2 -- PIC18F6722
    3. 3.3V -- PIC18F67J60

    It is programmable simply through HTML. Can take inputs (I/O, serial) can drive LCD/LEDs.
    Uses a modified Microchip TCP/IP stack. So possible to develop your own sometimes...
    Cheap. $54
    Regards

    Sougata

  10. #10
    Join Date
    Jul 2008
    Posts
    38

    Default

    Thanx for suggestions everyone.

    I can grab the ENC28J60 locally, but i'm also interested in the "Connect One" modules too....awaiting order to be processed....

    As much as i've read thru tcp/ip stack docs, and several webpages etc, it's still not clear (to me anyway, and i've sat thru Cisco CCNA 1+2) about HOW i get these ethernet modules to work.

    Can somebody give me some BASIC pointers or links to 'HOW TO' sites....
    A simple checklist of things that need to be done would be VERY handy.

    Even the data sheets from various vendors state things like
    "by implementing the use of....."
    "by simply adding...."
    "with the simple addition of......"

    but these statements dont ANSWER anything.....
    they tell me WHAT needs to be done, but now HOW it's done......

    So far, all i seem to find in many forums and sites are comments like "i used this, i used that, i added this, and implementd that" which is really NO HELP to me at all when i actually wanted to know HOW they achieved a working unit.

    For starters:

    Is the ethernet device pre-programmed ready to use?

    what do i do with the microchip tcp/ip stack?
    Does it program into the ethernet device? into my code? called from my code using the include statement or something else?

    It seems many ethernet modules claim "a simple way to connect any mcu onto the internet" and yet i'm finding it to be the most complex task to achive, what am i missing?

    For the people out there who have bought these modules, and already tinkered with them for testing, PLEASE share HOW & WHAT you did to get things up'n'running......

    I hope someday i'll look back on this and laugh, I know a challenge is good, but frustratiion isn't welcome....

    Sorry if i'm ranting & raving, but sheesh, it shouldn't be this hard????

    Thanx in advance,
    Marty.

  11. #11
    Join Date
    Dec 2005
    Posts
    1,073

    Default

    With the ConnectOne modules (and the ENC28J60) you do not need the Microchip stack. You connect using either serial (RS232 TTL) or SPI.

    Read the ConnectOne AT+i Programmer's Manual. Basically, you communicate with the nano LanReach using AT commands in the same manner as with a modem using the serial interface. It's very simple.

    With the ENC28J60, you are working at a lower level and it is far more complicated.

    Stick with ConnectOne.

  12. #12
    Join Date
    Aug 2009
    Location
    Paso Robles California
    Posts
    167

    Default

    Quote Originally Posted by gtvmarty View Post
    Thanx for suggestions everyone.

    I can grab the ENC28J60 locally, but i'm also interested in the "Connect One" modules too....awaiting order to be processed....

    As much as i've read thru tcp/ip stack docs, and several webpages etc, it's still not clear (to me anyway, and i've sat thru Cisco CCNA 1+2) about HOW i get these ethernet modules to work.

    Can somebody give me some BASIC pointers or links to 'HOW TO' sites....
    A simple checklist of things that need to be done would be VERY handy.

    Even the data sheets from various vendors state things like
    "by implementing the use of....."
    "by simply adding...."
    "with the simple addition of......"

    but these statements dont ANSWER anything.....
    they tell me WHAT needs to be done, but now HOW it's done......

    So far, all i seem to find in many forums and sites are comments like "i used this, i used that, i added this, and implementd that" which is really NO HELP to me at all when i actually wanted to know HOW they achieved a working unit.

    For starters:

    Is the ethernet device pre-programmed ready to use?

    what do i do with the microchip tcp/ip stack?
    Does it program into the ethernet device? into my code? called from my code using the include statement or something else?

    It seems many ethernet modules claim "a simple way to connect any mcu onto the internet" and yet i'm finding it to be the most complex task to achive, what am i missing?

    For the people out there who have bought these modules, and already tinkered with them for testing, PLEASE share HOW & WHAT you did to get things up'n'running......

    I hope someday i'll look back on this and laugh, I know a challenge is good, but frustratiion isn't welcome....

    Sorry if i'm ranting & raving, but sheesh, it shouldn't be this hard????

    Thanx in advance,
    Marty.
    I have only used one device it was connect1s iChip
    it works like a modem giving it ati commands and there are hundreds of commands no stack no nothing!! download there manual and read it, ITs a 3.3 volt device so adapter needed, or run your project on 3.3 volts or you have 10 extra wires.

Similar Threads

  1. PIC and TCP/IP
    By jscoulter in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th September 2009, 11:21
  2. PIC 18F97J60 and Ethernet
    By mikebar in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 16th April 2008, 12:51
  3. Ethernet <> PIC link
    By The Master in forum Off Topic
    Replies: 9
    Last Post: - 16th November 2007, 12:04
  4. Adding a pic in I2C network....
    By robert0 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2005, 12:07
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

Members who have read this thread : 0

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