ESP8266=> I2c=> PCA9685 => 12 Servos
Posted: 26 Oct 2015, 18:13
Hi!
I have got a PCA 9685 ADAfruit compatible board...
http://www.adafruit.com/datasheets/PCA9685.pdf
attached via i2c (gpio 0=> SDA, gpio 2 => SCL) configured in ESPEasy to my ESP8266-01
The i2c bus scan returns:
0x9
0xc
0xe
0x10
0x11
0x13
0x15
0x17
0x19
0x1b
0x1e
0x20 PCF8574, MCP23017, LCD Modules
0x22
0x24
0x26
0x28
0x2a
0x2c
0x30
0x32
0x34
0x38
0x3c
0x40
0x41
0x43
0x45
0x48 PCF8591 ADC
0x4a
0x4d
0x50
0x53
0x55
0x59
0x60
0x62
0x65
0x69
0x70
Unknow error at address 0x71
==> How can I control servo1 on this bus?
http://www.esp8266.nu/index.php/GPIO tells me I should use
==> http://<ESP IP address>/control?cmd=Servo,1,0,90
But this is only when I access the servos directly via the GPIO port and not via i2c bus...
My suspicion is, that I have to tell the easyesp config that I am using this special i2c module similar to:
http://www.esp8266.nu/index.php/MCP23017
But: for this module i have not found an appropriate "driver" / setting.
can anyone point me in the right direction?
i'm new to using i2c and arduino - so please forgive me ...
Thank you very much!
I have got a PCA 9685 ADAfruit compatible board...
http://www.adafruit.com/datasheets/PCA9685.pdf
attached via i2c (gpio 0=> SDA, gpio 2 => SCL) configured in ESPEasy to my ESP8266-01
The i2c bus scan returns:
0x9
0xc
0xe
0x10
0x11
0x13
0x15
0x17
0x19
0x1b
0x1e
0x20 PCF8574, MCP23017, LCD Modules
0x22
0x24
0x26
0x28
0x2a
0x2c
0x30
0x32
0x34
0x38
0x3c
0x40
0x41
0x43
0x45
0x48 PCF8591 ADC
0x4a
0x4d
0x50
0x53
0x55
0x59
0x60
0x62
0x65
0x69
0x70
Unknow error at address 0x71
==> How can I control servo1 on this bus?
http://www.esp8266.nu/index.php/GPIO tells me I should use
==> http://<ESP IP address>/control?cmd=Servo,1,0,90
But this is only when I access the servos directly via the GPIO port and not via i2c bus...
My suspicion is, that I have to tell the easyesp config that I am using this special i2c module similar to:
http://www.esp8266.nu/index.php/MCP23017
But: for this module i have not found an appropriate "driver" / setting.
can anyone point me in the right direction?
i'm new to using i2c and arduino - so please forgive me ...
Thank you very much!