Xlights ESP8266 Ser...
 
Notifications
Clear all

Xlights ESP8266 Servo Setup

16 Posts
2 Users
0 Reactions
3,461 Views
Posts: 133
Topic starter
(@mel4853)
Estimable Member
Joined: 19 years ago
[#58754]

Does anyone know how to setup an ESP8266 in Xlights to run pixels and servos together. I have attached a couple screenshots. I need Pixel Port 2 to be active and not red like it is now. I have this running on a ESP32 but I have a few ESP8266's that would be great in these spots. I manually put in port 2 on the layout page of Xlights to get the Port 2 to show up in the visulizer page. I have attached the ESP32 setup page and visulizer page that works on the ESP32.

ESP8266 Visulizer
ESP8266 Device Setup Page
ESP32 Device Setup Page
ESP32 Visulizer

15 Replies
MartinMueller2003
Posts: 7612
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

in xLights, put all of your pixels first. Then set up your PWM / Servo outputs as single string (same as Incan) elements. Set the controller config to indicate it is not purely under xLights control. Upload the config to the ESPS. Manually configure the ESPS ports to support the protocols you need and to enable the relay functionality. Manually configure the relay functionality.

In the future, it may become a bit more automatic (I am in the process restructuring the xLights V4 config generator).


Reply
Posts: 133
Topic starter
(@mel4853)
Estimable Member
Joined: 19 years ago

I didn’t include that this is I2C to a pca9685. The way it is now, the second pixel of the string will output what should be going to the servo. This is the on output 1. If this can’t be done right now, not a deal breaker I’ll just use the ESP32’s they work.


Reply
MartinMueller2003
Posts: 7612
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

The I2C PWM channels need to be bound to port 2 on xLights


Reply
Posts: 133
Topic starter
(@mel4853)
Estimable Member
Joined: 19 years ago

How does that work with your above description? also with the controllers I can choose from in Xlights for the ESP8266 I don't get a choice for a Port 2 just Port 1 and a Serial Port


Reply
Page 1 / 4
Share: