Go Down

Topic: PC 2 PC Communication using Fo and Arduino (Read 997 times) previous topic - next topic

smdanish2008

Hello Brothers and Sisters,

How are you all? i hope you all are  fine and enjoying your time with new projects. Guys, i need your help for my University Final Year Project.

Project Title: Pc to Pc communication through fiber optic.

The title seems so old, but i want to do something new in it. i want to use Pair of Arduino to act like my Fiber optic Tranciever and transfer data from 1 pc to another, but instead of text or Voice transfer, i want to transfer Data like some video or Folder of 100MB or 10MB through fiber optic.

Diagram:  PC1 --> Arudino (TX,RX) --> FO --> Arduino (Tx,Rx) --> Pc2, and reverse.

My Questions:

1) DO you think, it is possible for Arduino to transfer big files from Pc to Pc?? Notice NO AUDIO or TEXT, only movies or any big file more then 5MB.

2)If Question 1 is possible, then how to create a coding which can help to transfer data from 1PC to another.

3)Can i Use Ethernet cable, instead of Fiber optic for my Prototype? how to create interface between Ethernet Port and Arduino?

I have watched so many video tutorials and blogs, but this topic is something i couldn't find any where.i will be thankful to all of you if some how you people can help me in my project. Thank you very much. XD

Best regards,
S.M.Danish

jwatte


i need your help for my University Final Year Project.


What is your subject of study / degree?

Quote
Diagram:  PC1 --> Arudino (TX,RX) --> FO --> Arduino (Tx,Rx) --> Pc2, and reverse.


That can be done.

Quote
1) DO you think, it is possible for Arduino to transfer big files from Pc to Pc?? Notice NO AUDIO or TEXT, only movies or any big file more then 5MB.


If you are in final year of university, studying any subject where data communications is suitable for a final year project, you ought to know that, at the physical layer, data is data, and what the data represents doesn't matter.

Quote
2)If Question 1 is possible, then how to create a coding which can help to transfer data from 1PC to another.


You write code that reads the serial port on the Arduino, and forwards to an optical transciever of some sort. You write separate code on the PC that reads whatever your input data is, and writes it to the serial port. Do the reverse on the other end. Add packetization, CRCs, authentication, and re-transmission as needed.

Also, note that the performance will be very slow, as the serial link will be the bottleneck.

Quote
3)Can i Use Ethernet cable, instead of Fiber optic for my Prototype? how to create interface between Ethernet Port and Arduino?


Yes, you can. Ethernet cable is just plain electrical wire, so you can wire a simple keystone jack to some leads that you attach to Arduino pins, and wire the same thing on the other end. Note that this will use Ethernet *cable,* but not Ethernet *signalling.* If you want to use actual Ethernet signalling, and IP protocols on top, you might want to look at the Ethernet shield. However, that shield does so much of the work for you, that it's not a very good prototyping tool for something where you want to change it out later.

This project, as described, sounds more like a High School science fair project than something I'd expect from a university final year project (meaning, you should be doing something that matters to your future employers.)

smdanish2008

Thankx Alot Mr.karma for such a quick reply, yap Sound or voice transmission is easy, therefor i am try to transmit Data file instead of sound, Yet i am confuse Since, Ram of Arduino is only 2MB, how much transfer rate we can expect??

Q2) Can u please Explain me lil bit in detail abt My Q2 in 1st post "If Question 1 is possible, then how to create a coding which can help to transfer data from 1PC to another"???

Q3) According to you this Topic is easy, right?? please give me some idea,how to make my this topic more interesting, i mean to take it to University level. i am interested in FOC or FSOC.

Q4) last 2 months i tried to to create a tranciever to carry Internet from Router to PC, but it failed.Problems,
1)  how to create interface between Ethernet port from Router to Fo and back to Ethernet PC port.
2) do i need to design any type of amplifier and use any micro controller?

Diagram: Router -->RJ45 -->TX, RX --> FO --> Tx, Rx -->Amplifier(if needed) --> RJ45 --> PC

Thank you, once again Mr.Karma



AWOL

#3
Nov 07, 2012, 07:37 pm Last Edit: Nov 07, 2012, 07:39 pm by AWOL Reason: 1
Quote
Ram of Arduino is only 2MB,

Oh dear, I don't quite know how to break this to you.
You're out by a factor of 1024, and not in a good way.

Quote
Mr.Karma

How come everyone is called "karma" around here?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

terryking228

hi,

If you use a off-the-shelf Fiber transmit and receive modules and that works ok, you have essentially replaced a wire with FOs. What goes in one end comes out the other.

So separate your design.

Connect two Arduinos with short wires and get Data Transfer working.

Pick some Fiber Optic cables with known Transmit and Receive (or transceiver) functions, and get that working.

Big Files??  FROM where TO WHERE?  You will have to have the data passed quickly to and from the PCs, probably with the usual USB link.  So your Arduino-to-Arduino path is separate, right??

Keep on thinking, dividing the problem.
Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

jwatte

i am try to transmit Data file instead of sound


There is no difference. Data is data.

Quote
Yet i am confuse Since, Ram of Arduino is only 2MB, how much transfer rate we can expect??


The Arduino SRAM size is 2 kilobytes, and the RAM size has almost nothing to do with transfer speed. I already told you what the limiting bottleneck was, so you already have all the data you need to answer this quesiton.

Quote
"If Question 1 is possible, then how to create a coding which can help to transfer data from 1PC to another"???


I told you exactly what to do. I will not write your code for you. Not even if you paid me, because your project is supposed to be done by you.

However, you did not answer my question: What is your major / degree / subject of study? Without knowing this, nobody knows what areas you are already familiar with.

smdanish2008

Sir jwatte,

My major is Electronic Engineering, of-course i don't want you to create any coding for me,its my work to do for sure, only i need is a guidance because i am not so familiar with coding stuff. Thank you.

PeterH


Sir jwatte,

My major is Electronic Engineering, of-course i don't want you to create any coding for me,its my work to do for sure, only i need is a guidance because i am not so familiar with coding stuff. Thank you.


From your answers so far you don't give the impression of having any idea what is involved in this project or whether it is suitable for you to do at this stage. While you may be able to get optical comms working, at best it would just be a set of off-the-shelf components cobbled together and achieving abysmally poor performance relative to the potential of an optical link. This is not a good way to showcase your talents. I suggest you need to have a discussion with your tutor to come up with a sensible project, one that exercises the skills you [ are supposed to have ] learned during your education and achieves something interesting or useful.
I only provide help via the forum - please do not contact me for private consultancy.

smdanish2008


From your answers so far you don't give the impression of having any idea what is involved in this project or whether it is suitable for you to do at this stage. While you may be able to get optical comms working, at best it would just be a set of off-the-shelf components cobbled together and achieving abysmally poor performance relative to the potential of an optical link. This is not a good way to showcase your talents. I suggest you need to have a discussion with your tutor to come up with a sensible project, one that exercises the skills you [ are supposed to have ] learned during your education and achieves something interesting or useful.
[/quote]

Thank you for your advice sir, i have already consult with my Professor and he changed My Project form (PC 2 PC), to Fiber Optic sensor what he actually mean by that, i have no idea, just waiting for his conformation. Anyway,just to warm-up myself, i was perform few experiments with Arduino using LDR as sensor and what i came to learn is; the lowest input voltage which can be detect by Arduino is 5v/1024 = 4.8mV . now 4example my input voltage is 2.4mV which certainly can't be read by arduino. Unless i amplify it to 4.8mV or greater. what type of amplifier you think will work great? Op-Amp or Transistor Amplifier?

Thank you .

Go Up