PCA9685 wrong detection

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
wutu
Normal user
Posts: 35
Joined: 05 Feb 2016, 07:33

PCA9685 wrong detection

#1 Post by wutu » 11 Feb 2016, 09:45

PCA9685 is badly detected.

I2C Scan:
I2C Addresses in use Known devices
0x40 SI7021 Temp/Hum Sensor, INA219

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: PCA9685 wrong detection

#2 Post by tozett » 11 Feb 2016, 14:33

firmware version may help to complete this error-picture?

Martinus

Re: PCA9685 wrong detection

#3 Post by Martinus » 11 Feb 2016, 15:09

wutu wrote:PCA9685 is badly detected.

I2C Scan:
I2C Addresses in use Known devices
0x40 SI7021 Temp/Hum Sensor, INA219
This will be shown in the next build. But remember that this is just a list of POSSIBLE devices as it only verifies that "something" has acknowledged the address. It could be anything...
That's why is says "Known devices", meaning that we know that some devices are typically found on that address.

videobelu
New user
Posts: 5
Joined: 11 Feb 2016, 17:22

Re: PCA9685 wrong detection

#4 Post by videobelu » 11 Feb 2016, 17:32

A question .....i am a new user .....i would like to use ESP8266 with ESPEasy to drive 2 PCA9685 to have a totale of 32 PWM outputs.....
There is a solution???

Thank you

Fabrizio

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: PCA9685 wrong detection

#5 Post by costo » 12 Feb 2016, 00:11

videobelu wrote:A question .....i am a new user .....i would like to use ESP8266 with ESPEasy to drive 2 PCA9685 to have a totale of 32 PWM outputs.....
There is a solution???

Thank you

Fabrizio
Did you look at the device page for PCA9685 ?
The answer is given there
Output

You can control output pins on this chip with the following http command:

http://<ESP IP address>/control?cmd=pcapwm,<pin>,<Level>

Pin can be chosen between 0 and 15. Level can be set between 0 and 4095.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: PCA9685 wrong detection

#6 Post by tozett » 12 Feb 2016, 08:04

i only have 1 rfid reader on i2c, but as far as i understand,
a second one would also be wired to the same pin. right?

http://quick2wire.com/wp-content/upload ... mage00.png

so ho to control two (2) of i2c devices, like videobelus asked
to drive 2 PCA9685 to have a totale of 32 PWM outputs.
with this https-call:

Code: Select all

http://<ESP IP address>/control?cmd=pcapwm,<pin>,<Level>
when my assumtion is right, that all i2c devices are wired to the same pin?

maybe like for the PCF8574, adress via the table mentiond here?
http://www.esp8266.nu/index.php/PCF8574

videobelu
New user
Posts: 5
Joined: 11 Feb 2016, 17:22

Re: PCA9685 wrong detection

#7 Post by videobelu » 12 Feb 2016, 08:18

tozett wrote:i only have 1 rfid reader on i2c, but as far as i understand,
a second one would also be wired to the same pin. right?

http://quick2wire.com/wp-content/upload ... mage00.png

so ho to control two (2) of i2c devices, like videobelus asked
to drive 2 PCA9685 to have a totale of 32 PWM outputs.
with this https-call:

Code: Select all

http://<ESP IP address>/control?cmd=pcapwm,<pin>,<Level>
when my assumtion is right, that all i2c devices are wired to the same pin?

maybe like for the PCF8574, adress via the table mentiond here?
http://www.esp8266.nu/index.php/PCF8574
I think it is possible to add many i2c devices (with different address) but in the command line there is not the ability to address the correct device......for example.......device 0 out from 0 to 15 ,device 1 out fro 16 to 31 and so on....

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 51 guests