EtherCardOctopus: cconnect two or more Enc28J60 ethernet device


hello,
few weeks ago, starded connecting 2 ethernet adapters; reading ethercard library, fearfull moving static elements classes , objects, prefeered "copy" original in new 1 totaly independant.
i hope work finished.
attached zip file contains 2 libraries: ethercardoctopus_xxx  , ethercardoctopus_yyy.
it easy build new one:
- dupplicate ethercardoctopus_xxx folder, may ethercardoctopus_third
- rename file ethercardoctopus_xxx.h ethercardoctopus_third.h
- in file "forgeethercard.h" modify definition of xyz _third
it done!

of course, available ram limit number of devices connected.
as bypass, mays direct library use "global buffer" allocted in main. give name in definition of macro "usingglobalbuffer"  (in file "forgeethercard.h")

in these conditions, each enc28j60 use 100 bytes of ram & 2000 of rom.

i wrote lines (in french): http://antiguide.free.fr/wiki/wakka.php?wiki=arduinoethercardoctopus

at time, project build  "tunnel" home personnal remote brewery, allowing traffic usb on ethernet (themometers , relays).
it may used build "true" ethernet hub (repeating packets on lines) -may be- copy on monitor port.

regards
po.



Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > EtherCardOctopus: cconnect two or more Enc28J60 ethernet device


arduino

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support