KontroLIR - Arduino compatible IR remote control: Difference between revisions

From AnalysIR WiKi
Jump to navigation Jump to search
mNo edit summary
 
(54 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''KontroLIR – 100% Arduino compatible IR remote Control, with optional extras
'''KontroLIR – World's first 100% Arduino compatible 45-49 button IR remote Control, with optional extras'''


work in progress'''
[[File:KontroLIR photo1.jpg|right|170px|KontroLIR by AnalysIR]]
== Notifications & Updates ==
* '''7th Sep 2021''' INFO - In the default Mode 3 signals for a SAMSUNG TV: the LEFTup & LEFTdown codes are incorrect. They should both be changed to 0x59.
* '''20th Jul 2021''' IMPORTANT - Use only version 2.6.1 of IRremote only.
* '''13th Jan 2021''' Firmware  V1.0.11 released & available via email on request.
* '''6th Jan 2021''' Do not use IRremote 2.8.0 or 2.8.1 as there is a bug in the library. Use 2.6.1  instead.
* '''4th Jan 2021''' We have a new firmware release available for both KontroLIR & the Test suite. The updates can be requested via email.


== Where To Purchase ==
KontroLIR is available in our store and can be purchased via [https://www.analysir.com/blog/shop/ Buy KontroLIR].


== Where To Purchase ==
KontroLIR is available as a functional standard unit. In addition, there are several optional add-ons available:
KontroLIR is available in our store and can be purchased via [https://www.analysir.com/blog/shop// Buy KontroLIR].
* Serial USB adapter ''(You can also use your own to upload sketches)''
* I2C EEPROM 16KBytes+  ''(There is a significant amount of free FLASH and SRAM available to use, before you need EEPROM)''
* IR receiver & IR Learner pair ''(only required if you want to use KontroLIR to record signals with AnalysIR or IRremote etc)''


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.
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 many applications, including the following:
* Light Barriers
* A fully customized remote control, using the Arduino IDE for development and firmware upload.
* 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 & ~200+ signals, which can be easily expanded with many more devices, signals and macros.
* Combine TV, STB, DVR, Media Center, Lights, Fans, LEDs, Toys, Air Conditioners, LaserTag - all from 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.
* Create your very own learning remote control.
* Send non-standard IR carrier frequencies, that other remotes cannot handle.
* ...any many more situations
 
The possibilities are endless.


== Skills Required ==


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.
This should not be your very first Arduino project (unless you are an experienced C programmer). Ideally you will have used IRremote or similar libraries within the Arduino system. You should be familiar with compiling and uploading sketches, installing new Boards and libraries with the desktop Arduino IDE. If you have not done so already, download the Arduino IRremote Library and try out the examples provided with your TV. Once you are happy with your understanding and competency with Arduino and IRremote, order your KontroLIR(s) via our online shop or other affiliates.


== KontrolIR Pin Outs ==
== KontroLIR Pin Outs ==


Details are available here: [[KontrolIR Pin Outs]]  
Details of pin-outs are available here: [[KontroLIR Pin Outs]]


== Oscillator Clock Rate Selection ==


Details are available here: [[Oscillator Clock Rate]]


== Basic Functionality ==
== Getting Started ==
Whne a Tx & Rx module are configured correctly and operational the outputs will be as follows:
Details are available here: [[Getting Started]]


'''IR Beam not broken'''
== Uploading the KontroLIR Firmware ==
* OUT  => Logic LOW (Close to 0V)
Details are available here: [[Uploading the KontroLIR Firmware]]
* 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'''
== Configuring IRremote for use with KontroLIR ==
* OUT  => Logic High(Close to VCC)
* 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 ==
Details are available here: [[Configuring IRremote]]
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:
* 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 ==
== Customizing the KontroLIR Firmware ==
It is possible to use BeamIR in various configurations
Details are available here: [[Customizing the KontroLIR Firmware]]
* 5V or 3V3 mode
 
* x1, x2, x3 or custom IR Power
== Low Power Configuration ==
* As a 38kHz IR emitter (Tx Module)
Details are available here: [[Low Power Configuration]]
* As a general purpose IR receiver (Rc Module). Excellent performance across multiple IR protocols & carrier Frequencies.
 
* Using Logic Lever or OC output.
== Using KontroLIR with AnalysIR ==
* Multiple Rx modules with a single tx module
Details are available here: [[Use with AnalysIR]]
* 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'''.
 
You can also use our IRforum for general discussion about KontroLIR and related topics.
 
== KontroLIR Release Notes ==
Details are available here: [[KontroLIR Release Notes]]
 
== Opening the Enclosure ==
The enclosure of KontroLIR is '''not designed for opening''' by users, other than for replacing batteries and uploading firmware via the battery compartment over SerialUSB.
 
When we open the enclosure we use a tool called a spudger and employ lots of TLC to avoid any damage to the hard plastic case.
If you decide to open the case beyond the battery compartment, you do so at your own risk.
 
Advanced users may decide to go ahead and open the enclosure, to gain access to the ICSP programming header or the I2C headers etc, or even just to have a look at the PCB.
This does not come under standard support, but we are happy to assist where possible (at your own risk, in case of damage to the enclosure)
 
Some things to note:
* The battery clips/terminals attached to the PCB can be delicate and must be carefully re-inserted into the retaining slots when re-assembling the case.
* If you do damage the plastic case, it should be possible to use glue or similar to restore it.
* Be extra careful not to scratch the edges as this can result in an uncomfortable feeling or touch when holding the remote.
* If you do, it should be possible to pare off or sand any jagged edges you created.
* If all of this doesn't make sense, then you have likely not tried this before with remote controls. They can be a challenge to open without the right tools.
 
''We expect to have a supply of quality spudgers stocked in our shop soon, if not already there.''
 
== Copyright & Open Source MIT License==
See here for [[copyright and license information]].


== More Information ==
== More Information ==

Latest revision as of 07:24, 7 September 2021

KontroLIR – World's first 100% Arduino compatible 45-49 button IR remote Control, with optional extras

KontroLIR by AnalysIR
KontroLIR by AnalysIR

Notifications & Updates

  • 7th Sep 2021 INFO - In the default Mode 3 signals for a SAMSUNG TV: the LEFTup & LEFTdown codes are incorrect. They should both be changed to 0x59.
  • 20th Jul 2021 IMPORTANT - Use only version 2.6.1 of IRremote only.
  • 13th Jan 2021 Firmware V1.0.11 released & available via email on request.
  • 6th Jan 2021 Do not use IRremote 2.8.0 or 2.8.1 as there is a bug in the library. Use 2.6.1 instead.
  • 4th Jan 2021 We have a new firmware release available for both KontroLIR & the Test suite. The updates can be requested via email.

Where To Purchase

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

KontroLIR is available as a functional standard unit. In addition, there are several optional add-ons available:

  • Serial USB adapter (You can also use your own to upload sketches)
  • I2C EEPROM 16KBytes+ (There is a significant amount of free FLASH and SRAM available to use, before you need EEPROM)
  • IR receiver & IR Learner pair (only required if you want to use KontroLIR to record signals with AnalysIR or IRremote etc)

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 many applications, including the following:

  • A fully customized remote control, using the Arduino IDE for development and firmware upload.
  • 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 & ~200+ signals, which can be easily expanded with many more devices, signals and macros.
  • Combine TV, STB, DVR, Media Center, Lights, Fans, LEDs, Toys, Air Conditioners, LaserTag - all from 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.
  • Create your very own learning remote control.
  • Send non-standard IR carrier frequencies, that other remotes cannot handle.
  • ...any many more situations

The possibilities are endless.

Skills Required

This should not be your very first Arduino project (unless you are an experienced C programmer). Ideally you will have used IRremote or similar libraries within the Arduino system. You should be familiar with compiling and uploading sketches, installing new Boards and libraries with the desktop Arduino IDE. If you have not done so already, download the Arduino IRremote Library and try out the examples provided with your TV. Once you are happy with your understanding and competency with Arduino and IRremote, order your KontroLIR(s) via our online shop or other affiliates.

KontroLIR Pin Outs

Details of pin-outs 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 KontroLIR Firmware

Details are available here: Uploading the KontroLIR Firmware

Configuring IRremote for use with KontroLIR

Details are available here: Configuring IRremote

Customizing the KontroLIR Firmware

Details are available here: Customizing the KontroLIR 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.

You can also use our IRforum for general discussion about KontroLIR and related topics.

KontroLIR Release Notes

Details are available here: KontroLIR Release Notes

Opening the Enclosure

The enclosure of KontroLIR is not designed for opening by users, other than for replacing batteries and uploading firmware via the battery compartment over SerialUSB.

When we open the enclosure we use a tool called a spudger and employ lots of TLC to avoid any damage to the hard plastic case. If you decide to open the case beyond the battery compartment, you do so at your own risk.

Advanced users may decide to go ahead and open the enclosure, to gain access to the ICSP programming header or the I2C headers etc, or even just to have a look at the PCB. This does not come under standard support, but we are happy to assist where possible (at your own risk, in case of damage to the enclosure)

Some things to note:

  • The battery clips/terminals attached to the PCB can be delicate and must be carefully re-inserted into the retaining slots when re-assembling the case.
  • If you do damage the plastic case, it should be possible to use glue or similar to restore it.
  • Be extra careful not to scratch the edges as this can result in an uncomfortable feeling or touch when holding the remote.
  • If you do, it should be possible to pare off or sand any jagged edges you created.
  • If all of this doesn't make sense, then you have likely not tried this before with remote controls. They can be a challenge to open without the right tools.

We expect to have a supply of quality spudgers stocked in our shop soon, if not already there.

Copyright & Open Source MIT License

See here for copyright and license information.

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