- Fri Mar 23, 2018 2:40 am
#198730
Hello. I am trying to connect my Thing Dev controller to a PWM Servo driver(https://www.adafruit.com/product/815). Considering these topics:
1. https://learn.sparkfun.com/tutorials/es ... e-overview
2. https://learn.adafruit.com/16-channel-p ... king-it-up
I've connected:
Thing -> PWM driver
3v3 -> VCC
GND -> GND
Pin2 -> SDA
Pin14 -> SCL
I am using the Arduino IDE and libraries to program the Thing Dev(ESP8266). Do I have to do some code preparation to get the SDA/SCL I2C interface connection going? I've read the https://learn.sparkfun.com/tutorials/es ... up-arduino but I'm not sure after all. I can't get my project going with the Thing Dev, while using Arduino everything is fine. I use the same setup + the same code for both. The code is a simple loop which fades an LED strip through a MOSFET by PWM-ing. Also noticed here https://learn.sparkfun.com/tutorials/es ... in-arduino that I have to yield() periodically, but this didn't solve my problem, so I suppose I am not doing something properly with the I2C interface because I can't even lit the strip(yes, I am using external power supply).
1. https://learn.sparkfun.com/tutorials/es ... e-overview
2. https://learn.adafruit.com/16-channel-p ... king-it-up
I've connected:
Thing -> PWM driver
3v3 -> VCC
GND -> GND
Pin2 -> SDA
Pin14 -> SCL
I am using the Arduino IDE and libraries to program the Thing Dev(ESP8266). Do I have to do some code preparation to get the SDA/SCL I2C interface connection going? I've read the https://learn.sparkfun.com/tutorials/es ... up-arduino but I'm not sure after all. I can't get my project going with the Thing Dev, while using Arduino everything is fine. I use the same setup + the same code for both. The code is a simple loop which fades an LED strip through a MOSFET by PWM-ing. Also noticed here https://learn.sparkfun.com/tutorials/es ... in-arduino that I have to yield() periodically, but this didn't solve my problem, so I suppose I am not doing something properly with the I2C interface because I can't even lit the strip(yes, I am using external power supply).