Instructables
loading
loading

A credit card sized Ethernet Arduino compatable controller board

Featured
Picture of A credit card sized Ethernet Arduino compatable controller board
I love the Arduino as a simple and accessible controller platform for many varied projects.  A few months ago, a purchased an Ethernet shield for my Arduino controller to work on some projects with a mate of mine - it was a massive hit - for the first time, I could control my projects remotely using simple software.

That got me thinking - The Arduino costs about $30AUD, and the Ethernet board cost about $30AUD as well.  That is a lot of money - Could I make a simple, dedicated remote controller for much cheaper?   Why Yes I could.   Could I make it the size of a credit card?  Why Yes - I could!!

This project is my simple Arduino compatible controller that has embedded Ethernet, and the capacity to drive some extra I/O lines for projects, such as a Remote thermometer, a Remotely accessible Fridge controller, and a Remote Humidity sensor.  I have to say from the start that I didn't write all of the software, my mate Mikal did that - but this instructable is about making your own controller board!

Lets start!
 
Remove these adsRemove these ads by Signing Up

Step 1: Here is the Schematic Diagram

Picture of Here is the Schematic Diagram
For the curious, this is the schematic diagram of my simple Ethernet board.

As you can see, there are a number of exposed header connectors that can be used to connect peripheral devices to.

The board is powered with a supply of between 7 and 12v.  It contains voltage regulators to provide +5v and +3.3v for the Ethernet controller.

There is also a 4 position DIP switch that can be used to allow programmed functions to be modified.  A failing of the standard Arduino Ethernet library is that the IP address for the board has to be set in code.   Using the DIP switch, a block of addresses can be selected from as required.  You can make 16 boards, and have each board automatically select a different address  based on the switch setting.  This is *really* handy when you have deployed 10 sensors around the house.  All you need to do is set a switch and then they are configured.

The pinouts of the I/O connectors are;

I/O1 - 1 - PD5  (Arduino Pin 5)
I/O1 - 2 - PD6  (Arduino Pin 6 +pullup to +5v) - Used to connect a DS1820 Temperature sensor.
I/O1 - 3 - PD7  (Arduino Pin 7)
I/O1 - 4 - PD8  (Arduino Pin 8)
I/O1 - 5 - GND
 
I/O2 - 1 - +5v
I/O2 - 2 - GND
I/O2 - 3 - PD4 (Arduino Pin 4)
I/O2 - 4 - PC0 (Arduino Analog 0)
I/O2 - 5 - PD3 (Arduino Pin 5)
I/O2 - 6 - PC1 (Arduino Analog 1)
I/O2 - 7 - PC2 (Arduino Analog 2)
I/O2 - 8 - PC3 (Arduino Analog 3)
I/O2 - 9 - PC4 (Arduino Analog 4)
I/O2 - 10 - PC5 (Arduino Analog 5)



1-40 of 318Next »
JohnS306 months ago

hi i can't open the schematics in egale. can someone help me please ?

JohnS30 JohnS306 months ago

which program didyou use for this ?

KiCad...

drj113 (author)  JohnS306 months ago
The schematic was developed in KiCad - not Eagle.

I do not use Eagle, as it is closed commercial software that is unable to be used for commercial use without paying a licence.

KiCad is open source.
ARMAText2 months ago

Will programming this work with the Ethernet and SPI libraries in the Arduino software? I was looking for a way to program my Arduino to use Ethernet without the need of an SD card slot since the Ethernet Shield includes an SD card slot.

Great project, there. I'm hoping this will be useful on my end.

PedroK23 months ago

Hi

Thanks for this instructable, can you tell me wath is the value of L (inductor) near the R5 and R6 resistors.

Keep the good work

Thanks

drj113 (author)  PedroK23 months ago
It is simply a ferrite bead - Just one length of wire placed through a bead. It is tr remove switching noise.

Really nice work drj113.

R-A6 months ago

Can you please explain the purpose of this board a bit better?

Can multiple of these boards be connected to a network switch, and then "controller from a mater controller"?

i.e. can I open / close doors remotely, from a single Arduino MEGA? If so, does it work on the I2C bus, or would I need an ethernet controller (which I don't currently own) on the Arduino MEGA 2560 first?

I want to build one of these myself. However, I am fairly new at electronics, and therefore, I have a difficult time reading the schematics and I do not have the equipment to make such circuit board. Could you upload an instructables page with the same design but on a breadboard. Thanks!

WebScript10 months ago

Hello!

I have finally managed my time to construct this nice instructable. Do you think is it possible to replace 74HC08 SMD with 74HC08 DIP14 package? And SMD caps with normal through-hole caps.

Thank you.

krissko WebScript9 months ago

I made mine with no SMD components...you just have to change pcb layout or make shematic on prototyping board :)

gadour12 months ago

can you send to me the isis shema ??

Lucif3r9451 year ago

