background image

ICI2 Page 14 

PROGRAMMING YOUR ICI2  

Now that we have made it through the initial ‘turn on’ steps, it is time to 

program the microcontroller for your individual codes. Remember to install 
some fresh batteries in your remote control and aim the infrared LED towards 
the photo sensor. Depress one of the buttons that you intend to use for 
operation (I.e. button #1 for the first relay). The LED should begin to blink as 
the unit receives the infrared code from the transmitter.  This testing verifies 
the operation of the detector and associated circuitry. It will also provide some 
clues to the operation of the remote control unit (remember we talked about 
this in the theory of operation) as you may see a long “burst” of code followed 
by successive shorter pulse trains, or you may see the pulse train being 
repeated over and over. If you have access to an oscilloscope you can even 
observe this pulse train on the detector “output “pin, which is tied to pins 1 and 
19 of the microcontroller. 

Now we will set our controller to the “learn” mode  to memorize the pulse 
trains from our remote, and configure the jumpers to learn four codes as we 
move along.   

 

Depress and hold the “learn” button. 

Now the unit is waiting to memorize the code for your remote. Depress the 
button on your remote control unit and the LED on the front panel will blink. 
The speaker will chirp when the code is learned. Just to be safe, push the but-
ton on your remote control unit twice to ensure that the micro has memorized 
your remote control’s pulse train. 

Uh-oh… a rasberry! 

If upon initial programming your speaker emits a two tone “rasberry”, don’t 
fret! This simply means that your remote control is transmitting data at a 
slower rate than expected by the current jumper settings. If this is the case, 
install the jumper across the “speed” terminals on the circuit board. This will 
allow the unit to work at the slower pulse train rate just as effectively as the 
faster rate. 

   Back to programming. Now that the first, or digital 0,0, location has been 
programmed it is time to advance to the next three states. We will need to 
count in binary, or base two. There is no such thing as a number two in binary, 
only ones and zero’s (making it the choice of electronic circuits). The following 
chart will describe the header jumper sequence for the binary count, and we 
have left some room to jot down the function key you are using on your re-
mote.  Be careful when programming to use the SEL 0 and SEL 1  jumpers in 
the correct order, as the order of 1’s and 0’s are important when identifying the 
buttons. 

Summary of Contents for ICI2

Page 1: ...level audio sources IR Receiver module with sensitive element can receive your remote control up to 11 meters away Control 2 line level audio sources Standard RCA jacks for easy hookup Easy to train...

Page 2: ...ce Capacitance Meter RAMSEY AMATEUR RADIO KITS HR Series HF All Mode Receivers QRP Series HF CW Transmitters CW7 CW Keyer CPO3 Code Practice Oscillator QRP Power Amplifiers RAMSEY MINI KITS Many other...

Page 3: ...ice 5 00 TABLE OF CONTENTS Introduction 4 Theory of Operation 5 Learn As You Build 7 Parts List 8 Assembly Steps 10 Setup and Testing 13 Programming 14 Parts Placement Diagram 16 Troubleshooting 17 Sc...

Page 4: ...s in common with each other we ll examine them First there is some type of keypad assembly Nowadays this is typically a large molded sheet of rubber with the buttons protruding outward The inside of t...

Page 5: ...rrier in between each one and zero A common remote control format does some special things to differentiate a one from a zero for digital sending and receiving of data When the IR detector sees a 38kH...

Page 6: ...ote control is detected the microcontroller emits a special beep to let you know the format is wrong Then you can switch the jumper over to the other speed and try again then you will get either a rec...

Page 7: ...g heating both wires and pads simultaneously Apply the solder on the iron and the pad when the pad is hot enough to melt the solder The finished joint should look like a drop of water on paper somewha...

Page 8: ...hm resistor red red brown R1 CAPACITORS 1 10pF ceramic capacitor marked 10 or 10K C3 1 22pF ceramic disc capacitor marked 22 C6 1 0 01uF ceramic capacitor marked 103 C4 4 0 1uF ceramic capacitors mark...

Page 9: ...ICI2 Page 9 1 2 hole screw terminal 4 2 pin headers J4 J6 J7 J8 5 2 pin header jumpers 1 Mini speaker SP1 1 9 8304MHz Crystal X1...

Page 10: ...10 uF electrolytic capacitor Watch the polarity again 5 Install C15 10 uF electrolytic capacitor Watch the polarity 6 Install C7 10 uF electrolytic capacitor Watch polarity 7 Install C5 10 uF electrol...

Page 11: ...tall C8 0 1 uF ceramic disc capacitor to the left of U2 30 Install jumper JMP1 31 Install R2 1M ohm resistor brown black green 31 Install X1 9 8304MHz crystal above C8 32 Install C6 10 pF ceramic disk...

Page 12: ...Install C9 1000uF electrolytic capacitor Again be sure to line the banded side up with the negative hole and the longer lead with the positive hole marked with a sign These caps tend to explode if in...

Page 13: ...o gramming we will use these jumpers to count up in binary for all four states Please note that when using these shorting jumpers it is common practice to position them on only one pin offset such tha...

Page 14: ...Now the unit is waiting to memorize the code for your remote Depress the button on your remote control unit and the LED on the front panel will blink The speaker will chirp when the code is learned J...

Page 15: ...you need a line level audio source like a CD player VCR or stereo Find something with audio out that has standard RCA jacks Plug the audio out right and left into J1 and J5 You now need to connect J2...

Page 16: ...ICI2 Page 16 ICI2 BOARD LAYOUT...

Page 17: ...arm water and a touch of dish detergent 5 It is an ancient remote that has a hammer and chimes inside Those just won t work this is for IR remotes only 6 You are trying to relay an IR remote that is m...

Page 18: ...ICI2 Page 18...

Page 19: ...uch be assured that the 1K ohm resistors are actually the missing 10 K parts Hum m m I guess the red band really does look orange Ramsey Electronics project kits are packed with pride in the USA If yo...

Page 20: ...5 RS64 1844 Small Diagonal Cutters Ramsey RTS04 RS64 1845 OR Complete Soldering Tool Set RS64 2801 ADDITIONAL SUGGESTED ITEMS Soldering Iron Holder Cleaner RS64 2078 TOTAL SOLDER POINTS 171 ESTIMATED...

Reviews: