From d804e7b8fb08220c85a23ec59f73265a63abab8b Mon Sep 17 00:00:00 2001 From: "Justin R. Cutler" Date: Mon, 24 Dec 2012 11:34:05 -0800 Subject: [PATCH] Adding connection diagram and parts list --- main.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/main.c b/main.c index 09fae8e..8bb11c7 100644 --- a/main.c +++ b/main.c @@ -16,6 +16,32 @@ * along with this program. If not, see . */ +/* + * ATtiny25/45/85 connections: + * + * +-\/-+ + * Vcc 1|o |8 Vcc + * NC 2| |7 NC + * NC 3| |6 IR_TX + * GND 4| |5 IR_RX + * +----+ + * + * The ATtiny85 (http://www.sparkfun.com/products/9378) is generally the easiest to find + * 8-pin DIP AVR. + * + * IR_RX should be connected to the output pin of an IR Receiver Diode such as: + * - TSOP85338 IR Receiver Breakout: http://www.sparkfun.com/products/8554 + * - TSOP38238 IR Receiver Diode (http://www.sparkfun.com/products/10266) + * + * IR_TX should be connected to a current-limited IR LED or a high-power switched LED, + * such as: + * - LED Infrared 950nm (https://www.sparkfun.com/products/9349) with a 330 Ohm resistor + * - Max Power IR LED Kit (http://www.sparkfun.com/products/10732) + + * The IR Control Kit Retail (http://www.sparkfun.com/products/10783) from SparkFun + * Electronics contains everything you need to get started, other than the ATtiny25/45/85. + */ + #include #include #include