Interesting... I assume the atmega chip is just serving as an "arduino", and can be skipped if you want to attach this to an existing arduino?

julianiii2 years ago
Hello everybody . i'm trying to do the project but no sucess , can u help me ? i connected everything like in the schematic , i dont know how to trace where is my problem ,help me thnx.
drj113 (author)  julianiii2 years ago
What software are you using?
enc28j60 library . Should i conn the 74ls08 vcc and gnd. maybe is my rj45 problem ?
IMG_0065.JPG
drj113 (author)  julianiii2 years ago
The VCC and Ground should be connected.

The Rj45 needs to have magnetics as well. Does yours?

Could you explain why are the magnetics needed??
thnx for the help i had problem with rj45 and ferrite bead thnx i love this project thnx :):):):)
drj113 (author)  julianiii2 years ago
The ferite is not super important - it just reduces noise on the supply rail
Yes i cute a rj45 from an old ethershield and it works fine THNX
drj113 (author)  julianiii2 years ago
Aweesome!
alv0011 year ago
With the Eagle 6 I try to open the Arduino-Ethernet.sch and Arduino-Ethernet.brd files from ArduinoEthernetController-1.zip archyve, but fails (http://www.instructables.com/files/orig/FG4/YQ05/GELSQIG0/FG4YQ05GELSQIG0.zip). Maybe you have a newer version of the files?
drj113 (author)  alv0011 year ago
Hi,

Thanks for your message. All of my projects are developed in KiCad, not Eagle. I do not use Eagle, as it is not open source, nor is it free to use.

I do understand that they have a hobyist licence, but its size limitations are useless, and I sell products that I design with it anyway, so I can't use it even if I wanted to.

Doug
Acidjazz541 year ago
OP, great instructable and thank you. So I purchased the components over a year ago and finally got around to assembling the boards. The issue I'm having is I can't get the board to take the bootloader. I've followed the comments and have ensured that the board is the Duemilanove and I'm using w/Arduino as ISP but I'm still getting the following error.

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

One thing I noticed is the FTDI cable I bought shows up as a USB serial com port, this is what I want correct? Any insight or troubleshooting ideas would be greatly appreciated.
So I just tried optiboot and get the same getsync() error but no protocol error.
So I got everything programmed. I ended up using the following instructions to burn the bootloader and it worked great. Now I'm just trying to get it on the network.

http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html#top
drj113 (author)  Acidjazz541 year ago
One possibility is that you may not have the Arduino bootloader installed in the chip.

Here is a link to a great page that describes whet you need to do:
https://www.sparkfun.com/tutorials/247
Thanks for the link. I got the bootloader on it now using an AVR dragon but I forgot to set my fuse bits etc. When it was done I tried uploading a basic sketch using the FTDI cable and still no luck. The board is at work so tomorrow I'm going to try setting the fuse bits, etc and see if I can then upload using the FTDI cable. I'll let you know what happens. Thanks again.
WebScript1 year ago
Sorry that I am writing new comment, but I can not reply beacuse I don´t see captcha. Can I use ATMega328P-PU or it does not matter what I will buy? (ATMega328, ATMega328P, ATMEGA328P-PU)
Thank you
drj113 (author)  WebScript1 year ago
The specific AtMega328 doesn't matter - you will have to be careful to reconfigure the Arduino IDE to be able to program it though as the devices have a diferent signature.

http://forum.arduino.cc/index.php?topic=58670.0

WebScript1 year ago
Hello.
Is this suitable? http://www.ebay.com/itm/SN74HC08PWR-Manu-TI-Encapsulation-TSSOP-14-QUADRUPLE-2-INPUT-POSITIVE-AND-/110894158680?pt=LH_DefaultDomain_0&hash=item19d1ce9358
And this?
http://www.ebay.de/itm/5x-74HC08-SMD-HC08-AND-Gatter-4-fach-2-Eingaenge-SO14-/290446453809
Thank you.
drj113 (author)  WebScript1 year ago
I believe so
Jeanot13141 year ago
Nice work!! Very inspiring.. I made some test on the same schematic and the Ping and a "Hello" on browser are working. But when i make a bigger HTML page, it hardly work. I replaced the ferrite by a wire.. do you think it can be the reason? Like small package like a PING succeed but bigger HTML don't?
nwo12 years ago
Hello! I'm super excited at this project, however is it possible for you to distribute the eagle file for this project? It would be great if you can kindly release it =]
prismspecs2 years ago
great guide. what was the total build cost for the ethernet board?
drj113 (author)  prismspecs2 years ago
When I wriote it, the board was cost effective to make, now I would just get a Raspberry PI.
Ilruz drj1132 years ago
If you are lucky enough to get one. I've ordered mine more than one month ago ... they said it was "in stock". Sigh.
drj113 (author)  Ilruz2 years ago
Yea, Shipping is a bit tricky, I have been waiting for two more for a while now. But the Pi is an amazing board.
1-40 of 318Next »