Dear all
what I need is to pass data to arduino yun (maybe via serial???) or have access to moteino via ethernet using a enc28j60 ethernet shield,
It's possible?
what is the most simply way to do it?
how to wire the hardware?
is ethernet shield (based on enc28j60 chip) compatible (or more compatible than W5100 chip based shield) and how to wire with moteino?
there are some examples of code?
thanks in advance
Livio
We're using a Moteino with both an ENC28J60 and the Wiz 5100. Connect using SPI. You have the problem with the SS function wanting to use the same pin as the radio on the Moteino but if you look around on the forums here there are plenty of posts about how to fix that problem.
I've also connected a Moteino to a Particle Core and a Raspberry Pi using the TX/RX lines. Connecting via the serial lines allows you to use a Pi as a gateway for the Moteino to get to the Internet but if you use the ENC28J60 you can access the Moteino over TCP/IP without any gateways.
As a matter of fact we've also used the ESP8266 as an IP endpoint connected to a Moteino and it works OK as well. You would connect this via the TX/RX lines to the Moteino.
Hi syrinxtech,
I am also just starting to look at this (Moteino -> Internet). I want to enable the Moteino to hook into an ethernet network, gain an address using DHCP and be able to transmit tcp/ip messages to an external web server.
So I was just wondering which of ENC28J60 and Wiz 5100 you think is better? And what libraries besides SPI (if any) did you use for these?
Quote from: pyndot on November 10, 2015, 02:14:38 AM
Hi syrinxtech,
I am also just starting to look at this (Moteino -> Internet). I want to enable the Moteino to hook into an ethernet network, gain an address using DHCP and be able to transmit tcp/ip messages to an external web server.
So I was just wondering which of ENC28J60 and Wiz 5100 you think is better? And what libraries besides SPI (if any) did you use for these?
Whichever network interface you use, I would recommend a Moteino Mega just so you have enough RAM to handle HTTP request/responses. I've used the W5100 and it worked well (over than the annoying fact that you can't get link status from it and most boards have FAR too many LEDs on them!). Use kiwi's Ethernet library update so you can move the W5100 CS pin to something other than 10.
Tom