Arduino Communication
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
225 awesome5 6 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.
Andwat88 4 years ago
225 awesome5 4 years ago
Andwat88 4 years ago
225 awesome5 4 years ago
TɦɛGʟɨtċɦE 4 years ago
Ningh 5 years ago
PiasaD 5 years ago
lastreezy 8 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?
Kaustav Nandy 8 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 !!
lastreezy 8 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!
tomatoskins 8 years ago
This is really cool! I'd love to see what the SoftwareSerial object does.