I have an application where I need at least 4 digital inputs, (monitors switch closures) and wired, not wireless Ethernet. Code should be small as all I want to do is set the time to an NTP server and if one of the switches is closed send an email.
Is there something like an Arduino with an integrated Ethernet W5100 shield and and half dozen or so I/O pins? (For my application wireless Ethernet would not work).
There isn't an official Arduino board in active production with onboard Ethernet. The recommended alternative is to use the MKR ETH Shield on one of the MKR boards. The MKR Zero is a good choice.
There are some 3rd party boards with onboard Ethernet. I don't have any experience with these and don't remember their names but I know they have been listed in a few previous threads so you should be able to find them.
@spycatcher2k Every been to London? There are many stores. I’m asking if there is a store I don’t know about that’s selling what I need.
@pert I’m looking at links you provided, thank you. But the price I’m seeing for an Uno and Ethernet shiled is considerably less. But you just gave me an idea for another project. Can an Uno with Ethernet shield send a packet to the MKR Zero to play a sound file?
The price of the official Arduino Uno with the Arduino Ethernet Shield 2 is actually slightly more than the MKR Zero + MKR ETH combination. You can definitely find cheaper Chinese boards. Part of the extra cost of official Arduino products is supporting the development work on the free software we all benefit from.
The Uno + Ethernet shield combo does have advantages and disadvantages vs the MKR Zero + MKR Eth. The Uno has been around longer so the community support is better. The MKR Zero uses a modern microcontroller with a lot more resources.
Doug101:
Can an Uno with Ethernet shield send a packet to the MKR Zero to play a sound file?
Yes, but the MKR Zero needs some way to receive that packet (or whatever the signal is) to play the file. If you can use WiFi for this application (I know you already said you can't for the other), the MKR WiFi 1010 is only a little bit more than the MKR Zero and it has onboard WiFi, no shield needed. Of course, once you get to WiFi, there are also a lot of options for unofficial boards, including the popular ESP8266 and ESP32 boards.
There's a clone made by Freetronics (EtherTen Arduino compatible with onboard Ethernet | Freetronics) called Etherten which has on board W5100 ethernet. It's a Uno clone. They're my favourite dev board. You may be able to source them online direct or from a local source.
For my own builds I use cheap ENC28j60 units and include the UIPEthernet libarary. I've been running these as sensor inputs (Full weather station, door and gate monitoring etc.) For extra io ports I add an MCP23017 (spi based io expander) and build on bespoke circuit boards. An entire unit (home made Arduino, power, ethernet, io expansion) costs me about $11 New Zealand dollars, where an Arduino here with sheild would be about $89 (I'm not sure anymore as I haven't bought manufactured units for over 4 years).
spycatcher2k:
Yes, I lived there for many years. But as you are on an Arduino website, with the word 'STORE' at the top of the page, I gather you would use some common sense! Obviously not!
That stores doesn't have what I'm looking for that's why I'm asking around.