1
0
mirror of https://github.com/jrcutler/Tiny_IR_Repeater synced 2024-12-22 08:34:28 +00:00

Adding connection diagram and parts list

This commit is contained in:
Justin R. Cutler 2012-12-24 11:34:05 -08:00
parent f18d69cc48
commit d804e7b8fb

26
main.c
View File

@ -16,6 +16,32 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*
* 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 <avr/interrupt.h> #include <avr/interrupt.h>
#include <avr/io.h> #include <avr/io.h>
#include <avr/sleep.h> #include <avr/sleep.h>