0

I got an idea of using a ATtiny85 and an optocoupler to control my raspberry pi's power supply. The optocoupler is the L1513. Would this be possible?

schematic

simulate this circuit – Schematic created using CircuitLab

1

I assume you intend to use an optocoupler to turn on the power to a RPi?

Assuming this is the case I don't think this would be the best way to accomplish this. Optoisolators are commonly used when there are different voltage levels on either side and/or the signals on either end may vary. This will not be the case for you. Your Atiny will be operating on 5V or 3.3V and the input power for the Rpi will be 5V. You may want to simply use a transistor, MOSFET or transistor operated relay board.

Learn All About optocouplers here:

  • I'm confused. Would an optocoupler work, or would it get damaged? – Merlin04 Jan 28 '16 at 2:48
  • It all depends on the optocoupler. I can't seem to find a datasheet for the L1513. lets take a look at something that I can find the data sheet for: 4n25 This technically would not work because as you can see in the ABSOLUTE MAXIMUM RATINGS section the Ic (collector current) is 100mA. I have a RPi 2 and it draws about 200mA, so you can see the this optoislator is not ideal for the job. They generally do not handle large currents. In the applications it reads that it is suitable for: 'Reed relay driving'. Perhaps use a reed relay with the opto. – Accentrix Jan 28 '16 at 19:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.