DS3502, Digital Poti, Device found, but no reaction. Try on Arduino is o.k. #21482
-
Hey guys, I think I need some help now. Read already many in the Web, but still in trouble. I try to use a DS3502 digital Potentiometer with tasmota. While booting I can see the ESP was able to find the DS3502. It shows a message in the consol. Something linke… “DS3502 found, at address 0x28” Now I think everything is fine and try to set the “Wiper” to a value. So far so good 😊 My first intention was that my schematic on DS3502 side was buggy…. So I tried the Basic Examlpe from Adrafruit with an Arduino. And it works. So on DS3502 no Problem. I read in the Commands Docs something about this: Do i have to user the POTI command? And on Github I found a comment from arendst, “Four DS3502 devices have been implemented today. Use command Wiper 0..127 to control them.” And in the list of supported I2C Devices Is something written about Driver “xdrv_61” this gets me confused, because I think driver 67 was correct. Do I have some misunderstanding with the commands? Greetings, Rudi from Germany |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Try Greetings from Oberfranken |
Beta Was this translation helpful? Give feedback.
-
I'm not using the DS3502, but checking the driver source code, I can see that it only has one command, And no, I know nothing about actually using the chip from Tasmota. When it comes to the numbers, Tasmota has separate numbering schemes for I2C devices, drivers (of which not all are I2C), sensors (including I2C), energy, lights and display (including I2C). In this case, the number 67 pertains to the Activating via the I2CDriver command is only relevant if you already have the driver included and inactivated, showing up with an |
Beta Was this translation helpful? Give feedback.
-
Found the Problem.... the error on i2cScan brings me the hint. Missind pullUp resistors in SCL & SDA. Also the I2CScan brings now no error. my fault was to trust the test withe the Arduino. but the Arduino has build in pullups on I2C. Thanks for the help, in the end it helped me to reach my goal. |
Beta Was this translation helpful? Give feedback.
Found the Problem....
the error on i2cScan brings me the hint. Missind pullUp resistors in SCL & SDA.
I added it and now the DS3502 reacts as aspected :)
Also the I2CScan brings now no error.
my fault was to trust the test withe the Arduino. but the Arduino has build in pullups on I2C.
Thanks for the help, in the end it helped me to reach my goal.