The Arduino’s do not need any synchronization. The light beam works exactly like an electric wire. It transmits a true/false signal. The uart protocol takes care of the signal, exactly like it does on a wired connection.
This is straight forward, but you need to open Arduino Ide Two times. You can also open a different serial terminal program. Like this which is browser based: www.serialterminal.com/
Hi, thanks for the videom I tried making this with arduino uno and photoresisters but it's not transferring any messeges ! what do you think could be the problem?
It might be that the photoresistors are too slow. Can you try photodiodes? Can you set the Arduino pins to normal digital input and digital output and see if the signal is received correctly?
Can I please get an email adress so I can send you and ask you about the issues I'm facing, if you don't mind? I am an Engineering Physics student in my last year in Turkey, and I'm doing this project as a part of my senior project@@BV-labs
@@nedaa8829same bro, I am here with the same project, 3rd yr btech in electronic and communication, can u help me I tried with phototransistors, it doesn't work
I think that question is asked earlier. Check the comments. The short answer is: I can’t guarantee it, and it will not be able to handle as high baud rates.
Thanks! I can check tomorrow. I think the most important parameter is that the two diodes are made for the same light wavelength. Theoretically it should be possible to use the same device in both ends, but i did not try that. What are you planning to use it for?
yes, it should be possible, but it might not be able to handle a high baud rate. A photodiode is probably faster on the receiver side. Also, make sure the laser does not draw more current than the Arduino can handle.
Is The code same for both transmitter and receiver arduino ! If you don't mind please share the schematic of the circuit it will be help ful to avoid mistakes ❤@@BV-labs
@@chintavishnuvardhan8379 Yes, the sender and receiver work exactly the same. Both sides are actually both senders and receivers. They use the same code and the same Circuit. I dont have any more drawings of the circuit than what you see in the video.
@@chintavishnuvardhan8379 it might be possible to use LDR, but you might have to adjust the resistor value. Also, it is a bit slower, but I guess that doesn’t matter at 9600 baud. Another thing you could try is to use a normal led the same way as a photoresistor. It should in theory work, but I haven’t tried.
Your'e a life Saver 🙌🏻
What can we add or replace in the electrical circuit so that the distance between the LED and the photodiode is as high as 1 meter?
thank you for this great video. Can explain how did you synchronious the two arduino at the transmeter to the receveir?
The Arduino’s do not need any synchronization. The light beam works exactly like an electric wire. It transmits a true/false signal. The uart protocol takes care of the signal, exactly like it does on a wired connection.
@@BV-labs Brother can get the code details!
@@chintavishnuvardhan8379 hi, all the necessary code is visible in the video
@@BV-labsHey why did you use pin 13 there is no connection regarding that pin in the code " line 6 "
How to open both the COM ports at once?
I'm unable to open the serial monitor of both COM ports at once
This is straight forward, but you need to open Arduino Ide Two times.
You can also open a different serial terminal program. Like this which is browser based: www.serialterminal.com/
Where to send and receive messages
Hi, thanks for the videom I tried making this with arduino uno and photoresisters but it's not transferring any messeges ! what do you think could be the problem?
It might be that the photoresistors are too slow. Can you try photodiodes?
Can you set the Arduino pins to normal digital input and digital output and see if the signal is received correctly?
Can I please get an email adress so I can send you and ask you about the issues I'm facing, if you don't mind? I am an Engineering Physics student in my last year in Turkey, and I'm doing this project as a part of my senior project@@BV-labs
@@nedaa8829I can try to help here.
@@BV-labs .
@@nedaa8829same bro, I am here with the same project, 3rd yr btech in electronic and communication, can u help me I tried with phototransistors, it doesn't work
Bro please can you provide code.
Can LDR be used in place of photo diode? Kindly reply as early as possible
I think that question is asked earlier. Check the comments. The short answer is: I can’t guarantee it, and it will not be able to handle as high baud rates.
Thank you, this is really great. Do you know what photodiode and LED part number you're using? Hope you have a good day.
Thanks! I can check tomorrow. I think the most important parameter is that the two diodes are made for the same light wavelength. Theoretically it should be possible to use the same device in both ends, but i did not try that.
What are you planning to use it for?
@@BV-labs I'm hoping to use it for underwater communication.
Thanks for checking!
@@vanmunch36 Interesting!
The photodiode i used was "ams OSRAM, SFH 229 Full Spectrum Si Photodiode". I don't have any data for the LED.
can you please tell me how to install step by step
Can you be more specific? Are you trying to install the software or hook up the circuit?
Hey can u please send me code I want it for my project
You can see the complete code at 0:40 in the video
@@BV-labs thx and can I use ldr sensor and laser module as tx and rx
yes, it should be possible, but it might not be able to handle a high baud rate. A photodiode is probably faster on the receiver side. Also, make sure the laser does not draw more current than the Arduino can handle.
plse share the code bro
You can see the complete code at 0:40 in the video
Is The code same for both transmitter and receiver arduino ! If you don't mind please share the schematic of the circuit it will be help ful to avoid mistakes ❤@@BV-labs
@@chintavishnuvardhan8379 Yes, the sender and receiver work exactly the same. Both sides are actually both senders and receivers. They use the same code and the same Circuit. I dont have any more drawings of the circuit than what you see in the video.
@@BV-labs Thanks For Helping
One last help can I use ldr instead of Photodiode
@@chintavishnuvardhan8379 it might be possible to use LDR, but you might have to adjust the resistor value. Also, it is a bit slower, but I guess that doesn’t matter at 9600 baud. Another thing you could try is to use a normal led the same way as a photoresistor. It should in theory work, but I haven’t tried.