Adding TCP/IP Ethernet to PIC - how?


Closed Thread
Results 1 to 40 of 65

Hybrid View

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

    Default

    I'll add my favorite, the Lantronix XPort. I have thousands of them connected to PICs, and they are very reliable.
    You can configure them from the "network side" or the PIC side (RS-232).
    Charles Linquist

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

    Default

    I like ConnectOne's nano LanReach. It does e-mail.or, if you can use an external adapter and don't need e-mail
    Last edited by dhouston; - 7th October 2009 at 14:58.

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166

    Default

    Charles Linquis, The NET232 is based on the Lantronix XPort. I do like the configuration over the network..

    Dave Purola,
    N8NTA

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

    Default Pic To Network

    Quote Originally Posted by dhouston View Post
    I like ConnectOne's nano LanReach. It does e-mail.or, if you can use an external adapter and don't need e-mail
    I have also used the connectone iChip it had good software and could do most of what you want but there were things missing and just wrong for general hookup.

    1. Its a 3.3 volt device so you must be running @ 3.3 or use an adapter !

    2. Its pin size and Pin Spacing are not standard for US market (this may not be a problem for you)

    3. I noted a number of problems to there tech staff about there manual being incorrect which made it very hard to get started without there test board.

    4. It does email had it sending mail once every 4 hours when on vacation, time and temp, so I could see if there was any ip address changes ( non static) I would then log on to the webpage to make sure it was working using smart phone.

    5. They have wifi modules that do both wired and wireless I would go this route next time.

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

    Default

    Quote Originally Posted by Charles Linquis View Post
    I'll add my favorite, the Lantronix XPort.
    I haven't looked at these in depth for a few years. As I recall, they had email limitations. (You had to predefine the receipient. It could not handle authentication.) Has this improved?

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

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

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

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

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

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

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

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

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

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