Shop OBEX P1 Docs P2 Docs Learn Events
Ethernet Connection to a prop — Parallax Forums

Ethernet Connection to a prop

pacmanpacman Posts: 327
edited 2009-08-29 18:12 in Propeller 1
People,

Can someone recommend a 'pre-canned' module that would allow me to put the Prop on {cabled} Ethernet cheaply

I know of a few larger $ modules but ideally I'm after a cheap solution that would allow me to generate a magic packet to WOL {Wake On Lan} devices.. It doesn't need to do anything else.

WOL does not need the full 7 layer OSI model, just a subset. A link to WOL can be found hereen.wikipedia.org/wiki/Wake-on-LAN

Thanks in advance

Paul

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
=================
The future is in our hands.
Which way to the future?
=================

Comments

  • Dr_AculaDr_Acula Posts: 5,484
    edited 2009-08-27 06:11
    I think there are quite a few solutions out there. A quick search on google for 'propeller enc28j60' gives >900 hits.

    eg ucontroller.com/documentation/PropNICDoc.html code at obex.parallax.com/objects/196/ and a pre-made board for $20 www.futurlec.com/Mini_Ethernet.shtml

    But I'm not an expert on the code. Others here will be able to help more. Though I do have dreams one day of hooking the triblade cp/m computer into the internet using one of these modules.
  • Harrison.Harrison. Posts: 484
    edited 2009-08-27 06:44
    You can take the enc28j60 driver from the PropTCP TCP/IP stack and use it to send WOL packets. The magic packet format is super simple, and would be very easy to send using the driver_enc28j60.spin object.

    The latest enc28j60 driver can be obtained from the zip file at the bottom of harrisonpham.com/dp/proptcp.

    Post Edited (Harrison.) : 8/27/2009 6:49:12 AM GMT
  • Toby SeckshundToby Seckshund Posts: 2,027
    edited 2009-08-27 09:45
    There is the YBox2 project too.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Style and grace : Nil point
  • LeonLeon Posts: 7,620
    edited 2009-08-27 10:02
    Olimex makes a little DIL ENC28J60 module. It's quite cheap.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • JavalinJavalin Posts: 892
    edited 2009-08-27 11:20
  • pacmanpacman Posts: 327
    edited 2009-08-27 21:13
    Thanks to all.

    I had looked at both the Olimex units and the Sparkfun offering (but had forgotten about the PropTCP board). Hence the reason I asked so big thanks to all.

    I've ordered one of the PropTCP boards (whose prices {after currency conversion} and postage to the land downunder was cheaper than the others).

    Looks like I now get to play with the harrison spin object. Wish me luck (I may need it....)

    Again, thanks to all replies

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    =================
    The future is in our hands.
    Which way to the future?
    =================
  • Cluso99Cluso99 Posts: 18,069
    edited 2009-08-28 08:02
    pacman: whereabouts downunder??
    There a quite a few of us spread out here. I am between Gold Coast and Gosford regularly.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBladeProp, RamBlade, TwinBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: Micros eg Altair, and Terminals eg VT100 (Index) ZiCog (Z80) , MoCog (6809)
    · Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
  • HollyMinkowskiHollyMinkowski Posts: 1,398
    edited 2009-08-28 16:03
    There are controllers with integrated USB and controllers with ethernet.

    It would be great to combine both in a moderately priced controller!

    Imagine a controller with built in video hardware, USB and ethernet....WoW.
    Instant low-cost internet terminals and much more.

    @Dr_Acula
    Those Futurlec boards look pretty good for 20$

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Some mornings I wake up cranky.....but usually I just let him sleep in -
  • HollyMinkowskiHollyMinkowski Posts: 1,398
    edited 2009-08-28 16:10
    You might look at the details of the Ybox2 kit.
    Not 'pre canned' but it looks easy enough.
    It uses a propeller and a ENC28J60 for ethernet.
    www.ladyada.net/make/ybox2/download.html

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Some mornings I wake up cranky.....but usually I just let him sleep in -
  • Mike HuseltonMike Huselton Posts: 746
    edited 2009-08-28 16:46
    I have two different WizNet modules for the price of shipping. Just send me updates/lab notes on your progress.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    JMH
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2009-08-29 01:10
    I like the WIZnet modules. In fact you can buy a Hydra Card with code and examples for Ethernet. Then you can buy a Hydra Adapter that I sell (but don't have it listed on the site) so you cna use the Hydra card on a perf or Proto board.

    I have recently purchased MiiNe by Moxa and so I hope to test those out. They are more expensive than a WIZnet module, but more compact and offers some other advantages. It all depends on what you want/need for your project.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com
  • hinvhinv Posts: 1,255
    edited 2009-08-29 02:10
    There are also some cheap enc28j60 modules on ebay for about $15. They are tiny too.
    I havent tried mine out yet....

    Doug
  • hinvhinv Posts: 1,255
    edited 2009-08-29 02:10
    There are also some cheap enc28j60 modules on ebay for about $15. They are tiny too.
    I havent tried mine out yet....

    Doug
  • DynamoBenDynamoBen Posts: 366
    edited 2009-08-29 04:55
    I have been using the WizNet module(s) also, btw they are around $17.
  • dMajodMajo Posts: 855
    edited 2009-08-29 09:22
    Usually I went with Lantronix's XPort/XPortAR



    Have a look also at Tibbo modules !!!

    The EM203+RJ203 bundle is €40+vat. It comes preprogrammed as a serial device server, but with a firmware upgrade you can switch it to TIOS (basic programmable device).
    When the IO and/or program storage demand grows the EM1000/EM1206 come in. These are expandable with the WiFi option, that can run the same time as the wired one. Many protocols/functions are supported by the OS, the others can be programmed. The TIOS have al the tools/commands/instructions to manage the tcp/udp·connections and the first feeling is that everything is possible.·I have one EM1000 to test/reserch its capabilities and it looks a really nice device.

    I recommend· everyone to have a read of the hardware and basic manuals. The features summary doesn't really express the whole potential that these modules have.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    · Propeller Object Exchange (last Publications / Updates)
  • Toby SeckshundToby Seckshund Posts: 2,027
    edited 2009-08-29 16:59
    I don't suppose that any body has sussed out a version of the enc28j60 which doesn't use so much current ?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Style and grace : Nil point
  • Harrison.Harrison. Posts: 484
    edited 2009-08-29 18:12
    Toby Seckshund said...
    I don't suppose that any body has sussed out a version of the enc28j60 which doesn't use so much current ?
    You'll want to make sure you are using the correct Rbias resistor value. Otherwise the waveforms will be out of spec and cause higher current draw (or so I'm told). Also, it seems as though a majority of MAC/PHY all-in-one chips draw large amounts of current (in the 120 - 200mA range). Both the enc28j60 and W5100 chips draw about the same amount of current.
    pacman said...
    Looks like I now get to play with the harrison spin object. Wish me luck (I may need it....)
    The enc28j60 still seems to be the most cost effective solution. The chip costs $3 in single quantities, comes in an easy to use 28pin soic/dip/ssop package, and requires a very minimal amount of external components. It's only expensive when you buy prebuilt breakout modules.

    For projects like a simple WOL magic packet sender / receiver, the enc28j60 is the optimal choice. You would have to do just as much work, if not more, with the other chips.
Sign In or Register to comment.