Arduino Communication

13K5316

Intro: 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

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.

Did you get it to work by changing the 1k resistor? I set up as shown but not getting a recieved text etc
As far as I remember, I just used a regular LED as the receiver as well and that seemed to fix it.
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
No I used a regular LED for both the transmitter and receiver
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.
the receiver is not working.. could u help??

Hi, look i am working on V2V communication and i want to get the accelaration, speed from a vehicule's CAN-Bus, any idea?

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 !!

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!

This is really cool! I'd love to see what the SoftwareSerial object does.