mirror of https://github.com/arendst/Tasmota.git
Updated PCA9685 (markdown)
parent
4d436c251d
commit
c7814c1f4d
|
@ -14,7 +14,7 @@ The latter may change as the driver grows in cases where user requirements and d
|
|||
|
||||
### USAGE OF THE PCA9685 DRIVER IN TASMOTA
|
||||
|
||||
The driver needs to be connected to the I2C bus of your Tasmota powered device (note that most Sonoff devices will not have reachable I2C pins so its applicable to a limited number, so most likely only applicable to bare ESP8266 or WeMos type users - If you modify a device to gain access to the I2C bus please be aware that other problems may persist and that such use cases are not supported)
|
||||
The driver needs to be connected to the I2C bus of your Tasmota powered device (note that most Sonoff devices will not have reachable I2C pins so its applicable to a limited number, so most likely only applicable to bare ESP8266 or WeMos type users - If you modify a device to gain access to the I2C bus please be aware that other problems may persist and that for such use cases support in Tasmota chat or Issues is not guaranteed in any way whatsoever)
|
||||
|
||||
The driver is not included in the standard released binaries so in order to use this driver you will need to create a development environment for yourself and uncomment these two lines in user_config.h
|
||||
|
||||
|
@ -23,6 +23,8 @@ The driver is not included in the standard released binaries so in order to use
|
|||
#define USE_PCA9685_ADDR 0x40
|
||||
```
|
||||
|
||||
For information on how to setup a development environment please check the wiki on [Arduino IDE (the easiest, probably)](https://github.com/arendst/Sonoff-Tasmota/wiki/Arduino-IDE) or [PlatformIO](https://github.com/arendst/Sonoff-Tasmota/wiki/PlatformIO)
|
||||
|
||||
Note that the I2C selection must correspond with how you have wired the module or chip as incorrect addressing will result in the PCA9685 not being detected. The valid I2C address range is 0x40 through 0x47 for the PCA9685 and most off-the-shelf modules would likely default to 0x40 - If you are unsure please use i2cscan from Tasmota console to scan for devices on the I2C bus and you should find a device within the mentioned range. You may also get a discovery on 0x70 but please do not use this address as it is a broadcast address and the driver does not currently support its implementation. Also be aware of other I2C devices you have connected to the same Tasmota driven device in order to avoid I2C address conflicts.
|
||||
|
||||
Once connected, correctly flashed, and configured Tasmota will detect the device automatically on startup.
|
||||
|
@ -40,4 +42,7 @@ driver15 reset // Reset to power-up settings - i.e. F=50hz and all pi
|
|||
```
|
||||
|
||||
### OTHER IMPORTANT INFORMATION
|
||||
Please remember to consider the voltage and current limitations of the chip and per output limitations as outlined in the datasheet.
|
||||
Please remember to consider the voltage and current limitations of the chip and per pin output current limitations as outlined in the datasheet.
|
||||
|
||||
### OUTSTANDING FEATURE REQUESTS
|
||||
* Dimming ON / OFF a dimming value in a certain time and fade on "ON / OFF" (Not yet scheduled for implementation)
|
||||
|
|
Loading…
Reference in New Issue