Hi, I'm new to programming and Arduino. I'm seeking help on how to program my device
I'm working on a device that uses Arduino mega as Transceiver, Ky-008 laser emitter, ky-108 photoresistor, Qapass Arduino lcd I2C module, and 3x4 matrix keypad membrane as input device since I'm gonna use ASCII code to send message.
Your topic does not indicate a problem with IDE 2.x and therefor has been moved to a more suitable location on the forum.
Install the keypad library using library manager and study the examples.
Install a LiquidCrystal_I2C library using library manager and study the examples. The HD44780 by Bill Perry is often advised. If you use another one, be aware that there is a variety of LiquidCrystal_I2C libraries; you need to base your code on the examples that come with the library, not on code that you found somewhere on the web because it might be based on a different library.
Search for examples on the web for the other components and study them.
Photoresistors are too slow to use as detectors in fiber optic receivers. You need a photodiode-based circuit with amplifier.
Thank you for the tip
Thank you sir
What type of optical fiber do you intend to use? Multimode or monomode?
Duplex multimode Fiber, so the 2 transceiver can transmit and receive data simultaneously
First you need a 850nm or 1300nm LASER if you want to use multimode
Of course you will need the correct wavelength receiver.
An LED will work with multimode fiber for reasonable transmission distances.
Something like this makes the implementation trivial.
10 meters?
you mean 10 km?
The link I supplied claims 10km.
No.
It uses 1310nm LASER not a RED LED
Have to admit that I didn't check in detail. Where does it say a laser diode and not an IR LED?
Never mind, it claims SM fiber:

yes sir, I made sure that my laser is in between 850nm to 1300nm
I appreciate the all information that you all provided ![]()
I don't have any libraries installed in my IDE. Could you please recommend any libraries that I can use? ![]()