I'm trying to use 2 attiny85, one with an IR transmitter and one with an IR receiver (2 pins). I can't figure out how to use the attiny85 with the receiver. Help would be appreciated! If it is not possible to do it with a 2 pin IR receiver, advice for a 3 pin one would be fine too. Basically, I'm trying to let the attiny85 with the receiver do something when it senses the one with the transmitter is on. Thank you.

  • 5
    \$\begingroup\$ So basically you are asking us to design your system for you? Forget 2-pin receivers (IR fotodiodes?), take a 3-pin one. And you'd better read up on IR protocols, and the datasheet of your receiver. You can't make a reliable IR connection unless you at least obey the basic requirements (frequency, gaps) that the IR receiver requires. If after that you have any specific questions, coma and ask! \$\endgroup\$ Feb 26, 2015 at 10:56
  • 2
    \$\begingroup\$ sorry bout that im completely new at this. Ill go read up now. \$\endgroup\$
    – suckms
    Feb 26, 2015 at 10:58
  • 4
    \$\begingroup\$ Ah, that sets you apart from the ones taks ask 'design my system for me, right know'. Don't hesitate to ask when you have a specific question. And use the search on this site, there are probably a few questions/answers that can help you. \$\endgroup\$ Feb 26, 2015 at 11:03
  • \$\begingroup\$ After reading up I think I'm completely lost. I'll just use visible light and an LDR instead. Thanks! :) \$\endgroup\$
    – suckms
    Feb 26, 2015 at 11:13
  • \$\begingroup\$ This probably won't work either, unless there's either no ambient light or you know how to modulate it to avoid the effects it'll cause. \$\endgroup\$
    – PeterJ
    Feb 26, 2015 at 11:16

1 Answer 1


Here are a few Ir receiver/transmitter projects using Attiny85's and Arduino's that you can read through for some info:






Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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