Bluetooth Support: Fiber Optic Ceiling (star ceiling)

The board having external antenna doesn’t matter. Here are the things that matter, it must be a ESP32 S3, it must be the DevKit with 44 pins, and the board must be 28mm wide.

The one I have is this (28mm by 48mm):
image

I really wanted to use the ethernet version:
image

Do you have a sample code of how you are controlling the motor via WLED? Can’t figure it out for some reason.

From what I’ve gathered you enable PWN0 and PWN1 by assigning them Pin numbers from your esp32. But then how do you program them? Is it done via hassio or via the WLED bin?

That’s the legacy ESP32 not the S3. It won’t work with that PCB, you need the ESP32 S3.

I have a PCB design for the Legacy ESP32 let me check the design an share it.

ESP32 ALED + Stepper + RGB Strip - Platform for creating and sharing projects - OSHWLab

But i already ordered your PCB, the one you shared here. Why can’t I use mine? Seems to be the same size as yours. I have WLED installed on it.

is it this one that I need:
https://www.aliexpress.com/item/1005004639132852.html?spm=a2g0o.productlist.main.27.379aogPRogPRNv&algo_pvid=8e0b065c-4593-44e2-8c2d-11a05ea9f773&algo_exp_id=8e0b065c-4593-44e2-8c2d-11a05ea9f773-13&pdp_npi=4%40dis!CAD!4.31!3.79!!!2.93!2.58!%402103241117361181384454872e0693!12000043231881171!sea!CA!102050821!X&curPageLogUid=Ej9oBR4ZlISO&utparam-url=scene%3Asearch|query_from%3A

Or this one with antenna:
https://www.aliexpress.com/item/1005007856832505.html?spm=a2g0o.productlist.main.41.310c7461AlAFKb&algo_pvid=ad235b37-f9ae-4cc1-8439-c805e4eb035e&algo_exp_id=ad235b37-f9ae-4cc1-8439-c805e4eb035e-20&pdp_npi=4%40dis!CAD!33.37!11.68!!!166.02!58.11!%402103246617361183098767081ec1ec!12000042560404304!sea!CA!102050821!X&curPageLogUid=7CvRkueRMRRK&utparam-url=scene%3Asearch|query_from%3A

This:
https://www.aliexpress.com/item/1005004639132852.html

1 Like

Bought all the components now waiting for them to arrive. In the meantime I’m trying to wrap my head around how I am going to control the stepper motor via hassio using WLED. I can’t figure out how to create an ON/OFF button to turn the motor on off via hassio.

So your board uses GPIO16 and GPIO4 for the stepper motor:
direction = GPIO16
step = GPIO4

Are you using some kind of code to let WLED know the direction and steps?

GPIO16 is already in use for LED strip by WLED.
image

Which of the boards? For the legacy ESP32, or for the ESP32 S3, please note that the boards are not compatible with each other and use different pin configurations.

I bought the s3 version

Got your board, now i need to figure out how to control the stripper motor.

I don’t have access to my WLED right now.
Try this first:

image

Set the brightness to 50% for that light. Ajust the speed of the motor with the Clock option. If that doesn’t work you have to compile the WLED with PWM OUTPUTS usermod.

Note you need both 12V and 5V for the motor to work, if you have the 5 wire motor you need to modify it to work with 4 wires.

To change the direction of the add another LED to WLED set to GPIO10. Turn it on or off to change the direction, if you don’t need to change direction just leave it.

Before you connect your LEDs make you they are 12V. If you are not sure please send me a photo of the LEDs.

PINS:
RGBW1

  • WHITE: GPIO14
  • RED: GPIO13
  • GREEN: GPIO12
  • BLUE: GPIO11

RGBW2

  • WHITE: GPIO17
  • RED: GPIO16
  • GREEN: GPIO15
  • BLUE: GPIO7

If you want to simplify things you can replace the RGB LEDs with this addressable ones Ultra Bright 4 Watt RGBW NeoPixel LED - Natural White - ~4000K : ID 5408 : Adafruit Industries, Unique & fun DIY electronics and kits from Adafruit.