Shop OBEX P1 Docs P2 Docs Learn Events
Ethernet — Parallax Forums

Ethernet

ValioValio Posts: 29
edited 2010-03-13 22:58 in General Discussion
Hello!


Is there exist a schematic of simple ethernet module made on single SX chip ?



Thanx !

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-12-12 19:28
    No

    The SX doesn't have enough memory to handle Ethernet protocols by itself. There are modules with their own built-in microcontroller with a built-in Ethernet stack (code) that interface with another microcontroller via a serial connection. An SX could work with one of those.

    Here's a typical one: www.lantronix.com/device-networking/embedded-device-servers/xport.html.
  • ValioValio Posts: 29
    edited 2009-12-12 20:41
    Thanks Mike!

    I saw SX-X10 remote control project (2002y), but cant find any details for download.
    In brief, I want to construct control power supply for my home equipment over inet.
    I know there are a special boards for that, but if it possible, maybe there are ready
    SX project ?


    Kind regards.

    PS: in my location this ethernet module costs ~$95... china netcard ~$5-8, increadble ...

    Post Edited (Valio) : 12/12/2009 10:15:40 PM GMT
  • PJMontyPJMonty Posts: 983
    edited 2009-12-22 18:22
    Valio,

    Wiznet makes a module with .1" center pins that can be used in breadboards or finished projects, and it's US $21.85.

    www.ewiznet.com/goods_detail.php?goodsIdx=132

    The device has parallel and serial interfaces.

    Thanks,
    PeterM
  • JuliaTolmachaJuliaTolmacha Posts: 1
    edited 2009-12-23 07:27
    With the Arduino Ethernet Shield, this library allows an Arduino board to connect to the internet. It can serve as either a server accepting incoming connections or a client making outgoing ones. The library supports up to four concurrent connection (incoming or outgoing or a combination).

    Ethernet class

    The Ethernet class initializes the ethernet library and network settings.

    * begin()

    Server class

    The Server class creates servers which can send data to and receive data from connected clients (programs running on other computers or devices).

    * Server()
    * begin()
    * available()
    * write()
    * print()
    * println()

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    mothers day jewelry - Upgrading wordpress
  • PJMontyPJMonty Posts: 983
    edited 2009-12-23 08:01
    JuliaTolmacha,

    You're suggesting that he is somehow going to use the Arduino library on the SX? How is that supposed to work? He asked for SX Ethernet options, not Arduino projects.

    Thanks,
    PeterM
  • John CoutureJohn Couture Posts: 370
    edited 2009-12-23 17:00
    Create a design where the SX reads the sensors and makes the decisions. Then just hang an Ethernet module off of it and communicate with it using a serial port. The SX is just not designed to do Ethernet type stuff. Some modules to consider:

    -- the Parallax PINK (Ethernet Module) is very easy to use and well documented. I have one of these and they are fun!

    -- Netburner board (about $35), but that takes some talent to get it working. I have one of these too but as the documentation says, buy one of the development kits to go with it so that raises the price. Once you have the dev kit, things go much easier.

    -- If size is important look, at the Lantronic XPORT XE (about $50). It is about the size of an RJ45 Ethernet Jack and can be mounted directly on a PCB. Again this will take some talent to get it working. I bought one of these because I just couldn't resist. However I'm afraid of it because it has to be mounted on a PCB and if I screw up I just blew $50 (I have committment issues!).

    -- There are many, many more out there but again use the SX for the central command and the Ethernet module as a gateway to the Internet. Putting an Ethernet module on your project is fun and its very kool to be able to access it from work over the Internet.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John J. Couture

    San Diego Miramar College
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2009-12-24 01:44
    Another possible option. Use an old 8-bit ISA 10BaseT card. eBay for pocket change.

    Here's an example of someone using an AVR to decode radio time signals and provide an (S)NTP server over Ethernet for a local network: http://www.mulder.franken.de/ntpdcfledclock/#dcf77
  • Sparks-R-FunSparks-R-Fun Posts: 388
    edited 2010-03-13 22:15
    ·· I apologize for adding this comment so late.·

    ·· I am certain the SX can handle processing a simple ON/OFF power switch function over an Ethernet connection using only an ENC28J60, some magnetics and a few support parts.· My certainty stems from the fact that a previous SX project I started was focused on developing an Ethernet connected SX device.· The concept was proven to the point of being able to Ping the device.· By that I mean the SX was handling the packet possessing to generate the Ping response rather than relying on a built in Ping reply function that some of the more capable interfaces might have.· The goal of the project was to create an SX device that could serve limited but useful web pages and/or respond to simple network commands.· It was am ambitious goal!· Serving web pages might not have been possible given the limited programming space of the SX.· However, I certainly think processing simple ON/OFF commands would be possible.· It would not be a quick or easy project but on the question of what is possible, I think it could be done.

    ·· The project was abandoned a few years ago so I do not remember many key details.· I clearly remember the device was pingable, though!

    ·· With that said, I am sure there are better/cheaper/faster ways to achieve the same end.

    ·- Sparks
  • Mike GreenMike Green Posts: 23,101
    edited 2010-03-13 22:58
    Particularly since the SX is in end-of-life status, you should have a look at the YBox2 which is a Propeller-based Ethernet server that fits in an Altoids tin. It's basically a Propeller with an ENC28J60, some magnetics, and a few support parts. Quite a few of the Propeller's I/O pins are unused and available on headers.

    www.ladyada.net/make/ybox2/
    www.deepdarc.com/ybox2/
Sign In or Register to comment.