Difference between revisions of "KontroLIR - Arduino compatible IR remote control"

From AnalysIR WiKi
Jump to: navigation, search
m (KontroLIR Pin Out Serial Interface)
m (Use with AnalysIR)
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''KontroLIR – 100% Arduino compatible IR remote Control, with optional extras
+
'''KontroLIR – 100% Arduino compatible IR remote Control, with optional extras'''
 
+
work in progress'''
+
  
 +
work in progress
 +
'''DO NOT USE AS A REFERENCE YET!!!!'''
  
 
== Where To Purchase ==
 
== Where To Purchase ==
 
KontroLIR is available in our store and can be purchased via [https://www.analysir.com/blog/shop// Buy KontroLIR].
 
KontroLIR is available in our store and can be purchased via [https://www.analysir.com/blog/shop// Buy KontroLIR].
  
KontroLIR is comprised of twin modules, one for Tx and the other for Rx. It is also possible to use the Tx module as a 38kHz IR transmitter and the Rx module as a general purpose 38kHz IR receiver.
+
KontroLIR is available as a complete base unit. In addition, there are several optional add-ons available: Serial USB adapter; I2C EEPROM 16KBytes+; IR receiver & IR Learner pair. There is also a fully loaded version available with all add-ons included.
  
 
== Data Sheet ==
 
== Data Sheet ==
The data sheet can be found by [https://www.analysir.com/blog/product-sheet-kontrolir_reva/ clicking here]
+
The KontroLIR data sheet can be found by [https://www.analysir.com/blog/product-sheet-kontrolir_reva/ clicking here]
  
 
== Applications ==
 
== Applications ==
 
KontroLIR, can be used in the following:
 
KontroLIR, can be used in the following:
* Light Barriers
+
* A full customized remote control, using Arduino
* Security projects
+
* Clone an existing collection of remotes, exactly how you want it
* Lap Timers
+
* Restrict usage for certain groups: children, seniors, Hotel Guests, public areas, company equipment.
 
+
* Add custom macros, passwords.
 
+
* Comes with example firmware for 5 devices & 225 signals, which can be easily expanded to many more.
BeamIR can be used in both 'beam mode' where the 2 modules are placed at either end of the invisible beam and in 'reflective mode' where the IR is bounced or reflected off a target and both modules are placed side by side facing the target.
+
* Combine TV, STB, DVR, Media Center,  Lights, Fans, LEDs, Toys, Air Conditioners - all on the same remote.
 +
* Offer a custom remote as-a-service to 3rd parties.
 +
* As a development, prototyping or proof of concept platform for companies designing their own remotes, before committing to a large production run.
 +
* As a platform for projects in schools & universities or as a practical Arduino related training aid.
 +
* ...any many more situations
  
== KontroLIR Pin Out Serial Interface ==
+
The possibilities are endless.
[[File:KontroLIR Serial Interface.jpg|frameless|Serial interface pinout]]
+
  
The header pins for the Serial I/F interface are laid out as follows:
+
== KontrolIR Pin Outs ==
# '''GND''' -ve supply power Ground / 0V
+
# '''TXD''' Connects to TXD on the adapter (Connected to TXD0 on the ATmega328PB)
+
# '''RXD''' Connects to RXD on the adapter (Connected to RXD0 on the ATmega328PB)
+
# '''VCC''' +ve supply power 5V (will also work with a 3V3 supply @ 8MHz or 4MHz)
+
# '''RTS''' Used to reset the MCU during Firmware upload
+
# '''DBG''' Unpopulated by default. Can be used as a debug pin, if necessary. Also connected to the LED.
+
  
 +
Details are available here: [[KontrolIR Pin Outs]]
  
''Note 1: The image is looking from the keypad up. Looking throught the battery compartment, the order will be mirrored.''
+
== Oscillator Clock Rate Selection ==
  
== KontroLIR Pin Out ICSP  ==
+
Details are available here: [[Oscillator Clock Rate]]
[[File:KontroLIR ICSP Header.jpg|frameless|Serial interface pinout]]
+
  
The header pins for the AVR ICSP interface are laid out as follows:
+
== Getting Started ==
* '''GND''' -ve supply power Ground / 0V
+
Details are available here: [[Getting Started]]
** '''MISO''' Standard ICSP pin for use with avrdude & USBASP, Atmel ICE programmer or equivalent
+
** '''RESET''' Standard ICSP pin for use with avrdude & USBASP, Atmel ICE programmer or equivalent
+
** '''SCK''' Standard ICSP pin for use with avrdude & USBASP, Atmel ICE programmer or equivalent
+
** '''MOSI''' Standard ICSP pin for use with avrdude & USBASP, Atmel ICE programmer or equivalent
+
* '''VCC''' +ve supply power 5V
+
  
== Basic Functionality ==
+
== Uploading the Firmware ==
Whne a Tx & Rx module are configured correctly and operational the outputs will be as follows:
+
Details are available here: [[Uploading the Firmware]]
  
'''IR Beam not broken'''
 
* OUT  => Logic LOW (Close to 0V)
 
* OUT2 => Logic HIGH (Close to VCC, via pull-up resistor)
 
* OC  => Open Collector, shorted to GND via NPN/CE (Driven by OUT2)
 
* Red LED =>  ON
 
  
'''IR Beam broken'''
+
== Customizing the Firmware ==
* OUT  => Logic High(Close to VCC)
+
Details are available here: [[Customizing the Firmware]]
* OUT2 => Logic LOW(Close to GND, via NPN/CE)
+
* OC  => Open Collector, Open & connected to NPN collector, which is 'turned off'
+
* Red LED =>  OFF
+
  
== Range ==
+
== Low Power Configuration ==
The effective range of BeamIR can be from 1m to 20m+ depending on the IR Power setting and ambient lighting. However, it is important to note:
+
Details are available here: [[Low Power Configuration]]
* The further the range the wider the IR Beam, So it may help to reduce the beam width, by using an opaque pipe for direction.
+
* Sunshine can interfere with IR transmission. The carrier frequency helps mitigate errors due to sunshine. Pulsing the Tx module at say 600uSecs can help distinguish between valid beam signals and interference.
+
* If sunshine is a factor, placing the receiver unit on the side pointing away from the Sun, will help.
+
* Much longer ranges and narrower beams can be achieved by the use Optics/lenses to focus the beam.
+
  
== Configurations ==
+
== Using KontroLIR with AnalysIR ==
It is possible to use BeamIR in various configurations
+
Details are available here: [[Use with AnalysIR]]
* 5V or 3V3 mode
+
* x1, x2, x3 or custom IR Power
+
* As a 38kHz IR emitter (Tx Module)
+
* As a general purpose IR receiver (Rc Module). Excellent performance across multiple IR protocols & carrier Frequencies.
+
* Using Logic Lever or OC output.
+
* Multiple Rx modules with a single tx module
+
* Combination of multiple Tx & Rx modules (e.g. virtual fence enclosing an area)
+
* With optics and/or shielding (Pipes/light barriers) to improve range & performance.
+
  
 
== Getting Support ==
 
== Getting Support ==
If you need additional support please open a new issue in our IRforum - under Products:Support Requests.
+
If you need additional support please open a new issue in our [https://irforum.analysir.com/ IRforum] - under '''Products:Support Requests'''.
  
 
== More Information ==
 
== More Information ==

Revision as of 14:16, 8 July 2019

KontroLIR – 100% Arduino compatible IR remote Control, with optional extras

work in progress DO NOT USE AS A REFERENCE YET!!!!

Where To Purchase

KontroLIR is available in our store and can be purchased via Buy KontroLIR.

KontroLIR is available as a complete base unit. In addition, there are several optional add-ons available: Serial USB adapter; I2C EEPROM 16KBytes+; IR receiver & IR Learner pair. There is also a fully loaded version available with all add-ons included.

Data Sheet

The KontroLIR data sheet can be found by clicking here

Applications

KontroLIR, can be used in the following:

  • A full customized remote control, using Arduino
  • Clone an existing collection of remotes, exactly how you want it
  • Restrict usage for certain groups: children, seniors, Hotel Guests, public areas, company equipment.
  • Add custom macros, passwords.
  • Comes with example firmware for 5 devices & 225 signals, which can be easily expanded to many more.
  • Combine TV, STB, DVR, Media Center, Lights, Fans, LEDs, Toys, Air Conditioners - all on the same remote.
  • Offer a custom remote as-a-service to 3rd parties.
  • As a development, prototyping or proof of concept platform for companies designing their own remotes, before committing to a large production run.
  • As a platform for projects in schools & universities or as a practical Arduino related training aid.
  • ...any many more situations

The possibilities are endless.

KontrolIR Pin Outs

Details are available here: KontrolIR Pin Outs

Oscillator Clock Rate Selection

Details are available here: Oscillator Clock Rate

Getting Started

Details are available here: Getting Started

Uploading the Firmware

Details are available here: Uploading the Firmware


Customizing the Firmware

Details are available here: Customizing the Firmware

Low Power Configuration

Details are available here: Low Power Configuration

Using KontroLIR with AnalysIR

Details are available here: Use with AnalysIR

Getting Support

If you need additional support please open a new issue in our IRforum - under Products:Support Requests.

More Information

If...

  • There is a topic not covered here or
  • You would like us to add some more information or
  • You have a tip to add or
  • you have noticed a mistake

then let us know via the contact page