Difference between revisions of "KontrolIR Pin Outs"

From AnalysIR WiKi
Jump to: navigation, search
m (KontroLIR Pin Out Serial Interface)
m (KontroLIR Pin Out Serial Interface)
 
Line 13: Line 13:
 
''Note 1: The image is looking from the keypad up. Looking throught the battery compartment, the order will be mirrored.''
 
''Note 1: The image is looking from the keypad up. Looking throught the battery compartment, the order will be mirrored.''
  
''Note 2: On my FTDI adapter: RTS=>DTR; RXD=>Tx;TXD=>Rx; GND=>GND; VCC=>5V.''
+
''Note 2: On my FTDI Serial USB adapter: RTS=>DTR; RXD=>Tx;TXD=>Rx; GND=>GND; VCC=>5V.''
  
 
== KontroLIR Pin Out ICSP  ==
 
== KontroLIR Pin Out ICSP  ==

Latest revision as of 10:52, 8 July 2019

KontroLIR Pin Out Serial Interface

Serial interface pinout

The header pins for the Serial I/F interface are laid out as follows:

  1. GND -ve supply power Ground / 0V
  2. TXD Connects to TXD on the adapter (Connected to TXD0 on the ATmega328PB)
  3. RXD Connects to RXD on the adapter (Connected to RXD0 on the ATmega328PB)
  4. VCC +ve supply power 5V (will also work with a 3V3 supply @ 8MHz or 4MHz)
  5. RTS Used to reset the MCU during Firmware upload
  6. DBG Unpopulated by default. Can be used as a debug pin, if necessary. Also connected to the LED.


Note 1: The image is looking from the keypad up. Looking throught the battery compartment, the order will be mirrored.

Note 2: On my FTDI Serial USB adapter: RTS=>DTR; RXD=>Tx;TXD=>Rx; GND=>GND; VCC=>5V.

KontroLIR Pin Out ICSP

Serial interface pinout

The header pins for the AVR ICSP interface are laid out as follows:

  1. GND -ve supply power Ground / 0V
  2. MISO Standard ICSP pin for use with avrdude & USBASP, Atmel ICE programmer or equivalent
  3. RESET Standard ICSP pin for use with avrdude & USBASP, Atmel ICE programmer or equivalent
  4. SCK Standard ICSP pin for use with avrdude & USBASP, Atmel ICE programmer or equivalent
  5. MOSI Standard ICSP pin for use with avrdude & USBASP, Atmel ICE programmer or equivalent
  6. VCC +ve supply power 5V


Misc

There are other headers available for advanced users, as follows:

  • 2-pin through hole I2C interface
  • 4-pin SMD I2C interface
  • If IR receivers are not installed, then the fottprints are available.
  • If the I2C EEPROM is not installed, then the SOIC=8 footprint is available.

Spare GPIOs

Advanced users, may further expand KontrolIR, using the following GPIOs, if available.

  • The LED pin may be reused for other purposes, if desired. (1 GPIO)
  • If the IR receivers are not installed, the 2 signal pins & power supply pin may be reused. (3 GPIOs)
  • If the I2C EEPROM is not used then the SDA & SCL pins & power supply pin may be reused. (3 GPIOs)