Introduction: Arduino Communication
I think it will be great to communicate with the help of Arduino. In this project I will show how to share data between two or more Arduino with the help of Light :)
Step 1: List of Things ... !!!
Equipment :
1. Arduino (2x)
2. Bread board
3. L.E.D ( not the diffused one )
4. Infrared L.E.D Pair (IR LED(Tx) + Photo Diode(Rx))
5. LASER diode (optional)
6. Optical fiber (optional)
7. Jumper wires
8. Resistor (220 ohm , 330 ohm, 1 K ohm )
Tool:
1. Multimeter
2. Wire stripper
Step 2: Schematic
This is how the will be done.
*if no data is received then try by reversing the photo diode's (Rx LED) leg.
Step 3: Types of Transmitter :
different types of transmitter can be used for the transmission of data :
1. LASER
2. IR or mono coloured L.E.D
3. LED with Optical fiber ( for long transmission )
Step 4: Source :
I didn't have those photo diodes so I de-soldered them from Ir proximity sensor :D
Step 5: Programming
# First program one Arduino with the transmitter code ( with your message )
Then program the other one with receiver code.
Now, open the serial monitor of the Arduino IDE by connecting the Receiver Arduino to the PC ( select the port of Receiver Arduino on the IDE)
ITS DONE !!! :)
12 Comments
3 years ago
The transmitter is working fine but can't get the receiver to work. Is the 1Kohm resistor not too small? I'll maybe check tomorrow with the oscilloscope but it's not showing any received data or noise on the serial monitor.
Reply 1 year ago
Did you get it to work by changing the 1k resistor? I set up as shown but not getting a recieved text etc
Reply 1 year ago
As far as I remember, I just used a regular LED as the receiver as well and that seemed to fix it.
Reply 1 year ago
Ah ok, I will replace the resistor to 10k and standard LED on the receiver. Assuming you used IR LED transmitter? Thank you for the reply
Reply 1 year ago
No I used a regular LED for both the transmitter and receiver
1 year ago
Receiver circuit not working, how to fix?
1 year ago
Hi, thank you so much for your instruction. I need to test laser communication, and your set up helps me a lot. However, I don't have 1Kohm nor 220ohm resistors for the receiver, so I substitute them with 10kohm and (120+200)ohm resistors, which work perfectly fine for me.
1 year ago on Step 5
the receiver is not working.. could u help??
5 years ago
Hi, look i am working on V2V communication and i want to get the accelaration, speed from a vehicule's CAN-Bus, any idea?
Reply 5 years ago
yes for v2v you can use this kind of communication with help of light but i think using Radio frequency will be a better option !!
Reply 5 years ago
I have used radio and i am aware of it, i am now looking to implement it with light, by the way have done it in small cars (toys) but now i want to implement it in real cars, that's why i was asking!
5 years ago
This is really cool! I'd love to see what the SoftwareSerial object does.