Nodemcu (lolin v3) with pca9685 (16-Channel Servo Driver).
Posted: Thu Dec 29, 2016 12:04 pm
Hi, I hope you can help me.
I am working in a project to connect my nodemcu (lolin v3) with the module pca9685 (16-Channel Servo Driver).
I have a lot of experience with the pca96886 module and I already connected it with bluetooth and wifi modules (cc3000) successfully.
Now I encounter the problem, and I think the sda and scl signal do not work correctly.
I am using the Adafruit_PWMServoDriver library and the definition:
"The default pins are defined in variants / nodemcu / pins_arduino.h the SDA = 4 and SCL = 5, but those are not pins number but GPIO number, so since the pins are D1 = 5 and D2 = 4." (RE: DEFAULT SDA AND SCL PINS ON NODEMCU V1.0) By martinayotte.
But the communication is not working.
The D1 and D2 (gpi05 and gpi04) always have 3,12v if I check that with a multimeter. ¿is correct that?
The code (already tested in other projects) and wiring is very simple, vcc. Gnd, sda and scl, respectively.
The module nodemcu correctly receives the data of my cell and generates the call to move the servos, but nothing.
You can help me find the problem. I can not find any other reference on the internet or in other forums trying to make this connection.
regards.
I am working in a project to connect my nodemcu (lolin v3) with the module pca9685 (16-Channel Servo Driver).
I have a lot of experience with the pca96886 module and I already connected it with bluetooth and wifi modules (cc3000) successfully.
Now I encounter the problem, and I think the sda and scl signal do not work correctly.
I am using the Adafruit_PWMServoDriver library and the definition:
"The default pins are defined in variants / nodemcu / pins_arduino.h the SDA = 4 and SCL = 5, but those are not pins number but GPIO number, so since the pins are D1 = 5 and D2 = 4." (RE: DEFAULT SDA AND SCL PINS ON NODEMCU V1.0) By martinayotte.
But the communication is not working.
The D1 and D2 (gpi05 and gpi04) always have 3,12v if I check that with a multimeter. ¿is correct that?
The code (already tested in other projects) and wiring is very simple, vcc. Gnd, sda and scl, respectively.
The module nodemcu correctly receives the data of my cell and generates the call to move the servos, but nothing.
You can help me find the problem. I can not find any other reference on the internet or in other forums trying to make this connection.
regards.