Arduino Fiber Optics | Transmitting Numbers Using Light?

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 มิ.ย. 2020
  • In this video we transmit numbers from one Arduino Uno to another Arduino Uno using light. No wires run between the two micro controllers, just a clear rod for light to pass through.
    Code for Transmitter Arduino: pastebin.com/tyM5dYHF
    Code for Receiver Arduino: pastebin.com/rkPgrv92
    Unfortunately I don’t have a circuit diagram for this design.
    Arduino Uno - amzn.to/4dhEyAi
    16x2 LCD - amzn.to/4dglYJ0
    Photo-resistor - amzn.to/3WjrFQr
    5k Potentiometers - amzn.to/49WQsg3
    In reference to 4:30 - While electricity does travel slightly slower than the speed of light, practically this doesn't make much of a difference. The main advantages of using fiber optics come from their higher switching frequency making them more suitable for high bandwidth applications.
    Icosmophedron helped me code the transmission protocol for this video, you can find his itch.io page here: icosmophedron.itch.io
    He creates all sorts of cool games and I suggest you check them out.
    Music by The Arcadium: "Cineminate - New Beginning"
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 80

  • @pkart8451
    @pkart8451 3 ปีที่แล้ว +4

    Code?

    • @CarbonCoil
      @CarbonCoil  3 ปีที่แล้ว +8

      For anyone who wants a copy of the code used in this video, there are PasteBin links in the description :)

    • @suryashanmugam2969
      @suryashanmugam2969 10 หลายเดือนก่อน

      ​@@CarbonCoilconnection ckt

  • @nikhilbarapatre2750
    @nikhilbarapatre2750 3 ปีที่แล้ว +7

    that's really cool...a great way to understand how fiber optics communication works...keep it up man

  • @yelectric1893
    @yelectric1893 2 ปีที่แล้ว +2

    I would suggest using a phototransistor as they have faster response rates than photoresistors. However, this is a great demonstrator and it works outstandingly. Great job!

    • @CarbonCoil
      @CarbonCoil  2 ปีที่แล้ว +1

      Version 2.0 might be coming soon and thats one of the upgrades I would make for faster transfer time, thanks!

  • @gajendraray1618
    @gajendraray1618 9 หลายเดือนก่อน

    that's is really cool and gives the understanding of how data is transmitted thank you for sharing this wonderful videos...

  • @harrypineda895
    @harrypineda895 4 ปีที่แล้ว

    Cool video, I learned a lot of interesting things

  • @cristianmejia4526
    @cristianmejia4526 2 ปีที่แล้ว +2

    It has the potential to resolve the I2C distance problem and touch keyboard interference problem. In fact, I think that this is the solution. I would like to test it someday.

  • @NoOne-ei5hs
    @NoOne-ei5hs ปีที่แล้ว

    Very nice video!

  • @pkart8451
    @pkart8451 3 ปีที่แล้ว +1

    After 2 day search on vedio I found such a great vedio

    • @CarbonCoil
      @CarbonCoil  3 ปีที่แล้ว

      Glad you liked it!

  • @krishnajasuresh3209
    @krishnajasuresh3209 8 หลายเดือนก่อน +1

    I was not clear on how bits can be transmitted as lights.Thanks for making thus video.

    • @CarbonCoil
      @CarbonCoil  8 หลายเดือนก่อน

      You’re welcome! Thanks for watching :)

  • @yametekudasaisensei539
    @yametekudasaisensei539 ปีที่แล้ว

    i love ur project, did u test increase the frecuency of data transmision?

    • @CarbonCoil
      @CarbonCoil  ปีที่แล้ว

      I have not tested this yet. The photo-resistor sensor I used is pretty slow to react to changes in light, therefore I would choose a different and more reactive sensor before increasing the frequency.

  • @Kai-dk7cx
    @Kai-dk7cx 4 ปีที่แล้ว

    Very cool!

  • @icosmohedron
    @icosmohedron 4 ปีที่แล้ว +1

    Now I need to make one that can transmit words. Most convoluted way to talk to people ever

    • @CarbonCoil
      @CarbonCoil  4 ปีที่แล้ว +1

      Might be an idea for a future video!

    • @FieryCoal
      @FieryCoal 4 ปีที่แล้ว +1

      Maybe binary? It’ll be a pretty long time before you get the message though

  • @LyLeap
    @LyLeap 3 ปีที่แล้ว

    By the way , why dont u use a laser diode module like Ky-008, and can u make the code faster?, I wanted to make a laser tag game but just couldn't the life of me thing of how to send data via light.
    Thank anyway u thought me alot

    • @CarbonCoil
      @CarbonCoil  3 ปีที่แล้ว +1

      I could have used a laser diode but I didn't since this was just a test setup. The main bottleneck was actually the sensor. The Photoresistor sensor is quite slow and other sensors would ideally work better.

    • @LyLeap
      @LyLeap 3 ปีที่แล้ว

      @@CarbonCoil ah i understand now, well thank for the reply

  • @surenbono6063
    @surenbono6063 7 หลายเดือนก่อน

    .. impressive work ... someday we will have a Optical Serial Bus instead of USB flash drive... with 2 copper+ 2 optics wire and a photo detector in each OSB to manage & store data like a typical flash drive... reduces systems copper resistance heat and speed...mybe motherboard can be designed to handle photons as well to transfer data between drive to RAM..

  • @FenrirTheMenace
    @FenrirTheMenace ปีที่แล้ว +1

    It's worth pointing out the light does not travel faster than electricity, but rather electrical signals degrade faster over lengths of wire, meaning repeaters will be necessary sooner, adding latency and distortion to the signal.

    • @CarbonCoil
      @CarbonCoil  10 หลายเดือนก่อน

      This is somewhat true. While electricity does travel slightly slower than the speed of light, practically this doesn't make much of a difference. The main advantages of using fiber optics come from their higher switching frequency making them more suitable for high bandwidth applications.

    • @FenrirTheMenace
      @FenrirTheMenace 10 หลายเดือนก่อน

      @@CarbonCoil I don't follow. How can light have a higher switching frequency?

    • @CarbonCoil
      @CarbonCoil  10 หลายเดือนก่อน +1

      @@FenrirTheMenace Essentially when you run a signal through a copper wire or a fiber optic cable, as you increase the transmission frequency, the signal degrades more in the copper wire than it does in the fiber optic cable (because of interference, reflections, etc.)
      The actual physics explanation behind this is a pretty deep topic, but the important takeaway is that fiber optic cables can carry much higher frequency ranges without distortion, and a higher frequency range means higher bandwidth (or the amount of data that can be transmitted over a certain time period) - Paraphrased from Prof. Robert Malaney, University of New South Wales

  • @priyaop5040
    @priyaop5040 2 ปีที่แล้ว

    How fast can it go?
    And the ways to make the process more faster?

    • @CarbonCoil
      @CarbonCoil  2 ปีที่แล้ว

      It's very slow due to the slow response of the photoresistor and my poor programming. This transmission could be sped up by using a photodiode instead of a photoresistor or some other faster-acting sensor, and then decreasing delays in the code.

  • @I_ssues
    @I_ssues 2 ปีที่แล้ว

    Can I use such a setup to prove that we can transmit the laser in fiberoptics freely in space?

    • @CarbonCoil
      @CarbonCoil  2 ปีที่แล้ว +1

      You should be able to do this if you use a laser, yes.

    • @chrispusgithaiga383
      @chrispusgithaiga383 2 ปีที่แล้ว

      @@CarbonCoil thanks. sending you an email rightaway so that you can send me the code used.

  • @satish5637
    @satish5637 ปีที่แล้ว

    Great sir
    I want circuit and component details
    Please sir

  • @heetsheth2063
    @heetsheth2063 ปีที่แล้ว +1

    Sir, I have mail you can you please provide the code?

  • @4azorblade
    @4azorblade ปีที่แล้ว

    Can we use optical fibre instead of glass rod

  • @webdevil6354
    @webdevil6354 10 หลายเดือนก่อน

    How does it detect multiple zeros? Like 0000? What does it sensing ?

    • @CarbonCoil
      @CarbonCoil  10 หลายเดือนก่อน +2

      Multiple zeros are represented by multiple time slots where there is no light. The transmission sequence begins with a starting signal that syncs both Arduino's and tells the receiver that data is going to be sent. Then the Transmitter sends data (the LED being on or off) in each time slot during the transmission representing a 1 or 0. To represent multiple zeros, the transmission Arduino would just send the starting sequence and then turn the LED off for a length of time in accordance with how many zeros there are.

    • @webdevil6354
      @webdevil6354 10 หลายเดือนก่อน

      @@CarbonCoil thank you very much for a clear answer

  • @DBXLabs
    @DBXLabs 4 ปีที่แล้ว

    Sounds like you need some laser diodes

  • @caz6925
    @caz6925 2 ปีที่แล้ว

    can we use a single arduino???

    • @CarbonCoil
      @CarbonCoil  2 ปีที่แล้ว +1

      Technically you could do this, but then there wouldn't really be a point in transmitting the data at all. One Arduino is the transmitter and one is the receiver.

  • @troyhayder6986
    @troyhayder6986 ปีที่แล้ว

    You could easily transmit data with binary...on or off...detecting the information might be a problem...because you have to detect at the speed of light...unless you use x amount of intervals...unless you use phosphorus...like in a crt display...that can detect light...I'll leave it to your imagination...

  • @pkart8451
    @pkart8451 3 ปีที่แล้ว

    Can I send alphabet by using this Method?

    • @CarbonCoil
      @CarbonCoil  3 ปีที่แล้ว

      Probably yes, although I haven't tried it or written code for it.

  • @riko6962
    @riko6962 2 ปีที่แล้ว

    can you transfer 1 gb video or other data and share the result

    • @CarbonCoil
      @CarbonCoil  2 ปีที่แล้ว

      Probably not, the protocol is very slow and was written to only transfer a single number at a time. However, I might revisit this project at some point and make some improvements.

  • @ZEZART
    @ZEZART ปีที่แล้ว

    Code?

  • @mutantrupeshffgamer1884
    @mutantrupeshffgamer1884 3 ปีที่แล้ว +1

    Can you send me its circuit diagram and its program.
    Please

    • @CarbonCoil
      @CarbonCoil  3 ปีที่แล้ว +1

      For anyone who wants the code used in this video, please email carboncoilbusiness@gmail.com
      I will send an email back to you that includes the code used in this video.

    • @francescocaramanna6096
      @francescocaramanna6096 3 ปีที่แล้ว

      @@CarbonCoil i send you a email to...i very need this program /circuit !

    • @suhailkhan8690
      @suhailkhan8690 2 ปีที่แล้ว

      Hey I too need circuit and code used

  • @HadjerElHamlili
    @HadjerElHamlili 5 วันที่ผ่านมา

    i have question sir : how to connect SFP module with arduino?

    • @CarbonCoil
      @CarbonCoil  3 วันที่ผ่านมา

      Hi, I'm not sure what you mean by SFP module?

    • @HadjerElHamlili
      @HadjerElHamlili 3 วันที่ผ่านมา

      @@CarbonCoil i don't know how to explain it to you!!!

    • @CarbonCoil
      @CarbonCoil  3 วันที่ผ่านมา

      @@HadjerElHamlili Could you reference a timestamp in the video?

  • @ltgamer9068
    @ltgamer9068 ปีที่แล้ว +1

    @carbon coil
    This is so interesting
    I have mailed you , can you send the code and design , for studying.

  • @PRANAVTECHGURU
    @PRANAVTECHGURU 9 หลายเดือนก่อน

    @CarbonCoil connection ckt please

  • @user-gu8ob9er9g
    @user-gu8ob9er9g ปีที่แล้ว

    Isn't the speed of light and electricity the same?!?

    • @CarbonCoil
      @CarbonCoil  10 หลายเดือนก่อน

      Electricity does travel slightly slower than the speed of light, but practically speaking this doesn't make much of a difference. The main advantages of using fiber optics come from their higher switching frequency making them more suitable for high bandwidth applications.

  • @sansnicyt14
    @sansnicyt14 2 ปีที่แล้ว

    bro please show the code

  • @kavindawanshanath3958
    @kavindawanshanath3958 9 หลายเดือนก่อน

    diagrem ?

    • @CarbonCoil
      @CarbonCoil  9 หลายเดือนก่อน

      LCD wiring: www.arduino.cc/en/Tutorial/LibraryExamples/HelloWorld

  • @Axellse
    @Axellse 8 หลายเดือนก่อน

    Another way of transferring the data would be to have a laser instead of the rod

    • @CarbonCoil
      @CarbonCoil  8 หลายเดือนก่อน

      Yes, another great idea for a bench-top test setup!

  • @loco6378
    @loco6378 2 ปีที่แล้ว +1

    hello dear
    can you please make an elaborative video on the same with all material links and code in the description
    it means a lot to me
    thanks

  • @eZy4k.
    @eZy4k. 6 หลายเดือนก่อน

    Using lasers may be more efficient

  • @thetrailoutthere
    @thetrailoutthere 2 ปีที่แล้ว +1

    That song @3:47 where he's making more circuits... like a group of people actually got together and said "let's record this!"

  • @anuratan5646
    @anuratan5646 ปีที่แล้ว

    Unable to find code

    • @CarbonCoil
      @CarbonCoil  10 หลายเดือนก่อน

      I have linked a PasteBin in the description of the video with the code

  • @indrarider5506
    @indrarider5506 2 ปีที่แล้ว +1

    I sent a mail..

  • @davidsvarrer8942
    @davidsvarrer8942 2 ปีที่แล้ว

    Stoooop the music. Not necessary. Remember that. No music. Nooooo music. It is disturbing. ANd... Your show is great!

  • @kristinbezick3754
    @kristinbezick3754 3 ปีที่แล้ว

    I don’t understand please explain in kindergarten terms

    • @CarbonCoil
      @CarbonCoil  3 ปีที่แล้ว +2

      The number on the left screen changes as the knob is turned. When the button is clicked, the small computer turns the number into binary, and sends it over the acrylic tube as light. (Think of this transmission like using morse code, sending messages from place to place by flashing a light on/off in different patterns). The Arduino on the other side turns this binary (The light pulses) back into a number and displays it on the screen.

  • @danieleduardogalvez44
    @danieleduardogalvez44 2 ปีที่แล้ว

    I sent a mail..