How to interface Arduino Due to Ethernet card/link of computer? HELP PLEASE!

Hello all!

I am doing my first project on Arduino, i am trying to use arduino due to act as a physical link to connect my computer to the internet. Which means, i am trying to replace the ethernet cable with the arduino board.

I am wondering if this project is feasible, i'm not very sure on how the data is transmitted from the computer to the ethernet cable. if so, how can i extract that data to the arduino board?

Correct me if i am wrong, it need to go through the ethernet card then ethernet link. Which i have absolutely no clue about this. can i get some advice on this? Thanks!

Warm Regards,
Dylan

Just wondering on how i could access the ethernet card with the arduino board?

Must i use ENC28j60 in order to do so?

can i use the Arduino ethernet shield to act as the ethernet cable?

It might be possible to have the Arduino act as an ethernet cable but you're really pushing beyond the boundaries of what the Arduino normally does. A normal ethernet router provides lots of services to the connected computers, not just sending internet data out to the world. You will have to reproduce some of those services with the Arduino. DHCP is probably the main one, although it's possible to do without it.

Now if you are trying to talk to the Arduino with serial and then have it send that data out over ethernet, that might be possible. A long time ago, I used SLIRP to emulate an interet connection over a serial modem. I don't know if that's still around.

Hi MorganS,

Thanks for your reply.

How about using the Arduino Ethernet shield? As it enable the arduino to connect to the internet, therefore the library should have the Ethernet protocol? i.e. IEEE 802.3 standards.

Therefore, if i am able to access that data, that is being sent over the original ethernet cable with arduino. I could acts as the cable itself right? Not sure if i am making any sense here.

The project which i am trying to do is using Visible Light Communication to make the connection between 2 computers. How about, can the arduino transfer a video/audio from one computer to another computer? e.g. how can i break down the file for transfer?

My car drives on roads. It has the 'road protocol.' Can other cars drive on my car? No, it doesn't provide the services (like traffic lights) that other cars are expecting to get from a road.

I'm sure it's possible to make an Arduino with an Ethernet shield act as a router but it will be a lot more work than you are expecting.

Now, making a visible-light cable replacement is going to be a totally different exercise. You still connect your computer to a router but you replace the electrical cable with an LED and reciever. Your cable replacement doesn't have to provide any services except the lowest-level physical transport of the data. The 'traffic lights' and other services are still coming from the router.

Start by looking at how infrared communications work. Or maybe look at an optic fiber system - replace the teensy little diode with a more powerful one and take away the optic fiber inbetween the transmitter and reciever.

Wait, so you are saying that i could directly take the signal from the router and feed it directly into the LEDs? I do not need any demodulation at all?

What the h*** are you trying to accomplish?
Using a Due instead of an Ethernet cable makes absolute no sense to me.
Maybe we are "caught in translation here"? ::slight_smile:

Ralf