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 3.3

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

  2. #2
    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.

  3. #3
    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.

  4. #4
    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...

  5. #5
    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.

  6. #6
    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

  7. #7
    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.

  8. #8
    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.

  9. #9
    Join Date
    Jul 2008
    Posts
    38

    Default

    Thanx for that,

    That's just another plus to choose the "Connect One" then ;-)

    There were some issues with Mouser being restricted to Export Connect One devices to Australia, although now i'm informed by Connect One the restriction will be lifted in a few days, and i should contact Mouser again to place orders.....

    In my initial research i thought ALL ethernet modules were simply controlled with serial/spi commands, but after digging deeper i started finding that wasn't always the case, and some modules required lower level information etc.....something i DIDN'T want to embark on......

    Thanx again.



    Quote Originally Posted by dhouston View Post
    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.

  10. #10
    Join Date
    Oct 2004
    Posts
    440

    Default

    I am looking to save a few lines of data logging text from a PIC to a text file on a PC network.

    Are any of the previously mentioned devices capable of this or is a
    Delphi/VB program required to receive the data and then save the text lines?

    Norm

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

    Default

    Quote Originally Posted by gtvmarty View Post
    There were some issues with Mouser being restricted to Export Connect One devices to Australia, although now i'm informed by Connect One the restriction will be lifted in a few days, and i should contact Mouser again to place orders.....
    ConnectOne has been saying that for a few months now so I would not give it a lot of credence. Check the Where To Buy link on the ConnectOne website - they list a number of distributors around the world so you can probably find another source. Mouser is being overly aggressive in (mis)interpreting post-9/11 rules on technology exports.

  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