Back to Home

We connect Ethernet ENC28J60 via SD card-reader for WEB-Servera on Arduino

arduino · DIY · ENC28J60 · MEGA2560 · uno · sd · ethernet

We connect Ethernet ENC28J60 via SD card-reader for WEB-Servera on Arduino

    Hello. Faced with technical difficulties in building a WEB server, I came up with an adapter which probably no one has ever done (although I could be wrong). All § was simple and pretty practical.

    image

    Why this is needed and how to create it I will tell and show, and also show a video overview of the performance of web servera on the adapter.

    It all started with the creation of a Sauna with a touch screen and WEB interface.
    I separately programmed the menu for the screen on the Arduino MEGA2560 and the web server on the Arduino UNO (at the end of the SAUNA project, there will be an article with diagrams and a program).

    Everything seems to be going fine, I started the installation:

    imageimage

    And when I connected and flooded the server ...

    image

    ... then I realized that the fun is just beginning. The site then opened or not, ping sometimes exceeded 1000, tried to change the choice of the crystal, sinned on RAM (although ATmega2560 has more than ATmega328 (UNO)).

    And only when my hands fell, I decided to remove the LCD motherboard with MEGA 2560, and then it worked, the site opens in a split second, ping <or = 1, everything worked perfectly.

    3.3V buffers in the adapter board became the cause of the glitches and problems, I initially thought that they are activated when there is a signal choosing a CS SD card chip ... But it turns out that not everything is there as we would like.

    And then a thought flashed through my mind, but what if I use this buffer to send signals to the Ethernet module, because the SD card is 3.3V and the Ethernet module is 3.3V (although there is also 5V). As a result, I unsoldered the loop and my motherboard began to look like this:

    image

    I did the loop for a relatively short time who wants to see how to make it, that is, a video review of the creation of this loop.
    Stock up on pop food:



    Loop scheme:

    image

    In this case, my WEB server was created without using an SD card, so you can safely occupy the slot for an SD card.

    image

    image

    I hope you enjoyed the idea (maybe the Chinese are already doing something similar).

    And finally, I want to provide a video review of the adapter test:

    Read Next