openhab-docs/_bindings/mcp34241
John Cocula aa2ab2cac1 [Add-ons] Generate as Jekyll Collections instead of Jekyll Pages (#355)
* Generate addon docs as Jekyll Collections instead of Jekyll Pages

Simplifies a lot of Jekyll, makes custom addon layout possible.

Signed-off-by: John Cocula <john@cocula.com>

* Adds-on (all but bindings) in user menu

Signed-off-by: John Cocula <john@cocula.com>

* Added openhab-distro submodule

Signed-off-by: John Cocula <john@cocula.com>
2017-03-02 01:08:44 +01:00
..
readme.md [Add-ons] Generate as Jekyll Collections instead of Jekyll Pages (#355) 2017-03-02 01:08:44 +01:00

readme.md

id label title type description source since install
mcp3424 MCP3424 MCP3424 - Bindings binding This binding provides native access for MCP3424 18-bit delta sigma ADC on I2C bus. Please consider datasheet for IC for future information. The binding should work with MCP3422 and MCP3423 also, but was not tested due to lack of hardware. https://github.com/openhab/openhab1-addons/blob/master/bundles/binding/org.openhab.binding.mcp3424/README.md 1x manual

{% include base.html %}

MCP3424 Binding

This binding provides native access for MCP3424 18-bit delta sigma ADC on I2C bus. Please consider datasheet for IC for future information. The binding should work with MCP3422 and MCP3423 also, but was not tested due to lack of hardware.

This binding works nicely with openHAB 1.8.3 and 2.0.0 runtimes.

Binding Configuration

No special configuration is needed.

Item Configuration

Since MCP3424 is ADC converter on I2C bus, only two types of items are supported:

  • Number for raw conversion output and
  • Dimmer for conversion output in percent. Percent value is calculated dependent on set resolution. Find the example below.
Number Test1 "Test 1" (Tests) { mcp3424="{address:6C, pin:'CH0', gain:1, resolution:12}" }

returns the raw conversion result on channel 0 (CH1 on datasheet) of the IC on address 0x6C

Dimmer Test2 "Test 2" (Tests) { mcp3424="{address:6C, pin:'CH1', gain:1, resolution:12}" }

returns the conversion result in percent on channel 1 (CH2 on datasheet) of the IC on address 0x6C