Proper connection question.
Hello @happyme531
I've tested simple test file: Changed "Wire.begin(D1, D2);" to "Wire.begin(D4, D5);" (arduino nano esp32). and connected sda,scl and gnd and i have all info excluding "Current input voltage". I don't have idea what else to connect without burning arduino ;)
I am reading erratic data using Wemos D1 mini clone and only SDA/SCL. Where did you connect GND ? Can you share what changes you made to the code ? Thank you.
I am reading erratic data using Wemos D1 mini clone and only SDA/SCL. Where did you connect GND ? Can you share what changes you made to the code ? Thank you.
Hi, GND is ground, soo from ground pin of your Wemos(you can google: "Wemos D1 mini pinout") to some ground pin(close to the sda/scl pin or some common grounded pin should also work) on the device. And for your device probably pinout change in code probably is not need(i've seen that for your is D1 and D2 as in the code).
Thank you for quick response. For Wemos default SDA, SCL pins are GPIO4 and GPIO5, just like yours, but board is ESP8266 not ESP32. When I connect GND from Wemos to any GND on this custom board, I get instant "0" values for all. I will get to the bottom of this. Thanks.
Thank you for quick response. For Wemos default SDA, SCL pins are GPIO4 and GPIO5, just like yours, but board is ESP8266 not ESP32. When I connect GND from Wemos to any GND on this custom board, I get instant "0" values for all. I will get to the bottom of this. Thanks.
Don't look at GPIO numbers. Look at Digital pin number. For my device is D4 and D5(Digital 4 and 5), for yours it should be D1 and D2. Also board with this processor should be running on. You should have probably some voltage on both SDA/SCL pins on device with SW35XX (ussualy 3.3V or 5V) and device need to be compatible with that. Try if example uploaded here works.
hi, can anyone confirm is this library works with SW3538 module