Description
What it is
The PC817 EL817 1-channel opto-isolator module is an essential component for protecting electronic circuits during interfacing between PLC (Programmable Logic Controller) and motor inverters. This module allows for isolating and protecting input signals, reducing the risk of damage due to unwanted currents.
Features
- Input 3-5V
- 1-channel opto-isolator
- PC817 EL817 module
- Compatible with PLC and motor inverters
What it is for
This module is useful for creating simple door status alarms by connecting a button to the module and monitoring the status with the Serial Monitor. It is ideal for both beginners and intermediate electronics operators, providing a safe and reliable isolation solution.
Tutorial: How to use the PC817/EL817 Opto-isolator Module
This module allows you to isolate and protect input signals, essential for PLC and motor inverter applications. Useful for beginners and intermediate electronics enthusiasts.
What you need
- Arduino or compatible microcontroller
- 3-5V power supply
- Connection cable
- 1kΩ resistor (optional)
Steps
- 1. Ensure the power supply is between 3-5V.
- 2. Connect VCC to the 5V pin of Arduino.
- 3. Connect GND to the GND pin of Arduino.
- 4. Connect the input pin to a digital pin of Arduino (e.g., D2).
- 5. Connect the output pin to a digital pin of Arduino (e.g., D3).
- 6. If necessary, add a 1kΩ resistor between the output pin and the input pin of Arduino.
- 7. Upload the source code to Arduino.
- 8. Check the output using Serial Monitor.
Example code
```void setup() { Serial.begin(9600);}void loop() { int input = digitalRead(2); Serial.println(input);}
Mini project
Create a simple digital door status alarm. Connect a button to the module and monitor the status using Serial Monitor.
Common mistakes
- Incorrect power supply (not 3-5V). Check the datasheet.
- Incorrect connections. Follow the instructions.
- Serial Monitor not working. Check the configuration.
- Output pin not responding. Check the resistor.
Recommended accessories
- Button
- 1kΩ Resistor
- Connection Cable
- Arduino Uno
Frequently asked questions
Does the module work with other Arduino models?
Yes, compatible with Arduino Uno and compatible models.
Which resistors can I use?
Use a 1kΩ resistor for protection. Check the datasheet.
Can I use a different power supply than 3-5V?
No, the power supply must be between 3-5V. Check the datasheet.
Does the module work with an analog signal?
No, it only works with digital signals. Check the datasheet.






Reviews
There are no reviews yet.