Description
Tutorial: How to Use TIL117
The TIL117 optoisolator is ideal for protecting electronic circuits from electrical interference. It is useful for beginners and intermediates working with low and high voltage circuits.
What you need
- TIL117
- 1 kΩ Resistor
- Arduino
- Bench Power Supply
Steps
- 1. Installation: Take the TIL117 and insert it into your Arduino board in DIP-6 position.
- 2. Connection: Connected, connect pin 1 (emitter) to a pin on Arduino.
- 3. Connect pin 4 (collector) to a pin on Arduino.
- 4. Connect pin 3 (GND) to GND on Arduino.
- 5. Connect pin 2 (VCC) to 5V on Arduino.
- 6. Connect a 1 kΩ resistor between pin 5 (GND) and GND on Arduino.
- 7. Connect a 1 kΩ resistor between pin 6 (VCC) and 5V on Arduino.
- 8. Check the datasheet: Evaluate the maximum voltage and current specifications.
Example code
```
int emittente = 2;
int receptore = 3;
void setup() {
pinMode(emittente, OUTPUT);
pinMode(receptore, INPUT);
}
void loop() {
digitalWrite(emittente, HIGH);
delay(1000);
digitalWrite(emittente, LOW);
delay(1000);
Serial.println(digitalRead(receptore));
}
```
Mini project
Create a simple electrical isolation circuit using the TIL117 optoisolator to control an LED with a button. In 30 minutes, you can assemble the circuit and check if the LED turns on and off correctly.
Common mistakes
- Do not check specifications on the datasheet.
- Connect pin 1 (emitter) to 5V on Arduino.
- Do not use a protective resistor.
- Connect pin 4 (collector) to GND on Arduino.
Recommended accessories
- LED
- Button
- 1 kΩ resistor for LED
- Test bench
Frequently asked questions
What are the maximum voltage and current specifications for the TIL117 optoisolator?
Check the datasheet.
Can I use the TIL117 optoisolator with an Arduino Uno?
Yes, the TIL117 optoisolator is compatible with Arduino Uno.
What are the maximum voltage and current specifications for the TIL117 optoisolator?
Check the datasheet.
Can I use the TIL117 optoisolator to isolate low voltage circuits?
Yes, the TIL117 optoisolator is suitable for isolating low-voltage circuits.





Reviews
There are no reviews yet.